[Bugfix][ROCm] Fix DeepSeek V4 DSpark probabilistic startup (#51145)
Signed-off-by: Tuukka Sarvi <tuukka.sarvi@amd.com>
This commit is contained in:
@@ -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__()
|
||||
|
||||
Reference in New Issue
Block a user