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

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 glm5next architecture (GLM-5.3-Flash)
  • the Q4_0_ROCMFP4_FAST quant 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
GGUF
Model size
321B params
Architecture
glm5next
Hardware compatibility
Log In to add your hardware

We're not able to determine the quantization variants.

Inference Providers NEW
This model isn't deployed by any Inference Provider. ๐Ÿ™‹ Ask for provider support