vllm.models.deepseek_v4.common.spec_decode
¶
Functions:
-
needs_mtp_hidden_buffer–Whether the drafter reads the target's pre-hc_head residual buffer.
needs_mtp_hidden_buffer(spec_config)
¶
Whether the drafter reads the target's pre-hc_head residual buffer.
DSpark drafts from the target's aux hidden states, so it skips the (max_num_batched_tokens, hc_mult * hidden_size) buffer.