transformers
Fix flex_attention block mask creation when `get_seq_length` returns a tensor
#46802
Merged

Fix flex_attention block mask creation when `get_seq_length` returns a tensor #46802

Rocketknight1 merged 1 commit into huggingface:main from jiqing-feng:mask
jiqing-feng
jiqing-feng fix
88fff9de
jiqing-feng jiqing-feng marked this pull request as ready for review 3 days ago
github-actions github-actions requested a review from ArthurZucker ArthurZucker 3 days ago
github-actions github-actions requested a review from Rocketknight1 Rocketknight1 3 days ago
github-actions
Rocketknight1
Rocketknight1 approved these changes on 2026-06-22
Rocketknight1 Rocketknight1 enabled auto-merge 2 days ago
HuggingFaceDocBuilderDev
Rocketknight1 Rocketknight1 merged f007617e into main 2 days ago

Login to write a write a comment.

Login via GitHub

Assignees
No one assigned
Labels
Milestone