# Raon-1-mini 30B-A4B with experts in RAM and KRAFTON's DFlash2 drafter

KRAFTON's 30B-A4B hybrid MoE (Q4_K_M, 19.7 GB) on their llama.cpp fork with the full 262k window: every routed expert in RAM, a 4900 MiB MoE cache, q8_0 KV and the DFlash2 drafter at 3 tokens. 62.7 tok/s decode (stock 44.0), 34.6 at 128k, needles exact at 247k.

- Recipe id: `raon-1-mini`  ·  status: measured  ·  updated 2026-11-29
- Model: [Raon-1-mini](https://huggingface.co/KRAFTON/Raon-1-mini) (30B-A4B MoE hybrid (18 Raon Delta Attention + 7 gated MLA layers, 128 experts top-6 + shared, 4 mHC streams))
- Weights: GGUF Q4_K_M (imatrix), 19.69 GB, from https://huggingface.co/KRAFTON/Raon-1-mini-gguf, file `raon-1-mini-Q4_K_M.gguf`, revision `5369b6d7a035fb68a6122297cbf2fa56d9dd3a6d`
- Engine: [krafton-ai llama.cpp fork](https://github.com/krafton-ai/llama.cpp/tree/raon-1-mini) raon-1-mini at b5547cce7; CUDA sm_86 build
- Hardware: NVIDIA GeForce RTX 3060 12 GB, 62 GB RAM, Intel Core i5-12500, NVMe SSD
- Context: 262,144 tokens
- Placement: Every routed expert in RAM with llama.cpp's MoE cache holding hot experts in 4900 MiB of VRAM; attention, shared experts, LM head, the q8_0 KV cache (7 MLA layers) and the DFlash2 drafter on the GPU.
- Contributor: [David Hatley](https://github.com/davidghatley)

## Run it

From `raon-1-mini/` in a clone of https://github.com/davidghatley/3060-recipes:

```sh
./serve.sh
```

API: OpenAI-compatible /v1 (llama-server) on port 8110

Key flags: `RA_PROFILE=default|nospec|prompt|stock|card`, `--cpu-moe --moe-cache-mib 4900 --load-mode none`, `--spec-type draft-dflash --spec-draft-n-max 3 --spec-draft-n-ubatch 128`, `-ctk q8_0 -ctv q8_0 -ub 1024 -c 262144`, `reasoning_effort none|low|...|max per request`

The script itself (`raon-1-mini/serve.sh`, machine paths shown as `$MODELS`, `$SCRATCH`, `~`; set them to where your weights and builds live):

```sh
#!/usr/bin/env bash
# KRAFTON Raon-1-mini (30B-A4B MoE: 18 Raon Delta Attention + 7 gated-MLA layers, 262k window) as KRAFTON's own
# Q4_K_M GGUF, on KRAFTON's llama.cpp fork (branch raon-1-mini). Routed experts in RAM, hot ones cached on the card.
# See PLAN.md / RESULTS.md for how each default was chosen. Every knob has an RA_* env override; extra args go to
# llama-server. The server runs inside gpu_run and holds the shared GPU lock for its whole life.
#   RA_PROFILE   default (PLAN rows 4, 8): every routed expert in RAM, 4900 MiB MoE cache, q8_0 KV, DFlash2 n 3, ub 1024,
#                        --load-mode none, 262k window
#                nospec  (rows 3, 3/4 deep): no drafter, f16 KV, cache 5000: +12% prefill, -15% decode at empty context,
#                        -23% at 128k against the default
#                prompt  (row 10): nospec with ub 2048 and cache 4200: +29% prefill at 8k, +22% at 32k over nospec, -8% decode
#                stock   (row 1): llama.cpp's own --fit split, no tuning flags, 262k (the baseline)
#                card    (row 0): the GGUF card's llama-server line (-c 262144, --reasoning on, card samplers)
#   RA_PLACEMENT cpu   (every routed expert in RAM + the MoE cache)
#                ncmoe (experts of the first RA_NCMOE layers in RAM, the rest fixed on the GPU)
#                fit   (stock: no -ngl/-ot, --fit on picks the split)
#   RA_OT        raw -ot pattern (overrides RA_PLACEMENT)
#   RA_MOE_CACHE_MIB  llama.cpp's MoE cache of hot RAM-resident experts (0 = off)
#   RA_SPEC      none | dflash (KRAFTON's DFlash2 drafter);  RA_DRAFT_N (draft length), RA_DRAFT_SAMPLING greedy|probabilistic, RA_DRAFT_UB (drafter ubatch, default 128)
#   RA_BS=1      backend sampling (-bs)
#   RA_CONTEXT RA_KV RA_UBATCH RA_BATCH RA_THREADS RA_LOAD_MODE RA_OP_OFFLOAD(0|1)
#   RA_THINK=0   thinking off by default (requests can still send reasoning_effort); RA_EFFORT default effort level
#   RA_PRESENCE  presence penalty (card: 1.5 for chat, 0 for coding and math; default here 0)
#   RA_MODEL RA_DRAFT RA_BIN RA_PORT RA_NEED RA_WAIT RA_NO_GPU_RUN=1 (already inside gpu_run)
set -euo pipefail
BIN=${RA_BIN:-$SCRATCH/llama.cpp/krafton-raon-b5547cce7/bin}   # krafton-ai/llama.cpp raon-1-mini @ b5547cce7
D=$MODELS/raon-1-mini/krafton
MODEL=${RA_MODEL:-$D/raon-1-mini-Q4_K_M.gguf}
DRAFT=${RA_DRAFT:-$D/dflash-raon-1-mini-Q8_0.gguf}
export LD_LIBRARY_PATH="$SCRATCH/envs/llama-build-cuda/lib${LD_LIBRARY_PATH:+:$LD_LIBRARY_PATH}"
# experts are read from RAM (page cache or anonymous memory): gpu_run's memcap counts page cache, 20 GB would bind
export GPU_RUN_MEM=${GPU_RUN_MEM:-44G}

# p_place p_cache p_kv p_ub p_spec p_n p_bs p_lm
case "${RA_PROFILE:-default}" in
  default) p_place=cpu; p_cache=4900; p_kv=q8_0; p_ub=1024; p_spec=dflash; p_n=3; p_bs=0; p_lm=none ;;
  nospec)  p_place=cpu; p_cache=5000; p_kv=f16;  p_ub=1024; p_spec=none;   p_n=3; p_bs=0; p_lm=none ;;
  prompt)  p_place=cpu; p_cache=4200; p_kv=f16;  p_ub=2048; p_spec=none;   p_n=3; p_bs=0; p_lm=none ;;
  stock)   p_place=fit; p_cache=0;    p_kv=;     p_ub=;     p_spec=none;   p_n=3; p_bs=0; p_lm= ;;
  card)    p_place=fit; p_cache=0;    p_kv=;     p_ub=;     p_spec=none;   p_n=3; p_bs=0; p_lm= ;;
  *) echo "RA_PROFILE must be default, nospec, prompt, stock or card" >&2; exit 2 ;;
esac
PLACEMENT=${RA_PLACEMENT:-$p_place}
case "$PLACEMENT" in
  ncmoe) PLACE=(-ngl 99 --n-cpu-moe "${RA_NCMOE:-24}" --fit off) ;;
  cpu)   PLACE=(-ngl 99 --cpu-moe --fit off) ;;
  fit)   PLACE=() ;;
  *) echo "RA_PLACEMENT must be ncmoe, cpu or fit" >&2; exit 2 ;;
esac
[ -n "${RA_OT:-}" ] && PLACE=(-ngl 99 -ot "$RA_OT" --fit off)

ARGS=()
CACHE=${RA_MOE_CACHE_MIB-$p_cache}; [ "$PLACEMENT" = cpu ] || CACHE=${RA_MOE_CACHE_MIB:-0}
# (this fork's base, 2026-10-19, has --moe-cache-mib but not the later --moe-cache-cpu-share)
[ "$CACHE" != 0 ] && ARGS+=(--moe-cache-mib "$CACHE")
[ "${RA_OP_OFFLOAD:-1}" = 0 ] && ARGS+=(--no-op-offload)
LOAD_MODE=${RA_LOAD_MODE-$p_lm}; [ -n "$LOAD_MODE" ] && ARGS+=(--load-mode "$LOAD_MODE")
KV=${RA_KV-$p_kv}; [ -n "$KV" ] && ARGS+=(-ctk "$KV" -ctv "$KV")
UB=${RA_UBATCH-$p_ub}; [ -n "$UB" ] && ARGS+=(-ub "$UB")
[ -n "${RA_BATCH:-}" ] && ARGS+=(-b "$RA_BATCH")
[ -n "${RA_THREADS:-}" ] && ARGS+=(-t "$RA_THREADS")
[ "${RA_BS:-$p_bs}" = 1 ] && ARGS+=(-bs)
case "${RA_SPEC:-$p_spec}" in
  none) ;;
  dflash) ARGS+=(--spec-draft-model "$DRAFT" --spec-type draft-dflash --spec-draft-n-max "${RA_DRAFT_N:-$p_n}"
                 --spec-draft-sampling "${RA_DRAFT_SAMPLING:-probabilistic}" --spec-draft-ngl all
                 --spec-draft-n-ubatch "${RA_DRAFT_UB:-128}") ;;  # drafter ub: its logits buffer is ub x 259,840 x 4 B
  *) echo "RA_SPEC must be none or dflash" >&2; exit 2 ;;
esac
[ -n "${RA_EFFORT:-}" ] && ARGS+=(--reasoning-effort "$RA_EFFORT")

if [ "${RA_PROFILE:-default}" = card ]; then
  # the GGUF card's llama-server line, verbatim apart from -m (local file) and the port
  SAMPLE=(--alias Raon-1-mini --ctx-size "${RA_CONTEXT:-262144}" --parallel 1 --n-predict 32768 --temp 1.0 --top-p 0.95
          --top-k 20 --min-p 0.0 --repeat-penalty 1.0 --frequency-penalty 0.0 --presence-penalty 1.5 --reasoning on
          --chat-template-kwargs '{"enable_thinking": true, "truncate_history_thinking": false}')
else
  SAMPLE=(--alias raon-1-mini -c "${RA_CONTEXT:-262144}" -np 1 --jinja --temp 1.0 --top-p 0.95 --top-k 20 --min-p 0.0
          --presence-penalty "${RA_PRESENCE:-0}")
  [ "${RA_PROFILE:-default}" = stock ] || SAMPLE+=(-fa on)
  [ "${RA_THINK:-1}" = 0 ] && SAMPLE+=(--chat-template-kwargs '{"enable_thinking": false}')
fi

RUN=("$HOME/anime-pipeline/tools/gpu_run" --need "${RA_NEED:-10500}" --wait "${RA_WAIT:-7200}")
[ -n "${RA_NO_GPU_RUN:-}" ] && RUN=()
exec "${RUN[@]}" \
  "$BIN/llama-server" -m "$MODEL" ${PLACE[@]+"${PLACE[@]}"} "${SAMPLE[@]}" \
  --host 127.0.0.1 --port "${RA_PORT:-8110}" ${ARGS[@]+"${ARGS[@]}"} "$@"
```

## Measured results

| Metric | Conditions | Value | Stock | Ceiling | Source |
|---|---|---|---|---|---|
| decode | default (DFlash2 n 3, q8_0 KV, 4900 MiB MoE cache), empty context, thinking off, coding answers | 62.7 tok/s | 44.0 | 114 | [raon-1-mini/RESULTS.md:40](https://github.com/davidghatley/3060-recipes/blob/main/raon-1-mini/RESULTS.md#L40) |
| decode | default at 128k depth | 34.6 tok/s | 24.7 |  | [raon-1-mini/RESULTS.md:41](https://github.com/davidghatley/3060-recipes/blob/main/raon-1-mini/RESULTS.md#L41) |
| decode | default at 245.9k depth | 24.5 tok/s |  |  | [raon-1-mini/RESULTS.md:42](https://github.com/davidghatley/3060-recipes/blob/main/raon-1-mini/RESULTS.md#L42) |
| decode | card's llama-server line, empty context | 41.6 tok/s |  |  | [raon-1-mini/RESULTS.md:40](https://github.com/davidghatley/3060-recipes/blob/main/raon-1-mini/RESULTS.md#L40) |
| prefill | 8k prompt, default | 820.0 tok/s | 497.0 |  | [raon-1-mini/RESULTS.md:43](https://github.com/davidghatley/3060-recipes/blob/main/raon-1-mini/RESULTS.md#L43) |
| prefill | 32k prompt, default | 655.3 tok/s |  |  | [raon-1-mini/RESULTS.md:44](https://github.com/davidghatley/3060-recipes/blob/main/raon-1-mini/RESULTS.md#L44) |
| prefill | 247.4k prompt, default | 227.8 tok/s |  |  | [raon-1-mini/RESULTS.md:45](https://github.com/davidghatley/3060-recipes/blob/main/raon-1-mini/RESULTS.md#L45) |
| ttft | 247.4k prompt, default | 1086 s |  |  | [raon-1-mini/RESULTS.md:45](https://github.com/davidghatley/3060-recipes/blob/main/raon-1-mini/RESULTS.md#L45) |
| needles | 3/3 exact at 130.6k and 247.4k (50% / 94% of the window) | 3/3 found |  |  | [raon-1-mini/RESULTS.md:46](https://github.com/davidghatley/3060-recipes/blob/main/raon-1-mini/RESULTS.md#L46) |
| quality | codeeval, thinking off | 8/8 tasks |  |  | [raon-1-mini/RESULTS.md:108](https://github.com/davidghatley/3060-recipes/blob/main/raon-1-mini/RESULTS.md#L108) |
| quality | codeeval, thinking on (effort low) | 7/8 tasks |  |  | [raon-1-mini/RESULTS.md:109](https://github.com/davidghatley/3060-recipes/blob/main/raon-1-mini/RESULTS.md#L109) |
| vram_peak | card total incl. desktop, default | 11789 MiB |  |  | [raon-1-mini/RESULTS.md:47](https://github.com/davidghatley/3060-recipes/blob/main/raon-1-mini/RESULTS.md#L47) |
| ram_peak | RSS, default | 20346 MiB |  |  | [raon-1-mini/RESULTS.md:48](https://github.com/davidghatley/3060-recipes/blob/main/raon-1-mini/RESULTS.md#L48) |
| startup | ready, warm page cache, default | 8-18 s |  |  | [raon-1-mini/RESULTS.md:49](https://github.com/davidghatley/3060-recipes/blob/main/raon-1-mini/RESULTS.md#L49) |

## Caveats

- Quant drift is not measured: no Q8_0 or BF16 reference fits on disk.
- The card's drafter setting (7 draft tokens) is 38% slower than no drafter when experts are in RAM; this recipe uses 3.
- A prompt near the top of the window takes about 18 minutes to the first token (228 tok/s at 247k).
- Upstream llama.cpp lacks the release file's reasoning-effort steering; the recipe depends on KRAFTON's fork.
- Decode on the default read 58.5-61.2 tok/s on a busier host; 62.7 is the quiet-host repeat.

## Credits

- KRAFTON AI: The model, the GGUF file and the drafter the Raon-1-mini recipe serves. (https://huggingface.co/KRAFTON)
- krafton-ai/llama.cpp (raon-1-mini branch): The engine of the Raon-1-mini recipe (upstream llama.cpp has the preview architecture but not the release file's steering vectors). (https://github.com/krafton-ai/llama.cpp/tree/raon-1-mini)
- z-lab: Measured against MTP on the 3D coder: fastest while writing code (163 tok/s), not used because acceptance falls to 4-7% while reasoning. (https://huggingface.co/z-lab/Qwen3.5-4B-DFlash)
- llama.cpp (ggml-org and contributors): The engine for Flint, the 3D coder and Inkling-2-Mini, and the base of the Kintsugi fork. (https://github.com/ggml-org/llama.cpp)
- ggml-org: Flint-Q4_K_M.gguf and Inkling-2-Mini-IQ4_NL.gguf are the files the two recipes serve; the Q8_0 files are the KLD references. (https://huggingface.co/ggml-org/Flint-GGUF)
- Hugging Face: Every model, quant and drafter in these recipes is fetched from the Hub at a pinned revision and checked against the API's sha256; the base model's MTP tensors were fetched with HTTP range requests. (https://huggingface.co)
- 0xSero / Sybil Solutions: The tuning method behind the Flint and Inkling recipes; its q8_0 KV gotcha is one we confirmed on Flint. (https://github.com/sybil-solutions/inference-optimisation-skill)

## Reproductions

None yet. Ran it on your own 3060? Report your numbers: https://github.com/davidghatley/3060-recipes/issues/new?template=reproduction.yml

## Machine-readable

- https://davidghatley.github.io/3060-recipes/recipes/raon-1-mini/recipe.json
- Folder with scripts and raw runs: https://github.com/davidghatley/3060-recipes/tree/main/raon-1-mini
- Full results log: https://raw.githubusercontent.com/davidghatley/3060-recipes/main/raon-1-mini/RESULTS.md

## Full write-up (README)

Serving [KRAFTON/Raon-1-mini](https://huggingface.co/KRAFTON/Raon-1-mini) on the RTX 3060 12 GB with KRAFTON's
llama.cpp fork. It is a 30B MoE with ~4B active per token (128 routed experts, 6 active, plus one shared expert),
25 layers: 18 Raon Delta Attention layers (a linear-attention variant with a fixed-size state) and 7 gated-MLA
full-attention layers, four mHC residual streams, a 259,840-token vocabulary and a 262k window. The weights are
KRAFTON's own Q4_K_M GGUF (19.7 GB), and KRAFTON ships a DFlash2 draft model next to it.

- **The Hugging Face repos are gated:** access is granted on request (the licence is Apache-2.0).
- **It needs KRAFTON's fork** ([krafton-ai/llama.cpp, branch `raon-1-mini`](https://github.com/krafton-ai/llama.cpp/tree/raon-1-mini)).
  Upstream llama.cpp has the preview architecture but not the release file's reasoning-effort steering, the fused
  mHC/SiTU kernels or the DFlash2 target hooks.

The 19.7 GB file does not fit in 12 GB, so experts live in RAM. This recipe is about three things:
- **where the experts go.** Every routed expert stays in RAM, and 4.9 GB of the card holds llama.cpp's MoE cache of
  the hot ones. That beats `--fit`'s static split by 16% without the drafter (THEORY.md).
- **the drafter's length.** KRAFTON's card runs DFlash2 with 7 draft tokens. With experts in RAM that is 38% *slower*
  than no drafter: each verify batch reads the union of every token's experts from RAM. Three draft tokens are
  +14% at empty context and +42% at 128k, where the verify batch shares one pass over the attention cache.
- **the whole window works.** Only 7 layers keep a KV cache (576 values per token), so 262k at q8_0 is 1.1 GB.
  Needles come back exact at 131k and 247k.

Numbers and quality are in [RESULTS.md](RESULTS.md). The experiment log is [PLAN.md](PLAN.md), the ceilings are in
[THEORY.md](THEORY.md), and the raw data is in `runs/`.

### Result

| Single user, 262k window | Stock llama.cpp `--fit` (same fork) | **This recipe** |
|---|---:|---:|
| Decode, coding answer | 44.0 tok/s | **62.7 tok/s (1.43×)** |
| Decode at 128k context | 24.7 tok/s | **34.6 tok/s (1.40×)** |
| Decode at 245k context | not measured | **24.5 tok/s** |
| Prefill, 8k prompt | 497 tok/s (16 s to first token) | **820 tok/s (10 s, 1.65×)**; 1,186 with `RA_PROFILE=prompt` |
| Prefill, 32k / 131k / 247k prompt | not measured | **655 / 353 / 228 tok/s** (49 s / 6.2 min / 18 min) |
| Needles at 131k / 247k (50% / 94% of the window) | not run | **3/3 / 3/3** |
| codeeval, thinking off / on | | **8/8** / 7/8 (effort low) |
| Card / RAM | 10.96 GB / 21 GB | 11.7 GB / 20 GB (25–34 GB with page cache) |

- **A prompt near the top of the window takes about 18 minutes to the first token** (247k tokens at 228 tok/s).
  Prefill is attention-bound at depth: 820 tok/s at 8k, 353 at 131k. Plan long sessions around the prefix cache.
- The model card's own `llama-server` line loads on 12 GB (`--fit` picks the split) and runs at 41.6 tok/s, 2.4
  below stock flags: its presence penalty 1.5 and `--reasoning on` cost a little.
- 62.7 tok/s is 77% of the practical ceiling (81.8 tok/s, every expert in VRAM, which does not fit) and 55% of the
  bandwidth ceiling. Without the drafter the best is 55 tok/s.
- Repeated runs of the default on a busier host gave 58.5–61.2 tok/s (five controls in PLAN rows 13–16).

### Which config

| `RA_PROFILE=` | KV | MoE cache | ubatch | Drafter | Decode empty / at 128k | Prefill 8k | Use |
|---|---|---:|---:|---|---:|---:|---|
| **`default`** | q8_0 | 4900 MiB | 1024 | DFlash2 n 3 | 62.7 / 34.6 | 820 | everything |
| `nospec` | f16 | 5000 MiB | 1024 | none | 51.1 / 26.7 | 917 | prompt-heavy work with short answers |
| `prompt` | f16 | 4200 MiB | 2048 | none | 47.1 / not measured | 1,186 | long documents read once (RAG, agents reading files) |
| `stock` | default (f16) | none | 512 | none | 44.0 / 24.7 | 497 | the baseline |
| `card` | default | none | 512 | none | 41.6 / not measured | 493 | the GGUF card's line, verbatim |

`nospec` and `prompt` numbers come from the tuning runs (PLAN rows 3, 3/4 deep, 10), not from the qualification batches.

### Use it

```
## 1. weights (gated repo: request access first; pinned in ../notes/batch2/downloads.tsv)
##    KRAFTON/Raon-1-mini-gguf @ 5369b6d7 -> $MODELS/raon-1-mini/krafton/
##      raon-1-mini-Q4_K_M.gguf (sha256 38e9910c…), dflash-raon-1-mini-Q8_0.gguf (sha256 7ddb4223…)
## 2. engine: krafton-ai/llama.cpp branch raon-1-mini @ b5547cce7, CUDA build (tools/build.sh)
##    -> $SCRATCH/llama.cpp/krafton-raon-b5547cce7/bin
## 3. serve (through gpu_run, OpenAI-compatible on 127.0.0.1:8110, model name raon-1-mini)
./serve.sh                          # default: experts in RAM + 4900 MiB cache, q8_0 KV, DFlash2 n 3, 262k
RA_PROFILE=nospec ./serve.sh        # no drafter, f16 KV, cache 5000
RA_PROFILE=prompt ./serve.sh        # ub 2048 for long prompts
RA_THINK=0 ./serve.sh               # thinking off unless a request asks for an effort
RA_PRESENCE=1.5 ./serve.sh          # the card's chat setting (default 0, the card's coding setting)
```

The launch line `serve.sh` runs:

```
llama-server -m raon-1-mini-Q4_K_M.gguf -ngl 99 --cpu-moe --fit off -c 262144 -np 1 -fa on --jinja \
  --moe-cache-mib 4900 --load-mode none -ctk q8_0 -ctv q8_0 -ub 1024 \
  --spec-draft-model dflash-raon-1-mini-Q8_0.gguf --spec-type draft-dflash --spec-draft-n-max 3 \
  --spec-draft-sampling probabilistic --spec-draft-ngl all --spec-draft-n-ubatch 128 \
  --temp 1.0 --top-p 0.95 --top-k 20 --min-p 0.0 --presence-penalty 0
```

- It runs under `gpu_run` with `GPU_RUN_MEM=44G`: `--load-mode none` reads the experts into ~20 GB of process
  memory, and the memory cap counts page cache too. Every knob has an `RA_*` override (see the header of `serve.sh`).
- `--spec-draft-n-ubatch 128` is required: at the main ubatch of 1024 the drafter's LM-head logits buffer is
  1,081 MiB and the server fails to start.
- Thinking: send a top-level `"reasoning_effort"` of `none`, `low`, `medium`, `high`, `xhigh` or `max` per
  request. The fork turns it into the template's switch *and* the model's effort-steering vectors. `none` turns
  thinking off. The model's default effort is `high`.
- Sampling follows the card: temperature 1.0, top-p 0.95, top-k 20, presence 1.5 for chat and 0 for coding and
  math. Presence 1.5 lowers the drafter's acceptance a little (−8% decode, PLAN row 16).

### Tools

| Tool | What it does |
|---|---|
| `serve.sh` | the launcher: profile, placement, cache, KV, ubatch, drafter; holds the GPU lock while serving |
| `tools/build.sh` | builds the fork in its own worktree and build directory (same flags as the shared r2 build) |
| `tools/run.sh <label> <mode> [args]` | one server start/stop through `../scripts/with_server.sh` on port 8110, then `tools/gate.sh` |
| `tools/gate.sh` | one test mode: `speed`, `speedpp`, `deep`, `pp`, `needles`, `code`, `refusal`, `quality`, `load`; logs host load, RSS, cgroup peak and VRAM to `runs/ledger.jsonl` |
| `tools/srvtest.py` | speed, prefill and needle client (llama-server's own timings, drafter acceptance; from `../maxwell-v1-flash/`, switched to top-level `reasoning_effort`) |
| `tools/batch.sh` | one GPU-lock hold per batch file (`GPU_RUN_MEM=44G`) |
| `tools/lbench.sh` | `llama-bench` on the fork, inside a batch |
| `tools/gguf_info.py` | GGUF header and tensor summary (`runs/gguf-info-*.txt`) |

### Credits

- [KRAFTON AI](https://huggingface.co/KRAFTON) ([X](https://x.com/Krafton_AI), [krafton.ai](https://krafton.ai/en/)),
  for Raon-1-mini (Apache-2.0), its [Q4_K_M GGUF](https://huggingface.co/KRAFTON/Raon-1-mini-gguf), the
  [DFlash2 drafter](https://huggingface.co/KRAFTON/Raon-1-mini-dflash2) and the
  [llama.cpp fork](https://github.com/krafton-ai/llama.cpp/tree/raon-1-mini) with Raon-1 support and effort steering.
- [z-lab](https://github.com/z-lab/dflash), for DFlash, the block-draft method the drafter uses.
- [llama.cpp](https://github.com/ggml-org/llama.cpp) and ggml-org, for the engine the fork builds on, `--cpu-moe`,
  the MoE cache, `--load-mode`, speculative decoding and `llama-bench`.
- The sibling recipes [`../maxwell-v1-flash/`](../maxwell-v1-flash/) (tools and the MoE-cache layout) and
  [`../inkling-2-mini/`](../inkling-2-mini/) (layout and the needle client).
- The tuning method comes from 0xSero's [inference-optimisation-skill](https://github.com/sybil-solutions/inference-optimisation-skill):
  ceilings first, one change at a time between controls, output gated as well as speed.
