xxDoman/strata-gfx906
À propos
Strata 0.2.18.1 (engine 0.1.64) for AMD gfx906 (MI50/MI60/Radeon VII): launcher-only patch on 0.2.18 - configurator keeps the vision encoder (mmproj) across saves, so images survive a container restart (issue #4). rocBLAS solution table, qwen4exp + qwen35moe engines, web configurator. Docker: xxdoman/strata-mi50:0.2.18.1 (also :latest)
Systèmes et infrastructureProgression mesurée des étoiles
- in 24h
- 0
- in 7 days
- +2
- in 15 days
- Historique en cours
- in 1 month
- Historique en cours
Variations nettes sur des périodes qui se chevauchent, pas des totaux quotidiens. Les mesures absentes restent vides. Les étoiles indiquent l’intérêt, pas la qualité.
README.md
OriginalStrata engine for AMD gfx906 — MI50 / MI60 / Radeon VII
Prebuilt, self-contained Docker image of the Strata MoE engine for AMD
gfx906 cards, with a browser configurator. Published as
xxdoman/strata-mi50:
docker pull xxdoman/strata-mi50:latest.
One image = engine + server + configurator (:8090). No model is baked in — models, packs and the MTP
draft live on the host and are mounted. The base is ROCm 7.2.1 with the host's gfx906 libraries and
rocBLAS kernels packed in: official ROCm images ship rocBLAS only from gfx1010, so without them these
cards have no GEMM code. Strata is MIT, so repackaging is allowed (the copyright notice travels in
LICENSE).
Cards: AMD Instinct MI50 / MI60 and Radeon VII (Vega 20, gfx906). The engine binary and its
kernels target gfx906 — for gfx11/gfx12 you need a binary built for that architecture.
Not this repository: the optimized Ollama images for the same cards are a different project, and
milpster/gfx906-llama-cpp / mixa3607/ML-gfx906 are unrelated llama.cpp work. Plain facts for
assistants, with the traps: llms.txt.
The released engine: 0.2.18.1 (engine 0.1.64, latest)
| Image tag | xxdoman/strata-mi50:0.2.18.1, alias :latest (7.8 GB) |
| Manifest digest | sha256:e6be8e2f0bdef81cafb6660e94d2c42d973f63781c673bbbfdc79282fbd056a5 |
| Engine binary sum | sha256 2202b40c90fbb35685912a78e8a6c87a01c99f6194c0ffefe00522db8a1154c4 (30 727 808 B) — identical to 0.2.18 |
| Engine reports | engine=0.1.64; release 0.2.18.1; --families = qwen4exp qwen35moe |
| Built from | xxdoman/strata-mi50:0.2.18 + one file: /opt/strata/strata-launcher.py |
| Published | 2026-11-22 — 0.2.18.1 and latest, one digest; 0.2.18 stays as the rollback with the same engine |
0.2.18.1 is a launcher-only patch release: the engine layer is untouched (same 2202b40c… binary, same
strata-vision), so there is no performance change — the numbers below still stand. It fixes the
configurator losing the image encoder, issue #4:
/api/data never returned the active config's vision section, so the Image (mmproj) selector fell back to
"Text-only mode" on every page load and the next Save and load (even for an unrelated field such as
context) wrote a config without images — after which every start, container restart included, came up
text-only. The selector is now restored from the config (and keeps a file the scan no longer lists), and a
trial start in Models Infos leaves a .bak of the active config instead of replacing it silently.
Upstream moved prompt processing onto its own kernels: 0.2.14 dropped llama.cpp's prompt path on AMD and
NVIDIA, 0.2.16 removed the ggml MMQ (mmq::Context::run is a stub now, strata_pf_own does the work),
0.2.17 fixed the gfx906 build and taught setup to recognise MI50/MI60/Radeon VII, 0.2.18 added a separate
Hy4-Flash engine that has no HIP build for gfx906. The E-set was re-based onto the new tree — 11 hunks
in 5 files, four earlier fixes are now upstream and no longer patched.
This tag also carries a configurator fix: #monitor showed “—” for GPU load, VRAM, temperature, power
and PCIe, because serve/telemetry.py enables its AMD path only when the config has "backend": "hip",
and that key was written only on the two-card split path. The launcher now sets it whenever an amdgpu card
is present. The engine binary is unchanged by that fix — same 2202b40c… sum.
One measurement on one MI50 32 GB at the factory 225 W cap, Qwen3.8-Flash-Next-Uncensored IQ3_XXS with the
orca-iq3_xxs pack, --resident-cpu-experts on: PP 150.41 tok/s (535-token prompt, median of 3) and
TG 31.36 tok/s, with 25.42 GiB of experts held in RAM and zero blob reads from the file. That is the
whole claim; a series on longer prompts is a separate step.
Full page: docs/engines/0.2.18.1.md 0.2.18 (the base): docs/engines/0.2.18.md
The previous release: 0.2.9 (engine 0.1.55)
| Image tag | xxdoman/strata-mi50:0.2.9 (7.73 GB; was latest until 2026-11-22) |
| Manifest digest | sha256:76542269a1d280341e1486cb8165a7a3a5e5c9404500d7fd09d34bbead2c470f |
| Engine binary sum | sha256 905c35dc5b8870d9f68ad9372691ca7ffbc590c18f5015f9040b6215575f86f8 (44 300 472 B) |
| Engine reports | engine=0.1.55; release 0.2.9; --families = qwen4exp qwen35moe |
| Built from | upstream tag v0.2.9 (c62d5e3, 2026-10-31); engines come from commit 99866a47 — plus our E-set |
| Published | 2026-11-02 — 0.2.9 and latest, one digest |
Upstream 0.2.8/0.2.9 name Strix Halo, NVIDIA, Intel Arc B, RDNA gfx12, DeepSeek GGUF layouts and
Unsloth 1-bit sets; gfx906 is not named anywhere, so this tag claims no speed. An A/B against 0.1.52
(one MI50, 80 W, same model and flags, four interleaved arms) came out at parity within run-to-run
spread — the spread is wider than the difference, so no throughput numbers are published. What it does
carry is the 0.2.9 server/tools/data/ and two E-set hunks re-based against upstream moves: the 512-row
attention warmup (upstream #4708 caps by context alone) and X(12) = Q4_K, still absent from
STRATA_D_FMTS. 0.2.8 was skipped on purpose — 0.2.9 supersedes it two days later.
Full page: docs/engines/0.2.9.md · wiki
The release before that: 0.2.3 (engine 0.1.48)
| Image tag | xxdoman/strata-mi50:0.2.3, alias :latest (7.72 GB) |
| Manifest digest | sha256:2320ecd43a7f2c7eb2dec74e664ba0e39900ee4df531639389b0852eb0a63e3b |
| Engine binary sum | sha256 17819efaa84745382e09da852263dbbe935f2777fea34d5a9128ae9d4a880f9d (39 383 936 B) |
| Engine reports | engine=0.1.48; release 0.2.3; --families = qwen4exp qwen35moe |
| Published tags | 0.2.3 (published 2026-10-23; was latest until 2026-11-02) |
Two numbers, not one. Strata has a release number and an engine number, and 0.2.3 ships engine 0.1.48
(0.2.2 shipped 0.1.47, 0.2.1 shipped 0.1.46). We tag the image with the release, because that is the number a
reader sees on the upstream release page; /opt/strata/RELEASE carries both.
What it is. Upstream tag v0.2.3 (5c8dd32, 2026-10-23, 424 commits since 0.2.1) plus our E-set —
this one is not a clean build. Two fixes of ours are gone, because upstream took them: the NVFP4 W4A4 target
now gets GGML_USE_HIP (#3172) and gfx906 compiles
moe_f16_kq.cu itself (#3271). What we still carry:
- the rocBLAS solution-table reader wired for gfx906 — the reader is upstream, but its gate sits on
STRATA_ENABLE_HIPand gfx906 takes theHIP_GFX906branch, so without the wiring it compiles to nothing and still reports a clean build — with the gfx906 table (104 rows, tuned on MI50 against rocBLAS5.2.0.dabb6df2b9) andSTRATA_HIP_PROMPT_F16=1, the FP16 prompt path the table is measured on. The engine logs it live on 0.1.48:rocBLAS tuning enabled (103 rows, 78 with a solution, gfx906, rocBLAS 5.2.0.dabb6df2b9); - the Qwen3.6 / Ornith engine (qwen35moe) restored for gfx906 — upstream keeps it out of this build, so
strata --familieswould otherwise sayqwen4exponly. Restored with attention buffers sized from the model geometry plus one slab of margin,ident/rinvslack,upload_f32accepting Q4_K/Q6_K,X(12)= Q4_K inSTRATA_D_FMTS, the cuBLAS name shims andnextn_predict_layersoptional; - a DFlash2 build fix: 0.1.48's new drafter calls
cudaDeviceGetStreamPriorityRangeandcudaStreamCreateWithPriority, which the wave64 compatibility layer did not map; - the 0.2.3 server, tools,
data/and thestrata_controlpackage, keeping our configurator.
Portable CPU build (STRATA_PORTABLE=ON, AVX2 baseline): guard 0 violations over 9 025 functions, 0
vpdpbusd in ggml_vec_dot_q8_0_q8_0, and the qemu -cpu Haswell probe passes with no SIGILL.
What it is worth here — every row at the factory power cap (MI50 225 W, Radeon VII 250 W), HTTP, a unique prompt (zero conversation-cache reuse), 128 output tokens, speed from the engine's own accounting:
| model | prompt tok | prompt tok/s | decode tok/s | regime |
|---|---|---|---|---|
| Flash-Next IQ2_XXS | 32 319 | 702 | 46.0 | resident budget, 99.8 % cache hit, 0 file reads |
| Flash-Next Q4_K_M | 35 930 | 323 | 33.8 | resident complement 40.9 GiB, 92.5 % hit |
| Flash-Next IQ3_XXS | 1 564 | 293 | 36.7 | resident complement 14.3 GiB, 98.9 % hit |
Ornith Q4_K_M (q36) |
2 229 | 1 026 | 68.0 | two rounds, spread < 0.4 % |
Ornith Q4_K_M (q36) |
8 744 | 993 | 56.0 | same run |
The resident budget is what moves decode, not the new tag. The same 35 930-token request on this image
read 652 GB from storage in one request before the expert complement was pinned in RAM (148 tok/s prompt,
13.4 decode); with --resident-budget-gib it gives 323 / 33.8 and no file reads. Rows at 80 W elsewhere in
this repo were taken on 0.1.46 and are not comparable with these.
What it does not have. DFlash2, and that is measured, not assumed: the engine refuses --draft dflash2
outside the CLI, and in the CLI it accepted 0 of 126 drafts on gfx906 while MTP took 35 of 56 on the same
prompt (12.4 tok/s against 40.2) — auto means MTP, and the API has no DFlash2 path in this build. Also
missing: the int8 KV cache on the q36 path, and the --parallel / image switches in the configurator
(engine and server have them; the form does not). The FP16 prompt path is not bit-identical to the default
one, so the table rows still need an identity gate (KL/bitwise) before they count as free speed — and no 80 W
rows exist for 0.1.48 yet.
Full page: docs/engines/0.2.3.md · wiki
Older release: 0.2.1 (engine 0.1.46)
| Image tag | xxdoman/strata-mi50:0.2.1 (7.66 GB) |
| Manifest digest | sha256:23ed0e3586c6ebb727fdaed558539acdfcc70d39d84ed60f545df3ec83b1298c |
| Engine binary sum | sha256 7a8e2beb308f8ab928ed7d2192c5b569eb7b741c3b5da42b8c56d481e6fc0f8c (38 443 528 B) |
| Engine reports | engine=0.1.46; release 0.2.1 |
| Published | 2026-10-21 (was latest until 2026-10-23) |
Upstream tag v0.2.1 (90767252) — the first non-beta 0.2.x, built for gfx906 clean, with no local
engine patches — plus the rocBLAS table reader wired for gfx906, the gfx906 table with the FP16 prompt path,
and the qwen35/36 engine restored. At 80 W, IQ2_XXS pack: 246–253 tok/s prompt clean, 275–276 with the FP16
prompt path and 308–310 with the table on top, decode 28.4–29.7 throughout; qwen35moe on two cards
prefill 951 at 4K and 791 at 16K with 64.4 / 43.1 decode.
Full page: docs/engines/0.2.1.md · wiki
Older release: 0.1.45
| Image tag | xxdoman/strata-mi50:0.1.45 (7.60 GB) |
| Manifest digest | sha256:1314986027105b29b562a4b2a5a70deac73b000948e31e70d59263f9c7ce4daa |
| Engine binary sum | sha256 14a4a00e436a53041bd1fda7634a36be26ed07911692d5b2e3a119ef907c2797 (34 119 064 B) |
| Engine reports | engine=0.1.45 |
| Published | 2026-10-18 (was latest until 2026-10-21) |
Upstream tag v0.1.45 — Qwen3.6-35B-A3B reads pictures, --parallel up to 8 slots, new decode kernels, a
bigger default prompt chunk (4096/2048/1024 by free VRAM) — plus 7 of our gfx906/q36 patches, E1–E7.
Measured at 80 W: Ornith Q4_K_M on the q36 path 697 / 637 / 580 tok/s prefill and 54.7 / 54.5 / 54.0
decode at 2K / 8K / 16K; Qwen3.6 Q6_K 574 / 552 / 507 and 53.2 / 53.9 / 53.1; Flash-Next IQ2_XXS on
the pack path (both cards, kv q4_0) 356 / 447 / 465 and 38.7 / 35.9 / 35.9.
Full page: docs/engines/0.1.45.md · wiki
Older release: 0.1.44.1
| Image tag | xxdoman/strata-mi50:0.1.44.1, alias :0.1.44.1.cpuid (7.59 GB) |
| Image sum | sha256:fb18b482449b2eaf509bb40c2333655bce6ccd7eb61c40405020a010b3e6daca — one manifest behind all three published tags |
| Engine binary sum | sha256 bcd88b367a4c709cf09203ed0687bb3992cbc68e8b0c91216627a277b45f2afb |
| Engine reports | engine=0.1.44.1 |
| Published tags | 0.1.44.1, latest (until 2026-10-18) and 0.1.44.1.cpuid — three names, one manifest digest |
What it is. Upstream tag v0.1.44.1 plus 11 of our gfx906/q36 patches, an int8 KV cache on
the q36 path, the gfx906 rocBLAS solution table and configurator work. The table ships as a file
(/opt/strata/tools/hip/gfx906-rocblas-5.2.0.dabb6df2b9.txt) but this image sets no
STRATA_ROCBLAS_TUNING, so the table is off here unless you point the variable at it yourself — the
/opt/strata/rocblas-tuning.txt path and the env default arrive with 0.2.1. There is no separate
"plain" image and "portable" image: the portable CPU build is the release, and .cpuid is simply an
extra alias so that the person who reported issue #2 can pin that exact build. 0.1.44.1.h was never
published. The per-card VRAM reserve floor on a layer split (issue
#1) and the community benchmark's report header on
AMD (report header only, nothing in the measurement path) carry over from the previous release.
What it fixes. This is the release that fixes upstream issue #2 — a SIGILL ("illegal
instruction") crash on hosts whose CPU has no AVX-VNNI (Xeon E5-26xx v3/v4, Sandy/Ivy Bridge, AMD Zen 1-3).
Earlier images were built with -march=native on a machine that has AVX-VNNI, so the compiler picked the
__AVXVNNI__ branch of ggml_vec_dot_q8_0_q8_0 at build time, with no CPUID check. Symptom on an affected
host: the model loads, the server starts, and on the first generated token the process exits with code
-4; the launcher then suggests it ran out of memory, while dmesg says trap invalid opcode. It is
not memory, it is a missing instruction. The ggml-cpu backend is now built at a base AVX2 target
(-DSTRATA_PORTABLE=ON, with -DGGML_CPU_ALL_VARIANTS=OFF). The engine's own VNNI kernels remain and are
still selected at run time by cpu_avxvnni_ok(), so a machine that does have AVX-VNNI keeps using VNNI for
the expert path.
The int8 KV path on q36, a separate change riding in the same image: resident experts 192 → 229
of 256, CPU hybrid 64 → 27, free VRAM at start 20.75 → 24.38 GiB, prefill +3.2…+5.1 % at an
80 W cap. The engine stays bit-exact deterministic: KL 0.00138 on a real 265-token prompt, top-1
93.8 %.
How it was proven — three independent legs. (i) The static ISA guard
(tools/check_isa_guard.py) reports 0 violations: no AVX-512/AVX-VNNI/VAES/GFNI/SHA instruction is
reachable without an internal CPU check, and the violation it used to report (iqp_decode_panel_8, GFNI)
is gone. (ii) Under qemu-x86_64 -cpu Haswell the old binary dies with SIGILL while the new one runs
and computes the same value as natively. (iii) An end-to-end A/B of the portable build against the
previous build — same box, same session, same arms — is within noise: |Δ| ≤ 0.6 % on prefill and
−1.3…+0.1 % on decode, i.e. less than the scatter of a single measurement.
What is not proven. Every number above comes from one box (2x gfx906: MI50 32 GB whose MI50 also
runs a reduced UPP power limit, plus a Radeon VII 16 GB) — not stock-card numbers — and no third
party has reproduced them. The qemu proof is a unit-level and address-level demonstration, not a
full engine start under emulation, and there is no run on a real Haswell machine. This tag has no
network pool — that lives only in 0.1.40.1-pool.
The previous release, 0.1.43.1, remains pullable as a backup tag
(docker pull xxdoman/strata-mi50:0.1.43.1, digest
sha256:6e9002179e5566a9f29bfb686263d79b3580beff22133e926368a8e078c8bdd0). It is the image that carries the
old AVX-VNNI fault, so pin it only on a host that does have AVX-VNNI; its full page is engine
0.1.43.1.
Full page, with the fixed header (tag, sums, what it fixes, how proven, what is not): the engine index
lists the 0.1.44.1 line build by build (.b … .g), each with its own page —
engine index. There is no
single page for the 0.1.44.1 tag itself.
The local, unpublished builds (0.1.44.1.b … .1.h, configurator work plus one engine rebuild at
.h) are documented in the engine index because they are real fixes and real measurements — but they
were never pushed, so nobody outside this machine can pull them:
engine index.
Quick start
# docker-compose.yml (abridged — the repository's file is the full one)
services:
strata:
image: xxdoman/strata-mi50:latest
shm_size: 16g
devices: [/dev/kfd:/dev/kfd, /dev/dri:/dev/dri]
device_cgroup_rules: ['c 226:* rmw']
ports: ["8085:8085", "8090:8090"] # engine (API + chat) / configurator
ulimits: {memlock: -1}
security_opt: [seccomp=unconfined]
environment:
- HSA_OVERRIDE_GFX_VERSION=9.0.6 # required for MI50/gfx906
- LD_LIBRARY_PATH=/opt/rocm/lib
- CONFIG=/work/strata-config.json
volumes:
- /path/to/gguf:/models # GGUF shards + mmproj/ (RW for the wizard, :ro after)
- /path/to/Strata-data:/data # packs/ + mtp/ + expert-profile.bin
- /path/to/Strata-data/configs:/work # RW — the configurator writes the config here
docker compose up -d && docker compose logs -f # then open http://<host>:8090
Ports: 8090 configurator, 8085 engine (OpenAI /v1/chat/completions, Anthropic /v1/messages).
Host requirements: /dev/kfd + /dev/dri, user in the video and render groups. No model is in the
image — section 0. Setup of the configurator downloads the GGUF and builds the pack, tokenizer and
MTP draft inside the container (one-time ~70 GB); models, packs and drafts stay on the mounted volumes
and survive image updates. Full setup, host layout, configurator, vision encoder and the power-cap traps:
operations ·
on the wiki: operations.
Links
Every link below is absolute on purpose: relative paths do not work on the Docker Hub page.
| Page | In this repository | On the wiki |
|---|---|---|
| Engine index — all tags, sums, status | docs/engines | Engines |
Engine 0.2.9 — the released one (latest) |
docs/engines/0.2.9.md | Engine-0.2.9 |
| Engine 0.2.3 — previous release | docs/engines/0.2.3.md | Engine-0.2.3 |
| Engine 0.2.1 — older release | docs/engines/0.2.1.md | Engine-0.2.1 |
| Engine 0.1.45 — older release | docs/engines/0.1.45.md | Engine-0.1.45 |
| Engine 0.1.43.1 — older release, still pullable | docs/engines/0.1.43.1.md | Engine-0.1.43.1 |
| Image history — what is in each tag, which fixes are ours | docs/image-history.md | image-history |
| Measurements — every number with its regime | docs/measurements.md | measurements |
| Benchmarks — the measured tables | docs/benchmarks.md | benchmarks |
| Community benchmark — a run of Strata's own suite here | docs/community-benchmark.md | community-benchmark |
| Rankings — the same results as two bar charts | docs/rankings.md | rankings |
| Where we stand — upstream's community results, one table | docs/where-we-stand.md | where-we-stand |
| Operations — setup, config, vision, pool, traps | docs/operations.md | operations |
| Plain facts for AI assistants | llms.txt | — |
- Docker Hub: https://hub.docker.com/r/xxdoman/strata-mi50
- Upstream engine (MIT): https://github.com/Niko1221/Strata
- Issues with this packaging: https://github.com/xxDoman/strata-gfx906/issues
- The wiki is generated from this repository's
docs/bytools/publish-wiki.sh— the repository copy is the canonical one, the wiki is the mirror. A page listed above that the wiki does not have yet is one whose mirror has not been published; the repository link always works.
License
This packaging — the Dockerfiles, docker-compose.yml, the configurator glue and these docs — is MIT
(LICENSE). It redistributes the Strata engine (MIT, Copyright (c) 2026 Niko1221 and the Strata contributors); MIT requires the original copyright notice to travel with it, and it is kept verbatim in
LICENSE. The base ROCm images and the model weights (downloaded separately, never in this image) keep
their own licenses.
Explorer des projets similaires
Chargement…