ormandj/GLM-5.3-Flash-W4A16-NVFP4-K32-Experts-FP8-WO¶
Download glm53-flash-ormandj-sglang-sm120-tp2-499k-c1-adaptive-mtp-recipe.toml
glm53-flash-ormandj-sglang-sm120-tp2-499k-c1-adaptive-mtp-recipe.toml · 7,664 bytes · SHA-256 1e65a21f9839c1e5f736baf15e011bbf2a3ba638cd30d6e7df53363decc5f267
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 | unverified |
| 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 | 499712 |
| Hardware | 2x NVIDIA RTX PRO 6000 Blackwell Max-Q Workstation Edition · sm_120 · 192 GB |
| Served model name | glm53-flash-ormandj-sglang-sm120-tp2-499k-c1-adaptive-mtp |
| Suited for | qualification, compatibility, text, tool-use, structured-output, multimodal, long-context, concurrency, speculative-decoding |
| Origin | 2026-09-02 startup-and-functional-only 499712-token C1 derivative; not advanced through the representative workload battery |
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-499k-adaptive-mtp-recipe.toml
- local:
docs/findings/2026-09-02-glm53-sglang-sm120-qualification-evidence/run-plan.json - local:
docs/findings/2026-09-02-glm53-sglang-sm120-vram-policy-reclassification.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-499k-c1-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-499k-c1-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 = "unverified"
source = "2026-09-02 startup-and-functional-only 499712-token C1 derivative; not advanced through the representative workload battery"
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. Startup left 2347 MiB free per card, but no post-representative-workload memory or stability evidence was collected; the model-only reserve waiver therefore does not make this profile verified."
[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 = 499712
port = 39118
startup_timeout_seconds = 3600
served_model_name = "glm53-flash-ormandj-sglang-sm120-tp2-499k-c1-adaptive-mtp"
ipc = "host"
shm_size = "64gb"
ulimits = ["memlock=-1", "nofile=1048576:1048576", "stack=67108864:67108864"]
named_volumes = ["glm53-ormandj-sglang-v59-rc14-adaptive-499k-c1-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-499k-c1-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 499712",
"--max-total-tokens 499712",
"--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 = "Fix-forward long-context profile derived after the exact upstream 499712-token/C4 shape passed functionality but left only 49 MiB reported free per card and triggered a late-loaded Triton-kernel OOM warning. This variant reduces scheduler concurrency, recurrent-state slots, and graph batch tiers to one running request, five Mamba slots, and batch-size-one graphs. It passed startup and functional checks and left 2347 MiB/card at startup, but it was not advanced through the full capacity, quality, multimodal, endurance, and post-workload safety battery. It remains unverified even with the model-only reserve waiver."
[recipe.fit]
suited = ["qualification", "compatibility", "text", "tool-use", "structured-output", "multimodal", "long-context", "concurrency", "speculative-decoding"]
rationale = "Startup and functionality passed, but the profile lacks post-representative-workload VRAM and stability evidence; test before any promotion consideration."
[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-499k-adaptive-mtp-recipe.toml",
"docs/findings/2026-09-02-glm53-sglang-sm120-qualification-evidence/run-plan.json",
"docs/findings/2026-09-02-glm53-sglang-sm120-vram-policy-reclassification.json",
]