Skip to content

Commit c152e2a

Browse files
not tie_word_embeddings for glm-4.5 and glm-4.5v (#22460)
Signed-off-by: zRzRzRzRzRzRzR <[email protected]>
1 parent 17eaaef commit c152e2a

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

vllm/model_executor/models/glm4_moe.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -601,8 +601,6 @@ def __init__(self, *, vllm_config: VllmConfig, prefix: str = ""):
601601
quant_config=quant_config)
602602
else:
603603
self.lm_head = PPMissingLayer()
604-
if self.config.tie_word_embeddings:
605-
self.lm_head.weight = self.model.embed_tokens.weight
606604
self.logits_processor = LogitsProcessor(config.vocab_size)
607605
self.make_empty_intermediate_tensors = (
608606
self.model.make_empty_intermediate_tensors)

0 commit comments

Comments
 (0)