Recipe
glm53-flash-nvfp4-dgxspark-sglang-tp2
glm53-flash-nvfp4-dgxspark-sglang-tp2Validated GLM-5.3 Flash NVFP4 SGLang TP2/EP2 across two DGX Spark GB10 nodes with 131,072-token context, C2 acceptance, 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-2; KDA hybrid attention automatically leaves prefill capture unavailable
- Accelerators
- 2
- Tensor parallel
- 2
- Context tokens
- 131,072
- Max concurrency
- 2
- KV cache tokens
- 992,128
- 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
--model-path/model--served-model-nameglm-5.3-flash--tp-size2--ep-size2--nnodes2--node-rank${NODE_RANK}--dist-init-addr${HEAD_FABRIC_ADDRESS}:27000--context-length131072--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--disable-shared-experts-fusion--chunked-prefill-size4096--max-prefill-tokens4096--max-running-requests2--mem-fraction-static0.90--cuda-graph-max-bs-decode2--speculative-algorithmNEXTN--speculative-num-steps5--speculative-eagle-topk1--speculative-num-draft-tokens6--speculative-adaptive--media-url-max-file-size-mb1024--enable-multimodal--chat-template/opt/glm53/chat-template-mm.jinja--reasoning-parserglm45--tool-call-parserglm47--host0.0.0.0--port8000
| Flag | Value |
|---|---|
--model-path | /model |
--served-model-name | glm-5.3-flash |
--tp-size | 2 |
--ep-size | 2 |
--nnodes | 2 |
--node-rank | ${NODE_RANK} |
--dist-init-addr | ${HEAD_FABRIC_ADDRESS}:27000 |
--context-length | 131072 |
--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 |
--chunked-prefill-size | 4096 |
--max-prefill-tokens | 4096 |
--max-running-requests | 2 |
--mem-fraction-static | 0.90 |
--cuda-graph-max-bs-decode | 2 |
--speculative-algorithm | NEXTN |
--speculative-num-steps | 5 |
--speculative-eagle-topk | 1 |
--speculative-num-draft-tokens | 6 |
--media-url-max-file-size-mb | 1024 |
--chat-template | /opt/glm53/chat-template-mm.jinja |
--reasoning-parser | glm45 |
--tool-call-parser | glm47 |
--host | 0.0.0.0 |
--port | 8000 |
Environment
| Variable | Value |
|---|---|
CUTE_DSL_ARCH | sm_121a |
FLASHINFER_CUDA_ARCH_LIST | 12.1a |
NCCL_IB_HCA | rocep1s0f1,roceP2p1s0f1 |
NCCL_NET | IB |
NCCL_SOCKET_IFNAME | ${FABRIC_INTERFACE} |
SGLANG_FP8_PAGED_MQA_LOGITS_TORCH | 1 |
SGLANG_OPT_USE_TILELANG_INDEXER | 1 |
TORCH_CUDA_ARCH_LIST | 12.1a |
Mounts
| Source | Target |
|---|---|
${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-tp2.
- Pulls the exact container image by sha256 digest — the bytes that were validated, not a floating tag.
- 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.
- Downloads the pinned model revision into your Hugging Face cache on first run (reused afterwards).
- 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 \
2 \
--ep-size \
2 \
--nnodes \
2 \
--node-rank \
'${NODE_RANK}' \
--dist-init-addr \
'${HEAD_FABRIC_ADDRESS}:27000' \
--context-length \
131072 \
--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 \
4096 \
--max-prefill-tokens \
4096 \
--max-running-requests \
2 \
--mem-fraction-static \
0.90 \
--cuda-graph-max-bs-decode \
2 \
--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 \
8000Measured speed
| Concurrency | Context | Prefill | Decode | TTFT ms | Status | Sweep |
|---|---|---|---|---|---|---|
| 1 | 131,072 | — | 17.5 | — | accepted | glm53-flash-nvfp4-dgxspark-sglang-tp2-sweep |
| 2 | 131,072 | — | 15.4 | — | accepted | glm53-flash-nvfp4-dgxspark-sglang-tp2-sweep |
Remaining fields
Identity, launch, related records, and measured speed are shown above. This is the rest of the normalized record.
- hardware count
- 2
- hardware id
- dgx-spark-gb10-128gb
- id
- glm53-flash-nvfp4-dgxspark-sglang-tp2
- 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-tp2-sweep
- status
- validated
capabilities
- chat
- Yes
- reasoning
- Yes
- tools
- Yes
- vision
- Yes
engine
- graph mode
- full target-verify and draft capture bs1-2; 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
- 992,128
- max concurrency
- 2
- max context tokens
- 131,072
- tensor parallel
- 2
Provenance & metadata (3)
facts
metadata
- acceptance · completion
- Yes
- acceptance · image
- Yes
- acceptance · tool call
- Yes
- acceptance · video
- Yes
- image platform manifest
- sha256:7aff51ea7050480dc47137055b5201b73e23e7803d9439233742cab65e3e5609
- kv cache tokens per rank
- 992,128
- model revision
- 9e0d74e3cef17f634e84fb8e2223707e02616290
- request policy
- uncapped natural-stop requests
provenance
- captured at
- 2026-08-27T06:04:13.773Z
sources
| captured at | kind | url |
|---|---|---|
| 2026-08-27T06:04:13.773Z | normalized-recipe | github.com/0xSero/local-ai-registry ↗ |