transformers
Move `value` padding into the attention interfaces that need it
#47451
Merged

Move `value` padding into the attention interfaces that need it #47451

hmellor merged 4 commits into main from fix-mla-padding-condition
hmellor
hmellor Use metadata instead of string matching to pad `value_states` in MLA …
f8e2ae0b
hmellor make style
6648d413
HuggingFaceDocBuilderDev
vasqu
vasqu commented on 2026-07-21
hmellor Move padding inside attention interfaces that need it
b5dd45a6
hmellor Merge branch 'main' into fix-mla-padding-condition
e19ce0ea
hmellor hmellor changed the title Use metadata instead of string matching to pad `value_states` in MLA models Move `value` padding into the attention interfaces that need it 125 days ago
vasqu
vasqu approved these changes on 2026-07-21
vasqu vasqu requested a review from remi-or remi-or 125 days ago
github-actions
hmellor hmellor force pushed from 33fe028b to e19ce0ea 125 days ago
github-actions
remi-or
remi-or approved these changes on 2026-07-22
hmellor hmellor merged 65d834fb into main 124 days ago
hmellor hmellor deleted the fix-mla-padding-condition branch 124 days ago

Login to write a write a comment.

Login via GitHub

Reviewers
Assignees
No one assigned
Labels
Milestone