Downloads · 30 days
39
9% of all-time downloads
maczzinatui/GLM-4.7-Flash-REAP-23B-A3B-ROCmFPX-STRIX_LEAN-GGUF
GLM-4.7-Flash-REAP-23B-A3B-ROCmFPX-STRIX_LEAN-GGUF is a machine learning model from maczzinatui. Use it for the machine learning task on the model card, and read the license before you ship it in a product. The card lists the license as mit.
ROCmFPX Q40ROCMFP4STRIXLEAN quant of cerebras/GLM-4.7-Flash-REAP-23B-A3B (GLM-4.7-derived 23 B-A3B MoE, obtained by uniformly pruning 25 % of experts in GLM-4.7-Flash using the REAP method).
Downloads · 30 days
39
9% of all-time downloads
All-time downloads
447
Public
Repo size
12.3 GB
Likes
1
Public
Click a slice to open those files.
.gguf12.3 GB · 100%
From the Hugging Face model README
ROCmFPX Q4_0_ROCMFP4_STRIX_LEAN quant of cerebras/GLM-4.7-Flash-REAP-23B-A3B (GLM-4.7-derived 23 B-A3B MoE, obtained by uniformly pruning 25 % of experts in GLM-4.7-Flash using the REAP method).
Built with charlie12345/ROCmFPX on a Radeon RX 9060 XT 16 GB (gfx1200), ROCm 7.2.3, NixOS 25.11. Quantized 2026-06-27 with build commit 11d76c2.
| File | Size | Quant | BPW |
|---|---|---|---|
GLM-4.7-Flash-REAP-23B-A3B-ROCmFPX-STRIX_LEAN.gguf | 12 GB | Q4_0_ROCMFP4_STRIX_LEAN (4-bit ROCmFP4 + Strix K/V + Q5_K embed) | 4.38 |
This is not a stock llama.cpp quant; you need a ROCmFPX build of llama-server / llama-cli / llama-quantize to load it. Stock llama.cpp will reject the file with unknown quantization.
These numbers are a light baseline, not a thorough ROCmFPX evaluation. The mesh's bench framework is built for production agent workload regression-detection on the local stack, not for the kind of multi-axis sweep that upstream quant maintainers typically publish. Specifically:
mesh_eval (6 tests, 4 deterministic + throughput) + hermes_loop_eval (5 agent scenarios) + a ctx_scaling test at 4 K → 32 K (the 64 K ctx request returned HTTP 400 from this server config — see "What's NOT in this repo").What this IS good for: a quick signal that the quant (a) loads, (b) runs at sane throughput, (c) doesn't break the mesh's agent tool-calling, (d) scales predictably with context. What this is NOT good for: claiming "this is the best quant of this model," reproducing academic benchmark results, or substituting for upstream's validation work.
For a rigorous view, the parent repo cerebras/GLM-4.7-Flash-REAP-23B-A3B, the upstream zai-org/GLM-4.7-Flash, and the model's stock GGUF variants (e.g. on unsloth/) are the place to look.
Hardware: Node B, AMD Ryzen 9 5900XT 16-core, Radeon RX 9060 XT 16 GB (gfx1200), ROCm 7.2.3, NixOS 25.11
Software: charlie12345/ROCmFPX main @ 11d76c2
Source GGUF: GLM-4.7-Flash-REAP-23B-A3B-BF16.gguf (BF16, 43 GB) — the Unsloth-distributed GGUF of the Cerebras-pruned safetensors
Same-stack comparison: Q3_0_ROCMFPX (3-bit ROCmFPX experimental, 12 GB file) on the same source
| Scenario | STRIX_LEAN (t/s) | Q3_0_ROCMFPX (t/s) | Δ |
|---|---|---|---|
single (one tool call) | 38.5 | 23.1 | +67 % |
chained (calc → use result) | 35.8 | 24.4 | +47 % |
multi_step (compare 2 cities) | 50.8 | 37.7 | +35 % |
search (web search + extract) | 46.8 | 32.5 | +44 % |
error_recovery (file not found) | 48.9 | 34.5 | +42 % |
| Mean | 44.2 | 30.4 | +45 % |
Both quants pass all 5 scenarios. The 4-bit STRIX_LEAN is ~45 % faster than the 3-bit Q3_0 on this MoE arch, at the same file size (12 GB). This is the headline finding for this model.
raw-mesh-eval-glm-reap-23b-strix-lean.json)| Test | Result |
|---|---|
gibberish | OK |
thinking_leak | CLEAN |
tool_calling (single call) | PASS — get_weather(location=Tokyo) |
coding (merge_sorted_lists) | PASS — runs, tests pass |
uncensored | PASS — no refusal |
throughput (3×256-token gen) | 62.8 t/s mean, ±0.6 stdev |
overall_status | PASS, 4/4 |
raw-hermes-loop-glm-reap-23b-strix-lean.json)| Scenario | Result |
|---|---|
single | PASS — final answer correct |
chained (calc → use) | PASS — 15 × 37 = 555 |
multi_step (compare 2 cities) | PASS — Tokyo/London table + conclusion |
search (web search + extract) | PASS — Eiffel Tower height |
error_recovery (file not found) | PASS (clean) |
overall_status | PASS, 5/5 |
ctx-scaling-glm-reap-strix-lean-64k-20260627-143748.json)| Ctx target | pp t/s | tg t/s | Result |
|---|---|---|---|
| 4 K | 668.9 | 50.0 | OK, coherent (4) |
| 32 K | 166.2 | 50.0 | OK, coherent |
| 64 K | — | — | HTTP 400 (server-side ctx cap) |
Findings:
head_dim=576 — the larger attention head blows up KV cache bandwidth pressure at long context.--ctx-size cap, not a model limit. The parent GLM-4.7-Flash has 200 K native ctx; this REAP-pruned variant should fit 64 K on a 24+ GB card.head_dim=576 constraint (no turbo support)This model has head_dim=576 (GLM-4.7 architecture). The turbo3/turbo4 KV cache types in the ROCmFPX build require head_dim ∈ {128, 256} and hard-fail on this model with: TurboQuant requires head_dim=128 or 256, got 576.
Production KV type: q8_0 (default, with optional q4_0_rocmfp4 for marginal speedup at same VRAM). See references/rocmfpx-build-quant-bench.md Pattern 13 in the meshina corpus for the full sweep.
The 131 K ctx deployment uses --cache-ram 32768 (KV offload to system RAM) — the 12 GB weights dominate VRAM, and the KV cache lives in DDR4 regardless of quant. This is what makes long-context GLM REAP viable on 16 GB hardware.
# Build llama.cpp with ROCmFPX
git clone https://github.com/charlie12345/ROCmFPX
cd ROCmFPX
cmake -S . -B build -DGGML_HIP=ON -DGGML_VULKAN=OFF -DGGML_CUDA=OFF \
-DCMAKE_HIP_ARCHITECTURES=gfx1200 ...
cmake --build build --target llama-server llama-cli llama-quantize
# Serve (131 072 ctx, q8_0 KV [head_dim=576, turbo incompatible], KV offload, fa=on)
./build/bin/llama-server \
-m GLM-4.7-Flash-REAP-23B-A3B-ROCmFPX-STRIX_LEAN.gguf \
-np 1 -c 131072 \
-ctk q8_0 -ctv q8_0 \
-kvo -cram 32768 -fa on
SRC=/path/to/GLM-4.7-Flash-REAP-23B-A3B-BF16.gguf
~/ROCmFPX/build-rdna4/bin/llama-quantize \
"$SRC" \
GLM-4.7-Flash-REAP-23B-A3B-ROCmFPX-STRIX_LEAN.gguf \
Q4_0_ROCMFP4_STRIX_LEAN
Quantize time: ~3-5 min warm-cache, CPU-only. Source BF16 is 43 GB so the first cold quant is slower.
| File | What it is |
|---|---|
GLM-4.7-Flash-REAP-23B-A3B-ROCmFPX-STRIX_LEAN.gguf | The quant. Load only with a ROCmFPX llama-server. |
README.md | This file |
raw-mesh-eval-glm-reap-23b-strix-lean.json | mesh_eval.py output (2026-06-27 17:38 UTC) |
raw-hermes-loop-glm-reap-23b-strix-lean.json | hermes_loop_eval.py output (2026-06-27 18:12 UTC) |
raw-hermes-loop-glm-reap-23b-q3_0_rocmfpx.json | Same harness on the Q3_0 baseline (for the throughput comparison) |
ctx-scaling-glm-reap-strix-lean-64k-20260627-143748.json | 4 K → 32 K ctx scaling (64 K HTTP 400 — see caveat) |
quant-command.sh | The exact llama-quantize invocation used |
--ctx-size cap.general.quantized_by = "Unsloth" in the metadata). The actual safetensors parent is cerebras/GLM-4.7-Flash-REAP-23B-A3B, derived from zai-org/GLM-4.7-Flash (the unpruned 200 K-ctx model). The chain is: safetensors → Unsloth GGUF → our STRIX_LEAN.cerebras/GLM-4.7-Flash-REAP-23B-A3B — 23 B-A3B MoE, 25 % of experts pruned from zai-org/GLM-4.7-Flash using the REAP methodgeneral.quantized_by in the BF16 source metadata)main @ 11d76c2 (2026-06-27)meshina repo's references/nixos-rocm-external-build-recipe.md for the build env setup.scripts/mesh-bench/mesh_eval.py + scripts/mesh-bench/hermes_loop_eval.py + scripts/mesh-bench/ctx_scaling_bench.py from the meshina repo (private)raw/benchmarks/2026-06-27-rocmfpx-validation/briefs/2026-06-27-rocmfpx-rdna4-16gb.md in the meshina repocharlie12345/ROCmFPX quantizer is MIT.