Repository navigation
Description
Status: PRs are linked here as each passes CPU, GPU and review validation.
GLM-5.3-Flash NVFP4 serving for production agent traffic on four RTX PRO 6000 Blackwell GPUs (TP4 with four-way context parallelism and MTP). Engine fixes found along the way are tracked in #347, and the PCIe transfer work in #348.
PRs
- Fix GLM decode pooling writes for negative main-cache slots local-inference-lab/flashinfer#113 (b12x): GLM decode pooling writes for negative main-cache slots. Slot -1 is truncated to page 0, so the write lands on page 0. The existing NVIDIA alias's context-parallel decode on
mainreaches this. - Calibrated checkpoint support for
local-inference-lab/GLM-5.3-Flash-NVFP4@378ca545(PR to follow). It covers source-native MXFP8 experts and BF16 projections, chat-template selection by bundled source digest, and declarations beside the NVIDIA alias. It depends on the Jinja and cuBLAS PRs (Engine fixes from qualifying GLM-5.3-Flash for production agent traffic #347) and the b12x pool fix. - Prefill context transport, tracked in PCIe multi-GPU transfers on root-port hosts: ring and pairwise transports chosen by measurement #348.
- Decode CSF expert scales inline in the A4 prefill GEMM local-inference-lab/flashinfer#96: decode CSF expert scales inline in the A4 prefill GEMM. Applies to the CSF checkpoint (
nvidia/GLM-5.3-Flash-FP4-Local), not the calibrated one. Tuned TP2 serving on DGX Spark: prefill +3.8-5.8 %. RTX PRO 6000 TP4: inline is slower at 4096 rows and faster at 512, and the tuning race keeps the faster form per shape.
Related
- Serving engine wedges under real agent traffic on 6b68b9b4: /v1/responses + reasoning_effort=100 + long shared prefixes + client cancels (health 200, GPU idle, zero logs) #319 / Reuse checkpoint selections through scheduler commit #329 (Prefix-cache pool and scheduler fixes from a production degradation (DeepSeek V4.1 TP4) #335): scheduler wedge under agent traffic with shared prefixes and cancellations.
- GLM-5.3-Flash: context-parallel prefill gives wrong answers above 512 prompt rows (Inductor miscompiles the candidate gather) #320 / GLM-5.3: write CP candidate gathers as plain BF16 row slices (fixes wrong answers above 512 prompt rows) #321: wrong answers above 512 prompt rows with context parallelism. See the storage-call entry in Engine fixes from qualifying GLM-5.3-Flash for production agent traffic #347.
Not yet proposed
- Vision tower RMS-norm epsilon: the checkpoint declares 1e-5; vLLM's encoder uses 1e-6 for the block and final norms. Needs an isolated A/B first.
- A thinking-off switch for the GLM template, so
enable_thinking: falsedisables reasoning.
Results so far
Setup: four RTX PRO 6000 Blackwell Max-Q GPUs, all PCIe Gen4 x16, each on its own CPU root port. Flare is built from main plus the changes tracked in these issues. vLLM runs our production image and settings (TP4, decode context parallel 4, MTP with 3 tokens), on the same GPUs, one replica each. All results are single runs.
| Flare | vLLM | |
|---|---|---|
| Replay of a recorded 5-minute agent-traffic burst (63 requests): time to first token median / p90 / p99 | 1.25 / 4.38 / 139 s | 2.02 / 9.62 / 152 s |
| Same replay: decode per answer, median / p10 / min | 132 / 80 / 65 tok/s | 121 / 70 / 43 tok/s |
| Cold prefill of 7K / 99K / 401K tokens | 0.8 / 11.3 / 51.2 s | 1.1 / 14.1 / 58.7 s |
Earlier replays of the same core varied by up to about 25% at p10, so the median decode difference is within noise. The time-to-first-token and prefill differences are not.
A per-user concurrency sweep (1 to 32 users) follows in a comment.
The 92 request shapes recorded from our clients run with only documented differences from vLLM. Images pass, including solid-colour naming.
Discord: D-Rock
Activity
yatesdr commentedon Nov 18, 2026
Concurrency sweep (same GPUs and builds as the table above; single run each). N users at once, each in its own conversation (contexts cycle 8K / 32K / 100K / 200K tokens and are cached before measuring), three measured turns per user, each a short question and a fixed 600-token answer (
ignore_eos).From 4 users up, Flare decodes 24-54% faster per user and up to 53% more in aggregate (979 vs 638 tok/s at 20 users). At 1-2 users vLLM is about 7% faster per user.
In this synchronized test, where every user sends its next turn at the same moment, Flare's median time to first token is higher from 8 users up. That is the default balanced policy favouring running decodes over newly arrived prefills. In the recorded-traffic replay above, where arrivals are spread out, Flare's time to first token is lower at every percentile.