transformers
Fix GraniteMoeHybrid _update_mamba_mask crash on attention-only models
#45514
Merged

Fix GraniteMoeHybrid _update_mamba_mask crash on attention-only models #45514

tianhaocui
tianhaocui Fix GraniteMoeHybrid _update_mamba_mask crash on attention-only models
c67ee864
Rocketknight1
vasqu
vasqu commented on 2026-04-23
Move mamba layer guard to forward() caller per review feedback
ec7cd016
tianhaocui
vasqu
Add fast test for attention-only model forward pass
89ef90c2
tianhaocui
vasqu fixup closer to hybrid attentions
9d046317
github-actions
vasqu
vasqu approved these changes on 2026-04-27
vasqu
github-actions
github-actions
HuggingFaceDocBuilderDev
vasqu vasqu merged 617e752d into main 222 days ago

Login to write a write a comment.

Login via GitHub

Reviewers
Assignees
No one assigned
Labels
Milestone