Views
No views yet
zai-org/GLM-5.2-FP8 onto cyankiwi/GLM-5.2-AWQ-INT4.model.layers.78.*, extracts only those MTP
tensors locally, and writes a merged local checkpoint.graft_glm52_awq_mtp.sh: builds a local AWQ checkpoint with the FP8 MTP layer.patches/vllm-awq-fp8-mtp-quant-config.patch: vLLM patch for mixed AWQ main
weights plus FP8 MTP weights.compressed-tensors quantization, while the grafted MTP
layer uses FP8. The generated checkpoint records this as mtp_quantization_config
in config.json.mtp_quantization_config for the
MTP decoder layer when it is present.1git clone https://github.com/vllm-project/vllm.git
2cd vllm
3
4git apply /path/to/this-repo/patches/vllm-awq-fp8-mtp-quant-config.patch
5
6python -m venv .venv
7source .venv/bin/activate
8python -m pip install -U pip
9python -m pip install -r requirements/build.txt
10python -m pip install -e .1huggingface-cli download cyankiwi/GLM-5.2-AWQ-INT4 \
2 --local-dir /models/GLM-5.2-AWQ-INT41./graft_glm52_awq_mtp.sh \
2 --awq-dir /models/GLM-5.2-AWQ-INT4 \
3 --download-fp8-mtp \
4 --out-dir /models/GLM-5.2-AWQ-INT4-MTP-FP8model.layers.78.*, extracts those tensors into compact local MTP shards,
and merges them into the AWQ checkpoint index.1./graft_glm52_awq_mtp.sh \
2 --awq-dir /models/GLM-5.2-AWQ-INT4 \
3 --fp8-dir /models/GLM-5.2-FP8 \
4 --extract-local-mtp \
5 --out-dir /models/GLM-5.2-AWQ-INT4-MTP-FP81vllm serve /models/GLM-5.2-AWQ-INT4-MTP-FP8 \
2 --served-model-name glm52-awq-mtp3 \
3 --trust-remote-code \
4 --reasoning-parser glm45 \
5 --tool-call-parser glm47 \
6 --enable-auto-tool-choice \
7 --spec-method mtp \
8 --spec-tokens 31 --tensor-parallel-size 2 \
2 --distributed-executor-backend mpmodel.layers.78.* and mtp_quantization_config.--spec-tokens 3.