Neural Nova
All benchmarks

GLM-5.2

High-throughput serving benchmark for GLM-5.2 on AMD Instinct MI325X.

vLLM (ROCm)8× AMD Instinct MI325XFP8 KV cacheConcurrency 512
Get this model on Hugging Face
output tokens / sec
estimated cost savings
mean time to first token
median time to first token
Results

Baseline vs. Nova optimized

Output throughput (tokens / sec)
Baseline1,019
Nova optimized1,292
Median time to first token (seconds)
Baseline51.8 s
Nova optimized11.4 s
MetricBaselineOptimizedChange
Throughput
Output tokens / sec1,019.01,292.2+26.8%
Latency (ms)
Time to first token, mean49,74423,774−52.2%
Time to first token, median51,84111,448−77.9%
Time to first token, p99104,70077,224−26.2%
Time per output token, mean269.7294.2+9.1%
Time per output token, p99524.6744.4+41.9%
Inter-token latency, mean258.1272.2+5.5%
Inter-token latency, p99783.91,079.5+37.7%
End-to-end, median110,45785,579−22.5%
Run
Benchmark duration (s)254.8200.9−21.2%
Requests waiting, peak491478−2.6%
Requests waiting, average169.595.7−43.5%
KV cache usage, peak100%100%—
What it means for cost

Same hardware, 1.27× the output.

Serve the same tokens with 21.1% less GPU time.

less GPU time per token
estimated yearly savings per node

Based on 8× MI325X GPUs at about $3.08/GPU-hour, running 24/7. Actual savings vary by usage and pricing.

Setup

How we tested

Environment

Hardware
8× AMD Instinct MI325X 256GB, single node
Engine
vLLM v0.25.1 on ROCm 7.2.3
Precision
FP8 (e4m3) KV cache
Parallelism
Tensor parallel 8, pipeline parallel 1
Features
AITER MLA sparse decode, FA MLA prefill, prefix caching, async scheduling, CUDA graphs

Workload

Tool
vllm bench serve
Dataset
Synthetic, random prompts
Input length
409–3,686 tokens (avg. 2,048)
Output length
51–460 tokens (avg. 256)
Requests
1,000 at concurrency 512

Model

Architecture
Mixture-of-experts causal LM
Attention
MLA with dynamic sparse attention
Context
Up to 65,536 tokens
Workload type
Prefill-dominated, compute-bound
Optimizations

What Neural Nova optimized

  • FP8 KV cache

    e4m3 cache fits more requests in GPU memory.

  • Tuned batching

    Up to 256 sequences and 16,384 batched tokens per step.

  • Long-prefill threshold

    Prompts over 4,096 tokens are split so they don't block others.

  • Prefix caching

    Shared prompt prefixes are computed once.

  • Async scheduling + CUDA graphs

    Scheduling overlaps compute; full and piecewise graphs, capture size 256.

  • Memory headroom

    GPU memory set to 90% to leave room for graph capture.

Reproduce it

Docker container and serving commands

View full scripts on Hugging Face
Base Docker
Refer to Hugging Face Dockerfile to build
Baseline
export VLLM_ROCM_USE_AITER=1

vllm serve zai-org/GLM-5.2 \
  --tensor-parallel-size 8 \
  --trust-remote-code \
  --gpu-memory-utilization 0.95 \
  --max-model-len 65536
Optimized
export VLLM_ROCM_USE_AITER=1
export VLLM_WORKER_MULTIPROC_METHOD=spawn

vllm serve zai-org/GLM-5.2 \
  --host 0.0.0.0 --port 8000 \
  --tensor-parallel-size 8 \
  --pipeline-parallel-size 1 \
  --distributed-executor-backend mp \
  --max-model-len 65536 \
  --gpu-memory-utilization 0.90 \
  --kv-cache-dtype fp8_e4m3 \
  --max-num-seqs 256 \
  --max-num-batched-tokens 16384 \
  --long-prefill-token-threshold 4096 \
  --enable-prefix-caching \
  --async-scheduling \
  --compilation-config '{"cudagraph_mode": "FULL_AND_PIECEWISE", "max_cudagraph_capture_size": 256}' \
  --trust-remote-code