ormandj/GLM-5.3-Flash-W4A16-NVFP4-K32-Experts-FP8-WO¶
Download glm53-flash-ormandj-sglang-sm120-tp2-131k-adaptive-mtp-recipe.toml
glm53-flash-ormandj-sglang-sm120-tp2-131k-adaptive-mtp-recipe.toml · 7,652 bytes · SHA-256 e41ec4a0723c891dff24b70572b2ae7fb4c2997b5d8d1d6583e059af33e4c1f4
A recipe is a reproducible starting point, not a promotion
Status text and notes describe when the recipe was written. Loading a recipe
starts a loopback-only container and changes no route; qualify it with
eval preflight before use.
| Field | Value |
|---|---|
| Status | verified |
| Family | glm-5.3-flash-multimodal-moe |
| Weights | ormandj/GLM-5.3-Flash-W4A16-NVFP4-K32-Experts-FP8-WO @ c3cbb9891b67c741bcbf6b176dd7af9265b069db |
| Engine | sglang-glm53-sm120-v0.1.1-rc14 |
| Image | ghcr.io/ormandj/sglang-glm53-flash-sm120@sha256:0c0637959c3931829f05154087bbefd2c50003fb9b2010200ce0ec82f4d71a53 |
| Quantization | ModelOpt mixed W4A16 NVFP4 K32 routed experts plus FP8 weight-only attention/shared experts; FP8 E4M3 KV; BF16 recurrent state; native adaptive EAGLE MTP [3,5] |
| Context tokens | 131072 |
| Hardware | 2x NVIDIA RTX PRO 6000 Blackwell Max-Q Workstation Edition · sm_120 · 192 GB |
| Served model name | glm53-flash-ormandj-sglang-sm120-tp2-131k-adaptive-mtp |
| Suited for | qualification, compatibility, text, tool-use, structured-output, multimodal, speculative-decoding |
| Origin | 2026-09-02 conservative adaptive native-MTP arm translated from ormandj/sglang-glm53-flash-sm120 v0.1.1-rc.14 |
Benchmark findings that measured this served model:
- 2026-09-02 — GLM-5.3-Flash SGLang SM120 qualification
Sources:
- official: https://huggingface.co/ormandj/GLM-5.3-Flash-W4A16-NVFP4-K32-Experts-FP8-WO/tree/c3cbb9891b67c741bcbf6b176dd7af9265b069db
- community: https://github.com/ormandj/sglang-glm53-flash-sm120/tree/a547c90c74f1363920287eb80adc88a16d1e7005
- local: configs/glm53-flash-ormandj-sglang-sm120-tp2-131k-nospec-recipe.toml
- local:
docs/findings/2026-09-02-glm53-sglang-sm120-qualification-evidence/run-plan.json
Use this recipe¶
anvil-serving models recipes show 'ormandj/GLM-5.3-Flash-W4A16-NVFP4-K32-Experts-FP8-WO' --registry ./glm53-flash-ormandj-sglang-sm120-tp2-131k-adaptive-mtp-recipe.toml
anvil-serving models recipes load 'ormandj/GLM-5.3-Flash-W4A16-NVFP4-K32-Experts-FP8-WO' --container my-serve --registry ./glm53-flash-ormandj-sglang-sm120-tp2-131k-adaptive-mtp-recipe.toml --dry-run
Review the dry run, then repeat the load command with --confirm. See
model lifecycle for importing a recipe into your own registry.
File¶
schema = "anvil-serving.serve-recipes/v1"
[[recipe]]
model = "ormandj/GLM-5.3-Flash-W4A16-NVFP4-K32-Experts-FP8-WO"
status = "verified"
source = "2026-09-02 conservative adaptive native-MTP arm translated from ormandj/sglang-glm53-flash-sm120 v0.1.1-rc.14"
family = "glm-5.3-flash-multimodal-moe"
total_params_b = 744
active_params_b = 40
[recipe.download]
repo = "ormandj/GLM-5.3-Flash-W4A16-NVFP4-K32-Experts-FP8-WO"
revision = "c3cbb9891b67c741bcbf6b176dd7af9265b069db"
volume = "vllm-hfcache"
require_complete_cache = true
[recipe.hardware]
gpu = "2x NVIDIA RTX PRO 6000 Blackwell Max-Q Workstation Edition"
arch = "sm_120"
vram_total_gb = 192
vram_note = "Aggregate PCIe VRAM without NVLink under WSL2; exclusive TP=2 only. The upstream stable run used the same GPU product and PCIe topology under native Linux, so transport and reserve are requalified locally."
[recipe.serve]
engine = "sglang-glm53-sm120-v0.1.1-rc14"
allow_cuda_visible_devices_index = true
image = "ghcr.io/ormandj/sglang-glm53-flash-sm120@sha256:0c0637959c3931829f05154087bbefd2c50003fb9b2010200ce0ec82f4d71a53"
entrypoint = [
"bash",
"-lc",
'''set -e; printf '%s\n' '{"1":{"candidate_steps":[3,5],"up_hysteresis":0.0,"down_hysteresis":-0.25,"ceiling_coeff":0},"4":{"candidate_steps":[3,5],"up_hysteresis":0.0,"down_hysteresis":-0.25,"ceiling_coeff":0}}' > /tmp/glm53-adaptive.json; LP=/opt/sglang-source/python/sglang/srt/layers/logits_processor.py; echo '05cfcbd9c1439af751a22fb03490a2e5a252ea4bf5ad5febdae1eb87dce1e9a7 /opt/sglang-source/python/sglang/srt/layers/logits_processor.py' | sha256sum -c -; test "$(grep -Fc 'enabled=self.do_tensor_parallel_all_gather and not self.use_attn_tp_group,' "$LP")" = 1 || { echo 'anvil patch: logits gatherer anchor drift' >&2; exit 3; }; sed -i 's/enabled=self.do_tensor_parallel_all_gather and not self.use_attn_tp_group,/enabled=False,/' "$LP"; grep -Fq 'enabled=False,' "$LP" || { echo 'anvil patch: logits gatherer postcondition failed' >&2; exit 4; }; SRC=/root/.cache/huggingface/hub/models--ormandj--GLM-5.3-Flash-W4A16-NVFP4-K32-Experts-FP8-WO/snapshots/c3cbb9891b67c741bcbf6b176dd7af9265b069db/chat_template.jinja; DST=/root/.cache/glm53-ormandj-enable-thinking-chat-template.jinja; python3 -c 'import base64,hashlib,os,pathlib,sys; src=pathlib.Path(sys.argv[1]); dst=pathlib.Path(sys.argv[2]); raw=src.read_bytes(); hashlib.sha256(raw).hexdigest()=="34d5ee66b12fa6446cdae131c352b8f68cd85369e0e6fda115583805fada3891" or sys.exit("anvil patch: source chat template hash drift"); old=base64.b64decode(os.environ["GLM53_CHAT_TEMPLATE_OLD_B64"]).decode(); new=base64.b64decode(os.environ["GLM53_CHAT_TEMPLATE_NEW_B64"]).decode(); text=raw.decode(); text.count(old)==1 or sys.exit("anvil patch: generation prompt anchor drift"); out=text.replace(old,new).encode(); hashlib.sha256(out).hexdigest()=="3133af873d620976b1561b76dc20ec2ad2599279ba61b873e872b1250f4f2ec5" or sys.exit("anvil patch: derived chat template hash mismatch"); dst.write_bytes(out)' "$SRC" "$DST"; echo 'anvil patch: WSL2 transport, logits gatherer, and thinking template ready'; exec sglang serve "$@" --chat-template "$DST"''',
"glm53-adaptive-mtp",
]
model_flag = "--model-path"
model_path = "/root/.cache/huggingface/hub/models--ormandj--GLM-5.3-Flash-W4A16-NVFP4-K32-Experts-FP8-WO/snapshots/c3cbb9891b67c741bcbf6b176dd7af9265b069db"
quantization = "ModelOpt mixed W4A16 NVFP4 K32 routed experts plus FP8 weight-only attention/shared experts; FP8 E4M3 KV; BF16 recurrent state; native adaptive EAGLE MTP [3,5]"
context_tokens = 131072
port = 39118
startup_timeout_seconds = 3600
served_model_name = "glm53-flash-ormandj-sglang-sm120-tp2-131k-adaptive-mtp"
ipc = "host"
shm_size = "64gb"
ulimits = ["memlock=-1", "nofile=1048576:1048576", "stack=67108864:67108864"]
named_volumes = ["glm53-ormandj-sglang-v58-rc14-adaptive-131k-wsl2-cache:/root/.cache"]
env = [
"CUDA_DEVICE_ORDER=PCI_BUS_ID",
"CUDA_VISIBLE_DEVICES=0,1",
"PYTHONHASHSEED=0",
"PYTORCH_CUDA_ALLOC_CONF=expandable_segments:False",
"CUBLAS_WORKSPACE_CONFIG=:4096:2:16:8",
"GLM53_CHAT_TEMPLATE_OLD_B64=eyUtIGlmIGFkZF9nZW5lcmF0aW9uX3Byb21wdCAtJX0KICAgIDx8YXNzaXN0YW50fD57ey0gJzx0aGluaz4nIC19fQp7JS0gZW5kaWYgLSV9",
"GLM53_CHAT_TEMPLATE_NEW_B64=eyUtIGlmIGFkZF9nZW5lcmF0aW9uX3Byb21wdCAtJX0KICAgIHslLSBpZiBub3QgZW5hYmxlX3RoaW5raW5nIGlzIGRlZmluZWQgLSV9eyUtIHNldCBlbmFibGVfdGhpbmtpbmcgPSB0cnVlIC0lfXslLSBlbmRpZiAtJX0KICAgIDx8YXNzaXN0YW50fD57JS0gaWYgZW5hYmxlX3RoaW5raW5nIC0lfXt7LSAnPHRoaW5rPicgLX19eyUtIGVsc2UgLSV9e3stICc8dGhpbms+PC90aGluaz4nIC19fXslLSBlbmRpZiAtJX0KeyUtIGVuZGlmIC0lfQ==",
"NCCL_CUMEM_ENABLE=0",
"NCCL_DEBUG=INFO",
"SGLANG_ENABLE_HEALTH_ENDPOINT_GENERATION=0",
"TORCHINDUCTOR_CACHE_DIR=/root/.cache/torchinductor",
"TILELANG_CACHE_DIR=/root/.cache/tilelang",
"TRITON_CACHE_DIR=/root/.cache/triton",
]
flags = [
"--served-model-name glm53-flash-ormandj-sglang-sm120-tp2-131k-adaptive-mtp",
"--tp-size 2",
"--quantization modelopt_mixed",
"--enable-multimodal",
"--image-processor-backend torchvision",
"--mm-process-config '{\"image\":{\"max_image_tokens\":3072}}'",
"--warmups serving_coverage",
"--moe-runner-backend flashinfer_cutlass",
"--disable-shared-experts-fusion",
"--disable-custom-all-reduce",
"--attention-backend dsa",
"--linear-attn-backend triton",
"--dsa-prefill-backend flashinfer_sparse_mla",
"--dsa-decode-backend flashinfer_sparse_mla",
"--kv-cache-dtype fp8_e4m3",
"--mamba-ssm-dtype bfloat16",
"--context-length 131072",
"--max-total-tokens 131072",
"--mem-fraction-static 0.99",
"--chunked-prefill-size 4096",
"--max-prefill-tokens 4096",
"--max-running-requests 1",
"--max-mamba-cache-size 5",
"--cuda-graph-max-bs-decode 1",
"--speculative-algorithm EAGLE",
"--speculative-num-steps 5",
"--speculative-eagle-topk 1",
"--speculative-num-draft-tokens 6",
"--speculative-adaptive",
"--speculative-adaptive-config /tmp/glm53-adaptive.json",
"--reasoning-parser glm45",
"--tool-call-parser glm47",
"--enable-metrics",
"--enable-cache-report",
"--host 0.0.0.0",
"--port 39118",
]
note = "Conservative v0.1.1-rc.14 adaptive native-MTP arm matched to the qualified 131K no-speculation control. The entrypoint writes the exact two-tier [3,5] adaptive JSON inside the disposable container and applies the same hash-gated symmetric-memory logits fallback and enable_thinking-aware runtime template. The locally proven WSL2 controls disable NCCL cuMem and PyTorch expandable segments; the upstream optional PCIe IPC allreduce stays off because its enabled boot failed. HiCache and CPU/KV offload remain disabled. Context, shared token pool, concurrency, recurrent slots, image path, quantization, KV, prefill ceiling, warmup, backends, parsers, and all other controls match the no-spec arm. Credit speculation only if hard gates remain passing and end-to-end work improves. Router and promotion state remain out of scope."
[recipe.fit]
suited = ["qualification", "compatibility", "text", "tool-use", "structured-output", "multimodal", "speculative-decoding"]
rationale = "Tests the rc.14 candidate's native adaptive EAGLE MTP path only after the matched no-speculation arm establishes local WSL2 correctness."
[recipe.sources]
official = [
"https://huggingface.co/ormandj/GLM-5.3-Flash-W4A16-NVFP4-K32-Experts-FP8-WO/tree/c3cbb9891b67c741bcbf6b176dd7af9265b069db",
]
community = [
"https://github.com/ormandj/sglang-glm53-flash-sm120/tree/a547c90c74f1363920287eb80adc88a16d1e7005",
]
local = [
"configs/glm53-flash-ormandj-sglang-sm120-tp2-131k-nospec-recipe.toml",
"docs/findings/2026-09-02-glm53-sglang-sm120-qualification-evidence/run-plan.json",
]