transformers
Add Granite-swa and Granitemoe-swa model support
#47179
Merged

Add Granite-swa and Granitemoe-swa model support #47179

vasqu merged 34 commits into huggingface:main from daviswer:granite-swa
daviswer
Bharat-Runwal Add GraniteSWA model: Granite with Sliding Window Attention + learnab…
3c2e456c
Bharat-Runwal Add FA3 attention dispatch with native LSE for sink scaling
8fdf0adb
Bharat-Runwal Enable DynamicSlidingWindowCache for memory-efficient KV cache
1fe06100
daviswer Finalize GraniteSWA: modular impl, FA4 support, formatting, tests, docs
895dc30e
daviswer Add GraniteMoeSWA (MoeShared+SWA)
eec43fba
daviswer Update model refs, add per-layer rope/nope support a la Llama4
56a2274c
daviswer Small formatting/date fixes
c40cf934
daviswer Test comments
ddada049
daviswer Merge branch 'main' into granite-swa
76d88f7f
daviswer automodel import style fix
da94124a
daviswer Fix automodel import order after pull
f77b683e
daviswer Regenerate modeling_ files post-resync to main
e9baf4d6
daviswer Fix upload date in model cards
047cd7ef
daviswer Additional TP / historic test exclusions post-sync to main
6a6f0533
daviswer Docs cleanup, one final round on submit date
4e99d5ac
daviswer Fix grante_swa init and imports
e0d10d43
vasqu
vasqu commented on 2026-07-10
daviswer Addressing review comments:
e04cd0bb
daviswer
daviswer Replace binary rope/nope support with dynamic rope freq support
91e66639
daviswer Reorder router outputs to support native EP (and tests)
c984f0b0
github-actions
daviswer
vasqu
vasqu commented on 2026-07-16
daviswer Clean flex flags, flash correction tests, rope constructors
86b57162
daviswer Correct Flash2 test skip check
5f04c023
vasqu
vasqu
vasqu approved these changes on 2026-07-20
daviswer Clean docstrings/comments, fix flash2 causal lm test
1b27b6be
daviswer Merge branch 'main' into granite-swa
b6c0c828
daviswer Modelcard dates
28604aa3
daviswer
vasqu
vasqu approved these changes on 2026-07-23
vasqu
github-actions
vasqu
github-actions
daviswer Fix rope typing and slow test shape checking
22c18490
daviswer Merge branch 'main' into granite-swa
fca719cc
daviswer
github-actions
zucchini-nlp
zucchini-nlp commented on 2026-07-24
vasqu
vasqu vasqu added New model
vasqu
github-actions
zucchini-nlp
vasqu
github-actions
vasqu
daviswer Update integration test expectations by device
e8c6337e
daviswer Merge branch 'main' into granite-swa
abfb6565
daviswer
vasqu
daviswer Regenerate modeling files to match inherited modular upstream changes
a866b4ab
vasqu adjust to ci
5474d5bc
github-actions
vasqu fixup repo
2cee0aec
vasqu Merge branch 'main' into granite-swa
8b242a63
vasqu
vasqu
github-actions
vasqu try
d4cf007c
github-actions
vasqu
github-actions
vasqu kernels sync
c3ba1d45
github-actions
HuggingFaceDocBuilderDev
daviswer
vasqu
vasqu vasqu enabled auto-merge 71 days ago
vasqu vasqu merged d24918c4 into main 71 days ago
daviswer

Login to write a write a comment.

Login via GitHub

Reviewers
Assignees
No one assigned
Labels
Milestone