Deploy THUDM/Zhipu's GLM-5 on NVIDIA HGX B200 GPUs. This large MoE model introduces Differential Sparse Attention for efficient inference at 744B total parameters.
GLM-5 uses Differential Sparse Attention (DSA), a novel attention mechanism that:
Combined with MoE routing (~40B active of 744B total), GLM-5 balances model capacity with inference efficiency. The architecture is designed for instruction following, reasoning, and code generation.
Implications for NVIDIA HGX B200 deployment:
Or with Docker:
--trust-remote-code is required for the DSA attention implementation.
With TP=8 on FP8:
vLLM reported 89.43 GiB model loading and 64.49 GiB available for KV cache, totalling 691,392 tokens of cache capacity.
Benchmark parameters: 2048 input tokens, 512 output tokens, random dataset. TP=8 on 8x NVIDIA HGX B200.
A community-quantized NVFP4 variant is available:
NVFP4 could reduce the GPU requirement from TP=8 to TP=4, freeing 4 GPUs for another model. See FP8/NVFP4 Quantization.
GlmMoeDsaForCausalLM architecture was added in vLLM 0.16.0 (PR #34124). Earlier versions will fail with an "unrecognized architecture" error. Also requires transformers from git main (5.x+).nvcc is on PATH and CUTLASS headers are available in the DeepGEMM package (see Troubleshooting).--trust-remote-code for the DSA implementation.
0 Comments
Be the first to comment and share your perspective with the community.