transformers
Fix data-dependent branch in _ignore_causal_mask_sdpa under compile
#49354
Merged

Fix data-dependent branch in _ignore_causal_mask_sdpa under compile #49354

dacorvo
dacorvo fix(masking): don't read a traced q_offset when skipping the causal mask
523e6b5e
HuggingFaceDocBuilderDev
dacorvo Merge branch 'main' into fix-static-cache-prefill-mask-graph-break
130636b2
dacorvo dacorvo requested a review from Cyrilvallez Cyrilvallez 8 days ago
dacorvo dacorvo removed review request from Cyrilvallez Cyrilvallez 8 days ago
dacorvo dacorvo requested a review from vasqu vasqu 8 days ago
dacorvo dacorvo requested a review from Cyrilvallez Cyrilvallez 8 days ago
vasqu
vasqu commented on 2026-10-07
vasqu
vasqu approved these changes on 2026-10-08
dacorvo Move the traced q_offset check next to the padding mask one
31330106
dacorvo Split the traced q_offset check into its own condition
b6ecae4a
vasqu
vasqu commented on 2026-10-08
vasqu vasqu enabled auto-merge 7 days ago
github-actions
vasqu vasqu merged 65957315 into main 7 days ago
vasqu vasqu deleted the fix-static-cache-prefill-mask-graph-break branch 7 days ago

Login to write a write a comment.

Login via GitHub

Reviewers
Assignees
No one assigned
Labels
Milestone