Hello everyone,
I recently tested nvidia/GLM-5.2-NVFP4 on an 8× NVIDIA Blackwell B200 system using the latest version of vllm. Below are the launch commands along with benchmark results for three different workloads: prompt-heavy, decode-heavy, and balanced
Serving the Model
vllm serve nvidia/GLM-5.2-NVFP4 \
--tensor-parallel-size 8 \
--enable-expert-parallel \
--trust-remote-code \
--reasoning-parser glm45 \
--tool-call-parser glm47 \
--enable-auto-tool-choice \
--kv-cache-dtype fp8_e4m3 \
--host 0.0.0.0 --port 8000
Prompt-heavy
vllm bench serve \
--model nvidia/GLM-5.2-NVFP4 \
--dataset-name random \
--random-input-len 8000 \
--random-output-len 1000 \
--request-rate 10000 \
--num-prompts 16 \
--ignore-eos
Output:
============ Serving Benchmark Result ============
Successful requests: 16
Failed requests: 0
Request rate configured (RPS): 10000.00
Benchmark duration (s): 20.24
Total input tokens: 128000
Total generated tokens: 16000
Request throughput (req/s): 0.79
Output token throughput (tok/s): 790.40
Peak output token throughput (tok/s): 1216.00
Peak concurrent requests: 16.00
Total token throughput (tok/s): 7113.59
---------------Time to First Token----------------
Mean TTFT (ms): 3577.88
Median TTFT (ms): 3538.65
P99 TTFT (ms): 6658.12
-----Time per Output Token (excl. 1st token)------
Mean TPOT (ms): 16.58
Median TPOT (ms): 16.63
P99 TPOT (ms): 19.48
---------------Inter-token Latency----------------
Mean ITL (ms): 16.58
Median ITL (ms): 13.50
P99 ITL (ms): 23.35
==================================================
Decode-heavy
vllm bench serve \
--model nvidia/GLM-5.2-NVFP4 \
--dataset-name random \
--random-input-len 1000 \
--random-output-len 8000 \
--request-rate 10000 \
--num-prompts 16 \
--ignore-eos
Output:
============ Serving Benchmark Result ============
Successful requests: 16
Failed requests: 0
Request rate configured (RPS): 10000.00
Benchmark duration (s): 108.88
Total input tokens: 16000
Total generated tokens: 128000
Request throughput (req/s): 0.15
Output token throughput (tok/s): 1175.58
Peak output token throughput (tok/s): 1248.00
Peak concurrent requests: 16.00
Total token throughput (tok/s): 1322.52
---------------Time to First Token----------------
Mean TTFT (ms): 510.68
Median TTFT (ms): 534.91
P99 TTFT (ms): 536.94
-----Time per Output Token (excl. 1st token)------
Mean TPOT (ms): 13.55
Median TPOT (ms): 13.54
P99 TPOT (ms): 13.58
---------------Inter-token Latency----------------
Mean ITL (ms): 13.55
Median ITL (ms): 13.58
P99 ITL (ms): 14.35
==================================================
3. Balanced
vllm bench serve \
--model nvidia/GLM-5.2-NVFP4 \
--dataset-name random \
--random-input-len 1000 \
--random-output-len 1000 \
--request-rate 10000 \
--num-prompts 16 \
--ignore-eos
Output:
============ Serving Benchmark Result ============
Successful requests: 16
Failed requests: 0
Request rate configured (RPS): 10000.00
Benchmark duration (s): 13.79
Total input tokens: 16000
Total generated tokens: 16000
Request throughput (req/s): 1.16
Output token throughput (tok/s): 1160.19
Peak output token throughput (tok/s): 1248.00
Peak concurrent requests: 16.00
Total token throughput (tok/s): 2320.38
---------------Time to First Token----------------
Mean TTFT (ms): 582.37
Median TTFT (ms): 610.28
P99 TTFT (ms): 612.51
-----Time per Output Token (excl. 1st token)------
Mean TPOT (ms): 13.21
Median TPOT (ms): 13.19
P99 TPOT (ms): 13.54
---------------Inter-token Latency----------------
Mean ITL (ms): 13.21
Median ITL (ms): 13.23
P99 ITL (ms): 13.89
==================================================
Testing dSpark Speculative Decoding
vllm serve nvidia/GLM-5.2-NVFP4 \
--tensor-parallel-size 8 \
--spec-model RedHatAI/GLM-5.2-speculator.dspark \
--spec-method dspark \
--spec-tokens 7 \
--enable-expert-parallel \
--trust-remote-code \
--reasoning-parser glm45 \
--tool-call-parser glm47 \
--enable-auto-tool-choice \
--kv-cache-dtype fp8_e4m3 \
--host 0.0.0.0 --port 8000
At the moment, I have not yet managed to get the dSpark speculator working successfully. I’m continuing to investigate whether this is related to model compatibility, the current vllm implementation, or another configuration issue.
