Instructions to use PaoAI/GLM-5.3-Flash-PaoAI-ROCmFP4-STRIX-HYBRID-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 PaoAI/GLM-5.3-Flash-PaoAI-ROCmFP4-STRIX-HYBRID-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 PaoAI/GLM-5.3-Flash-PaoAI-ROCmFP4-STRIX-HYBRID-GGUF # Run inference directly in the terminal: llama cli -hf PaoAI/GLM-5.3-Flash-PaoAI-ROCmFP4-STRIX-HYBRID-GGUF
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf PaoAI/GLM-5.3-Flash-PaoAI-ROCmFP4-STRIX-HYBRID-GGUF # Run inference directly in the terminal: llama cli -hf PaoAI/GLM-5.3-Flash-PaoAI-ROCmFP4-STRIX-HYBRID-GGUF
Use pre-built binary
# Download pre-built binary from: # https://github.com/ggerganov/llama.cpp/releases # Start a local OpenAI-compatible server with a web UI: ./llama-server -hf PaoAI/GLM-5.3-Flash-PaoAI-ROCmFP4-STRIX-HYBRID-GGUF # Run inference directly in the terminal: ./llama-cli -hf PaoAI/GLM-5.3-Flash-PaoAI-ROCmFP4-STRIX-HYBRID-GGUF
Build from source code
git clone https://github.com/ggerganov/llama.cpp.git cd llama.cpp cmake -B build cmake --build build -j --target llama-server llama-cli # Start a local OpenAI-compatible server with a web UI: ./build/bin/llama-server -hf PaoAI/GLM-5.3-Flash-PaoAI-ROCmFP4-STRIX-HYBRID-GGUF # Run inference directly in the terminal: ./build/bin/llama-cli -hf PaoAI/GLM-5.3-Flash-PaoAI-ROCmFP4-STRIX-HYBRID-GGUF
Use Docker
docker model run hf.co/PaoAI/GLM-5.3-Flash-PaoAI-ROCmFP4-STRIX-HYBRID-GGUF
- LM Studio
- Jan
- Ollama
How to use PaoAI/GLM-5.3-Flash-PaoAI-ROCmFP4-STRIX-HYBRID-GGUF with Ollama:
ollama run hf.co/PaoAI/GLM-5.3-Flash-PaoAI-ROCmFP4-STRIX-HYBRID-GGUF
- Unsloth Desktop
- Pi
How to use PaoAI/GLM-5.3-Flash-PaoAI-ROCmFP4-STRIX-HYBRID-GGUF with Pi:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf PaoAI/GLM-5.3-Flash-PaoAI-ROCmFP4-STRIX-HYBRID-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": "PaoAI/GLM-5.3-Flash-PaoAI-ROCmFP4-STRIX-HYBRID-GGUF" } ] } } }Run Pi
# Start Pi in your project directory: pi
- Docker Model Runner
How to use PaoAI/GLM-5.3-Flash-PaoAI-ROCmFP4-STRIX-HYBRID-GGUF with Docker Model Runner:
docker model run hf.co/PaoAI/GLM-5.3-Flash-PaoAI-ROCmFP4-STRIX-HYBRID-GGUF
- Lemonade
How to use PaoAI/GLM-5.3-Flash-PaoAI-ROCmFP4-STRIX-HYBRID-GGUF with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull PaoAI/GLM-5.3-Flash-PaoAI-ROCmFP4-STRIX-HYBRID-GGUF
Run and chat with the model
lemonade run user.GLM-5.3-Flash-PaoAI-ROCmFP4-STRIX-HYBRID-GGUF-{{QUANT_TAG}}List all available models
lemonade list
- Hermes Agent
How to use PaoAI/GLM-5.3-Flash-PaoAI-ROCmFP4-STRIX-HYBRID-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 PaoAI/GLM-5.3-Flash-PaoAI-ROCmFP4-STRIX-HYBRID-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 PaoAI/GLM-5.3-Flash-PaoAI-ROCmFP4-STRIX-HYBRID-GGUF
Run Hermes
hermes
- Atomic Chat
- OpenClaw
How to use PaoAI/GLM-5.3-Flash-PaoAI-ROCmFP4-STRIX-HYBRID-GGUF with OpenClaw:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf PaoAI/GLM-5.3-Flash-PaoAI-ROCmFP4-STRIX-HYBRID-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 "PaoAI/GLM-5.3-Flash-PaoAI-ROCmFP4-STRIX-HYBRID-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"
YAML Metadata Warning:empty or missing yaml metadata in repo card
Check out the documentation for more information.
- GLM-5.3-Flash-PaoAI-ROCmFP4-STRIX-HYBRID-GGUF
GLM-5.3-Flash-PaoAI-ROCmFP4-STRIX-HYBRID-GGUF
The maximum-precision hybrid quant of GLM-5.3-Flash for AMD Strix Halo. Finest attention in our lineup (FP4 on the chip's fast format), a near-original draft head (Q8) โ built for users who want the best-thinking version and accept a larger file plus one serving accommodation.
Brand: PaoAI ยท community quant, not affiliated with Z.AI.
The recipe (what's inside)
| Model part | What it does | Format |
|---|---|---|
| ๐ Attention (attn, indexer) | reads your prompt, tracks context | FP4 (q4_0_rocmfp4_fast, 4.26 bpw) |
| ๐ง Experts (FFN MoE, 132 tensors) | the knowledge | IQ2_XXS (~2.06 bpw, imatrix) |
| โ๏ธ Draft head (blk.45) | MTP speculative guessing | Q8_0 โ near-original |
| ๐ก Router, glue, norms | keep signals correct | FP32 (never touched) |
Chain-test results (N=3 medians โ Sep 2026)
Same execution-graded coding exam as all PaoAI models: deceptive-code tracing, novel state-machine implementation, thread-safe ring buffer under a 5,000-operation stress harness. Three identical runs per model; medians with spreads.
| Task (what it measures) | Median of 3 | Runs |
|---|---|---|
| Automaton โ implement novel rules + exact state trace | 100 | 40 ยท 100 ยท 100 |
| Ring buffer โ multi-threaded code under stress | 100 | 100 ยท 100 ยท 20 |
| Hunt โ read lying code: trace it + find the planted bug | 60 | 60 ยท 60 ยท 100 |
Task median: 73/100 (runs 67 ยท 87 ยท 73 โ the steadiest of our builds)
Plain read: reliable on both implementation tasks (automaton 100, threading 100). Finding the specific planted bug-line in deceptive code is its blind spot โ it traces the code correctly but names the wrong line.
Speed (decode, tokens/second, per phase)
| Phase | t/s (3-run range) |
|---|---|
| Spec (planning) | 8.8 โ 9.0 |
| Hunt (analysis) | 13.1 โ 13.8 |
| Automaton (code writing) | 11.7 โ 15.1 |
| Ring buffer (code writing) | 8.9 โ 10.2 |
| Publish (long output) | 9.3 โ 11.3 |
Slowest of our builds โ the cost of the CPU-MoE accommodation below.
Facts
| Metric | Result |
|---|---|
| File size | 98.3 GiB (5 shards) |
| Load | โ ๏ธ requires --n-cpu-moe 8 (see warning) |
| Context | tested at 64K (-c 65536) |
| Served with | MTP speculative decoding (n-max 4), flash attention, KV q8_0 |
Requirements โ which llama.cpp build
This model uses two things stock llama.cpp doesn't have:
- the
glm5nextarchitecture (GLM-5.3-Flash) - the
Q4_0_ROCMFP4_FASTquant type (type 101 โ ROCm FP4, gfx1151-native)
Both live in guevae2/ROCmFPX, branch glm5next, commit 3345156 (glm5next arch + FP4 type merged; head of that branch โ also buildable from kingjones30/ROCmFPX main once glm5next is upstreamed). Tested with GGML_VULKAN=ON on Strix Halo (gfx1151).
If you build from the wrong tree you'll see exactly one of these:
| Build | Error |
|---|---|
| stock llama.cpp | unknown model architecture: 'glm5next' |
| Unsloth's glm5next branch | invalid ggml type 101. should be in [0, 43) |
How to run (measured, locked)
llama-server -m GLM-5.3-Flash-PaoAI-ROCmFP4-STRIX-HYBRID-00001-of-00005.gguf \
--host 0.0.0.0 --port 8080 -ngl 999 --n-cpu-moe 8 \
-c 65536 --parallel 1 --spec-type draft-mtp --spec-draft-n-max 4 \
-fa on --cache-type-k q8_0 --cache-type-v q8_0 --lazy-mode off
โ ๏ธ Driver-wall warning (important on Strix Halo)
This model's ~98GB Vulkan allocation will wedge the gfx1151 driver if loaded full-GPU (unkillable D-state, requires reboot โ we proved it three times). The --n-cpu-moe 8 flag above is required, not optional: it keeps the GPU allocation in the proven-safe ~80GB zone by hosting 8 layers' experts in system RAM.
Known limits (honest)
- Needs the CPU-MoE accommodation (above) โ slower as a result
- Hunt blind spot: traces deceptive code correctly but misidentifies the planted bug's line number (median 60)
- Long thinking: budget generously for complex tasks
Serving features explained (plain words)
| Flag | What it does | Cost |
|---|---|---|
--spec-type draft-mtp --spec-draft-n-max 4 |
draft head guesses 4 tokens ahead, model verifies in one pass โ ~2ร decode (acceptance ~50%) | needs the fine draft head we kept (Q8_0) |
-fa on |
flash attention โ faster prefill + decode | none |
--cache-type-k/v q8_0 |
half context memory โ 64K fits one box | negligible |
--reasoning-budget 1500 |
caps thinking so answers always arrive | complex tasks may need more |
| prompt caching (default) | follow-up turns prefill in ms | none |
--n-cpu-moe 8 |
required for this model โ keeps the GPU allocation under the gfx1151 driver wall | ~2โ3 t/s decode |
Decode speed drops as context fills (โ12โ15 t/s short โ ~6 t/s at 33K measured) โ expected attention cost, stable over time. Full plain-words guide: serving-glossary.md in our repo docs.
Credits & license
- Z.AI โ GLM-5.3-Flash base model (MIT license; included in repo)
- Unsloth โ BF16 source + imatrix
- kingjones30 / charlie12345 โ ROCmFPX format & recipes
- ggml-org โ llama.cpp
- PaoAI โ glm5next port, hybrid recipe, fleet benchmarking, chain test
MIT, same as the base model. Not affiliated with Z.AI.
- Downloads last month
- 751
We're not able to determine the quantization variants.