Skip to content
プロジェクト

概要

WHIRL (Windows HIP Inference for RDNA LLMs): native Windows C++/HIP LLM inference engine for the AMD Ryzen AI Max+ 395 (Radeon 8060S) and Radeon AI PRO R9700. Unzip and run, only the AMD driver.

AI・機械学習

この数値の測り方

計測したスター増加

24時間
+1
7日間
+1
15日間
履歴を収集中
1か月
履歴を収集中

期間ごとの純増数です。期間は重複しており、日別の値ではありません。未計測の値は空欄です。スター数は注目度の指標であり、品質の保証ではありません。

English | 繁體中文

WHIRL

Windows HIP Inference for RDNA LLMs

WHIRL 0.2.5.1: faster on the Radeon 8060S

0.2.5.1 is a speed update for the Radeon 8060S (AMD Ryzen AI Max+ 395): five new 8060S kernel paths make prefill +2% to +10% faster in all three modes on both models, and Swift-1.5 27B decode (QA document 2k to 128k, and the coding chat in balance) +4% to +12% faster in balance and fast, with output bit-identical to 0.2.5 in every mode on the 8060S. Against the official llama.cpp release b11960 (v0.8.0, 2026-10-28), its ROCm and its Vulkan build, WHIRL in its default mode (balance) leads in every cell measured on the 8060S (prefill and decode with 2k-, 96k- and 128k-token prompts, and a coding chat): Swift-1.5 27B by +28% to +59% over ROCm and +30% to +106% over Vulkan, Ornith-1.5-35B-A3B by +51% to +65% and +46% to +127%. Radeon 8060S numbers are at max power (80 W), ASUS ROG Flow Z13, 64 GB GPU memory (UMA frame buffer), the same for WHIRL and llama.cpp, best of 3 runs per cell; they are subject to the Z13's power limits and vary slightly.

On the R9700 the GPU code is identical to 0.2.5 (the compiled R9700 kernels were compared; only an internal build ID differs); its numbers are 0.2.5's, not re-measured: +59% to +177% over ROCm and +42% to +299% over Vulkan with Swift-1.5 27B, +82% to +180% and +100% to +326% with Ornith-1.5-35B-A3B (median of 3 runs, 4 for WHIRL with Swift-1.5 27B). What's new in 0.2.5.1.

WHIRL is an open-source (Apache-2.0) LLM inference engine for AMD GPUs on Windows: native C++/HIP, every kernel included, no WSL, Docker or ROCm install. Download the zip, unzip, run; the AMD driver is all it needs. It runs on the Radeon 8060S of the AMD Ryzen AI Max+ 395 and the AMD Radeon AI PRO R9700 (RDNA 4, 32 GB), with our two MXFP4 models, Swift-1.5 27B MXFP4 (dense) and Ornith-1.5-35B-A3B MXFP4 (MoE). On both GPUs WHIRL in its default mode is faster than the official llama.cpp release b11960 (v0.8.0), ROCm and Vulkan builds alike, at every prompt length measured; 0.2.5.1 makes the Radeon 8060S faster still. WHIRL 0.2.0 led llama.cpp b11214 in every mode and at every prompt length from 2k to ~250k tokens (0.2.0 tables below).

Quick start

  1. Download whirl-0.2.5.1-windows-x64.zip from Releases and a model, for example Swift-1.5-Qwen3.8-27B-MXFP4-A-outQ6_K.gguf saved in C:\models\. You need only the AMD driver (requirements; on the Radeon 8060S set its GPU memory first).
  2. Unzip and run, in PowerShell:
Unblock-File .\whirl-0.2.5.1-windows-x64.zip
Expand-Archive .\whirl-0.2.5.1-windows-x64.zip -DestinationPath C:\whirl
cd C:\whirl\whirl-0.2.5.1-windows-x64
.\whirl.exe devices                                    # lists the Radeon 8060S (gfx1151) and/or the R9700 (gfx1201)
.\whirl.exe chat C:\models\Swift-1.5-Qwen3.8-27B-MXFP4-A-outQ6_K.gguf "Explain TCP slow start in two sentences." --max-tokens 400
.\whirl-server.exe C:\models\Swift-1.5-Qwen3.8-27B-MXFP4-A-outQ6_K.gguf --port 8080      # default mode: balance

The server speaks the OpenAI API at http://127.0.0.1:8080/v1 (/v1/chat/completions, /v1/completions, /v1/models, /health), so any OpenAI-compatible client works. Add --precise for bitwise-lossless output or --fast for maximum speed. Stop the server with Ctrl+C; reused sessions are written to the SSD tier first.

For long documents give a slot a longer context, for example --ctx-per-slot 262144; see recipes.md.

Choosing the GPU

  • Without --device, WHIRL uses the GPU with the most GPU memory (integrated GPUs count their dedicated memory; if equal, the first one in --list-devices); the startup log shows which GPU it uses.
  • To use another GPU, add --device pci:<bus>:<device>; the numbers are in Task Manager > Performance > (select the GPU) > Physical location.
  • Example: Task Manager shows Physical location "PCI bus 71, device 0, function 0" → whirl-server.exe <model.gguf> --device pci:71:0

-dev and WHIRL_DEVICE do the same as --device, for whirl and whirl-server.

whirl devices (or --list-devices) prints the same pci: numbers for every GPU. An index, r9700, 8060s or a part of the name also work when only one GPU matches. An external USB4 / Thunderbolt GPU gets its bus number when it is connected, so check Task Manager again after replugging it.

The first run with a model tunes the GPU kernels once and caches the result in %LOCALAPPDATA%\whirl (a few seconds for our MXFP4 files on the R9700; longer on the 8060S). Full walkthrough: quick start. Every option: usage reference.

Advanced: build from source — for users who want to modify and tune WHIRL themselves: building.md.

WHIRL vs llama.cpp at a glance

Radeon 8060S, WHIRL 0.2.5.1 against WHIRL 0.2.5 and against the official llama.cpp release b11960 (ggml-org), shown separately for its ROCm and its Vulkan build: WHIRL in its default mode (balance), same GGUF files, same prompts, greedy decoding, one user. Max power (80 W), ASUS ROG Flow Z13; every 8060S cell is the best of 3 runs.

Prefill speed on the Radeon 8060S (Ryzen AI Max+ 395), WHIRL 0.2.5 vs 0.2.5.1, balance

Decode speed on the Radeon 8060S (Ryzen AI Max+ 395), WHIRL 0.2.5 vs 0.2.5.1, balance, document QA and coding chat

Prefill speed on the Radeon 8060S, WHIRL 0.2.5.1 vs llama.cpp b11960 ROCm and Vulkan

Decode speed on the Radeon 8060S, WHIRL 0.2.5.1 vs llama.cpp b11960 ROCm and Vulkan, document QA and coding chat

  • Radeon 8060S, 0.2.5.1 vs 0.2.5 (balance, max power (80 W), ASUS ROG Flow Z13): Swift 27B decodes the coding chat at 35.0 → 38.1 tok/s (+8.9%) and answers about a 128k-token document at 22.3 → 25.0 (+12.1%); prefill at 32k 418.1 → 456.0 (+9.1%). Ornith 35B-A3B prefill at 2k 2,453 → 2,653 tok/s (+8.2%), at 32k 1,828 → 2,012 (+10.1%).
  • Radeon 8060S vs llama.cpp b11960 (ROCm / Vulkan): prefill of a 128k-token prompt, Swift 310.9 vs 195.8 / 150.9 tok/s, Ornith 1,093 vs 674.8 / 481.0; coding chat, Swift 38.1 vs 29.7 / 29.3, Ornith 106.6 vs 70.3 / 72.9.
  • R9700 (the 0.2.5 numbers; same GPU code): Ornith 35B-A3B reads a 2k-token prompt at 11,854 tok/s (llama.cpp ROCm 4,230, Vulkan 2,780); Swift 27B decodes the coding chat at 106.0 tok/s (57.1 / 53.1).

Radeon 8060S (gfx1151, Ryzen AI Max+ 395), max power (80 W), ASUS ROG Flow Z13, WHIRL 0.2.5.1 balance (default), best of 3 runs per cell. The percentage in each llama.cpp cell is WHIRL's lead over that cell; "vs 0.2.5" is the change from WHIRL 0.2.5 measured the same way on the same machine.

tok/s, higher is better Swift 27B: WHIRL llama.cpp ROCm llama.cpp Vulkan Ornith 35B-A3B: WHIRL llama.cpp ROCm llama.cpp Vulkan
Prefill, 2k-token prompt 527.2 (+4.2% vs 0.2.5) 359.3 (WHIRL +47%) 317.3 (WHIRL +66%) 2,653 (+8.2% vs 0.2.5) 1,606 (WHIRL +65%) 1,280 (WHIRL +107%)
Prefill, 96k-token prompt 351.1 (+6.2% vs 0.2.5) 221.3 (WHIRL +59%) 172.5 (WHIRL +104%) 1,310 (+6.1% vs 0.2.5) 804.7 (WHIRL +63%) 578.5 (WHIRL +126%)
Prefill, 128k-token prompt 310.9 (+5.9% vs 0.2.5) 195.8 (WHIRL +59%) 150.9 (WHIRL +106%) 1,093 (+6.8% vs 0.2.5) 674.8 (WHIRL +62%) 481.0 (WHIRL +127%)
Decode, QA about a 2k-token document 34.9 (+7.4% vs 0.2.5) 25.1 (WHIRL +39%) 25.2 (WHIRL +38%) 108.7 (+2.4% vs 0.2.5) 69.5 (WHIRL +56%) 71.0 (WHIRL +53%)
Decode, QA about a 96k-token document 25.9 (+10.2% vs 0.2.5) 18.6 (WHIRL +39%) 16.8 (WHIRL +54%) 65.0 (+6.4% vs 0.2.5) 43.0 (WHIRL +51%) 42.4 (WHIRL +53%)
Decode, QA about a 128k-token document 25.0 (+12.1% vs 0.2.5) 15.8 (WHIRL +58%) 15.2 (WHIRL +64%) 57.7 (+1.9% vs 0.2.5) 38.0 (WHIRL +52%) 37.6 (WHIRL +53%)
Decode, coding chat (new text) 38.1 (+8.9% vs 0.2.5) 29.7 (WHIRL +28%) 29.3 (WHIRL +30%) 106.6 (+2.2% vs 0.2.5) 70.3 (WHIRL +52%) 72.9 (WHIRL +46%)

Radeon AI PRO R9700 (gfx1201, 32 GB). The R9700 GPU code of 0.2.5.1 is identical to 0.2.5 (the compiled R9700 kernels were compared: identical apart from an internal build ID), so these are 0.2.5's published numbers, not re-measured: WHIRL balance, median of 3 runs per cell (4 for WHIRL with Swift 27B), against the same llama.cpp b11960.

Radeon AI PRO R9700, WHIRL 0.2.5 vs llama.cpp b11960 ROCm and Vulkan: 0.2.5 numbers, not re-measured

tok/s, higher is better Swift 27B: WHIRL llama.cpp ROCm llama.cpp Vulkan Ornith 35B-A3B: WHIRL llama.cpp ROCm llama.cpp Vulkan
Prefill, 2k-token prompt 3,240 1,171 (WHIRL +177%) 811.5 (WHIRL +299%) 11,854 4,230 (WHIRL +180%) 2,780 (WHIRL +326%)
Prefill, 96k-token prompt 1,986 817.6 (WHIRL +143%) 627.9 (WHIRL +216%) 5,216 2,772 (WHIRL +88%) 2,038 (WHIRL +156%)
Prefill, 128k-token prompt 1,717 723.1 (WHIRL +137%) 567.6 (WHIRL +202%) 4,301 2,363 (WHIRL +82%) 1,759 (WHIRL +144%)
Decode, QA about a 2k-token document 93.1 50.2 (WHIRL +85%) 44.4 (WHIRL +110%) 249.5 111.7 (WHIRL +123%) 106.3 (WHIRL +135%)
Decode, QA about a 96k-token document 55.8 35.1 (WHIRL +59%) 39.2 (WHIRL +42%) 153.4 79.7 (WHIRL +92%) 76.6 (WHIRL +100%)
Decode, QA about a 128k-token document 53.6 31.1 (WHIRL +72%) 35.7 (WHIRL +50%) 144.3 74.1 (WHIRL +95%) 70.7 (WHIRL +104%)
Decode, coding chat (new text) 106.0 57.1 (WHIRL +86%) 53.1 (WHIRL +100%) 244.6 114.5 (WHIRL +114%) 105.9 (WHIRL +131%)

What the rows measure (exact prompts and commands: benchmarks.md):

  • Prefill: prompt processing speed for a long document of that many tokens.
  • Decode, document QA: the same question at every length (explain one function quoted near the start of the document and write a corrected version, 256 tokens). Part of the answer can copy code from the prompt, which helps speculative drafts in every engine that uses them.
  • Decode, coding chat (new text): a coding question whose answer (explanation and code) is all newly written, with nothing in the prompt to copy: a hard case for speculative drafts. 512 tokens.
  • How each engine decodes: WHIRL uses its MTP (+ n-gram) drafts. llama.cpp decodes Swift 27B with MTP + n-gram (--spec-type draft-mtp,ngram-mod), its fastest mode on this model. On Ornith it decodes without speculation, because its MTP was slower than plain decoding on this MoE model in our measurements; the Ornith decode rows therefore compare both engines as shipped, not like for like.
  • How the 8060S cells were measured: best of 3 runs per cell, for WHIRL 0.2.5.1 and WHIRL 0.2.5 with the same method, prompts and machine (the 0.2.5 release notes printed the median of the same 0.2.5 runs, so they differ slightly from the 0.2.5 values here). The llama.cpp b11960 cells are the runs made for 0.2.5 on this machine with the same model files (llama.cpp did not change), best of 3; Swift 27B at 2k on Vulkan was measured again for 0.2.5.1. llama.cpp's ROCm build runs as shipped, with the HIP runtime DLL in its own folder (amdhip64_7.dll 10.0.3581.0); WHIRL uses the one installed with the driver (10.0.3683.0). The precise decode path of Swift-1.5 27B did not change in 0.2.5.1, and its speed per decode step stayed within -1.2% to +0.9% of 0.2.5, so the machine was in the same state.
  • Decode with drafts depends on the text: how many MTP drafts are accepted changes with the text of each run (the document prompts carry a random first line), so single decode cells can move by a few percent between runs; see What's new in 0.2.5.1 for the Ornith cells.

A real coding-agent session

0.2.0 measurement (WHIRL 0.2.0 vs llama.cpp b11214); not measured again since.

Swift 27B, WHIRL balance. One session = a ~20k-token system + tools prompt (coding-agent instructions plus skills / MCP tool manuals), a read_file tool call that returns a ~3.6k-token C++ source file, then four user turns (explain the file, find its most complex function, rewrite that function, review an edited copy of the file), with the full history resent on every call, at most 384 tokens per answer. The fixture is in the repository (benchmarks.md §6).

Radeon 8060S (max power (80 W), ASUS ROG Flow Z13):

Session (wall time) WHIRL balance llama.cpp ROCm llama.cpp Vulkan WHIRL time saved vs ROCm / Vulkan model calls WHIRL / ROCm / Vulkan
cold: the 20k-token system + tools prompt is not cached yet 95.7 s 145.6 s 264.4 s 34% / 64% 6/6/6
second session: shares that prefix, works on a different file 44.9 s 66.2 s 196.8 s 32% / 77% 5/5/6

R9700:

Session (wall time) WHIRL balance llama.cpp ROCm llama.cpp Vulkan WHIRL time saved vs ROCm / Vulkan model calls WHIRL / ROCm / Vulkan
cold: the 20k-token system + tools prompt is not cached yet 17.0 s 81.0 s 69.4 s 79% / 76% 5/6/6
second session: shares that prefix, works on a different file 11.8 s 60.9 s 38.0 s 81% / 69% 6/5/6

Each engine writes its own answers, so the number of model calls differs (last column: an engine that re-reads the file makes one more call). Single run per cell.

Why WHIRL is fast with these MXFP4 files

Our MXFP4 files were quantized for WHIRL, and WHIRL has kernels written for them:

  • fp8 prefill on the R9700 (balance and fast): the MXFP4 matrix multiplies of prefill run on RDNA 4's fp8 matrix units (0.2.0 measurement, Swift 27B at 2k: 3,273 tok/s vs 1,702 without fp8 in precise). The 8060S has no fp8 units and uses its regular path.
  • ssm_alpha / ssm_beta in Q8_0 (instead of F32): single-token decode and multi-token MTP verification then run through the same fused kernel, so MTP output stays bitwise identical to plain greedy decoding and the drafts stay long.
  • Q6_K output head: the fastest head for WHIRL's draft step (every draft token goes through the 248k-row head).

Every kernel is open source in this repository; nothing is closed or downloaded at run time.

Requirements

Download and run Download whirl-0.2.5.1-windows-x64.zip from Releases, unzip, run. Only the AMD driver is needed: no HIP SDK, no ROCm, no Visual C++ Redistributable to install (the few runtime DLLs the ROCm 10.1 driver needs are in the zip)
Install folder Keep the WHIRL folder path short (for example C:\whirl): the install folder path may be at most 150 bytes in UTF-8 (English letters and digits 1 byte each, Chinese characters 3 each); WHIRL refuses to start from a longer one, with a message. Model files and other files you pass have no extra WHIRL limit; an SSD cache folder (--kv-ssd-dir) may be at most 217 characters
Driver AMD Software: Adrenalin Edition 26.8.1 (driver 32.0.31041.1004) or newer, for both GPUs. Older drivers are untested. With the Adrenalin Edition for ROCm 10.1 driver, keep the rocm_kpack.dll from the zip next to whirl.exe (that driver's GPU runtime needs it but does not install it), together with the Visual C++ runtime DLLs it uses (msvcp140.dll, vcruntime140.dll, vcruntime140_1.dll, also in the zip)
GPU Radeon 8060S (RDNA 3.5, gfx1151, the AMD Ryzen AI Max+ 395 iGPU) or AMD Radeon AI PRO R9700 (RDNA 4, gfx1201, 32 GB); one GPU per process
Radeon 8060S: GPU memory Set the GPU memory (UMA frame buffer size) in Armoury Crate or the BIOS first (other laptops: Variable Graphics Memory in AMD Software), then restart. WHIRL keeps the model, its buffers and the KV cache in this dedicated memory; Windows' "shared GPU memory" is not used for them (the token-embedding table and the RAM cache tier sit in pinned system RAM, which Task Manager shows as shared GPU memory). Set at least 40 GB for Swift-1.5 27B MXFP4 (48 GB for its precise mode with the default KV cache) and 32 GB for Ornith-1.5-35B-A3B MXFP4 (64 GB on a 128 GB machine runs either model in every mode). Measured with the server defaults (4 slots, 262,144-token KV cache): Swift uses 29.9 GiB in balance, 31.0 GiB in fast, 38.2 GiB in precise; Ornith 27.3 GiB in balance and precise, 23.4 GiB in fast. With less, the server shrinks the KV cache, or stops with a message naming the size to set. whirl devices shows the current size as "dedicated"
OS Windows 11, 64-bit
Model Swift-1.5 27B MXFP4 or Ornith-1.5-35B-A3B MXFP4 from Hugging Face (supported models)
Memory / disk the server pins host RAM for its RAM cache tier (Radeon 8060S: 1/8 of the OS-visible RAM, 8 GiB on a 64 GB machine, off under 32 GB; R9700 host: about 1/4 of RAM, 16 GiB on a 64 GB PC) and may use up to 64 GiB of SSD for the SSD tier, written only when the server stops; both adjustable or off (--kv-ram-mb, --kv-ssd-gb)
Advanced: build from source for users who want to modify and tune WHIRL themselves: HIP SDK 7.2 + Visual Studio 2022 Build Tools (MSVC) + CMake + Ninja; see building.md

Support scope: WHIRL officially supports the Radeon 8060S and the R9700 and targets cards with 16 GB or more. Other AMD GPUs are untested (the RX 9070 series has the R9700's chip with 16 GB; untested). Cards under 16 GB are not officially supported; you are welcome to fork the source and adapt it.

Our R9700 is connected as a USB4 / Thunderbolt eGPU; that works. A card in a direct PCIe slot may differ slightly where data crosses the host link (model loading, RAM / SSD tier restores), not in prefill or decode.

Three modes: speed and precision

WHIRL has three numerics modes. You pick one per process (--precise, --balance, --fast); with no flag it runs balance.

Mode What it is Output guarantee
precise bitwise lossless: nothing is quantized beyond the GGUF's own weights; f16 KV cache, f16 / f32 activations everywhere output bitwise identical to plain greedy decoding: the same bits with or without speculative drafts, alone or batched with other users, and from a prefix-cache hit or a restored session
balance (default) near-lossless by industry standard, default: only the allowed speed items (fp8 prefill matrix multiplies on the R9700, int8 decode activations, f16 intermediates, int8 KV cache on the dense model); accepted on task accuracy, KL / top-1 only a regression guard not bitwise; MTP / n-gram drafts and batching give the same tokens as plain greedy decoding in balance mode, and a restored session the same tokens as that session kept in VRAM; a conversation's next turn, continued from the cached end of the previous reply, is numerically equivalent to a cold run, not bitwise, so its reply can differ
fast (opt-in) maximum speed within 4-bit-level quality: balance plus a 4-bit KV cache and relaxed MTP acceptance (on the Radeon 8060S the dense model keeps an int8 KV cache, which decodes faster there) lossy; accepted when task accuracy recovers at least 95% of precise (KL limits are only a regression guard); the text can depend on the drafts and on other users

What this means in practice:

  • precise is the mode with the bitwise guarantee: bitwise lossless, output identical to plain greedy decoding, on both GPUs.
  • In precise and balance, every acceleration gives the same tokens as plain greedy decoding of that mode: MTP and n-gram speculative decoding, several users batched together, prefix-cache hits on shared system prompts, and a second question about the same long document asked in a fresh conversation (without the first answer); a session restored from the RAM or SSD tier gives the same tokens as that session kept in VRAM. Standing tests enforce it (whirl selftest, kernel tests, server gates, golden outputs on both GPUs). One difference between the two: in balance, a conversation's next turn continues from the cached end of the previous reply, whose history the decode kernels produced, so its reply can differ from what a fresh server gives for the whole conversation (numerically equivalent, KL up to about 2e-4; a restored session still equals the same session that never left VRAM, bit for bit). precise re-prefills from the previous prompt's last chunk start instead and stays bitwise identical to the cold run.
  • precise and balance never use 4-bit KV, 3-bit weights or fp8 attention. fast is the only mode that can use 4-bit KV, and only when you ask for it.
  • Weights are whatever GGUF you choose; WHIRL computes with them as stored. In balance and fast, continuing a conversation reuses the state computed for the previous turn, which is numerically equivalent but not bit-identical to re-processing the whole history as one prompt; in precise it is bit-identical (kv-and-caching.md).

precise costs speed. On the R9700 the biggest cost is prefill on MXFP4 files, which runs without fp8 in precise (0.2.0 measurements: Swift 27B at 2k 1,702 vs 3,273 tok/s in balance; Ornith 7,575 vs 11,550; in the coding chat Swift decodes 83.4 vs 109.6 tok/s). The 8060S has no fp8 matrix units, so there the precise prefill cost is smaller (0.2.5.1, max power (80 W), ASUS ROG Flow Z13: 462.6 vs 527.2 tok/s in balance, Swift at 2k, -12%). precise still leads both llama.cpp builds in every measured cell.

fast mode is not fully optimized yet; it will improve in later 0.2.x point releases. What it does today, measured: it mainly speeds up decode on the dense Swift 27B (R9700: 115.5 vs 87.6 tok/s in balance after a 2k-token document, 130.4 vs 109.6 in the coding chat; 8060S (max power (80 W), ASUS ROG Flow Z13): 37.7 vs 32.5 at 8k) and long-context decode on the Ornith MoE (R9700 at ~250k: 125.3 vs 101.7). On Ornith it is slower than balance below about 64k tokens (R9700: 208.3 vs 238.4 at 2k, 183.5 vs 199.1 at 32k; at 64k 174.9 vs 169.1; 8060S at 2k: 93.8 vs 101.4), because its 4-bit KV cache adds a fixed cost per token that only pays off at long context. These are 0.2.0 measurements; 0.2.2 makes Ornith fast on the Radeon 8060S 3-5% faster (QA document at 2k, 96k and 128k, and the coding chat; 32k within noise), level with balance at 2k, at 32k and in the coding chat (CHANGELOG). fast does not speed up prefill yet (2,790 vs 2,805 tok/s, Swift at 32k on the R9700).

Every mode in detail: usage.md, numerics modes.

Supported models

Our own MXFP4 quantizations, made for WHIRL (all published numbers use these files):

Model file (Hugging Face) Type Arch Quantization
tsaipifong/Swift-1.5-Qwen3.8-27b-MXFP4-GGUF …-A-outQ6_K.gguf (recommended), …-B-outQ8_0.gguf, …-C-outQ4_K.gguf dense 27B qwen35 MXFP4 (+ Q8_0 MTP / embeddings / ssm_alpha / ssm_beta); quantized by us for WHIRL
tsaipifong/Ornith-1.5-35B-A3B-MXFP4-GGUF Ornith-1.5-35B-A3B-MXFP4.gguf MoE 35B, ~3B active qwen35moe MXFP4 experts and dense (+ Q8_0 MTP / embeddings / ssm_alpha / ssm_beta, Q6_K head); quantized by us for WHIRL

Both were loaded and checked on both GPUs (greedy output, MTP output identical to plain greedy in precise and balance). WHIRL reads general.architecture from the GGUF and accepts qwen35 and qwen35moe (the Gated DeltaNet + gated attention hybrid, with an optional MTP head), so other GGUFs of these architectures load too, but they are not what we measure or tune for. Other architectures (Llama, Gemma, Mistral, DeepSeek, qwen3, qwen2, …) are refused at load time with a clear message, and so are tensor types WHIRL has no kernels for (for example NVFP4); there is no slow generic fallback.

Image input works with a Qwen3-VL-style mmproj (F16 / BF16) via --mmproj, on both GPUs; both model repositories include one. An opt-in DFlash2 drafter is available for the dense 27B model (--draft dflash, below). Choosing and making GGUFs: quantization.md.

Performance

Radeon 8060S, max power (80 W), ASUS ROG Flow Z13

WHIRL 0.2.5.1 in all three modes against the official llama.cpp b11960 (ggml-org Windows binaries), ROCm and Vulkan builds side by side; Ryzen AI Max+ 395, 64 GB GPU memory. Same GGUF files, same prompts (a document-QA prompt with a unique first line, so no prefix-cache hits; 256 generated tokens; the coding chat 512 tokens), greedy decoding, thinking off, one user, tok/s from each server's own timings, best of 3 runs per cell. Each WHIRL cell shows the change from WHIRL 0.2.5 in brackets (same method, same machine; output bit-identical on the 8060S). llama.cpp b11960 was measured at 2k, 96k and 128k and in the coding chat; "–" = not in the 0.2.5.1 measurement plan. The lead columns are for balance, the default. precise and fast lead both llama.cpp builds in every measured cell as well (smallest lead: Swift 27B precise, decode after a 2k-token document, 29.4 vs 25.2 tok/s on llama.cpp Vulkan, +17%). Methods, flags and prompts: benchmarks.md.

Swift-1.5 27B MXFP4 (dense): Prefill tok/s

Prompt WHIRL precise WHIRL balance (default) WHIRL fast llama.cpp ROCm llama.cpp Vulkan balance vs ROCm balance vs Vulkan
2k 462.6 (+4.9%) 527.2 (+4.2%) 529.1 (+3.0%) 359.3 317.3 +47% +66%
8k 490.7 (+6.7%) 521.3 (+6.4%) 527.3 (+7.2%) – – – –
32k 431.2 (+6.1%) 456.0 (+9.1%) 457.3 (+6.6%) – – – –
64k 375.5 (+4.9%) 394.4 (+5.5%) 395.5 (+5.4%) – – – –
96k – 351.1 (+6.2%) – 221.3 172.5 +59% +104%
128k 302.8 (+4.4%) 310.9 (+5.9%) 314.3 (+4.9%) 195.8 150.9 +59% +106%

Swift-1.5 27B MXFP4 (dense): Decode tok/s, document QA (256-token answer: explain a function quoted in the document and rewrite it, so part of the answer can be copied) and coding chat (new text, 512 tokens)

Prompt WHIRL precise WHIRL balance (default) WHIRL fast llama.cpp ROCm llama.cpp Vulkan balance vs ROCm balance vs Vulkan
2k 29.4 (+1.4%) 34.9 (+7.4%) 37.8 (+6.2%) 25.1 (MTP+n-gram) 25.2 (MTP+n-gram) +39% +38%
8k 32.1 (+0.0%) 33.1 (+5.8%) 41.1 (+5.7%) – – – –
32k 26.7 (-1.8%) 31.6 (+8.2%) 36.8 (+3.7%) – – – –
64k 23.2 (-0.9%) 28.0 (+8.5%) 33.0 (+5.4%) – – – –
96k – 25.9 (+10.2%) – 18.6 (MTP+n-gram) 16.8 (MTP+n-gram) +39% +54%
128k 21.8 (+5.3%) 25.0 (+12.1%) 32.2 (+8.1%) 15.8 (MTP+n-gram) 15.2 (MTP+n-gram) +58% +64%
coding chat 37.5 (-0.5%) 38.1 (+8.9%) – 29.7 (MTP+n-gram) 29.3 (MTP+n-gram) +28% +30%

Ornith-1.5-35B-A3B MXFP4 (MoE, ~3B active): Prefill tok/s

Prompt WHIRL precise WHIRL balance (default) WHIRL fast llama.cpp ROCm llama.cpp Vulkan balance vs ROCm balance vs Vulkan
2k 1,968 (+1.8%) 2,653 (+8.2%) 2,637 (+7.1%) 1,606 1,280 +65% +107%
8k 2,094 (+4.9%) 2,529 (+7.6%) 2,511 (+7.2%) – – – –
32k 1,726 (+5.6%) 2,012 (+10.1%) 2,028 (+7.7%) – – – –
64k 1,407 (+5.0%) 1,591 (+6.0%) 1,590 (+5.6%) – – – –
96k – 1,310 (+6.1%) – 804.7 578.5 +63% +126%
128k 1,014 (+2.0%) 1,093 (+6.8%) 1,129 (+3.8%) 674.8 481.0 +62% +127%

Ornith-1.5-35B-A3B MXFP4 (MoE, ~3B active): Decode tok/s, document QA (256-token answer: explain a function quoted in the document and rewrite it, so part of the answer can be copied) and coding chat (new text, 512 tokens)

Prompt WHIRL precise WHIRL balance (default) WHIRL fast llama.cpp ROCm llama.cpp Vulkan balance vs ROCm balance vs Vulkan
2k 96.5 (+1.8%) 108.7 (+2.4%) 109.2 (+3.8%) 69.5 (plain) 71.0 (plain) +56% +53%
8k 90.0 (-0.4%) 104.3 (+3.7%) 103.5 (+2.9%) – – – –
32k 76.9 (-1.3%) 88.2 (+2.8%) 89.3 (-2.4%) – – – –
64k 68.5 (-3.0%) 71.5 (-6.3%) 79.1 (-1.7%) – – – –
96k – 65.0 (+6.4%) – 43.0 (plain) 42.4 (plain) +51% +53%
128k 52.7 (-2.2%) 57.7 (+1.9%) 69.2 (+2.4%) 38.0 (plain) 37.6 (plain) +52% +53%
coding chat – 106.6 (+2.2%) 107.9 (+1.6%) 70.3 (plain) 72.9 (plain) +52% +46%
0.2.0 tables for the Radeon 8060S (WHIRL 0.2.0 vs llama.cpp b11214, single runs, including ~250k-token prompts)

Ryzen AI Max+ 395, max power (80 W), ASUS ROG Flow Z13. WHIRL one run per cell (2026-10-17); llama.cpp median of 1 to 3 runs. "~250k" is a prompt of 249,510 tokens.

WHIRL balance lead, every measured length Prefill vs ROCm Prefill vs Vulkan Decode vs ROCm Decode vs Vulkan
8060S · Swift 27B +53% to +65% +93% to +183% +28% to +46% +24% to +105%
8060S · Ornith 35B-A3B +64% to +91% +142% to +199% +41% to +54% +43% to +57%
R9700 · Swift 27B +139% to +191% +208% to +295% +56% to +80% +38% to +84%
R9700 · Ornith 35B-A3B +75% to +188% +119% to +225% +74% to +107% +78% to +106%

Footnoted cells (ᵃ ᵇ ᶜ) are left out of these ranges; WHIRL leads in those cells too.

Footnoted cells (ᵃ ᵇ ᶜ) are left out of these ranges; WHIRL leads in those cells too.

Swift-1.5 27B MXFP4 (dense): Prefill tok/s

Prompt WHIRL precise WHIRL balance (default) WHIRL fast llama.cpp ROCm llama.cpp Vulkan balance vs ROCm balance vs Vulkan
2k 479.1 498.4 502.6 305.7 162.8ᶜ +63% +206%ᶜ
8k 446.5 470.8 471.8 307.5 234.4 +53% +101%
32k 401.4 426.7 428.9 266.2 221.6 +60% +93%
64k 353.4 374.4 375.9 230.9 177.3 +62% +111%
96k 315.7 332.9 334.1 203.3 149.0 +64% +123%
128k 282.9 298.9 297.4 180.8 127.8 +65% +134%
~250k 197.0 221.3 222.2 135.1 78.1 +64% +183%

Swift-1.5 27B MXFP4 (dense): Decode tok/s, document QA (256-token answer: explain a function quoted in the document and rewrite it, so part of the answer can be copied)

Prompt WHIRL precise WHIRL balance (default) WHIRL fast llama.cpp ROCm llama.cpp Vulkan balance vs ROCm balance vs Vulkan
2k 30.0 31.2 37.1 24.4 (MTP+n-gram) 25.1 (MTP+n-gram) +28% +24%
8k 30.8 32.5 37.7 24.6 (MTP+n-gram) 25.2 (MTP+n-gram) +32% +29%
32k 25.5 29.5 34.7 22.7 (MTP+n-gram) 17.0 (MTP+n-gram) +30% +74%
64k 23.9 26.0 31.2 18.4 (MTP+n-gram) 18.0 (MTP+n-gram) +41% +44%
96k 21.8 24.1 29.6 17.9 (MTP+n-gram) 16.6 (MTP+n-gram) +35% +45%
128k 22.4 23.8 26.1 16.2 (MTP+n-gram) 11.6 (MTP+n-gram) +46% +105%
~250k 14.6 16.8 20.7 12.2 (MTP+n-gram) 10.9 (MTP+n-gram) +38% +54%

Ornith-1.5-35B-A3B MXFP4 (MoE, ~3B active): Prefill tok/s

Prompt WHIRL precise WHIRL balance (default) WHIRL fast llama.cpp ROCm llama.cpp Vulkan balance vs ROCm balance vs Vulkan
2k 2,044 2,411 2,401 1,259 447.7ᶜ +91% +439%ᶜ
8k 1,867 2,244 2,232 1,282 749.2 +75% +199%
32k 1,577 1,829 1,830 1,049 756.2 +74% +142%
64k 1,299 1,463 1,466 848.9 603.6 +72% +142%
96k 1,108 1,227 1,229 710.4 500.5 +73% +145%
128k 966.3 1,055 1,059 636.6 428.4 +66% +146%
~250k 644.7 685.0 697.9 418.3 278.9 +64% +146%

Ornith-1.5-35B-A3B MXFP4 (MoE, ~3B active): Decode tok/s, document QA (256-token answer: explain a function quoted in the document and rewrite it, so part of the answer can be copied)

Prompt WHIRL precise WHIRL balance (default) WHIRL fast llama.cpp ROCm llama.cpp Vulkan balance vs ROCm balance vs Vulkan
2k 91.6 101.4 93.8 70.0 (plain) 70.7 (plain) +45% +43%
8k 87.5 94.9 93.6 64.3 (plain) 65.2 (plain) +48% +46%
32k 76.3 83.8 86.1 57.9 (plain) 57.1 (plain) +45% +47%
64k 67.9 69.2 76.2 49.0 (plain) 48.4 (plain) +41% +43%
96k 58.5 63.9 67.0 42.7 (plain) 42.2 (plain) +50% +51%
128k 51.1 58.4 62.7 38.0 (plain) 37.3 (plain) +54% +57%
~250k 38.9 40.4 48.9 26.3 (plain) 25.8 (plain) +54% +57%

ᶜ 2k prefill on the 8060S, llama.cpp Vulkan: Vulkan prefill is much slower on short prompts on this GPU (well below its own trend at 8k+), so the 2k lead over Vulkan is not used as a headline; headline leads over Vulkan use 8k and longer.

Radeon AI PRO R9700

0.2.0 measurements (WHIRL 0.2.0 vs llama.cpp b11214). The R9700 GPU code of 0.2.5.1 is identical to 0.2.5; 0.2.5's R9700 numbers against llama.cpp b11960 are in the table at the top. One run per cell, WHIRL measured on 2026-10-17; treat differences under about 5% as noise. Decode: WHIRL MTP (+ n-gram); llama.cpp Swift 27B MTP + n-gram, Ornith plain (as shipped).

Swift-1.5 27B MXFP4 (dense): Prefill tok/s

Prompt WHIRL precise WHIRL balance (default) WHIRL fast llama.cpp ROCm llama.cpp Vulkan balance vs ROCm balance vs Vulkan
2k 1,702 3,273 3,180 1,124 829.4 +191% +295%
8k 1,764 3,296 3,269 867.5ᵇ 705.5ᵇ +280%ᵇ +367%ᵇ
32k 1,626 2,805 2,790 1,065 787.5 +163% +256%
64k 1,444 2,332 2,304 913.6 691.9 +155% +237%
96k 1,301 1,971 1,952 805.2 618.1 +145% +219%
128k 1,185 1,715 1,697 718.7 557.2 +139% +208%
~250k not measured ᵈ 1,153 1,153 342.0ᵃ 259.9ᵃ +237%ᵃ +344%ᵃ

Swift-1.5 27B MXFP4 (dense): Decode tok/s, document QA (256-token answer: explain a function quoted in the document and rewrite it, so part of the answer can be copied)

Prompt WHIRL precise WHIRL balance (default) WHIRL fast llama.cpp ROCm llama.cpp Vulkan balance vs ROCm balance vs Vulkan
2k 70.1 87.6 115.5 50.5 (MTP+n-gram) 50.4 (MTP+n-gram) +74% +74%
8k 74.3 90.7 102.3 28.2ᵇ (MTP+n-gram) 44.4ᵇ (MTP+n-gram) +222%ᵇ +104%ᵇ
32k 56.4 79.2 79.3 44.0 (MTP+n-gram) 43.1 (MTP+n-gram) +80% +84%
64k 56.7 60.4 67.8 38.6 (MTP+n-gram) 39.5 (MTP+n-gram) +56% +53%
96k 49.8 56.3 63.4 36.1 (MTP+n-gram) 40.7 (MTP+n-gram) +56% +38%
128k 49.4 53.9 67.0 33.2 (MTP+n-gram) 34.8 (MTP+n-gram) +62% +55%
~250k not measured ᵈ 37.9 38.8 2.3ᵃ (MTP+n-gram) 6.4ᵃ (MTP+n-gram) +1548%ᵃ +492%ᵃ

Ornith-1.5-35B-A3B MXFP4 (MoE, ~3B active): Prefill tok/s

Prompt WHIRL precise WHIRL balance (default) WHIRL fast llama.cpp ROCm llama.cpp Vulkan balance vs ROCm balance vs Vulkan
2k 7,575 11,550 11,801 4,014 3,551 +188% +225%
8k 6,846 10,601 10,501 4,487 3,912 +136% +171%
32k 5,959 8,469 8,450 3,872 3,395 +119% +149%
64k 4,873 6,451 6,420 3,173 2,735 +103% +136%
96k 4,098 5,156 5,143 2,667 2,280 +93% +126%
128k 3,520 4,275 4,270 2,307 1,922 +85% +122%
~250k 2,351 2,664 2,666 1,519 1,218 +75% +119%

Ornith-1.5-35B-A3B MXFP4 (MoE, ~3B active): Decode tok/s, document QA (256-token answer: explain a function quoted in the document and rewrite it, so part of the answer can be copied)

Prompt WHIRL precise WHIRL balance (default) WHIRL fast llama.cpp ROCm llama.cpp Vulkan balance vs ROCm balance vs Vulkan
2k 181.8 238.4 208.3 115.4 (plain) 115.9 (plain) +107% +106%
8k 174.6 212.9 191.3 112.3 (plain) 111.9 (plain) +90% +90%
32k 154.2 199.1 183.5 101.4 (plain) 100.6 (plain) +96% +98%
64k 138.6 169.1 174.9 90.7 (plain) 89.6 (plain) +86% +89%
96k 126.4 148.1 156.2 81.9 (plain) 81.1 (plain) +81% +83%
128k 121.3 131.3 152.4 75.3 (plain) 73.8 (plain) +74% +78%
~250k 90.0 101.7 125.3 54.1 (plain) 53.6 (plain) +88% +90%

ᵃ ~250k on the R9700 with Swift 27B: official llama.cpp with f16 KV does not fit in 32 GB at this length (its log: "failed to fit params to free device memory") and spills into shared memory, which collapses its decode. The numbers are shown as measured, but this cell is not used as a lead anywhere.

ᵇ 8k on the R9700 with Swift 27B: the llama.cpp 8k request was the first long request on a fresh server (cold), and it came out below its own 2k and 32k values. This cell is not used as a lead anywhere.

ᵈ Swift 27B precise at ~250k on the R9700: not measured. precise keeps the KV cache in f16, and f16 KV for this length does not fit next to the weights in 32 GB (the f16 pool holds about 190k tokens).

Coding chat (new text)

0.2.0 measurements (llama.cpp b11214). The 0.2.5.1 coding-chat numbers for the Radeon 8060S are in its tables above, 0.2.5's numbers for the R9700 in the table at the top.

512 tokens; the answer (explanation and code) is all newly written and the prompt holds nothing to copy beyond a few option names, so this is a hard case for speculative drafts. WHIRL: one run on the 8060S, median of 3 runs on the R9700. llama.cpp: first run only, because its n-gram drafts learn a repeated prompt.

GPU · model WHIRL precise WHIRL balance (default) WHIRL fast llama.cpp ROCm llama.cpp Vulkan balance vs ROCm balance vs Vulkan
8060S · Swift 27B 36.3 34.2 42.1 27.6 (MTP+n-gram) 28.3 (MTP+n-gram) +24% +21%
8060S · Ornith 35B-A3B 94.5 106.0 102.8 70.6 (plain) 72.9 (plain) +50% +45%
R9700 · Swift 27B 83.4 109.6 130.4 57.8 (MTP+n-gram) 57.6 (MTP+n-gram) +90% +90%
R9700 · Ornith 35B-A3B 191.2 241.5 219.0 118.9 (plain) 115.1 (plain) +103% +110%

8060S coding chat: one run per WHIRL mode. How many drafts are accepted depends on the text each mode writes, so in this run Swift 27B precise (36.3) came out above balance (34.2).

Where WHIRL does not lead by much

  • Smallest leads: dense decode on the Radeon 8060S (0.2.5.1, max power (80 W), ASUS ROG Flow Z13). Swift 27B in the coding chat (new text), balance: 38.1 vs 29.7 tok/s on llama.cpp ROCm (+28%) and 29.3 on Vulkan (+30%); in precise after a 2k-token document: 29.4 vs 25.1 tok/s on ROCm (+17%) and 25.2 on Vulkan (+17%). Dense decode there is limited by memory bandwidth, and the lead comes from speculative decoding.
  • Ornith decode is compared as shipped: WHIRL with MTP drafts, llama.cpp without speculation (its MTP was slower on this model).
  • Plain decoding without speculation is memory-bandwidth bound in every engine; most of WHIRL's decode lead comes from MTP + n-gram speculative decoding.
  • fast is not always faster than balance (see Three modes), and precise costs speed, most of all in R9700 prefill.

What's new in 0.2.5.1

A speed update for the Radeon 8060S (AMD Ryzen AI Max+ 395). You run it exactly as 0.2.5 (same options, same server API, same model files), and on the 8060S the output is bit-identical to 0.2.5 in every mode (precise, balance and fast).

Model Mode Prefill, 2k–128k Decode (QA document 2k–128k, and coding chat where measured)
Swift 27B precise +4.4% to +6.7% -1.8% to +5.3%
Swift 27B balance (default) +4.2% to +9.1% +5.8% to +12.1%
Swift 27B fast +3.0% to +7.2% +3.7% to +8.1% (QA only)
Ornith 35B-A3B precise +1.8% to +5.6% -3.0% to +1.8% (QA only)
Ornith 35B-A3B balance (default) +6.0% to +10.1% -6.3% to +6.4%
Ornith 35B-A3B fast +3.8% to +7.7% -2.4% to +3.8%

0.2.5.1 against 0.2.5 on the Radeon 8060S, max power (80 W), ASUS ROG Flow Z13, best of 3 runs per cell for both versions; the decode column covers the document QA at 2k to 128k tokens and the coding chat (per-cell numbers in the 8060S tables).

  • Five new 8060S kernel paths (each measured alone in paired runs on the 8060S; the end-to-end changes above do not add up exactly):
    • prefill matrix multiplies for MXFP4 weights unpack the 4-bit weights inside the multiply instead of in a separate step (Swift 27B, and Ornith's shared expert): Swift prefill +10.5% at 2k, +6.4% at 8k, +5.6% at 32k;
    • Ornith's expert matrix multiplies in prefill: +2.5% to +3.1% at 2k to 8k tokens; short prompts keep the 0.2.5 path;
    • the attention that checks MTP drafts against the int8 KV cache (Swift 27B in balance and fast): +5.0% decode after a 128k-token document;
    • the matrix-vector product that checks MTP drafts (Swift 27B in balance and fast): +4.5% to +6.0% decode;
    • Ornith's expert router in decode now runs as one GPU step: +1.5% without drafts, +0.7% with MTP drafts (within noise).
  • Same output as 0.2.5: the golden reference outputs (both models, all three modes, CLI and server) pass with the exes in this zip on the 8060S, long prompts of about 4k and 16k tokens give the same tokens as 0.2.5 in 12 of 12 cases, and the coding-chat answers have the same hash in both versions. precise stays the bitwise-lossless mode; balance (the default) stays near-lossless; fast stays opt-in.
  • Ornith decode is about the same as 0.2.5: only the router item touches it. Its per-cell changes (-6.3% to +6.4% in balance) come from the drafts: each run writes slightly different text and accepts a different number of MTP drafts. At 64k in balance, for example, 0.2.5.1 accepted 0.60 drafts per decode step against 0.71 in 0.2.5, so it shows 76.3 → 71.5 tok/s (-6.3%) although each decode step ran +0.5% faster.
  • R9700: GPU code identical to 0.2.5 (the compiled R9700 kernels were compared; only an internal build ID differs). Its numbers are 0.2.5's (median of 3 runs, 4 for WHIRL with Swift 27B), not re-measured; the other R9700 numbers in this README are 0.2.5's or earlier.
  • First start on the 8060S tunes once more: the new prefill kernel joined the per-model tuning, so the first load of each model on the 8060S tunes again (0.2.5's tables are kept for 0.2.5). On the R9700 the existing tuning is reused.

Fixes for both GPUs:

  • Install folder: at most 150 bytes. WHIRL now checks the length of its own folder first and, if it is longer than 150 bytes in UTF-8 (English letters and digits count 1, Chinese characters 3), refuses to start with a clear message in English and Traditional Chinese, before the GPU runtime is loaded. Before, a very long install path could make WHIRL stop without a clear message once it started using the GPU. Model files and other files you pass have no extra WHIRL limit.
  • --kv-ssd-dir / WHIRL_KV_SSD_DIR: at most 217 characters (UTF-16: every letter or Chinese character counts 1); a longer SSD cache folder is now refused at start. An over-long %LOCALAPPDATA% (more than 187 characters) is not used, with a warning.
  • Shorter tune cache file names (tune5-…); an existing tune4-… file is copied once and kept for older WHIRL versions. When a file cannot be opened, the message now names the path's length.
  • whirl-server no longer leaves pinned-memory notes behind: a server deletes its own note when it exits and, at start, removes the notes of servers that have exited.
  • Correction of the 0.2.5 text about long paths. The 0.2.5 README, CHANGELOG and release notes said that an SSD cache folder longer than 260 characters works and that WHIRL works when started through a \\?\ path, and asked to keep the WHIRL folder short because the AMD driver stops WHIRL when its own path is several hundred characters long (346 tested, 150 works). From 0.2.5.1 the rules are the two limits above: the install folder at most 150 bytes in UTF-8 (also when WHIRL is started through a \\?\ path), the SSD cache folder at most 217 characters, longer ones are refused with a message. The old release text stays as it was.

Full list: CHANGELOG.md.

What's new in 0.2.5

No new feature; you run it exactly as 0.2.4 (same options, same server API, same model files), and precise output is bit-identical to 0.2.4, except for the requests that the fixes below change (the two Ornith chat-template details, an image read while the image encoder is streamed, fast-only environment settings).

  • Ten bug fixes, among them: stopping whirl-server with the RAM cache in use could end in an error; a continued conversation could be found only partly in the cache; long paths (SSD cache folders over 260 characters, starting through a \\?\ path) and Windows user names with non-English characters; a rare case where an image could be read incorrectly; two Ornith chat-template details; fast-only environment settings no longer leak into precise and balance.
  • Measured again against the then-latest official llama.cpp, b11960 (= v0.8.0), ROCm and Vulkan, on the same machine (the R9700 numbers of 0.2.5 are in the table at the top).
  • WHIRL is now fully modular: every part is a separate module with its own tests, and whirl.exe and whirl-server share one speculative-decoding loop.
  • Corrected mode descriptions in this README and the guides (balance and fast are accepted on task accuracy; KL is a regression guard).

Full list: CHANGELOG.md.

What's new in 0.2.0

  • Radeon 8060S (Ryzen AI Max+ 395) support, tuned: faster than llama.cpp ROCm and Vulkan at every measured prompt length on both models (tables above). Image input works on the 8060S, and the RAM and SSD cache tiers are on by default there (on Windows the BIOS VRAM carve-out and the OS RAM are separate pools, so a 128k-token session is restored from RAM or SSD instead of being prefilled again).
  • Three numerics modes: precise (bitwise lossless), balance (default, near-lossless), fast (opt-in, gated loss). See above.
  • Our MXFP4 models: Swift-1.5 27B MXFP4 and Ornith-1.5-35B-A3B MXFP4, quantized for WHIRL (why).
  • DFlash2 drafts, opt-in (--draft dflash --draft-model Qwen3.8-27B-DFlash2-Q8_0.gguf, drafter from Hugging Face incoai/Qwen3.8-27B-DFlash2-GGUF, not bundled): faster than MTP for one user with short or medium context and predictable output; slower with 4 users, at long context and on mostly-Chinese output; costs about 1.9 GiB of VRAM. Greedy output equals plain greedy decoding of the same mode.
  • SSD cache writes far less: by default it writes only reused sessions, when the server stops (or after about 5 minutes idle, or when RAM must evict them); a one-shot prompt is never written. The cache never exceeds --kv-ssd-gb (default 64 GiB) on disk, and files unused for 7 days are deleted.
  • A second question about the same long document reuses it: the server keeps a tail checkpoint, so it prefills only the new question (about 0.3k–1.3k tokens) instead of the whole document.
  • CLI and server give bit-identical output for the same prompt (same prefill schedule; two documented exceptions in kv-and-caching.md §7).

Full list: CHANGELOG.md.

Windows security prompts

whirl.exe and whirl-server.exe are not code-signed. Windows SmartScreen may show "Windows protected your PC" for a freshly downloaded copy: click More info → Run anyway, or run Unblock-File on the zip before extracting it (only for a zip from the official releases page, after checking its SHA-256). With Smart App Control set to On, Windows may block the programs without a "Run anyway" option. Details: windows_security.md.

Documentation

English 繁體中文
Quick start quickstart.md quickstart_zh-TW.md
Recipes: connect a client, long agent sessions, long context, several users, images, reading the log, troubleshooting recipes.md recipes_zh-TW.md
Usage reference (all commands, options, numerics modes, environment variables, exit codes) usage.md usage.md
Server (API, sampling, tool calls, batching, decode floor, logs) server.md server.md
Benchmarks vs llama.cpp benchmarks.md benchmarks.md
Windows security prompts windows_security.md windows_security_zh-TW.md
Advanced: building from source building.md building_zh-TW.md
Guide index index.md index.md
Architecture architecture.md architecture.md
Kernels kernels.md kernels.md
Speculative decoding (MTP + n-gram, DFlash2) speculative-decoding.md speculative-decoding.md
KV cache, prefix caching, tiers kv-and-caching.md kv-and-caching.md
Quantization and model files quantization.md quantization.md
Image input vision.md vision.md
HIP on Windows windows-hip.md windows-hip.md
Benchmarking methodology benchmarking.md benchmarking.md
Pitfalls (each with symptom → root cause → fix → check) pitfalls.md pitfalls.md

Design principles

  1. Built for AMD GPUs on Windows. A native Windows C++/HIP inference engine with hand-written, hand-tuned kernels for RDNA. No WSL, no Docker, no Linux VM: install the AMD driver and run.
  2. Fully open, kernels included. Everything from host-side scheduling to every GPU kernel is open source under Apache-2.0, with no closed binary components. Bug reports, benchmark results and code contributions are all welcome.
  3. Accuracy before speed. In the precise and balance modes every speedup (speculative decoding, batching, prefix caching, cache restore) gives the same tokens as plain greedy decoding of that mode (in balance, a conversation's next turn is numerically equivalent to a cold run, not bitwise, so its reply can differ), enforced by standing tests. Anything lossier is opt-in (--fast) and accepted on task accuracy (at least 95% of precise), with KL only as a regression guard.
  4. Few models, pushed to the limit. WHIRL targets specific models on specific hardware and pushes them close to the hardware limit, adding architectures one at a time. The architectures supported today are qwen35 (dense) and qwen35moe (mixture of experts).
  5. Transparent, verifiable numbers. Every figure is measured, with methods, commands and prompts published, including where WHIRL does not lead by much.
  6. Designed for real workflows. Coding agents and long contexts come first: fast long-prompt processing, a responsive main conversation while others share the GPU, and a VRAM → RAM → SSD cache that survives server restarts.

WHIRL follows the design philosophy of NInfer (Apache-2.0) — build for selected models and selected GPUs, as close to the hardware limit as possible; zynfer carried the same idea to RDNA 4.

Development and AI assistance

WHIRL was designed, implemented, optimized and benchmarked with the participation of Claude Opus 5.5, an AI model by Anthropic, working under the direction of the project owner (@tsaipifong). Anthropic is not affiliated with and does not endorse this project.

License and acknowledgements

Apache License 2.0; see LICENSE and NOTICE. Third-party material is listed in THIRD_PARTY_NOTICES.md, the origin of every source file in PROVENANCE.md.

  • NInfer — the design philosophy WHIRL follows (ideas only).
  • llama.cpp / ggml — used as the comparison baseline in our benchmarks and as the reference for GGUF and quantization-format compatibility; the few adapted pieces (tokenizer pre-split / BPE loop, lookup tables, image preprocessing) are MIT-licensed and listed in THIRD_PARTY_NOTICES.md.
  • gufo and r9700-stack — measurement methodology and optimization ideas.
  • Model authors: the Qwen team (Qwen3.8), ornith-ai (Ornith-1.5), and ukisai (Swift-1.5, the fine-tune our MXFP4 files are quantized from).

関連プロジェクトを探す

読み込み中…