You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat(spec_decode): add Eagle3 guided decoding with d2t bitmask translation
- Eagle3.get_outputs() now applies grammar mask before argmax and
accept_token after d2t mapping, matching DeepseekMTP pattern
- Add _translate_bitmask() to convert target-vocab bitmask to
draft-vocab bitmask via scatter_add_ (vectorized, no loops)
- Remove supports_grammar_mask flag; all proposers now support it
- Fork guided processors unconditionally in spec_agent._async_model_forward
- Move session_to_cleanup handling before get_processors in forward_decode
- Bump xgrammar>=0.1.33 (fork() requirement) in all 5 runtime requirements
- Add comprehensive tests: bitmask translation, Eagle3 get_outputs,
fork independence, multi-step draft loop
0 commit comments