Repository navigation
Stability, long-context reliability, opt-in Looped Qwen4 (T=3) sidecar support, Inkling 2 BasinKV, 2.66× faster Qwen4 QSA prefill, 18 community PRs, and clean full-platform rebuilds across all 13 packages (restoring all 10 AMD HIP prebuilts alongside Windows CUDA 13, Linux CUDA 13, and macOS Metal) — with 0 bytes diff to upstream strata core.
Highlights
- Clean Windows ABI rebuild + permanent build guards (#439, #448, #492): Eliminates the stale incremental
.objOptionsABI mismatch that broke Gemma 4 and Inkling 2 Mini inpoly.10Windows CUDA builds by adding link-time & runtime cross-TU ABI verification (verify_poly_engine_abi, ABI rev 2), forcing UTF-8 codepage + stale-dep detection insetup.py, and wipingbuild-polyby default inmake_poly_release.py. - Qwen4 80K+ multi-turn corruption & crash fix (#444): Fixes four interacting long-context bugs (
stage_/up_/ahead_stream races under VRAM shrink, BasinKVcap_override=64vstransfer_cap=8staging bounds, Q8 vs FP16attn_piece(), and NaN/-infrouter bounds). Verified live on RTX 4090 D (UD-Q4_K_XL,--basinkv --vram-reserve-mib 8192) across 13 turns to 106,524 tokens at flat 13,541 MiB VRAM, 0 crashes, 0!!!!, and exact NIAH recall. - Opt-in Looped Qwen4 sidecar support (
--loop-adapter,--loop-passes,--loopcd-hidden): Runs MIT-licensed 22.8 MiB zero-LoRA recurrence sidecars (sliderforthewin/Looped-Qwen4-35B-A3Bmlx/default_t3&sushi/default_t3) over frozenQwen4-35B-A3Bweights with pass-isolated GDN & QSA KV/indexer slots. Measured on RTX 4090 D (UD-IQ2_XS, 96 tokens):--loop-passes 1is 96/96 bit-exact with stock (+0 MiBVRAM);T=3runs at 115.9–119.2 tok/s (--no-draft) and 165.3 tok/s with default embedded MTP (82.6% acceptance, +422 MiB peak VRAM), matchingsushi,mlx,--no-draft, MTP, and--basinkv96/96 exact. Seedocs/research/looped_qwen4_rfc.md. - Major community speedups & features (18 PRs integrated):
- Inkling 2 opt-in
--basinkv(#435,@prajwal257, plus CUDA graph capture/replay scratch cleanup in7cef9524a), live-verified bit-exact on RTX 4070 & RTX 4090 D. - Qwen4 QSA 8-head register prefill kernel (#470,
@drakarah, 491,520/491,520 bit-exact) & Metalsimdgroup_matrixQSA batch rewrite (#476,@NightRain233). - Opt-in
--stage-next(#462,@drakarah, hardened in7cef9524a: 16/16 exact greedy parity, prompt 1,845 → 2,647.7 tok/s+43.5%under partial offload on RTX 4090 D), Linux--pin-workers(#486,@drakarah), Qwen4 GPU prompt row tables (#463,@drakarah), and AVX2 / AVX-VNNI 4-row bit-exact CPU quant kernels (#468, #487, #488,@drakarah). - Per-request
logit_biasinstrata-poly(#436) with hard exclusion (<= -100), soft biases, and safe all-ban fallback. - Opt-in
--basinkvfor Groot (qwen35moe) (#493) + automatic UMA iGPU--basinkvguard for AMDgfx1103/1150/1151/1152& UMA devices (#489). - RX 7800 XT (
gfx1101) hipBLASLt 100500 tuning table (#432,@sh17632, bundled in both Windows & Linuxrdna3packages).
- Inkling 2 opt-in
Fixed & Improved
- Hugging Face pinned revisions (#471, #446): Refreshed pinned SHAs for
unsloth/Qwen4-35B-A3B-GGUF(85a51187d937d87d799be9a10fa30732ee31432c) andLiquidAI/LFM2.5-24B-A2B-GGUF(d790f111166905bfb36a81e12a403701ac23a1ca), verified HTTP 200 across all pinned repos, with offline + opt-in live tests. - Sentinel
n_expertrouting OOB crash (#418, #483): Guarded degenerate/NaN router rows across CUDA/HIP/Metalroute_kernel(),moe_rows(),bell_ring*,bell_job*, andd_zslots_(+1 trailing zero slot). - Doorbell stream-sync abort & teardown safety (#419): Tracks queued doorbell rings accurately in
bell_pending_across graph replays anddirect_paths, serves pending rings insync_st(), and unwinds safely in~Engine()/~Inkling2()/~Qwen4(). - 32 GB RAM PLE warmer budget: Respects pending cold-expert RAM budget in
Engine::on_loaded()so the 11.52 GiB Qwen4 PLE shard doesn't cause paging thrash on 32 GB PCs. - Setup, Server & Mac improvements:
setup_mac.py --custom-ggufhonored (#414); Qwen4 custom GGUFmtp-*.ggufsidecar discovery across single & multi-shard splits (#481,@Rustandi);reasoning_effort: "xhigh"accepted for Qwen3.8 (#445,@phorel); lazy cold expert pool allocation when all experts fit in VRAM (#429,@NightRain233); Windows CI timing flakes fixed (#434, #461,@NightRain233). - Community benchmarks added: RTX A5000 Laptop Qwen4 DFlash2 vs MTP (#442,
@DonGlover), first physical AMD RX 9070 XT 16 GB HIP + BasinKV 8K–505K NIAH verification (#443,@shoeb0x), and RX 7900 XTX suite (#494,@dontaskmeformyname).
Verification & Scope
- Upstream boundary: 0 bytes diff across upstream
stratacore (engine/src/core,engine/src/program,engine/src/kernels,engine/include/strata/core,engine/include/strata/kernels). - Independent Red-Team Acceptance Gate:
UNCONDITIONAL GO (0 P0 / 0 P1)on commit7cef9524a(all 6 crafted untrusted safetensors/JSON exploits cleanly rejectedEXIT=1, live CUDA 13 & unit tests all green). - Pre-release real package E2E verification (using the exact archives below):
- Windows x64 CUDA 13 (
RTX 4070 Laptop 8 GB): Unpacked zip passedpoly_will_not_start(),strata-vision.exe --version, Gemma 4 26B-A4B (default /--no-graphs/--no-gpu-experts/ MTP 9/9, bit-exact), Inkling 2 Mini (default +--basinkv, 32/32 bit-exact), and Qwen3.6 35B-A3B (MTP 5/6). - Linux x64 CUDA 13 (
RTX 4090 D 24 GB): Unpacked tarball passedpoly_will_not_start(),strata-vision --version, and liveQwen4-35B-A3B-UD-IQ2_XSinference across default MTP,--no-draft, and--loop-adapter. - macOS arm64 Metal (
Apple M5 Ultra 256 GB): Unpacked tarball (all 12.metalshaders +strata-quant-common.h) passedstrata-vision --version,87/87 ctest, and liveQwen4-35B-A3B-UD-IQ2_XSMetal inference (118.59 tok/s, MTP 10/21). - AMD HIP (10 family packages: Windows ×5, Linux ×5, ROCm
10.2.0a20260930): All 10 archives cleanly rebuilt from7cef9524a, strictly< 2 GiB, withBUILD.json, bundled ROCm/CRT libs, hipBLASLt 100500 tuning tables (including newgfx1101inrdna3), zero missing PE/ELF dependencies (missing=[]/ldd missing=0), and isolated standalonestrata-poly --helpverified. Not re-executed on physical AMD GPU hardware for7cef9524a(priorpoly.10HIP + BasinKV binary was community-verified on physical RX 9070 XT in #443).
- Windows x64 CUDA 13 (
Ready-made engines (SHA-256)
Source commit: 7cef9524a6e938cc12a62da17e0380333938b05d (ENGINE+VISION: 2b4f42c548a8bd87, ENGINE_ONLY: e46c569f3d3b738d, VISION_ONLY: ff10911c24d92e04).
| Asset | Bytes | SHA-256 |
|---|---|---|
strata-poly-windows-x64-2b4f42c548a8bd87.zip |
90,339,077 | a15a184b385a1c84d26f7cbbe066ce39b2781100b4e61cc7a23bb6bc797c1b93 |
strata-poly-linux-x64-cuda13-2b4f42c548a8bd87.tar.gz |
90,280,748 | 3ba1593a6ade5b541ac0afa546e7a7c54a67d63c1f471b62cf97b7732b75d8d9 |
strata-poly-macos-arm64-2b4f42c548a8bd87.tar.gz |
1,646,518 | 157604ecf72d5e822255bc5097af78141c89e712855d2071847c1cf5c4a732aa |
strata-poly-windows-x64-hip-rdna4-e46c569f3d3b738d.zip |
531,826,717 | 7daf9d2769a4fd4068bbcabfe71dc456a1e46810f4ee75e966e19f4637038e50 |
strata-poly-windows-x64-hip-rdna3-e46c569f3d3b738d.zip |
207,918,471 | dd5fe1d6252721e6ae8fb90d89f3aa5945272fce47ba51d1a3dc483eba036698 |
strata-poly-windows-x64-hip-igpu-e46c569f3d3b738d.zip |
152,750,148 | b728b4c75044d424a0bc1552ca1564cf06b6894cda7d2f0edc8e3bf40ce57f25 |
strata-poly-windows-x64-hip-rdna2-e46c569f3d3b738d.zip |
161,866,619 | 1b16dd73bfc7b7045d4b17c2bc1d323e86b22f464ea047ef63c667d813b82297 |
strata-poly-windows-x64-hip-rdna1-e46c569f3d3b738d.zip |
137,360,030 | 5e11da5c5dcae9f9cb846caaa69dc723713a1fd61d20a54bf60e6e258888fe85 |
strata-poly-linux-x64-hip-rdna4-e46c569f3d3b738d.tar.gz |
548,328,869 | a6378c0fc3a69105d03f8823ccaaf05512b62b780d38e266866621e43d06f0a6 |
strata-poly-linux-x64-hip-rdna3-e46c569f3d3b738d.tar.gz |
223,976,838 | fef928d267c45805448dd67ad2b06131fb3bb412586afa1406e43812abc32e4f |
strata-poly-linux-x64-hip-igpu-e46c569f3d3b738d.tar.gz |
169,573,495 | 6cffa8ea685c3e52274a7aac418772000000691aba1e80cf3e5c4b06c85e22c9 |
strata-poly-linux-x64-hip-rdna2-e46c569f3d3b738d.tar.gz |
178,370,649 | 85d32559d35fb60f3038709908f4c9b4dc686bce48dfb37ffc28b5591cc3cb5d |
strata-poly-linux-x64-hip-rdna1-e46c569f3d3b738d.tar.gz |
154,181,620 | 528b7cdfae5912649c0c6975909f13b0c4466893d349d8edf15ddc749e370481 |
Credits
Huge thanks to everyone who contributed PRs, hardware measurements, bug reports, and research to v0.2.20-poly.11:
- Pull requests (18 integrated): @drakarah (#462, #463, #468, #470, #486, #487, #488), @NightRain233 (#429, #434, #461, #476), @prajwal257 (#435), @sh17632 (#432), @phorel (#445), @Rustandi (#481), @DonGlover (#442), @shoeb0x (#443), and @dontaskmeformyname (#494).
- Bug reports, feature requests & hardware reports: @fritskarl (#414), @destruxxted (#418), @myway880 (#419), @nalrava (#436), @KotPrezesOfficial (#439), @sdananjay (#444), @vxvx3001-oss (#446), @angelika3377 (#448), @cantonapplet (#471), @DarkReaperBoy (#483), @MikManenti (#489), @ar3in (#492), and @firetussin (#493).
- Upstream & open research: Strata (@Niko1221) for the core engine, server, and Terminal foundation; @jasontitus (
jasontitus/loopedqwen-next) andsliderforthewin(sliderforthewin/Looped-Qwen4-35B-A3B) for the open-channel Looped Qwen4 architecture and MIT-licensed sidecar weights.