Problem: a decode window's QSA select runs one CTA per query for the top-k (block_topk_wide_kernel past ~135K cells) and the warp-shuffle block scorer (block_scores_multi_kernel), in each QSA layer. Both grow linearly with the context: on one GP100 die at 300K cells a top-k call takes 0.39 ms with 1-5 SMs busy and a scores call 0.22 ms (two queries). At short contexts the same work is small and an extra kernel is pure overhead. Change: qsa_select.cu (inside !__HIPCC__ && STRATA_EXPERIMENTAL_SM60) gets block_topk_multi_* (six kernels over several CTAs per query, one per 2,048 blocks of capacity, at most 32, exchanging through caller scratch: no clusters, no spin waits, capturable) and block_scores_dx_kernel (the multi scorer's per-head sums built in registers as the same 32-leaf xor-butterfly tree, no __shfl_xor_sync, the tail block stays block_scores_tail_kernel's). New public qsa_topk_multi_scratch_ints, qsa_block_topk_long and qsa_block_scores_long forward to qsa_block_topk / qsa_block_scores outside the build gate or their conditions. verify.cpp keeps a second set of window graphs (exec_[sel_long_][T]) for windows that reach STRATA_SELECT_LONG_AT cells (default 65536); the choice is made before a capture and handed to the next stage of an overlapped layer split, capture_all captures both, pl_launch picks by the window's position. The ids and the score bits are the replaced kernels'. STRATA_TOPK_MULTI=0 and STRATA_SCORES_DX=0 turn either half off inside the long graphs. Review changes against the PR: in a build without the multi-CTA kernels STRATA_SELECT_LONG=1 now says so and is ignored (the PR would have kept two sets of graphs for nothing there); Metal gets stubs for the three new calls (the SYCL tree has its own verify.cpp and qsa_select copy). Default path: unset, select_long_on() is a cached false, topk_scratch_ is not allocated, sel_long_ stays 0, and every window uses exec_[0][T], the graph it used before; the index change is the only difference in verify.cpp. Merge note for f-027-gh-eng (#3702 evict_window_graph, not in this branch's base): its exec_ / exec_nr_ / launched_ accesses need the same [sel_long_] first index. Tests: src/kernels/qsa_select_long_parity.cpp (new; registered with STRATA_SCORES_DX=1 STRATA_TOPK_MULTI=1 in the SM60 test block, and a second case with STRATA_TOPK_MULTI_N=3; skips with 77 without the kernels) compares qsa_block_scores_long with qsa_block_scores (nq 1-8, n_bid 8 .. 131072, tail blocks of 0-3 cells, every block 0..n_bid memcmp) and qsa_block_topk_long with qsa_block_topk (nq 1-16, contexts 1,000 .. 524,288, random scores, all-equal scores and 7 distinct values for ties across CTAs, selected ids of every query; the multi scratch is junk-filled and must have been written). z440 (RTX A4000, sm_86, CUDA 13.0, gpu lock, build with -DSTRATA_EXPERIMENTAL_SM60=ON): "172 cases, 0 differ -> PASS" with one CTA per 2,048 blocks and with N=3. sm_60 compile of the whole tree (CUDA 12.9, P1004): exit 0. Not covered: no GP100 run here (the kernels' last word is the P100, and the speed claim). The contributor's numbers (four GP100 dies, every expert resident, --pipeline-windows 3: 400 tokens at 115K context 51.0 -> 52.5 tok/s, +2.9%; prompts below 64K unchanged; replies and state hashes equal on 15 requests) were not re-measured. The model gate is phaseA-tests/gh027/gates/3820-select-long.sh.
ed4b4db40: README, docs and icons) into f-026-rel; AGENTS.md keeps main's text with Version 0.2.6, engine 0.1.51; the installer names in the READMEs and docs are the 0.2.6 ones
Run powerful AI on your own computer.
Chat, code and work with images, locally.
Models · Install · Hardware · Tools · Help · Support
English · 简体ä¸ć–‡ · 日本語 · Deutsch · Français · Español · PortuguĂŞs
Free, open source, and yours to run. Use Strata on your desktop or with your favorite coding tools. No account needed.
Models
We recommend ISTA-DASLab first, then Unsloth and other providers, where a compatible model fits.
Qwen3.8-Flash-Next
| Provider | Choices |
|---|---|
| ISTA-DASLab · recommended | Q2_0, IQ2_XS, IQ3_XXS, IQ3_S. Coder: IQ1_M for coding. |
| Unsloth | UD-IQ4_XS, UD-Q4_K_XL, UD-Q5_K_XL, UD-Q6_K_XL, Q8_0 |
| Gyro · agentionai | Gyro-S, Gyro-M. Lower memory use but slower. |
| Other options | Swift 1.5, NVFP4, OrcaRouter |
Qwen3.6-35B-A3B
Unsloth: UD-Q4_K_XL, UD-Q6_K_XL, Q8_0. These are the currently documented packs for this model.
DeepSeekV4.1-Flash-1017
In the desktop app and the Terminal. What does not fit in memory is read from your SSD, so it needs a lot of free disk space.
| Set (IST-DAS) | Download | Free disk needed |
|---|---|---|
| 1.75 bpw | 239 GB | about 245 GB |
| 2.00 bpw | 257 GB | about 265 GB |
| 2.25 bpw | 274 GB | about 280 GB |
Runs on NVIDIA RTX 30, 40 and 50 series (Windows and Linux), AMD Radeon AI PRO R9700 (Linux), and AMD Ryzen AI Max — Strix Halo (Windows). Setup downloads the files and the DeepSeek engine, then starts the model.
strata launch --family deepseek41 --model ist-das-2.00bpw --plan
Measured with the 2.00 bpw set on Strata 0.2.5 (Strix Halo: 0.2.7). Output is the speed of the answer, prompt is how fast Strata reads your input.
| Hardware | Output | Prompt |
|---|---|---|
| RTX 5070 12 GB, 64 GB RAM | 4 to 6 tokens/s | about 110 tokens/s (4K) |
| RTX 3060 12 GB, 46 GB RAM | 9 to 11 tokens/s | about 155 tokens/s (4K) |
| 1x Radeon AI PRO R9700, 251 GB RAM | 21 to 25 tokens/s | 320 to 360 tokens/s (8K) |
| 4x Radeon AI PRO R9700 | 74 to 77 tokens/s | 400 to 450 tokens/s (8K) |
| Ryzen AI Max+ 395 (Strix Halo), 128 GB unified | 19 to 21 tokens/s (code), 11 (chat) | 87 tokens/s (4K), 125 tokens/s (8K) |
Not sure what fits? Choose a model for your computer.
Install
Desktop app
Download Strata for Windows, Linux or Mac →
Install the app, choose a model, and start chatting. There is one installer for each system. On first start the app downloads the engine for your graphics card. Help with the installer.
Files: Strata-0.2.6-windows-x64-setup.exe · Strata-0.2.6-linux-x86_64.AppImage · Strata-0.2.6-macos-arm64.dmg
Chat, files and a live preview in one window.
Terminal app
Prefer the terminal? Install Strata, then run strata launch.
Install commands
Linux / Mac
curl -fsSL https://github.com/Niko1221/Strata/releases/latest/download/install.sh -o install.sh && sh install.sh
Windows PowerShell
irm https://github.com/Niko1221/Strata/releases/latest/download/install.ps1 | iex
On Windows, open a new terminal afterwards. Then:
strata launch
Follow the prompts to download and start a model. Terminal guide.
Watch your model and hardware while it runs.
Build from source · Docker · Full install guide
Hardware
| Supported hardware | Guide |
|---|---|
| NVIDIA GeForce RTX 20 / 30 / 40 / 50 series | NVIDIA setup |
| AMD Radeon RX 7700 / 7800 / 7900, RX 9060 / 9070, AI PRO R9700 | AMD setup |
| AMD Radeon RX 6800 / 6900 · experimental | RX 6000 setup |
| Intel Arc · Linux | Intel setup |
| Apple Silicon · M1 or newer | Mac setup |
| AMD Ryzen AI Max · Strix Halo | Strix Halo setup |
Tools
Claude Code · Codex CLI · OpenCode · oh-my-pi · pi.dev · Hermes Agent · OpenClaw, and more through the OpenAI- and Anthropic-compatible APIs.
Run strata connect to see setup instructions for your tool. Connection guide.
Help
All guides · Troubleshooting · Report a bug · Benchmarks · How it works · Contribute
Support Strata
Help keep local AI open to everyone. A coffee helps fund development and testing on more hardware.
MIT license · Credits and model licenses · Privacy
For AI tools and automated readers: technical reference · setup instructions.
Sponsorships, hardware partnerships or collaborations: niko.veit@outlook.com.