Recipe

glm53-flash-nvfp4-dgxspark-sglang-tp4

glm53-flash-nvfp4-dgxspark-sglang-tp4

Validated GLM-5.3 Flash NVFP4 SGLang TP4/EP4 across four DGX Spark GB10 nodes with 1,048,576-token context, C8 acceptance and soak, NEXTN speculation, full decode CUDA graphs, tools, image, and video evidence.

Record

Status
validated
Source
0xsero
Engine
sglang
Engine version
ghcr.io/0xsero/glm-5.3-flash-sglang-sm121@sha256:f9ac60ba4071f8acd64f0f3c074aca308f6d659405fee46fc8031489a1e8b19b
Graph
full target-verify and draft capture bs1-8; KDA hybrid attention automatically leaves prefill capture unavailable
Accelerators
4
Tensor parallel
4
Context tokens
1,048,576
Max concurrency
8
KV cache tokens
5,621,568
chat
yes
reasoning
yes
tools
yes
vision
yes

Hugging Face model card

Identity

https://huggingface.co/LibertAIDAI/GLM-5.3-Flash-NVFP4
Repository
LibertAIDAI/GLM-5.3-Flash-NVFP4
Status
known
Link type
Exact Hub repository

Public Hugging Face repository confirmed by the Hub API.

Validated: pinned artifact, pinned runtime, and accepted evidence. This is a launch contract.

Docker configuration

sglang

Container · validated · docker

Validated launch contract

Image
ghcr.io/0xsero/glm-5.3-flash-sglang-sm121@sha256:f9ac60ba4071f8acd64f0f3c074aca308f6d659405fee46fc8031489a1e8b19b
Digest
sha256:f9ac60ba4071f8acd64f0f3c074aca308f6d659405fee46fc8031489a1e8b19b
Port
8000

Launch arguments

  1. --model-path
  2. /model
  3. --served-model-name
  4. glm-5.3-flash
  5. --tp-size
  6. 4
  7. --ep-size
  8. 4
  9. --nnodes
  10. 4
  11. --node-rank
  12. ${NODE_RANK}
  13. --dist-init-addr
  14. ${HEAD_FABRIC_ADDRESS}:27000
  15. --context-length
  16. 1048576
  17. --quantization
  18. modelopt_fp4
  19. --attention-backend
  20. dsa
  21. --dsa-prefill-backend
  22. flashinfer_sparse_mla
  23. --dsa-decode-backend
  24. flashinfer_sparse_mla
  25. --linear-attn-backend
  26. triton
  27. --kv-cache-dtype
  28. fp8_e4m3
  29. --moe-runner-backend
  30. flashinfer_cutlass
  31. --disable-shared-experts-fusion
  32. --chunked-prefill-size
  33. 8192
  34. --max-prefill-tokens
  35. 8192
  36. --max-running-requests
  37. 8
  38. --mem-fraction-static
  39. 0.90
  40. --cuda-graph-max-bs-decode
  41. 8
  42. --speculative-algorithm
  43. NEXTN
  44. --speculative-num-steps
  45. 5
  46. --speculative-eagle-topk
  47. 1
  48. --speculative-num-draft-tokens
  49. 6
  50. --speculative-adaptive
  51. --media-url-max-file-size-mb
  52. 1024
  53. --enable-multimodal
  54. --chat-template
  55. /opt/glm53/chat-template-mm.jinja
  56. --reasoning-parser
  57. glm45
  58. --tool-call-parser
  59. glm47
  60. --host
  61. 0.0.0.0
  62. --port
  63. 8000
FlagValue
--model-path/model
--served-model-nameglm-5.3-flash
--tp-size4
--ep-size4
--nnodes4
--node-rank${NODE_RANK}
--dist-init-addr${HEAD_FABRIC_ADDRESS}:27000
--context-length1048576
--quantizationmodelopt_fp4
--attention-backenddsa
--dsa-prefill-backendflashinfer_sparse_mla
--dsa-decode-backendflashinfer_sparse_mla
--linear-attn-backendtriton
--kv-cache-dtypefp8_e4m3
--moe-runner-backendflashinfer_cutlass
--chunked-prefill-size8192
--max-prefill-tokens8192
--max-running-requests8
--mem-fraction-static0.90
--cuda-graph-max-bs-decode8
--speculative-algorithmNEXTN
--speculative-num-steps5
--speculative-eagle-topk1
--speculative-num-draft-tokens6
--media-url-max-file-size-mb1024
--chat-template/opt/glm53/chat-template-mm.jinja
--reasoning-parserglm45
--tool-call-parserglm47
--host0.0.0.0
--port8000

Environment

VariableValue
CUTE_DSL_ARCHsm_121a
FLASHINFER_CUDA_ARCH_LIST12.1a
NCCL_IB_HCArocep1s0f1,roceP2p1s0f1
NCCL_NETIB
NCCL_SOCKET_IFNAME${FABRIC_INTERFACE}
SGLANG_FP8_PAGED_MQA_LOGITS_TORCH1
SGLANG_OPT_USE_TILELANG_INDEXER1
TORCH_CUDA_ARCH_LIST12.1a

Mounts

SourceTarget
${MODEL_ROOT}/GLM-5.3-Flash-NVFP4/model (read-only)
${CACHE_ROOT}/glm53-flash-spark/root/.cache

Launch

Exact materialization of this validated launch contract: digest-pinned image, pinned model revision, and the audited arguments. Self-contained — required assets are fetched from this registry and verified against their recorded sha256 before mounting. Also available as local-ai run glm53-flash-nvfp4-dgxspark-sglang-tp4.

  1. Pulls the exact container image by sha256 digest — the bytes that were validated, not a floating tag.
  2. Fetches any required engine assets from this registry and verifies each against its recorded sha256; the audited launch script verifies them again inside the container before use.
  3. Downloads the pinned model revision into your Hugging Face cache on first run (reused afterwards).
  4. Serves an OpenAI-compatible API on localhost:8000 — point any client at it.
docker run --rm \
  --gpus all \
  --ipc host \
  --shm-size 64g \
  --network host \
  -p 8000:8000 \
  -e CUTE_DSL_ARCH=sm_121a \
  -e FLASHINFER_CUDA_ARCH_LIST=12.1a \
  -e NCCL_IB_HCA=rocep1s0f1,roceP2p1s0f1 \
  -e NCCL_NET=IB \
  -e 'NCCL_SOCKET_IFNAME=${FABRIC_INTERFACE}' \
  -e SGLANG_FP8_PAGED_MQA_LOGITS_TORCH=1 \
  -e SGLANG_OPT_USE_TILELANG_INDEXER=1 \
  -e TORCH_CUDA_ARCH_LIST=12.1a \
  -v '${MODEL_ROOT}/GLM-5.3-Flash-NVFP4:/model:ro' \
  -v '${CACHE_ROOT}/glm53-flash-spark:/root/.cache' \
  ghcr.io/0xsero/glm-5.3-flash-sglang-sm121@sha256:f9ac60ba4071f8acd64f0f3c074aca308f6d659405fee46fc8031489a1e8b19b \
  --model-path \
  /model \
  --served-model-name \
  glm-5.3-flash \
  --tp-size \
  4 \
  --ep-size \
  4 \
  --nnodes \
  4 \
  --node-rank \
  '${NODE_RANK}' \
  --dist-init-addr \
  '${HEAD_FABRIC_ADDRESS}:27000' \
  --context-length \
  1048576 \
  --quantization \
  modelopt_fp4 \
  --attention-backend \
  dsa \
  --dsa-prefill-backend \
  flashinfer_sparse_mla \
  --dsa-decode-backend \
  flashinfer_sparse_mla \
  --linear-attn-backend \
  triton \
  --kv-cache-dtype \
  fp8_e4m3 \
  --moe-runner-backend \
  flashinfer_cutlass \
  --disable-shared-experts-fusion \
  --chunked-prefill-size \
  8192 \
  --max-prefill-tokens \
  8192 \
  --max-running-requests \
  8 \
  --mem-fraction-static \
  0.90 \
  --cuda-graph-max-bs-decode \
  8 \
  --speculative-algorithm \
  NEXTN \
  --speculative-num-steps \
  5 \
  --speculative-eagle-topk \
  1 \
  --speculative-num-draft-tokens \
  6 \
  --speculative-adaptive \
  --media-url-max-file-size-mb \
  1024 \
  --enable-multimodal \
  --chat-template \
  /opt/glm53/chat-template-mm.jinja \
  --reasoning-parser \
  glm45 \
  --tool-call-parser \
  glm47 \
  --host \
  0.0.0.0 \
  --port \
  8000

Measured speed

ConcurrencyContextPrefillDecodeTTFT msStatusSweep
11,048,57622.7acceptedglm53-flash-nvfp4-dgxspark-sglang-tp4-sweep
81,048,57610.3acceptedglm53-flash-nvfp4-dgxspark-sglang-tp4-sweep
81,048,5768.4accepted-soakglm53-flash-nvfp4-dgxspark-sglang-tp4-sweep

Remaining fields

Identity, launch, related records, and measured speed are shown above. This is the rest of the normalized record.

hardware count
4
hardware id
dgx-spark-gb10-128gb
id
glm53-flash-nvfp4-dgxspark-sglang-tp4
model instance id
libertaidai-glm-5-3-flash-nvfp4--nvfp4
recipe source
0xsero
schema version
local-ai-registry/v1
speed sweep ids
glm53-flash-nvfp4-dgxspark-sglang-tp4-sweep
status
validated

capabilities

chat
Yes
reasoning
Yes
tools
Yes
vision
Yes

engine

graph mode
full target-verify and draft capture bs1-8; KDA hybrid attention automatically leaves prefill capture unavailable
name
sglang
version
ghcr.io/0xsero/glm-5.3-flash-sglang-sm121@sha256:f9ac60ba4071f8acd64f0f3c074aca308f6d659405fee46fc8031489a1e8b19b

serving

kv cache tokens
5,621,568
max concurrency
8
max context tokens
1,048,576
tensor parallel
4
Provenance & metadata (3)

facts

metadata

acceptance · completion
Yes
acceptance · image
Yes
acceptance · soak
Yes
acceptance · tool call
Yes
acceptance · video
Yes
image platform manifest
sha256:7aff51ea7050480dc47137055b5201b73e23e7803d9439233742cab65e3e5609
kv cache tokens per rank
5,621,568
model revision
9e0d74e3cef17f634e84fb8e2223707e02616290
request policy
uncapped natural-stop requests

provenance

captured at
2026-08-27T06:04:13.773Z

sources

captured atkindurl
2026-08-27T06:04:13.773Znormalized-recipegithub.com/0xSero/local-ai-registry