transformers
Fix GraniteMoeHybrid _update_mamba_mask crash on attention-only models
#45514
Merged
Go
Login via GitHub
Home
FAQ
Install
Login
via GitHub
Overview
Commits
4
Changes
View On
GitHub
Fix GraniteMoeHybrid _update_mamba_mask crash on attention-only models
#45514
vasqu
merged 4 commits into
huggingface:main
from
tianhaocui:fix-granitemoehybrid-mamba-mask
Fix GraniteMoeHybrid _update_mamba_mask crash on attention-only models
c67ee864
vasqu
commented on 2026-04-23
Move mamba layer guard to forward() caller per review feedback
ec7cd016
Add fast test for attention-only model forward pass
89ef90c2
fixup closer to hybrid attentions
9d046317
vasqu
approved these changes on 2026-04-27
vasqu
merged
617e752d
into main
222 days ago
Login to write a write a comment.
Login via GitHub
Reviewers
vasqu
Assignees
No one assigned
Labels
None yet
Milestone
No milestone
Login to write a write a comment.
Login via GitHub