Downloads · 30 days
144
54% of all-time downloads
spele1100/GLM-5.3-Flash-AWQ-INT4
GLM-5.3-Flash-AWQ-INT4 is a image-text-to-text model from spele1100. Use it for the image-text-to-text task on the model card, and read the license before you ship it in a product. It is set up for transformers. The card lists the license as apache-2.0.
⏰ 2026-08-30 · 512K production bring-up guide (verified live) Previous: 2026-08-29 smoke test PASS / quant notes (merged below)
Downloads · 30 days
144
54% of all-time downloads
All-time downloads
267
Public
Parameters
321B
191 GB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors191 GB · 100%
How the weights are stored.
I32304B · 95%
From the Hugging Face model README
⏰ 2026-08-30 · 512K production bring-up guide (verified live) Previous: 2026-08-29 smoke test PASS / quant notes (merged below)
⚠️ IMPORTANT DISCLAIMERS (read before use)
- Max tested context = 512K (524288). Do not exceed it — anything beyond 512K is untested and known to have issues (1M boots but retrieval is unreliable; treat >512K as broken until proven otherwise).
- This fork is unofficial and out-of-support. It is a community patch on top of vLLM 0.28.1rc1.dev, NOT part of official vLLM — stock vLLM does not support this architecture properly, and the fork is provided as-is with no maintenance or support commitment. Expect instability; validate every build yourself.
# 1. Verify your vLLM build includes the sm89 long-context fixes
# 2. Launch under tmux (NEVER bare — a dying shell takes the server with it)
tmux new -s vllm
<your serve script>
# detach: Ctrl-b d ; reattach: tmux attach
# 3. Health checks (loading ~46 safetensors shards takes several minutes)
curl -s http://localhost:<port>/v1/models | head
# smoke:
curl -s http://localhost:<port>/v1/chat/completions -H 'Content-Type: application/json' \
-d '{"model":"glm53-flash-awq","messages":[{"role":"user","content":"用一句話介紹自己"}],"max_tokens":2048}'
Reference serve script:
export VLLM_USE_BREAKABLE_CUDAGRAPH=0
export PYTHONPATH=<path to your vLLM fork>:$PYTHONPATH
exec vllm serve <model_path> \
--served-model-name glm53-flash-awq \
--tensor-parallel-size 8 \
--host 0.0.0.0 --port <port> \
--max-model-len 524288 \
--no-enable-prefix-caching \
--hf-overrides '{"text_config": {"index_topk": null, "index_n_heads": null, "index_head_dim": null, "index_kpool": null}}' \
--compilation-config "{\"cudagraph_mode\": \"FULL_DECODE_ONLY\"}" \
--gpu-memory-utilization 0.94 \
--max-num-batched-tokens 4096 \
--reasoning-parser glm47 \
--tool-call-parser glm47 \
--enable-auto-tool-choice
Key config notes:
--enforce-eager — FULL_DECODE_ONLY cudagraph. (Enforce-eager was needed on older builds due to long-context CUDA-graph crashes; current fixes remove that requirement.)If the server just died, don't relaunch immediately — wait ~1 min and clear /dev/shm residue (stale vLLM shm blocks cause the relaunch to fail). Then relaunch in the same tmux session.
/v1/models responds; loading ~46 shards takes minutes, not seconds./v1/chat/completions or llm.chat() — never raw generate() (see lessons below). max_tokens ≥ 2048 (reasoning eats budget).reasoning (or reasoning_content if fronted by a proxy that normalizes it). Should appear once the model actually reasons.llm.chat() / /v1/chat/completions). Raw generate() degenerates on this model and looks like a model bug but isn't.content on direct probes; use max_tokens ≥ 2048.The custom fork is mirrored at https://github.com/spele1100/vllm-glm53, branch sm89-longctx-fix-v2, verified commit f2935ce322.
⚠️ This is an unofficial, experimental fork — it is not part of official vLLM and receives no support or maintenance guarantee. It exists because stock vLLM does not properly support this architecture on sm89. Use at your own risk and always validate your build against the checklist below.
Patch history (5 commits on top of vLLM 0.28.1rc1.dev):
cdc814dc4 — allow MLADimensions(256,0,256) in FA prefill; skip indexer weights when index_topk=nulldc5fcfd3b — enable GLM-5.3 sparse indexer + sparse MLA decode on Ada (portable MQA fallbacks, FA2 nope MLA with zero-padded rope, JIT toolchain fixes)1358bbd8c — mHC fused-norm correctness fix (the all-45-layer poisoning bug)005c57e0d — bound indexer MQA logits memory; fix long-context prefill crashesf2935ce32 — skip indexer checkpoint tensors when index_topk=null (no-indexer mode used in production)git clone https://github.com/spele1100/vllm-glm53.git ~/llm/vllm-glm53
cd ~/llm/vllm-glm53
git checkout sm89-longctx-fix-v2
git rev-parse --short=10 HEAD # must be f2935ce322 or newer
python3.10 -m venv ~/llm/venv-glm53-serve
source ~/llm/venv-glm53-serve/bin/activate
pip install -U pip wheel
# transformers pin
pip install 'transformers==5.16.1'
# FlashInfer: pip wheel 0.6.18 is broken on sm89/sm121 — build from source
git clone https://github.com/flashinfer-ai/flashinfer.git /tmp/flashinfer
pip install -e /tmp/flashinfer --no-build-isolation
export FLASHINFER_DISABLE_VERSION_CHECK=1
# vLLM fork (editable, so PYTHONPATH pick-up works)
pip install -e ~/llm/vllm-glm53 --no-build-isolation
N=$HOME/llm/venv-glm53-serve/lib/python3.10/site-packages/nvidia/cu13
export CUDA_HOME=$N
export PATH=$N/bin:$PATH
export PYTHONPATH=$HOME/llm/vllm-glm53:$PYTHONPATH
export FLASHINFER_DISABLE_VERSION_CHECK=1
export PYTHONFAULTHANDLER=1
export VLLM_USE_BREAKABLE_CUDAGRAPH=0
FLASHINFER_DISABLE_VERSION_CHECK=1.VLLM_USE_BREAKABLE_CUDAGRAPH=0 + FULL_DECODE_ONLY graph mode is the verified combo; do not mix with enforce-eager configs from older docs.