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
[Spec Decode][PP] Fix aux-tap packing under compile and outside a worker
Two CI failures on this branch, both from the aux-tap plumbing running in
contexts the feature could not reach before.
The compile wrapper rejects any forward whose bytecode names `update`, its
heuristic for buffer mutation under cudagraphs. Packing the taps through
dict.update tripped it, so the engine failed to start for Llama, Qwen2/3,
Kimi-K3 and DeepSeek-V4. Stock CUDA hid this because AOT compile bypasses
the hook; it fired on ROCm and wherever the compile cache is off. Merge the
taps by unpacking instead, and pin the rule with a unit test.
The mixin also resolved the PP group while packing, receiving and caching
the slot layout. Every caller already gates on is_last_rank, so the first
two lookups were redundant, and they made model construction fail wherever
no PP group exists, which is what the Kimi-K3 eagle3 unit tests do. Drop
them, and skip the layout cache when the parallel state is not initialized.
Signed-off-by: Yongqin Wang <yongqinwang@roblox.com>
0 commit comments