Skip to content

brandonmusic/GLM-5.3-Flash-tr3-4bpw

Download glm53-flash-cardillo-tpurtell-fixed-mtp5-sm120-tp2-262k-wsl2-v2-no-owner-exchange-recipe.toml

glm53-flash-cardillo-tpurtell-fixed-mtp5-sm120-tp2-262k-wsl2-v2-no-owner-exchange-recipe.toml · 4,769 bytes · SHA-256 1559281de99e62738d63e49310208c2b55273d7b948f73e10f794b06d705b4d5

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 brandonmusic/GLM-5.3-Flash-tr3-4bpw @ 5ab363a8dcf6405955fd5f99671e01a1c9fb124b
Engine vllm-glm53-exl3-b12x-mtp5
Image ghcr.io/tpurtell/glm-5.3-flash-exl3-4bpw-2x-rtx@sha256:da5cec95778bf6996660b52e28a6e51737fec69cfc3d508bf298c8a89f273ac5
Quantization ShapleyMCG TR3/EXL3 4 bpw weights with NVFP4 MLA KV cache
Context tokens 262144
Hardware 2x NVIDIA RTX PRO 6000 Blackwell Max-Q Workstation Edition · sm_120 · 192 GB
Served model name glm53-flash-tr3-4bpw-tp2-262k-fixed-mtp5
Suited for qualification, compatibility, coding-agent, tool-use, long-context, speculative-decoding, text
Origin Fixed MTP5 control without adaptive scheduling or ReplaySSM after the Cardillo adaptive profile failed repeated tool and bounded coding quality gates

Sources:

Use this recipe

anvil-serving models recipes show 'brandonmusic/GLM-5.3-Flash-tr3-4bpw' --registry ./glm53-flash-cardillo-tpurtell-fixed-mtp5-sm120-tp2-262k-wsl2-v2-no-owner-exchange-recipe.toml
anvil-serving models recipes load 'brandonmusic/GLM-5.3-Flash-tr3-4bpw' --container my-serve --registry ./glm53-flash-cardillo-tpurtell-fixed-mtp5-sm120-tp2-262k-wsl2-v2-no-owner-exchange-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 = "brandonmusic/GLM-5.3-Flash-tr3-4bpw"
status = "verified"
source = "Fixed MTP5 control without adaptive scheduling or ReplaySSM after the Cardillo adaptive profile failed repeated tool and bounded coding quality gates"
family = "glm-5.3-flash-multimodal-moe"

[recipe.download]
repo = "brandonmusic/GLM-5.3-Flash-tr3-4bpw"
revision = "5ab363a8dcf6405955fd5f99671e01a1c9fb124b"
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/Docker Desktop; exclusive TP=2 qualification lane."

[recipe.serve]
engine = "vllm-glm53-exl3-b12x-mtp5"
allow_cuda_visible_devices_index = true
image = "ghcr.io/tpurtell/glm-5.3-flash-exl3-4bpw-2x-rtx@sha256:da5cec95778bf6996660b52e28a6e51737fec69cfc3d508bf298c8a89f273ac5"
model_path = "/root/.cache/huggingface/hub/models--brandonmusic--GLM-5.3-Flash-tr3-4bpw/snapshots/5ab363a8dcf6405955fd5f99671e01a1c9fb124b"
named_volumes = [
  "glm53-cardillo-vllm-cache:/root/.cache",
]
quantization = "ShapleyMCG TR3/EXL3 4 bpw weights with NVFP4 MLA KV cache"
context_tokens = 262144
port = 8001
startup_timeout_seconds = 3600
served_model_name = "glm53-flash-tr3-4bpw-tp2-262k-fixed-mtp5"
ipc = "host"
shm_size = "32gb"
env = [
  "HF_HUB_OFFLINE=1",
  "CUDA_DEVICE_ORDER=PCI_BUS_ID",
  "PYTORCH_CUDA_ALLOC_CONF=expandable_segments:False",
  "NCCL_CUMEM_ENABLE=0",
  "NCCL_DEBUG=WARN",
  "VLLM_USE_V2_MODEL_RUNNER=1",
  "VLLM_WSL2_ENABLE_PIN_MEMORY=1",
  "VLLM_ENGINE_READY_TIMEOUT_S=3600",
  "VLLM_ENABLE_PCIE_ALLREDUCE=0",
  "VLLM_PCIE_ALLREDUCE_BACKEND=b12x",
  "VLLM_PCIE_ONESHOT_ALLREDUCE_MAX_SIZE=384KB",
  "VLLM_B12X_PCIE_EAGER=0",
  "VLLM_B12X_DCP_A2A=0",
  "VLLM_USE_B12X_SPARSE_INDEXER=1",
  "VLLM_USE_B12X_KPOOL_INDEXER=1",
  "VLLM_DCP_GLOBAL_TOPK=1",
  "VLLM_DCP_QUERY_SPLIT=0",
  "VLLM_DCP_TOPK_OWNER_MERGE=1",
  "VLLM_B12X_DCP_TOPK_OWNER_EXCHANGE=0",
  "VLLM_B12X_DCP_TOPK_MIN_ROWS=128",
  "VLLM_B12X_DCP_TOPK_MAX_ROWS=2048",
  "KV_FP8_ROPE=1",
  "VLLM_NVFP4_MLA_DYNAMIC_SCALE=1",
  "VLLM_EXL3_TRELLIS_MIN_M=1",
  "VLLM_EXL3_TRELLIS_MAX_M=32",
  "VLLM_EXL3_TRELLIS_BLOCK_M=8",
  "VLLM_EXL3_PREFILL_TRELLIS=1",
  "VLLM_EXL3_PREFILL_BLOCK_M=64",
  "VLLM_EXL3_PREFILL_CAPACITY=1024",
  "B12X_EXL3_BF16_EPILOGUE=1",
  "B12X_EXL3_BF16_GEMV=1",
  "VLLM_B12X_GLM_H64_QUERY_PROJ=auto",
  "VLLM_USE_B12X_MHC=auto",
]
flags = [
  "--served-model-name glm53-flash-tr3-4bpw-tp2-262k-fixed-mtp5",
  "--host 0.0.0.0",
  "--port 8001",
  "--tensor-parallel-size 2",
  "--decode-context-parallel-size 2",
  "--dcp-comm-backend ag_rs",
  "--disable-custom-all-reduce",
  "--speculative-config '{\"method\":\"mtp\",\"num_speculative_tokens\":5}'",
  "--language-model-only",
  "--enable-prefix-caching",
  "--mamba-cache-mode align",
  "--attention-backend B12X_MLA_SPARSE",
  "--max-model-len 262144",
  "--max-num-batched-tokens 2048",
  "--max-num-seqs 16",
  "--max-cudagraph-capture-size 64",
  "--gpu-memory-utilization 0.950",
  "--kv-cache-dtype nvfp4_ds_mla",
  "--no-enable-flashinfer-autotune",
  "--enable-auto-tool-choice",
  "--tool-call-parser glm47",
  "--reasoning-parser glm45",
]
note = "Verified local performance profile. It keeps the same pinned model/image, V2 runner, NVFP4 MLA KV, EXL3/B12x compute, TP2/DCP2 ag_rs, text-only 262144-token contract, memory policy, and WSL2 transport workarounds while loading a fixed five-token MTP draft without adaptive depth or ReplaySSM. Local gates passed 20/20 tools, 128K retrieval, streaming tools, tool-result continuation, Responses API, and a >=100K prompt tool call. Low-reasoning c1 decode measured 69.8 tok/s at 4K and 61.9 tok/s at 128K; high reasoning passed the repeated coding-agent suite 15/15 on the matched 524K companion."

[recipe.fit]
suited = ["qualification", "compatibility", "coding-agent", "tool-use", "long-context", "speculative-decoding", "text"]
rationale = "One bounded causal check for a reliable speculation point between the rejected adaptive lane and the slower qualified no-spec control."

[recipe.sources]
official = [
  "https://huggingface.co/brandonmusic/GLM-5.3-Flash-tr3-4bpw/tree/5ab363a8dcf6405955fd5f99671e01a1c9fb124b",
]
community = [
  "https://github.com/samuelcardillo/glm-5.3-flash-2x-rtx-pro-6000-blackwell/tree/5b5623ea07f48683f37f3774d8d5b8bf5b04fdf0",
  "https://github.com/tpurtell/glm-5.3-flash-ext3-4-bit-2x-rtx/tree/3bff1d5fdbafcc3d9865abebddbfe1eef435adef",
]
local = [
  "configs/glm53-flash-cardillo-tpurtell-adaptive-mtp-sm120-tp2-262k-wsl2-v2-no-owner-exchange-recipe.toml",
  "configs/glm53-flash-cardillo-tpurtell-nospec-sm120-tp2-262k-wsl2-v2-no-owner-exchange-recipe.toml",
]