Raon-1-mini-preview β€” hipfire MQ4

A hipfire-native MQ4 of KRAFTON/Raon-1-mini-preview, fully measured on a 20 GB AMD RX 7900 XT. The file is 18.39 GB β€” 1.29 GB smaller than the official 19.69 GB Q4_K_M GGUF of the same preview checkpoint β€” and it agrees with that GGUF oracle at mean KL 2.06 / top-1 51.6% over 192 teacher-forced greedy positions. Full engineering honesty, up front: on today's hipfire engine the Raon hybrid runs far slower than the KRAFTON llama.cpp branch (6–13 vs 1,141–2,055 tok/s prefill; 4.6 vs 47.4 tok/s decode on this card). The llama.cpp GGUF is the fast way to run this checkpoint today; this MQ4 is the measured, numerically-pinned native-engine build of it β€” the format the hipfire engine is converging on, with every number below reproducible.

Buy Me A Coffee

Check fit and compatibility before downloading: These are .mq4 files for the hipfire runtime with Raon-1-mini support (arch_id 18) β€” mainline llama.cpp cannot load them, and this quant is not the GGUF format KRAFTON's patched branch expects. Weights are 17.13 GiB; at a 32K context add 1.06 GiB of KV (34 KB/token) β€” β‰ˆ18.2 GiB resident, fitting a 20 GiB-class card (gfx1100, ROCm 7.1) with activations. This is a preview-checkpoint quant: KRAFTON may change the architecture before final release. If you want to use this model fast, use the official GGUF on the KRAFTON llama.cpp branch; use this file for the hipfire engine path, on-file-size-critical setups, and for the reproduction data below.

Model Raon-1-mini-preview (28.8B total / 4.3B active, 25 L = 18 RDA + 7 MLA, 128-expert MoE 6+1 active, 262K trained window)
Quantization hipfire MQ4 (MQ4G256 routed experts 4.25 bpw + Q8F16/BF16/F32 classes)
File size 18,393,515,096 bytes (18.39 GB) β€” vs 19,686,434,304 bytes for the official Q4_K_M GGUF
Runtime hipfire serve (patched build, see "Run it"); llama.cpp: not compatible
Tested hardware AMD RX 7900 XT 20 GB (gfx1100), ROCm 7.1
Prefill llama.cpp: 2,055 β†’ 1,141 tok/s (512 β†’ 16,384) Β· hipfire: 12.6 β†’ 6.3 tok/s (524 β†’ 8,234)
Decode llama.cpp: 47.4 tok/s Β· hipfire: 4.6 tok/s
Tested context 65,536 loads & serves (this card's ceiling; 98,304+ refuses); needle probes: 2K/8K not recalled β€” prompt-echo degeneration, see Evaluation notes; deep oracle probe (26,962 tokens): recalled βœ“
Oracle agreement mean KL 2.0609, top-1 51.56% vs GGUF Q4_K_M (192 teacher-forced positions; gate PASS)

What makes this build different

  • It runs the whole hybrid natively. The RDA delta-rule layers (short conv + decay state), the 4-stream mHC residual streams, the MLA paged cache and the SiTU-GLU MoE all execute in the Rust engine; no layer is emulated on a fallback path.
  • Numerically pinned to the checkpoint. Every module class (embedding, mHC, norms, RDA internals incl. the short conv, MoE router/experts, MLA incl. the cache path) was verified against the checkpoint's own fp32 modeling code with input-pinned replay: correlation 1.0000, relative RMS error ≀ 0.01 β€” weight-quantization noise, not drift.
  • The engine tokenizer is the checkpoint tokenizer. The model's pre-tokenizer regex needs look-around (which the standard Rust regex crate refuses); the engine ships a hand-written leftmost-first emulator, verified byte-identical prompt ids on ChatML renders (English, math, Korean).
  • The residual KL vs the GGUF oracle is the quantization, not the engine. With every module pinned faithful, the 2.06 mean KL is the inherent MQ4-vs-Q4_K_M model-level difference β€” measured, not assumed.
  • Serve required an engine fix. Stock v0.4.2.1 hipfire serve fail-closes on Raon generations (stream must begin with gen_start); this build emits the wire contract for the Raon AR route and serves correctly β€” verified here, patch contributed upstream-ready.

Measured performance

Same card (RX 7900 XT), same checkpoint, two engines:

Prefill duel, log scale

Engine / build pp512 pp2048 pp8192 pp16384 tg128
llama.cpp (KRAFTON branch, Q4_K_M, -ngl 99 -fa on, mean of 2) 2,055 Β± 114 1,889 Β± 14 1,477 1,141 47.4
hipfire MQ4 (this file), warm daemon, n=1 12.6 10.5 6.3 not run[^16k] 4.6

[^16k]: At the measured hipfire rate (~6 tok/s near 8K) a 16K-prefill request is a ~45-minute single request; the 512–8,234 rows already establish the curve.

That is a 163–234Γ— prefill and ~10Γ— decode gap in llama.cpp's favor on this architecture today. Cause (observed, not fixed here): hipfire's Raon path processes the recurrent RDA/mHC state per token with no batched/chunked prefill kernel and no graph capture; every other hipfire architecture (Qwen, MiniMax, DS4) runs at full expected speed β€” this is a Raon-kernel maturity gap in the engine, and the numbers here are the honest before-state.

Run it

hipfire serve raon-1-mini.mq4 --max-seq 32768 --host 127.0.0.1 --port 8080
  • Needs the Raon serve fix β€” stock v0.4.2.1 serve loads the model but refuses every generation (stream must begin with gen_start). The fix (emit the wire contract on the Raon AR route + register the route's capability-test row; it also drops a dead presence_window helper and its test) is archived in this repo as engine-serve-genstart.patch, generated from the exact engine tree used for every number on this card (hipfire working tree @ 6e26a1e; git apply -p1 against that base β€” hunks may shift on other bases). Also fetch engine-raon-files.tgz and extract it at the engine repo root first: the patch references files that lived untracked in my tree (the seven Raon .hip kernels that include_str! needs, rdna-compute/src/raon.rs, the Raon kernel test, and the KLD measurement example). Verified end-to-end: clean checkout of 6e26a1e + tar + patch + cargo test --no-run for the arch/generate/rdna crates compiles clean. Then rebuild hipfire-daemon + hipfire-cli (cargo build --release -p hipfire-daemon -p hipfire-cli).
  • Thinking is on by default and the preview checkpoint often doesn't close its think span β€” at temp 0 answers appear in reasoning_content (the OpenAI content field stays empty until </think> is emitted). enable_thinking: false currently renders a broken frame for this arch; keep the default.
  • Context: 65,536 is the measured ceiling on this 20 GB card β€” --max-seq 65536 loads and serves; 98,304 and 131,072 refuse with hipMalloc: out of memory in the Raon state allocation (verified twice on an idle GPU; the recurrent-state + KV reserve scales with context and no longer fits after the 17.1 GiB of weights). Daily-driver suggestion: 32,768.
  • KV is ~34 KB/token (legacy backend β€” no certified VMM KV path for this arch yet). If a larger --max-seq refuses with hipMalloc: out of memory, lower it.

Quantization and file details

part source format size
routed experts (gate/up/down) MXFP8 (E4M3 + E8M0, [1,32] blocks) MQ4G256 (qt13, 4.25 bpw, dequant→requant) 14.44 GB
attention, shared/dense FFN, mHC phi, lm_head BF16 Q8F16 (qt3) 2.59 GB
token embedding, router gate, norms, mHC Ξ±/b BF16 BF16 (qt16) 1.35 GB
router bias, A_log, dt_bias, mHC Ξ· F32 F32 (qt2) < 0.01 GB
  • Engine support archive: engine-serve-genstart.patch (SHA-256 495d8f1a1a69a66a77fb5a8179a9be7d5c28c6c40436fcd45c4e52cf44474ca5) and engine-raon-files.tgz (16,287 bytes, SHA-256 243a7c1102140e458ba8acc8ee3aaa45e628b33ebd185a8c3958e12383866c13).
  • File: raon-1-mini.mq4 β€” 18,393,515,096 bytes, SHA-256 052d179cf09ddb7991966747de1d2e03760b9130721c738cbbf9c0c7bf6c3147
  • Source: KRAFTON/Raon-1-mini-preview @ 8d2ced8f09f4ef1733a18b553ad580c3bbfb33b4, quantized directly from the safetensors shards (hipfire quantize --format mq4); MXFP8 E8M0 dequant verified exact against KRAFTON's modeling_raon1_mini.py on layers 1/12/24.

Evaluation notes

  • Oracle agreement (this build vs the official GGUF Q4_K_M on llama.cpp-KRAFTON): teacher-forced, greedy, 64 positions Γ— 3 prompts (chat/math/Korean), top-1-supported KL. chat 45.31% / math 68.75% / Korean 40.63% top-1; mean KL 2.5999 / 1.2870 / 2.2959; overall 51.56% / 2.0609. Bars were calibrated from a first-pass measurement of this build (top-1 βˆ’3 pp, KL +0.01), so read 51.56% / 2.0609 as the reported agreement level between the two quantizations rather than an a-priori pass/fail. A separate behavioral card-sampling pass (thinking mode, tool call) is qualitative only.
  • Speed methodology. llama.cpp rows: llama-bench -ngl 99 -fa on -r 2 on the 18.32 GiB GGUF. hipfire rows: OpenAI chat/completions against the warm daemon, throughput from the engine's own prefill_ms (and tokenizer-exact prompt counts β€” the serve usage field currently reports prompt_tokens: 0), thinking on, temperature 0, single run per point; synthetic and real streams agree because the engine number is measured over the same ChatML prompt the client sent.
  • Context probes. hipfire at 2,048 and 8,192 tokens (95%-depth needle, temp 0, thinking on): prefill accepted and completed at each depth (19.0 and 8.7 tok/s), but the preview checkpoint degenerated into prompt-echo/filler repetition inside the 512-token budget and never recalled the needle at 2K either β€” so the probe result reflects checkpoint behavior at greedy temperature, not a context-window failure. Deep oracle probe (completed): the previously-pending deep needle probe, run on the GGUF oracle via the KRAFTON llama.cpp branch server β€” 26,962-token prompt (95% depth; the "30K" target is the nominal size), greedy, 512-token budget β€” recalled the passcode (thinking-on answer text contains it), prefill completing in seconds at the llama.cpp rates tabled above. Notably the degeneration seen on hipfire did not appear in that run β€” sampling path and prompt-framing differences between the two engines remain an open question for the Raon preview checkpoint. The oracle file used was KRAFTON's current raon-1-mini-preview-gguf upload (19,686,434,240 B, SHA-256 ba56ad4bd6d15f8c4255876ff252890143074a5d3835fccfc656cee915999ee8, verified equal to the hub LFS object). It differs from the 19,686,434,304 B build the speed/CC2 rows were measured against only inside the tokenizer.chat_template metadata (first differing byte at 11,996,028; net +64 B in the older file); the tensor data blocks β€” from each file's aligned data start (12,048,512 / 12,048,576 B) to EOF β€” hash identical, SHA-256 8f4c6358523e678dd87267f93198df861d3e2127748f90c9841f43c706a22052. Weights are byte-identical across the two hub revisions, so every row above was measured against the same weights. Context-window facts verified on this MQ4 file: 32,768 prefill + generation end-to-end; 65,536 loads and serves; 98,304 and 131,072 refuse (state allocation OOM).
  • No full academic benchmark suite was re-run after quantization; the agreement test measures oracle agreement, not absolute task quality. License mirrors the base model (Apache-2.0, per the KRAFTON repo). This is a preview checkpoint β€” expect KRAFTON's final release to differ.

Credits

Thanks to the KRAFTON AI Raon team, the hipfire/MQ4 author MunGress, and the llama.cpp/GGML community. If you test this build, sharing your engine version, hardware, context length, memory use and reproducible numbers is welcome.

Downloads last month

-

Downloads are not tracked for this model. How to track
Inference Providers NEW
This model isn't deployed by any Inference Provider. πŸ™‹ Ask for provider support

Model tree for datayoda/Raon-1-mini-preview-hipfire-MQ4

Quantized
(14)
this model