Skip to content
项目

jaedync/crucible-strix-halo

在 GitHub 查看

关于

Run Qwen3.8-Flash-Next on one AMD Strix Halo (Ryzen AI Max+ 395, gfx1151). EXL3 4.05 and 3.05 bpw packs, own ROCm/HIP kernels, OpenAI-compatible server, 4 sessions of 262K context, setup guide included.

人工智能与机器学习

这些数字如何统计

56 星标9 复刻 +3 24小时

可以做什么

  • Its own ROCm/HIP kernels in C++20.
  • Speculative decoding that is exact: the model checks every draft token, so only the speed changes.
  • A conversation cache in memory and on the SSD. A later turn pays only for its new tokens, also after a restart.
  • An OpenAI-compatible API with streaming, tool calls and image input, up to 8 sessions.

实测星标增长

24小时
+3
7天
+8
15天
+21
1个月
正在收集历史

各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。

README.md

原文

Crucible

An inference engine for one model on one machine: Qwen3.8-Flash-Next (EXL3) on AMD Strix Halo, a Ryzen AI Max+ 395 with 128 GB. Its OpenAI-compatible server gives local coding agents 4 sessions of 262,144 tokens.

Line chart: Cold prefill by context length, in tokens per second: 4.05 bpw from 1,978 at 32K to 1,753 at 250K; 3.05 bpw from 1,996 at 32K to 1,785 at 250K. v0.40.0, Nov 27 to 28, 2026. Line chart: Decode by context length, in tokens per second: 4.05 bpw from 65.4 at 32K to 63.6 at 250K; 3.05 bpw from 77.4 at 32K to 71.0 at 250K. v0.40.0, Nov 27 to 28, 2026.

One request at a time, default configuration, balanced power profile, v0.40.0 (Nov 27 to 28, 2026).

Install

One command. It downloads the release engine (about 25 MB) and checks its sha256.

curl -fsSL https://raw.githubusercontent.com/jaedync/crucible-strix-halo/main/install.sh | bash

Build from source. It takes about 16 minutes with the ROCm 7.2.4 compiler (steps).

git clone --branch v0.40.0 https://github.com/jaedync/crucible-strix-halo.git
cd crucible-strix-halo
./crucible setup

Setup checks the machine, downloads the model (about 107 GB), starts the server and sends a test request. Then send your own:

curl -sS http://127.0.0.1:8790/v1/chat/completions -H 'Content-Type: application/json' \
  -d '{"model":"crucible","messages":[{"role":"user","content":"Say hello."}]}'

Read more: setup guide · service · Docker · clients · updates

What you need

  • Machine: Ryzen AI Max+ 395 with Radeon 8060S (gfx1151) and 128 GB of memory, or 96 GB (3.05 pack only). Other machines are not supported.
  • System: Linux with Python 3.12 or newer, tested on Arch Linux.
  • ROCm: the release engine is built with ROCm 7.2.4. It runs on ROCm 10.1 (recommended) and on 7.2.4.
  • GPU memory: two kernel parameters let the GPU use system memory. Setup applies them after you type yes.
  • Disk: an SSD, about 110 GB for the model (125 GB for 4.18), and up to 200 GiB for the conversation cache.

Read more: step 1 and step 2 of the setup guide

Configurations

Setup installs the pack 4.05bpw_h6_ng6. --pack 3.05 installs 3.05bpw_h5_ng5, faster, lower quality. --pack 4.18 installs 4.18bpw_h6_ng8, 4.05 quality, slower, 128 GB only. ./crucible setup --layout NAME sets the sessions:

  • default: 4 sessions of 262,144 tokens.
  • long: 1 session of 524,288 tokens and 2 of 262,144.
  • two-long: 2 sessions of 524,288 tokens.

Each needs about 28 GB of GPU memory for the sessions. Up to 262,144 tokens, all three give the same tokens. A longer request uses YaRN. Measured in long:

long, 4.05 pack 250,000 tokens 490,000 tokens (YaRN)
Cold prompt: first token 142.6 s 326.9 s
Cold prompt: prefill 1,752.9 tok/s 1,495.5 tok/s
Decode, code 61.9 tok/s 65.6 tok/s

v0.40.0, measured Nov 28, 2026: 1 run, balanced power profile.

Read more: long context

Speed by release

Line chart: Cold prefill of a 32K prompt, by release, in tokens per second: 4.05 bpw from 1,741 at v0.30.0 to 1,972 at v0.40.0; 3.05 bpw from 1,843 at v0.30.0 to 1,982 at v0.40.0. Oct 31 to Nov 28, 2026.

Each release ran with the settings of its own time, balanced power profile.

v0.40.0 4.05 pack 3.05 pack
Cold 32K prompt: first token 15.9 s 15.7 s
Cold 130K prompt: first token 67.2 s 66.4 s
Same 32K prompt again: first token 0.009 s 0.009 s
Decode at 32K, 1 session, code 74.0 tok/s 77.7 tok/s
Decode at 32K, 1 session, prose 59.6 tok/s 63.6 tok/s
Decode, 4 sessions, total 115.2 tok/s 127.3 tok/s

v0.40.0, measured Nov 27, 2026: median of 6 texts (decode: mean, 3 runs a text), balanced power profile, default configuration.

The 4-session row uses warm prompts and the all-4 window. 4 sessions, one new 32K prompt: last first token after 17.4 s (was 79.5 s).

Method · History · Rivals · Development

Features

  • Its own ROCm/HIP kernels in C++20.
  • Speculative decoding that is exact: the model checks every draft token, so only the speed changes.
  • A conversation cache in memory and on the SSD. A later turn pays only for its new tokens, also after a restart.
  • An OpenAI-compatible API with streaming, tool calls and image input, up to 8 sessions.
  • One tool, ./crucible, for setup, checks, the service, updates with rollback, and removal.
  • Kiln, a dashboard and OpenAI-compatible gateway for Crucible.

Read more

  • Architecture, server guide and all documents.
  • Changelog: the changes and the known limits of each release.
  • Security and remote access. The server listens on 127.0.0.1 with no key and no TLS. A key is required for a public address, except in the Docker image.
  • Updates: once in 24 hours the server asks GitHub if a newer release exists. --no-update-check turns this off.

This is research software for one GPU architecture. It is not a production service.

Licenses

The engine uses Apache-2.0 (LICENSE, NOTICE). The model weights use other terms: the Qwen Community License 1.0, with more conditions for commercial use. Read the model license note before you download a pack. This repository does not include the weights.

探索相关项目

加载中…