--- library_name: transformers pipeline_tag: text-generation tags: - glm4_moe - AWQ - FP16Mix - quantization fix - vLLM base_model: - zai-org/GLM-4.5-Air base_model_relation: quantized --- # GLM-4.5-Air-AWQ-FP16Mix Base model: [zai-org/GLM-4.5-Air](https://huggingface.co/zai-org/GLM-4.5-Air) ### 【vLLM Single Node with 8 GPUs Startup Command】 Note: You must use `--enable-expert-parallel` to start this model, otherwise the expert tensor TP will not divide evenly. This is required even for 2 GPUs. ``` CONTEXT_LENGTH=32768 vllm serve \ QuantTrio/GLM-4.5-Air-AWQ-FP16Mix \ --served-model-name GLM-4.5-Air-AWQ-FP16Mix \ --enable-expert-parallel \ --swap-space 16 \ --max-num-seqs 512 \ --max-model-len $CONTEXT_LENGTH \ --max-seq-len-to-capture $CONTEXT_LENGTH \ --gpu-memory-utilization 0.9 \ --tensor-parallel-size 8 \ --trust-remote-code \ --disable-log-requests \ --host 0.0.0.0 \ --port 8000 ``` ### 【Dependencies】 ``` vllm==0.10.0 ``` ### 【❗❗Temporary Patch for vllm==0.10.0❗❗】 The `awq_marlin` module in `vllm` misses checking the `modules_to_not_convert` parameter when loading AWQ-MoE modules, which causes mixed quantization of MoE to fail or report errors. Refer to: [[Issue #21888]](https://github.com/vllm-project/vllm/pull/21888) Before the PR is merged, temporarily replace `awq_marlin.py` in `vllm/model_executor/layers/quantization/awq_marlin.py`. ### 【Model Update Date】 ``` 2025-07-30 1. Initial commit ``` ### 【Model Files】 | File Size | Last Updated | |-----------|--------------| | `69GB` | `2025-07-30` | ### 【Model Download】 ```python from huggingface_hub import snapshot_download snapshot_download('QuantTrio/GLM-4.5-Air-AWQ-FP16Mix', cache_dir="your_local_path") ``` ### 【Overview】 # GLM-4.5
👋 Join our WeChat group .
📖 Read the GLM-4.5 technical blog .
📍 Access GLM-4.5 API via the ZhipuAI Open Platform .
👉 Try it online at GLM-4.5 .