vllm.model_executor.models.glm4_moe_lite_mtp
¶
Inference-only GLM-4.7-Flash MTP model compatible with HuggingFace weights.
Classes:
Glm4MoeLiteMTP
¶
Bases: Module, SupportsPP, Glm4MixtureOfExperts
_rewrite_spec_layer_name(spec_layer, name)
¶
Rewrite the weight name to match the format of the original model. Add .mtp_block for modules in transformer layer block for spec layer and rename shared layer weights to be top level.