[Bugfix][ROCm] Fix DeepSeek V4 DSpark probabilistic startup (#51145)

Signed-off-by: Tuukka Sarvi <tuukka.sarvi@amd.com>
This commit is contained in:
Tuukka Sarvi
2026-08-11 22:15:31 +08:00
committed by GitHub
parent b64a2708b0
commit 12bea3eedc
+2
View File
@@ -290,6 +290,8 @@ class DSparkDeepseekV4ForCausalLM(nn.Module):
# load_dspark_model always aliases the target's.
has_own_embed_tokens = False
has_own_lm_head = False
# Full-vocab draft: draft ids are target ids, no remapping needed.
draft_id_to_target_id = None
def __init__(self, *, vllm_config: VllmConfig, prefix: str = "") -> None:
super().__init__()