Problem (KeyanHu-git, refs #2028, #2591): with STRATA_SPEC_PROB=1 the default --spec-min-p gate tests the token drawn from the draft head's distribution q, but the verifier still judged the draft against the unfiltered q and treated a failed gate as a plain sample from p. That shifts the output distribution: with p = (0.5, 0.5), q = (0.875, 0.125) and threshold 0.5 it emits (0.5625, 0.4375). Change: the gate is part of the proposal. Keep q's mass on the tokens that pass the gate without renormalising (mu); a draw that fails the gate becomes NULL. An offered token D is accepted with min(1, p(D)/mu(D)); a rejection and NULL draw from the normalised positive part of p - mu; a position with no attempted proposal is a plain sample from p. Serve and the CLI build the same packet (core/gated_proposal.hpp) and give it to the verifier explicitly (Verifier::set_spec_proposal, sample_tokens_proposal). The explicit call has no plain-p fallback: an invalid packet row is reported, not sampled around. STRATA_SPEC_PROB_GATE=top keeps its normalised-q rule. Default path (STRATA_SPEC_PROB unset): unchanged. mtp.prob() is false, so gated_proposal is false, the new draft-result argument is null, GatedDraftLimit does nothing, Verifier::run takes the old branch (set_spec_q clears the measure flag), and the sampler kernel's old instance is the old code with the new branches compiled out. Read hunk by hunk; no hunk runs a new branch or a new allocation per token. The default-identity model run is written as a gate script and not run yet. Port notes against the PR as submitted: - Unsupported combinations (parallel or multi-device decode, --lookup-chain, --adapt-swaps, PCIe share, --spec-min-p not finite, STRATA_SPEC_COST, DFlash2, STRATA_SPEC_T_CYCLE, --spec-corrupt, Metal) used to be an error that ended the request or the server. They now warn once and keep the older rule, so setting the variable never stops a run. --adapt-swaps 96 and the PCIe share are on by default, so the exact rule needs --lookup-chain 0 --adapt-swaps 0 --pcie-frac 0. - The lookup source of a probabilistic window is chosen by a copy of the policy fixed at the request start, without asking whether the MTP's first guess agrees. Learning from committed rounds inside a request is the policy commit of this series. - The CLI loop on the current tree has the out-of-memory window retry, DFlash2 and STRATA_SPEC_T_CYCLE; the gated path does not use the retry (a narrower window would change the room the packet was built for). Serve keeps merged first windows (STRATA_ADMIT_MERGE_FIRST) at their length. - docs/DETAILS.md: two short bullets instead of the PR's long paragraph (that paragraph no longer exists on this tree). bench/results and the PNGs are not ported. Tests: gated_proposal_test and spec_admission_test (default, pick, top, exact-top-only) pass on z440 (CPU, g++ 13) and on the owner PC (MSVC). On the owner PC's RTX 5070 (sm_120, MSVC build, synthetic data, no model) spec_proposal_parity, spec_verify_parity and sampler_parity (default, one-block and old-kernel configurations) pass. Also built: CUDA sm_86 on z440 and boston, SYCL on P1006 (engine and host tests). The Metal path is not built here. Not covered: a model-level distribution test (chi-square of the first tokens against plain sampling) and the identity run with the variable unset. Both are written as gate scripts (3416-spec-prob-dist.sh, 3416-default-identity.sh) and not run.
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.