Instructions to use cafonez/GLM-5.3-Flash-Gorgon-GGUF with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- llama.cpp
How to use cafonez/GLM-5.3-Flash-Gorgon-GGUF with llama.cpp:
Install (macOS, Linux)
curl -LsSf https://llama.app/install.sh | sh # Start a local OpenAI-compatible server with a web UI: llama serve -hf cafonez/GLM-5.3-Flash-Gorgon-GGUF # Run inference directly in the terminal: llama cli -hf cafonez/GLM-5.3-Flash-Gorgon-GGUF
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf cafonez/GLM-5.3-Flash-Gorgon-GGUF # Run inference directly in the terminal: llama cli -hf cafonez/GLM-5.3-Flash-Gorgon-GGUF
Build from source code
git clone https://github.com/ggml-org/llama.cpp.git cd llama.cpp cmake -B build cmake --build build -j --target llama-app # Start a local OpenAI-compatible server with a web UI: ./build/bin/llama serve -hf cafonez/GLM-5.3-Flash-Gorgon-GGUF # Run inference directly in the terminal: ./build/bin/llama cli -hf cafonez/GLM-5.3-Flash-Gorgon-GGUF
Use Docker
docker model run hf.co/cafonez/GLM-5.3-Flash-Gorgon-GGUF
- Llama new
- LM Studio
- Jan
- vLLM
How to use cafonez/GLM-5.3-Flash-Gorgon-GGUF with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "cafonez/GLM-5.3-Flash-Gorgon-GGUF" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "cafonez/GLM-5.3-Flash-Gorgon-GGUF", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/cafonez/GLM-5.3-Flash-Gorgon-GGUF
- Ollama
How to use cafonez/GLM-5.3-Flash-Gorgon-GGUF with Ollama:
ollama run hf.co/cafonez/GLM-5.3-Flash-Gorgon-GGUF
- Unsloth Desktop
- Pi
How to use cafonez/GLM-5.3-Flash-Gorgon-GGUF with Pi:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf cafonez/GLM-5.3-Flash-Gorgon-GGUF
Configure the model in Pi
# Install Pi: npm install -g @earendil-works/pi-coding-agent # Add to ~/.pi/agent/models.json: { "providers": { "llama-cpp": { "baseUrl": "http://localhost:8080/v1", "api": "openai-completions", "apiKey": "none", "models": [ { "id": "cafonez/GLM-5.3-Flash-Gorgon-GGUF" } ] } } }Run Pi
# Start Pi in your project directory: pi
- Docker Model Runner
How to use cafonez/GLM-5.3-Flash-Gorgon-GGUF with Docker Model Runner:
docker model run hf.co/cafonez/GLM-5.3-Flash-Gorgon-GGUF
- Lemonade
How to use cafonez/GLM-5.3-Flash-Gorgon-GGUF with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull cafonez/GLM-5.3-Flash-Gorgon-GGUF
Run and chat with the model
lemonade run user.GLM-5.3-Flash-Gorgon-GGUF-{{QUANT_TAG}}List all available models
lemonade list
- Hermes Agent
How to use cafonez/GLM-5.3-Flash-Gorgon-GGUF with Hermes Agent:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf cafonez/GLM-5.3-Flash-Gorgon-GGUF
Configure Hermes
# Install Hermes: curl -fsSL https://hermes-agent.nousresearch.com/install.sh | bash hermes setup # Point Hermes at the local server: hermes config set model.provider custom hermes config set model.base_url http://127.0.0.1:8080/v1 hermes config set model.default cafonez/GLM-5.3-Flash-Gorgon-GGUF
Run Hermes
hermes
- Atomic Chat
- OpenClaw
How to use cafonez/GLM-5.3-Flash-Gorgon-GGUF with OpenClaw:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf cafonez/GLM-5.3-Flash-Gorgon-GGUF
Configure OpenClaw
# Install OpenClaw: npm install -g openclaw@latest # Register the local server and set it as the default model: openclaw onboard --non-interactive --mode local \ --auth-choice custom-api-key \ --custom-base-url http://127.0.0.1:8080/v1 \ --custom-model-id "cafonez/GLM-5.3-Flash-Gorgon-GGUF" \ --custom-provider-id llama-cpp \ --custom-compatibility openai \ --custom-text-input \ --accept-risk \ --skip-health
Run OpenClaw
openclaw agent --local --agent main --message "Hello from Hugging Face"
GLM-5.3-Flash GGUF for the Framework Desktop (Gorgon Halo)
A 3.84 bpw GGUF of zai-org/GLM-5.3-Flash (320.8B total parameters, MoE with 288 experts, top-8), sized to run fully on the GPU of a 192 GB AMD Ryzen AI Max 400 ("Gorgon Halo") Framework Desktop.
- Format: llama.cpp
glm5-next(llama.cpp PR #27773). It loads in current llama.cppmasterand in ROCmFPX. - Size: 143.5 GiB (154.1 GB) in 4 shards. Pass the first shard to
-m; llama.cpp finds the rest. - The MTP (next-token prediction) layer is included, but llama.cpp does not run GLM-5.3 MTP drafting yet, so plain decoding is used.
Files
| file | size |
|---|---|
GLM-5.3-Flash-Q5K-IQ3S-00001-of-00004.gguf |
44.4 GB |
GLM-5.3-Flash-Q5K-IQ3S-00002-of-00004.gguf |
44.2 GB |
GLM-5.3-Flash-Q5K-IQ3S-00003-of-00004.gguf |
43.9 GB |
GLM-5.3-Flash-Q5K-IQ3S-00004-of-00004.gguf |
21.6 GB |
Quantization recipe
Routed experts carry almost all of the weights, so they get the low-bit types; everything that every token passes through stays at 5 bits or more.
| tensors | type | bpw | params | size |
|---|---|---|---|---|
| routed expert gate / up (41 layers) | IQ3_S | 3.44 | 198.1B | 79.3 GiB |
| routed expert down (39 layers) | IQ4_XS | 4.25 | 94.2B | 46.6 GiB |
| routed expert down (3 layers) | Q6_K | 6.56 | 7.3B | 5.5 GiB |
| routed experts, remaining layers | IQ4_XS / Q4_K / Q3_K | 3.4-4.5 | 12.1B | 5.6 GiB |
| attention (MLA), KDA, dense FFN, shared experts | Q5_K | 5.50 | 7.2B | 4.6 GiB |
| indexer, hyper-connections, small projections | Q8_0 | 8.50 | 1.2B | 1.2 GiB |
| output head | Q6_K | 6.56 | 0.6B | 0.5 GiB |
| norms, biases | F32 | 0.2 GiB |
Built from Unsloth's GLM-5.3-Flash UD-IQ4_XS GGUF and its importance matrix (glm-imatrix.gguf), requantizing the attention and dense tensors to Q5_K and the routed experts as above. The file was then converted from the pre-merge glm5next layout to the merged glm5-next layout: keys renamed, indexer.kpool_select_tail = true and indexer.types (all full) taken from the official text_config, and the gate/up experts stored as separate tensors. The conversion is a byte copy of the weights.
Quality
- KL divergence against Unsloth's UD-IQ4_XS GGUF (the file this mix was made from): mean KLD 0.040, same top-1 token 93.1% (
llama-perplexity --kl-divergence, 16 x 1024-token chunks, Vulkan). - Vulkan vs CPU on this exact file (12K tokens, ctx 2048): mean KLD 0.018, same top-1 96.3%. This measures backend numerics, not quantization loss.
Speed on the Framework Desktop (Gorgon Halo)
AMD Ryzen AI Max+ PRO 495 / Radeon 8065S, 192 GB LPDDR5X, Ubuntu 26.04, kernel 7.0, Mesa 26.0.8 RADV, Vulkan backend. ROCmFPX main (GLM-5.3 support from #34, prefill work from #35 and #36). llama-bench -fa 1 -b 2048 -ub 2048, 3 runs:
| test | t/s |
|---|---|
| prefill, 2048 tokens | 256.4 |
| decode | 17.4 |
| prefill, 2048 tokens at 32K context | 95.9 |
| decode at 32K context | 15.0 |
These are local measurements on one machine, not leaderboard results. Plain llama.cpp master runs the file at the same decode speed; prefill is lower there because it does not have #35 and #36.
How to run
1. Let the GPU use the memory
The weights need about 144 GiB of GPU-visible memory plus the KV cache. On a 192 GB machine, raise the GTT limit with kernel parameters (this example gives the GPU 176 GiB) and reboot:
ttm.pages_limit=46137344 ttm.page_pool_size=46137344
On Ubuntu, add them to GRUB_CMDLINE_LINUX_DEFAULT in /etc/default/grub, run sudo update-grub, and reboot. Check with:
cat /sys/class/drm/card*/device/mem_info_gtt_total # about 189000000000 bytes
Keep the BIOS GPU memory carve-out at its minimum: the GPU uses GTT, and memory carved out as VRAM is no longer available to it as GTT.
2. Build ROCmFPX (or llama.cpp) with Vulkan
sudo apt install build-essential cmake libvulkan-dev glslc mesa-vulkan-drivers
git clone https://github.com/ROCmFPX/ROCmFPX && cd ROCmFPX
cmake -B build -DGGML_VULKAN=ON -DCMAKE_BUILD_TYPE=Release
cmake --build build -j --target llama-server llama-cli
Stock llama.cpp (https://github.com/ggml-org/llama.cpp) builds the same way and also runs this file, with slower prefill.
3. Download
hf download cafonez/GLM-5.3-Flash-Gorgon-GGUF --local-dir GLM-5.3-Flash-Gorgon-GGUF
4. Serve
export GGML_VK_DISABLE_GRAPH_OPTIMIZE=1 GGML_VK_MAX_NODES_PER_SUBMIT=2000 GGML_VK_ALLOW_GRAPHICS_QUEUE=1
./build/bin/llama-server \
-m GLM-5.3-Flash-Gorgon-GGUF/GLM-5.3-Flash-Q5K-IQ3S-00001-of-00004.gguf \
-dev Vulkan0 -ngl 999 -fa on \
-c 131072 -b 2048 -ub 2048 -np 1 \
--jinja --temp 0.7 --top-p 0.95 \
--host 127.0.0.1 --port 8080
--jinjais required: the chat template handles thinking and tool calls. Thinking is on by default; send"chat_template_kwargs": {"enable_thinking": false}in a request to turn it off, or cap it with--reasoning-budget N.-c: 131072 fits comfortably with 176 GiB of GTT. The model supports up to 1M tokens; larger contexts need more memory, and-ub 1024lowers the compute buffers if you run short.-ub 2048gives the best prefill; decode is the same at any-ub.- The three
GGML_VK_*variables were set for all measurements above.
Then use any OpenAI-compatible client against http://127.0.0.1:8080/v1.
Credits
- Model: Z.ai GLM-5.3-Flash (MIT).
- Importance matrix and the source GGUF: Unsloth.
- llama.cpp GLM-5.3 support: PR #27773 and its contributors.
- Downloads last month
- 141
We're not able to determine the quantization variants.
Model tree for cafonez/GLM-5.3-Flash-Gorgon-GGUF
Base model
zai-org/GLM-5.3-Flash