Skip to content

About

C++ inference on AMD Strix Halo (one node or USB4 pair) and NVIDIA RTX PRO 6000. Engines for Qwen3.8-Flash-Next, Qwen3.8-27B, DeepSeek V4.1 Flash, GLM-5.3 Flash, Hy4-flash, MiniMax M3.1 Flash, MiniMax H3, MiniMax-H3-Image and Nemotron 3.5 Bolt E4B.

Topics

Resources

Stars

44 stars

Watchers

0 watching

Forks

Latest commit

 

History

5,357 Commits

Folders and files

Repository files navigation

Strix Halo engine lab

English · Español

Strix runs inference on one AMD Strix Halo node or two nodes linked by USB4, with optional NVIDIA RTX routes. Placement uses declared or measured memory and bandwidth. The device catalog includes a Gorgon Halo 192 GiB profile with adjustable rank budgets and bandwidth calibration pending. Device topology and rank placement. It runs Qwen3.8-Flash-Next, DeepSeek V4.1 Flash, MiniMax M3.1 Flash and GLM-5.3 Flash in production. Additional routes cover Qwen3.8-27B, Hy4-flash, Inkling 2 Mini, ERNIE 5.5 Flash Preview, Nemotron 3.5 Bolt E4B, MiniMax H3 (audio + video) and MiniMax-H3-Image (text to image). Models declare their forward pass, tensor roles, state and drafters as specifications on the shared core. Each generation path binds its model's drafter by default. Compatible assets and target verification determine whether a request can draft. The shared cohort decoder schedules independent request lanes and selects among the proposal arms a route binds. Model specifications · Cohort serving · KV state.

Qwen3.8-27B and Hy4-flash can split pair prefill by layer while keeping tensor-parallel decode. The shared low-precision contract binds storage formats and device capabilities to backend kernels. EXACT preserves the declared reference bits. FAST is the default production profile and enables gains that pass gate v2. Select --profile turbo to add the qualified TURBO gains. Each profile enables its levers automatically when their runtime guards pass. Individual lever switches only turn levers off. Pair prefill · Low-precision operations · Tiers and gate v2.

The adaptive depth and SCL options default to off. They use shared plans and model-declared settings. The default preserves each model's native depth, including Inkling 2 Mini's trained loop. Q-gate evaluates explicit quality modes against paired controls.

Results

The Strix Halo measurements use Ryzen AI Max+ 395 nodes with Radeon 8060S graphics, 128 GB per node and factory power limits. A pair uses two nodes linked by USB4. Each table identifies its measured build. See the methodology and performance ledger.

Strix Halo (HIP)

Single-request HTTP decode

Measured on 697e0a9296, 2026-11-30. FAST with default settings. One HTTP request (C1), up to 256 greedy output tokens, after warm-up. Decode rates exclude time to first token (TTFT). Each triplet follows the listed prompt lengths.

Model Hardware Content Drafting Prompt (tokens) Default (tok/s) Plain (tok/s)
DeepSeek V4.1 Flash USB4 pair Code DSpark 1,796 / 6,348 / 21,249 60.2 / 54.4 / 59.1 24.6 / 24.6 / 24.6
DeepSeek V4.1 Flash USB4 pair Prose DSpark 1,745 / 6,260 / 24,151 50.7 / 52.6 / 54.2 24.7 / 24.4 / 24.5
DeepSeek V4.1 Flash USB4 pair Chat DSpark 1,716 / 6,601 / 24,778 31.8 / 31.7† / 35.4 24.7 / 24.7† / 24.7
GLM-5.3 Flash USB4 pair Code MTP 1,695 / 6,062 / 19,829 42.6 / 38.5 / 39.3 25.9 / 25.5 / 25.2
GLM-5.3 Flash USB4 pair Prose MTP 1,813 / 6,377 / 24,390 45.7 / 41.2 / 42.9 25.8 / 25.5 / 25.1
GLM-5.3 Flash USB4 pair Chat MTP 1,781 / 6,717 / 25,017 39.5 / 36.5 / 32.8 25.9 / 25.5 / 25.2
MiniMax M3.1 Flash USB4 pair Code DSpark 1,879 / 6,281 / 20,385 28.1 / 29.3 / 24.1 26.9 / 29.0 / —
MiniMax M3.1 Flash USB4 pair Prose DSpark 1,877 / 6,294 / 23,731 39.0 / 27.2 / 26.1 28.0 / 27.2 / —
MiniMax M3.1 Flash USB4 pair Chat DSpark 1,852 / 6,635 / 24,360 27.7 / 23.2 / 22.3 25.6 / 23.3 / —
Qwen3.8-Flash-Next 1 node Code MTP 1,879 / 6,486 / 21,153 34.8 / 55.8 / 45.9 — / — / —
Qwen3.8-Flash-Next 1 node Prose MTP 1,951 / 6,631 / 25,155 42.2 / 51.6 / 39.6 — / — / —
Qwen3.8-Flash-Next 1 node Chat MTP 1,921 / 7,000 / 25,835 37.8 / 37.0 / 37.3 — / — / —
Inkling 2 Mini 1 node Code Auto 2,074 / 7,974 / 27,121 38.5 / 39.7 / 37.0 36.9 / 35.5 / 32.2
Inkling 2 Mini 1 node Prose Auto 2,030 / 7,180 / 27,498 43.1 / 42.8 / 40.5 36.9 / 35.6 / 32.1
Inkling 2 Mini 1 node Chat Auto 1,990 / 7,575 / 28,229 35.9 / 34.4 / 34.0 36.9 / 35.6 / 32.0
Nemotron 3.5 Bolt E4B 1 node Code MTP 1,998 / 7,036 / 23,454 — / — / 65.4 — / — / 35.5
Nemotron 3.5 Bolt E4B 1 node Prose MTP 1,872 / 6,534 / 24,856 132.4 / 119.3 / 99.9 72.7 / 65.0 / 63.2
Nemotron 3.5 Bolt E4B 1 node Chat MTP 1,849 / 6,902 / 25,535 71.9† / 63.4 / 44.2† 48.9† / 42.2 / 30.9†

† DeepSeek chat at 6,601 prompt tokens emitted 245 tokens. Nemotron chat at 1,849 / 25,535 prompt tokens emitted 228 / 245 tokens. The code prompts at 1,998 / 7,036 tokens ended after 120 / 12 output tokens. The plain arm used --draft off.

CLI decode

Measured on 697e0a9296, 2026-11-30. CLI in FAST with default settings, one request and up to 256 output tokens. Hy4 uses BASE as its reference. Prose prompts.

Model Hardware Drafting Prompt (tokens) Default (tok/s) Plain (tok/s)
Qwen3.8-Flash-Next 1 node MTP 2,048 / 8,192 / 32,500 40.6 / 48.0 / — 23.3 / 23.8 / 23.6
Qwen3.8-27B 1 node MTP 2,048 / 8,192 / 32,500 51.2 / 39.0 / 39.0 14.2 / 13.9 / 13.1
Hy4-flash 1 node Drafter 2,048 / 8,192 / 32,500 24.9 / 25.3 / 26.8 17.0 / 17.0 / 16.9

Measured on 42fd3c3f7e, 2026-11-30. CLI in FAST with default settings, one request and up to 128 output tokens. Hy4 uses BASE as its reference.

Model Hardware Drafting Prompt (tokens) Default (tok/s) Plain (tok/s)
Qwen3.8-27B 1 node MTP 2,048 / 8,192 36.6 / 38.0 14.2 / 13.9
Qwen3.8-27B USB4 pair MTP 2,048 / 8,192 43.8 / 42.1 —
Hy4-flash 1 node Drafter 2,048 / 8,192 23.9 / 24.1 17.0 / 17.0
Hy4-flash USB4 pair Drafter 2,048 / 8,192 31.1 / 28.6 —
GLM-5.3 Flash USB4 pair MTP 2,048 / 8,192 40.0 / 34.6 —
MiniMax M3.1 Flash USB4 pair DSpark 2,048 / 8,192 52.0 / 44.4 —

Pair-to-one-node scaling with default drafting, in prompt order. Qwen3.8-27B 1.20× / 1.11×. Hy4-flash 1.30× / 1.19×.

Strix Halo prefill

Measured on 42fd3c3f7e, 2026-11-30. FAST with default settings except where marked TURBO. Measured pairs used host-only USB4 transport with the 2bq layout. CLI rows at 32,500 tokens come from one run. HTTP runs discarded warm-up.

Model Hardware Route Profile Prompt (tokens) Prefill (tok/s)
Qwen3.8-Flash-Next 1 node CLI FAST 2,048 / 8,192 / 32,500 322.5 / 1,202.2 (varies) · 1,895.5 / 1,897.1 · 1,566.6
Qwen3.8-27B 1 node CLI FAST 2,048 / 8,192 / 32,500 707.2 / 646.5 / 557.7
Qwen3.8-27B USB4 pair CLI (TP2) FAST 2,048 / 8,192 / 32,500 908.0 / 1,057.4 / 968.5
Hy4-flash 1 node CLI FAST 2,048 / 8,192 / 32,500 822.3 / 782.3 / 735.5
Hy4-flash USB4 pair CLI (layers) FAST 2,048 / 8,192 / 32,500 818.0 / 1,354.1 / 1,326.3
DeepSeek V4.1 Flash USB4 pair CLI (TP2) FAST 2,048 / 8,192 / 32,500 785.7 / 1,681.7 / 1,522.3
GLM-5.3 Flash USB4 pair CLI (TP2) FAST 2,048 / 8,192 / 32,500 721.1 / 913.3 / 634.0
MiniMax M3.1 Flash USB4 pair CLI (TP2) FAST 2,048 / 8,192 / 32,500 319.0 / 720.1 / 720.7
ERNIE 5.5 Flash Preview USB4 pair CLI (layers) FAST 2,048 / 8,192 / 32,500 368.4 / 566.4 / 594.8
Nemotron 3.5 Bolt E4B 1 node CLI FAST 2,048 / 8,192 / 32,500 3,969.6 / 3,888.9 / 3,487.1
Gemma 4 path 1 node CLI FAST 2,048 / 8,192 5,068.3 / 4,950.7
Inkling 2 Mini 1 node HTTP FAST 2,280 / 9,116 / 35,170 1,859.6 / 2,251.9 / 1,920.9
Inkling 2 Mini 1 node HTTP TURBO 2,280 / 9,116 / 35,170 2,131.9 / 2,441.8 / 2,076.9
Qwen3.8-Flash-Next 1 node HTTP FAST 2,136 929.0
DeepSeek V4.1 Flash USB4 pair HTTP FAST 1,971 695.7
GLM-5.3 Flash USB4 pair HTTP FAST 2,037 698.0
MiniMax M3.1 Flash USB4 pair HTTP FAST 1,923 307.1
Nemotron 3.5 Bolt E4B 1 node HTTP FAST 2,118 3,634.9

Pair-to-one-node scaling in table prompt order. Qwen3.8-27B 1.28× / 1.64× / 1.74×. Hy4-flash 0.99× / 1.73× / 1.80×.

ERNIE used synthetic repeated-token prompts.

The Qwen Flash CLI row lists repeat values within each prompt length. At 2,048 tokens the rate varied with page-cache residency. Pair prefill requires a measurement on the admitted deployment.

Additional HIP results

Measured 2026-11-30 on HIP with the Strix Halo hardware and factory power limits above. Workloads and validation details.

Model or path Result Revision
Nemotron 3.5 Bolt E4B (Gemma 4 engine), FAST prefill 1.33× / 1.64× / 1.70× pair versus one node at 2,048 / 8,192 / 32,500 tokens. All output token IDs matched. 32002058e6
Inkling 2 Mini, EXACT prefill 1.53× / 1.54× pair versus one node at 9,116 / 35,170 tokens with the same chunk size. Token IDs and logits matched. 50bac8809f
GLM-5.3 Flash, KDA verify on a pair +3.3% MTP decode throughput, 40.24 → 41.59 tok/s at 2,048 prompt tokens in FAST. The KDA change preserves EXACT reduction order. a069b7a8ec
ERNIE 5.5 Flash Preview, EXACT pair decode 72.1 → 65.4 ms/token at 2K with opt-in --tp and drafting off. Prefill at 2K took 29.8 s with the layer split and 46.3 s with --tp. d05c49dba7
Paged long-context KV, HIP Identity PASS for paged reads and decode split widths through position 131,071. c53a627c10
Qwen3.8-27B, K/V-only prefill Identity PASS for the tested wide, narrow, flash attention and MTP paths. 2995761a3b
USB4 GPU-direct, size routing usb4gpu selects host staging through 64 KiB, two GPU rings through 1 MiB, host staging through its capacity, and mixed beyond. Applies when host staging exceeds 1 MiB. ce629ec233 (default), 42fd3c3f7e (A/B)

Strix Halo HTTP cohorts

Measured on 42fd3c3f7e, 2026-11-30. FAST with default settings. C denotes concurrent clients. Aggregate wall-clock tok/s include TTFT, with up to 128 output tokens per request after warm-up. Runs used short prompts and the listed slot settings.

Model Hardware Server C1 C2 C4 C8 C16
Qwen3.8-Flash-Next 1 node --http-batch 8 31.8 45.7 62.1 75.7 59.9
Inkling 2 Mini 1 node Auto slots, 8,192 context 29.4 31.5 38.0 44.3 50.6
Nemotron 3.5 Bolt E4B 1 node Cohort route 130.3 122.9 186.7 214.9 219.3
DeepSeek V4.1 Flash USB4 pair 8 slots, 8,192 context 37.5 44.7 48.9 67.0 67.4
GLM-5.3 Flash USB4 pair Cohort route 27.9 33.3 36.8 40.5 40.5
MiniMax M3.1 Flash USB4 pair 8 slots 20.4 29.4 41.8 57.6 58.3
ERNIE 5.5 Flash Preview USB4 pair 1 slot, serialized — — — 16.7 —

RTX PRO 6000 (CUDA)

Single-request HTTP decode

Measured on 697e0a9296, 2026-11-30. RTX PRO 6000, 522 W power limit. FAST with default settings, HTTP C1, one slot, 34,816-token context limit, and 256 greedy tokens per request after warm-up. Decode excludes TTFT. Inkling used the executable built at 4598ff4edc, with the same CUDA source as 697e0a9296. Qwen Flash used the GSQ-RCO-IQ3_S weight pack.

Model Content Drafting Prompt (tokens) Default (tok/s) Plain (tok/s)
Inkling 2 Mini Code Auto 2,074 / 7,974 / 27,121 87.6 / 88.7 / 61.0 88.4 / 78.3 / 56.9
Inkling 2 Mini Prose Auto 2,030 / 7,180 / 27,498 96.4 / 85.2 / 60.1 88.5 / 79.4 / 56.6
Inkling 2 Mini Chat Auto 1,990 / 7,575 / 28,229 90.7 / 80.7 / 58.9 88.6 / 78.8 / 55.8
Qwen3.8-Flash-Next Code MTP 1,879 / 6,486 / 21,153 134.1 / 127.9 / 130.2 90.9 / 93.5 / 94.7
Qwen3.8-Flash-Next Prose MTP 1,951 / 6,631 / 25,155 147.4 / 155.1 / 142.9 99.4 / 104.0 / 85.4
Qwen3.8-Flash-Next Chat MTP 1,921 / 7,000 / 25,835 138.9 / 128.7 / 121.4 92.0 / 88.3 / 80.3

Qwen3.8-27B CLI decode

Measured on 4598ff4edc, 2026-11-30. Qwen3.8-27B CLI on one RTX PRO 6000, 522 W power limit. FAST with default settings, one request, 129-token prompts and 256 greedy output tokens. Both MTP repeats matched serial output.

Content Serial (tok/s) Default MTP (tok/s)
Code 84.9 269.3 / 276.0
Prose 85.9 159.4 / 160.9
Reasoning 85.9 238.1 / 241.5

Measured on bfc66c472d, 2026-11-30. Qwen3.8-27B CLI C1 on one RTX PRO 6000 at 522 W, 256 output tokens. Cells with two values show repeats. Columns identify the measured modes.

Profile Content MTP + wide (tok/s) Serial (tok/s) MTP (tok/s)
FAST Code 287.25 / 288.62 — —
FAST Prose 171.07 / 171.48 — —
FAST Reasoning 267.44 / 267.81 — —
FAST JSON 590.77 / 595.22 84.36 399.02 / 397.74
FAST Edit 838.57 / 834.97 85.76 733.10 / 729.17
EXACT Code — 84.07 276.10 / 273.92
EXACT Prose — 86.79 159.76 / 162.83

Inkling 2 Mini CLI decode

Measured on bfc66c472d, 2026-11-30. Inkling 2 Mini CLI on one RTX PRO 6000 at 522 W. EXACT, one request and 256 greedy output tokens. The two repeats used STRIX_MOE_TAIL=1.

Content Prompt (tokens) Drafting on (tok/s) Drafting off (tok/s)
Code 656 178.6 / 178.5 102.6 / 102.4
Prose 42 117.1 / 117.5 122.3 / 122.0

RTX prefill

Measured on bfc66c472d, 2026-11-30. Qwen3.8-27B on one RTX PRO 6000 at 522 W. FAST4 CLI on the large prefill route. Last warm repeat.

Prompt (tokens) Prefill (tok/s) Time (s)
2,048 13,505.6 0.152
8,192 13,747.0 0.596
32,768 11,897.9 2.754

Measured on bfc66c472d, 2026-11-30. Qwen3.8-Flash-Next on one RTX PRO 6000 at 522 W. Warm FAST HTTP with four server slots and the GSQ-RCO-IQ3_S weight pack.

Prompt (tokens) Prefill (ms) Prefill (tok/s) Client TTFT (s)
2,048 457.3 4,478 0.490
8,192 1,427.8 5,738 1.458
32,768 5,603.8 5,847 5.663

Qwen Flash HTTP cohorts

Measured on bfc66c472d, 2026-11-30. Qwen3.8-Flash-Next, one RTX PRO 6000 at 522 W, HTTP with four slots, a 34,816-token context limit and up to 128 output tokens. Warm prose in each profile’s default route. C1 is the mean decode rate for 1,024-token prompts and C8 is the aggregate rate after the last client receives its first token.

Profile C1 (tok/s) C8 (tok/s)
EXACT 76.8 294.6
FAST 132.2 610.0
TURBO 138.4 611.2
Historical Strix Halo tier measurements

Historical results measured on 2026-11-25 on main at commit ca2de6ae8, on AMD Strix Halo (Ryzen AI Max+ 395, Radeon 8060S, 128 GB per node), one Release HIP build per node (GCC 15.2, HIP clang 24.0, ROCm 10.1, Linux 7.4 with the in-tree amdgpu). A pair is two nodes over USB4 and runs the same binary on both. Power limits are the node defaults; the GPU clock and power were sampled during every request: long prefills ran at 1,950–2,900 MHz and 120–150 W per node. The profile selected the levers, and every run printed its effective configuration. Prompts are real English text (a set of short documents plus a project document). Token counts differ by tokenizer and are shown per row. Each engine and tier was loaded once; "a / b" are two repeats on that resident server (or two CLI processes). Each long request started below 70 °C. A lower second value comes from one node holding a lower GPU clock after about two minutes of sustained load; the receipts show the clock per request. Decode is one request (B1), greedy, in the engine's default decode mode, 128 tokens after a short chat prompt unless noted. EXACT runs repeated the same ids; FAST and TURBO rows report what their profile prints (a qualification state or the FAST identities it applies). See methodology for measurement conditions.

Model Hardware Route Decode mode Profile Prompt (tokens) Decode (tok/s) Prefill (tok/s) Main
DeepSeek V4.1 Flash pair HTTP served DSpark (default) EXACT 1,971 / 7,994 / 30,975; decode after 344 57.2 / 57.7 2K 782 / 739, 8K 1,101 / 1,111, 32K 1,273 / 1,245 ca2de6ae8
DeepSeek V4.1 Flash pair HTTP served DSpark (default) FAST same 53.4 / 53.7 2K 969 / 922, 8K 1,425 / 1,588, 32K 1,689 / 1,708 ca2de6ae8
DeepSeek V4.1 Flash pair HTTP served DSpark (default) TURBO (= FAST levers) same — 8K 1,444 / 1,591, 32K 1,683 / 1,710 ca2de6ae8
MiniMax M3.1 Flash pair HTTP served plain EXACT 1,102 / 7,791 / 30,179; decode after 508 27.0 / 26.9 (after 1,102: 32.6 / 28.7) 1K 417 / 451, 8K 667 / 587, 32K 590 / 565 ca2de6ae8
MiniMax M3.1 Flash pair HTTP served plain FAST same 27.1 / 26.9 1K 415 / 457, 8K 709 / 660, 32K 640 / 611 ca2de6ae8
MiniMax M3.1 Flash pair HTTP served plain TURBO same 26.7 / 26.6 1K 422 / 459, 8K 709 / 662, 32K 674 / 624 ca2de6ae8
GLM-5.3 Flash pair HTTP served default EXACT 2,037 / 8,108 / 31,258; decode after 362 40.2 / 42.8 2K 531, 8K 629 / 604, 32K 578 / 552 ca2de6ae8
GLM-5.3 Flash pair HTTP served default FAST (exact prefill in this run) same 41.1 / 41.1 2K 530, 8K 628 / 596, 32K 568 / 545 ca2de6ae8
GLM-5.3 Flash pair HTTP served default TURBO (FP16 WMMA prefill) same 41.3 / 41.3 2K 718, 8K 949 / 941, 32K 879 / 854 ca2de6ae8
Qwen3.8-Flash-Next 1 node CLI plain (no MTP drafter bundle on our nodes) EXACT 2,048 / 8,192 / 32,500 20.6–22.1 2K 1,435, 8K 1,667 / 1,840, 32K 1,669 / 1,677 ca2de6ae8
Qwen3.8-Flash-Next 1 node CLI plain FAST same 21.6–21.9 2K 1,673, 8K 1,865 / 1,880, 32K 1,681 / 1,663 ca2de6ae8
Qwen3.8-Flash-Next 1 node CLI plain TURBO (= FAST levers) same 21.5–21.8 2K 1,188 (one run), 8K 1,915, 32K 1,665 ca2de6ae8
Qwen3.8-27B 1 node CLI MTP (default) EXACT 2,048 / 8,192 2K 35.2 / 35.3, 8K 25.8 / 25.0 2K 187–199, 8K 115–117 ca2de6ae8
Qwen3.8-27B 1 node CLI plain (--no-mtp) EXACT 2,048 / 8,192 2K 14.05, 8K 13.22 2K 195, 8K 121 ca2de6ae8
Qwen3.8-27B 1 node CLI MTP (default) FAST (TURBO = FAST) 2,048 / 8,192 2K 35.2, 8K 25.0–25.1 2K 188–196, 8K 115–117 ca2de6ae8
Qwen3.8-27B pair (TP) CLI MTP (default) EXACT / FAST 2,048 45.4 / 45.5 — ca2de6ae8
Qwen3.8-27B pair (TP) CLI plain EXACT 2,048 20.22 — ca2de6ae8
Hy4-flash pair (layer split) CLI plain FAST (the pair always runs a batched prompt) 4,096 / 8,192 / 32,500 12.3–14.0 4K 1,265 / 1,216, 8K 1,327 / 1,387, 32K 1,328 (one run) ca2de6ae8
Hy4-flash pair (TP) CLI plain FAST / exact 1,024 22.64 / 22.42 — ca2de6ae8
Inkling 2 Mini 1 node HTTP served plain EXACT 2,280 / 9,116 / 35,170; decode after 396 23.6 / 23.6 (after 35,170: 20.9) 2K 591 / 591, 8K 601 / 595, 32K 578 / 568 ca2de6ae8

For route-specific qualification, see cohort serving and KV precision.

Different hardware

The deployment planner budgets measured device memory for the requested KV context, workspace and supported weight formats/topologies before loading. See deployment on different hardware for inspection, TOML examples, orchestrator APIs and current integration limits, including pending INT4 runtimes.

Quick start

strix-serve --model NAME starts the configured server. Use strix run --model NAME for CLI generation. Use --profile exact for the bitwise reference or --profile turbo for the TURBO set. TURBO inherits the FAST levers. Qwen3.8-27B HIP decode CLIs select Int8G16 KV in FAST. The incoming HIP TURBO option selects Int4G16 and can be overridden with --kv int8 or --kv bf16. Dense Qwen CUDA selects E4M3 KV in admitted TURBO regimes and has separate READY four-bit options. DeepSeek keeps its model-defined KV in every tier. KV defaults and qualification.

For the short commands, put the local asset and launch arguments in launch/NAME.toml in your working directory. Use one file per model on each node. The paths in the file are relative to the working directory.

# launch/qwen3.8-flash-next.toml
[serve]
asset = "MODEL.gguf"

[run]
asset = "MODEL.gguf"
args = ["--prompt-ids", "prompt.ids", "--generate", "256"]

An optional backend = "hip" or backend = "cuda" selects a backend. For a pair, put the rank and transport options in args on each node. Alternatively, supply the asset and native arguments on the command line as shown below. Add --print-effective-config before -- to print the selected lever column, weight formats, KV policy and drafter declaration, then exit. When an asset is configured or supplied, the native resolver also prints its effective settings using the startup inputs it has.

Model Device Serve CLI
Qwen3.8 Flash Next Strix, one node strix-serve --model qwen3.8-flash-next --profile fast --asset MODEL.gguf -- --prompt-ids calibration.ids --generate 64 (calibration prompt) strix run qwen3.8-flash-next --profile fast --asset MODEL.gguf -- --prompt-ids prompt.ids --generate 256
Qwen3.8 Flash Next Strix pair Pair CLI strix run qwen3.8-flash-next --profile fast --asset MODEL.gguf -- --prompt-ids prompt.ids --generate 256 --deploy deploy.toml --rank R --transport usb4auto
Qwen3.8 Flash Next RTX, Windows strix-serve --model qwen3.8-flash-next --profile fast --backend cuda --asset MODEL.gguf -- --tables TABLES --rope-table rope_cs.bin —
Qwen3.8-27B Strix, one node — strix run qwen3.8-27b --profile fast --asset MODEL.gguf -- --prompt-ids @prompt.ids --gen 256
Qwen3.8-27B Strix pair — strix run qwen3.8-27b --profile fast --asset MODEL.gguf -- --prompt-ids @prompt.ids --gen 256 --tp-rank R --tp-transport usb4auto
Qwen3.8-27B RTX, Windows — strix run qwen3.8-27b --profile fast --backend cuda --asset MODEL.gguf -- --prompt-ids IDS --n-gen 256
DeepSeek V4.1 Flash Strix pair strix-serve --model deepseek-v4.1-flash --profile fast --asset MODEL.gguf -- --rank R --transport usb4auto strix run deepseek-v4.1-flash --profile fast --asset MODEL.gguf -- --rank R --transport usb4auto
DeepSeek V4.1 Flash RTX, Windows Imported-state worker strix run deepseek-v4.1-flash --profile fast --backend cuda --asset MODEL.gguf -- --receipt RECEIPT.json --import-state STATE.bin --ref GREEDY.log
MiniMax M3.1 Flash Strix pair strix-serve --model minimax-m3.1-flash --profile fast --asset MODEL_DIR -- --rank R --transport usb4-auto strix run minimax-m3.1-flash --profile fast --asset MODEL_DIR -- R usb4-auto OUTPUT_DIR
GLM-5.3 Flash Strix pair strix-serve --model glm-5.3-flash --profile fast --asset MODEL_DIR -- --world 2 --rank R --transport usb4-auto strix run glm-5.3-flash --profile fast --asset MODEL_DIR -- --world 2 --rank R --transport usb4-auto --prompt PROMPT.u32 --decode 64
Nemotron 3.5 Bolt E4B Strix, one node strix-serve --model nemotron-3.5-bolt-e4b --profile fast --asset MODEL.gguf -- --rope-tables TABLES --tokenizer tokenizer.json strix run nemotron-3.5-bolt-e4b --profile fast --asset MODEL.gguf -- --rope-tables TABLES --ids prompt.ids --max-tokens 256
Hy4 Flash Strix, one node Host inspection strix run hy4-flash --profile fast --asset PART1.gguf -- PART2.gguf --ids-file prompt.ids --gen 256
Hy4 Flash Strix pair Host inspection strix run hy4-flash --profile fast --asset PART1.gguf -- PART2.gguf --ids-file prompt.ids --gen 256 --rank R --transport usb4auto

Run pair commands on both nodes and substitute 0 and 1 for R. The Qwen Flash Next pair command uses a deployment file declaring a pipeline. Dashes indicate unavailable launcher routes. Hy4 CLI receipts use BASE as the device reference. Required build targets and sidecar assets are listed in the engine guides. Getting started

Native build and launch

One node. You need the ROCm toolchain, the model GGUF and a prompt.ids file from the tokenizer.

git clone https://github.com/hyukudan/strix-halo-engine-lab.git
cd strix-halo-engine-lab
export PATH=/opt/rocm/core-10.1/bin:$PATH
cmake -S . -B build -G Ninja -DCMAKE_BUILD_TYPE=Release \
  -DCMAKE_HIP_ARCHITECTURES=gfx1151 \
  -DCMAKE_HIP_COMPILER=/opt/rocm/core-10.1/bin/amdclang++ \
  -DSTRIX_ENABLE_HIP_RUNTIME=ON \
  -DSTRIX_ENABLE_EXPERIMENTAL_Q4K_A8_RUNTIME=ON \
  -DSTRIX_BUILD_EXPERIMENTAL_Q4K_A8_PROBE=ON \
  -DSTRIX_USE_OPENSSL_SHA256=ON -DBUILD_TESTING=ON
ninja -C build strix-hip-decode-token
./build/strix-hip-decode-token Qwen3.8-Flash-Next-UD-Q4_K_XL.gguf $(cat prompt.ids) --generate 256

The run prints a JSON receipt with token IDs and timing. Add --print-effective-config to see the resolved configuration before any device work. With the drafter bundle beside the model this command decodes with exact MTP speculation; without it, or with --no-mtp / STRIX_MTP=0, it decodes the same tokens one at a time.

Pair (DeepSeek). Two nodes with 128 GB each and two USB4 cables. Run on both nodes, with --rank 1 and the other address on the second one:

scripts/pair/ds41-pair init --rank 0 --peer user@node-b --model-dir /path/to/models
scripts/pair/ds41-pair check && scripts/pair/ds41-pair driver && scripts/pair/ds41-pair build && scripts/pair/ds41-pair fetch
scripts/pair/ds41-pair run --both    # rank 0 only
scripts/pair/ds41-pair smoke         # rank 0 only

The script prints root steps and never runs them silently. Details: pair setup. Every engine's build and launch command: getting started.

Model matrix

fast selects qualified options for the regime. quality uses a higher-precision pack where one exists.

Model Single / pair Profiles Memory Weights
Qwen3.8-Flash-Next (UD-Q4_K_XL) single, two replicas behind a router or opt-in pair prefill MTP with drafter bundle; automatic prefill; fast 111 GB weights on a 128 GB node UD-Q4_K_XL GGUF (mirror of unsloth, read as published); distilled Q8_0 MTP draft head
Qwen3.8-27B (IU4 GGUF) single or TP pair, opt-in HIP build FAST model preset, EXACT reference, route-specific TURBO 128 GB per node GGUF contract
Hy4-flash (Q4_K_M GGUF) single or USB4 pair, experimental HIP build FAST default; BASE reference 128 GB per node two-part GGUF
DeepSeek V4.1 Flash (2-bit experts, 6.5-bit trellis dense) pair over USB4 FAST model preset, EXACT reference 2 x 128 GB expert GGUF, dense overlay, trellis packs
MiniMax M3.1 Flash (EXL3 3.06 bpw) pair TP2 FAST model preset, EXACT reference 2 x 128 GB EXL3 3.06 bpw (mirror of Mia-AiLab, with our EXL3 draft); draft source
GLM-5.3 Flash (EXL3 4.05 bpw) pair TP2 FAST model preset, EXACT reference, TURBO with admitted WMMA prefill 2 x 128 GB EXL3 4.05 bpw (mirror of turboderp)
Inkling 2 Mini single HIP or CUDA, or served replicas EXACT model preset, FAST and TURBO by regime Budget at load Checkpoint and route details
ERNIE 5.5 Flash Preview HIP pair EXACT model preset, automatic admitted drafting Budget per rank Pair and assets
Nemotron 3.5 Bolt E4B (Q4_K_M; EXL3 for quality) single, opt-in build; opt-in pair prefill (STRIX_G4_PAIR=1) exact default; fast; quality 128 GB per node official Q4_K_M GGUF (not mirrored by us); EXL3 pack; MTP drafter
MiniMax H3 (audio + video) single or pair, opt-in build dense reference; FAST levers each with its own flag 128 GB per node not published by us; upstream Comfy-Org/MiniMax-H3 (files)
MiniMax-H3-Image (int8 or W4A8) single or pair (strix-h3-image), opt-in build GPU VAE; --parallel sequence for one image, request for several 128 GB per node not published by us; upstream Comfy-Org/MiniMax-H3-Image

Our weights on Hugging Face: huggingface.co/hyukudan. Mirrors keep the upstream files; revisions, file names and licenses: models and provenance.

Optional RTX PRO 6000 (96 GB) routes: DeepSeek standalone, DeepSeek RTX + pair, Qwen prefill offload, Qwen serve and GLM on one card (draft). See using a discrete GPU.

Every switch, its default and when other hardware wants a different value: toggles. Optional quality levers (off by default, EXACT unchanged): adaptive depth and selective lookahead.

Image input

DeepSeek V4.1 on the two-node pair accepts images in OpenAI-style chat completions. Add an image_url part to a user message. It is off by default: start the server with --vision <vision GGUF> on rank 0, together with --prefill-path device.

curl http://localhost:8080/v1/chat/completions -H 'Content-Type: application/json' -d '{
  "messages": [{"role": "user", "content": [
    {"type": "text", "text": "Describe this image."},
    {"type": "image_url", "image_url": {"url": "data:image/png;base64,..."}}]}]}'

Limits: PNG and JPEG only; images over the row budget, video, and image requests with session_id are refused. Other models do not take images yet. Details: image input.

How it works

  • One shared kernel core: GGUF and EXL3 readers, quantized matrix kernels, attention, the memory planner and the receipts. The core knows no model.
  • Each model family is a module with its own contract, layer walk, plan and gates (model families).
  • The engine picks kernels by the number of rows in flight. One-row decode reads the smallest weights. Wide verify and prefill use the matrix-core and integer paths (regime rule).
  • Verified speculation includes a per-regime drafter selector on eligible routes. See the drafter selector and tier defaults.
  • The pair uses direct USB4 for tensor parallelism (TP2) or a layer pipeline depending on the engine (pair).
  • Every default has a measured gain and an off switch (optimizations).
  • Adding a model: docs/engine/adding-a-model.md.
  • Map of the shared cores and which model uses each: docs/engine/shared-cores.md.

Documentation

Topic Docs
Start getting started · engine reference · reproduce
Models Qwen Flash-Next · Qwen 27B · Hy4-flash · DeepSeek · MiniMax · GLM · Nemotron · MiniMax H3 · families
Pair and serving pair · pair setup · serving · discrete GPU
Switches toggles · optimizations (JSON)
Numbers performance · measured gains · methodology
Internals architecture · shared cores · decision register · implementation status · sources
Index full documentation index · AGENTS.md

Related repositories

  • strix-halo-usb4-driver: the Linux patch series that turns the Strix Halo USB4 controllers into the direct link between the two nodes.
  • strix-trellis: the trellis-quantization (EXL3-style) library used for DeepSeek's dense weights and MiniMax inference.
  • TensorMeld: placement and routing across nodes and GPUs; its router serves the Qwen replicas.
  • tierstream: tiered expert streaming across VRAM, pinned host memory and NVMe used by the standalone DeepSeek RTX route.

License

The engine source is licensed under the Apache License 2.0, except the Linux kernel module under lab/direct_gpu_stream/kernel/, which is GPL-2.0-only as Linux kernel code must be (its license texts are kept in that directory). Code adopted from other projects keeps its original license and notices. Model weights are distributed under their own licenses. Built with MiniMax M3.1-Flash; its model license is non-commercial by default. Preserve model and conversion notices and review the applicable terms. Third-party references used for formats and model semantics are listed with their licenses in docs/reference/sources-ledger.md.

About

C++ inference on AMD Strix Halo (one node or USB4 pair) and NVIDIA RTX PRO 6000. Engines for Qwen3.8-Flash-Next, Qwen3.8-27B, DeepSeek V4.1 Flash, GLM-5.3 Flash, Hy4-flash, MiniMax M3.1 Flash, MiniMax H3, MiniMax-H3-Image and Nemotron 3.5 Bolt E4B.

Topics

Resources

Stars

44 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages