Files
strata/docs
Niko1221 ec8e405909 batch groups: two NVIDIA cards pipeline by default; the serial group is opt-in (STRATA_BATCH_GROUPS_NV_SERIAL=1, STRATA_DEFAULTS=026)
0.2.1 made a layer split over exactly two NVIDIA cards with --batch and no --batch-groups run one serial group (measured
then on 2x RTX A4000, IQ3_XXS: +12..16%). With the 0.2.7 code the pipelined groups are faster at 2 and 4 streams on
every box and quant measured, so the default goes back to the pipeline.

Measured (tools/serve_load.py, --batch 4, 256 tokens per request, interleaved pairs, total tok/s, pipelined / serial):
- 2x RTX A6000, IQ3_S, all experts in VRAM: 1 stream 101.7 / 101.7; 2 streams 125.7 / 107.4 (+17%); 4 streams 171.4 / 141.0
  (+22%). The v0.2.6 binary on the same box: serial default 104.9 and 137.2, --batch-groups auto 124.6 and 169.6.
- 2x RTX A4000, Q2_0 pack (17037 of 24576 pairs cached, 4 clean pairs): 2 streams 80.2-82.5 / 75.0-75.5 (+7..9%, 4 of 4);
  4 streams 110.8-111.5 / 94.8-95.3 (+17%, 4 of 4); 1 stream 63.6-68.7 / 68.2-70.3.
- 2x RTX A4000, IQ3_XXS (13056 of 24576 pairs cached, 3 pairs): 2 streams 73.2-73.7 / 65.8-66.5 (+12%, 3 of 3); 4 streams
  100.5-100.7 / 82.9-83.6 (+20%, 3 of 3); 1 stream 58.4-60.5 / 60.7-62.6 (serial about 4% faster, 3 of 3).
The single stream runs on the solo path in both; only the A4000s show the 4%.

What changed: batch_groups.hpp has a pure rule nv_serial_wanted(env value, STRATA_DEFAULTS=026). STRATA_BATCH_GROUPS_NV_SERIAL
set to anything but 0 asks for the serial group, an explicit 0 wins over STRATA_DEFAULTS=026, and with the variable unset or
empty STRATA_DEFAULTS=026 gives v0.2.6's serial group. An explicit --batch-groups (a number or auto) still wins. Three or more
cards, AMD builds and --batch-mtp/--adapt-async handling are unchanged. The serial message names the opt-in.

Tests: batch_groups_test (the rule over the env values and 026, two cards pipeline, the existing serial cases). Real engine on
2x A6000 (IQ3_S), no --batch-groups: the engine says "2 groups of 2 slots" / "2 groups of 1 slot"; with 4 and 2 slots, greedy,
greedy+seeded sampled, slots finishing at different lengths and a cancel in the middle of a draft, every slot's tokens equal its
solo decode and the pipelined build's. A long-prompt slot differs from the pre-merge base build in the same way with the flag
and without it (it is the parent's prompt path, not this change).

Not covered: no run on AMD or on three cards; the 4% single-stream cost on the A4000s is measured on one box.
2026-10-27 04:17:17 +01:00
..

Strata guides

New here? Start with Install Strata. Download the one installer for your system (Windows, Linux or Mac), or install the Terminal with one line. Both use released engine packages. This documentation is for version 0.2.5.

Use Strata

I want to… Guide
Install or update Desktop app and Terminal
Choose a model and check memory Models and quantizations
Run DeepSeek V4.1-Flash (app and Terminal) DeepSeek V4.1-Flash
Start from the command line Terminal launch
Connect a coding tool Tool connections
Fix an install or startup problem Troubleshooting
Check privacy, downloads and network access Safety and privacy

Hardware

Use the guide for your GPU and operating system. Model and feature support can differ between backends.

Hardware Guide
NVIDIA RTX 20 / 30 / 40 / 50 Install
AMD Radeon (RX and AI PRO R9700) AMD / HIP
AMD Ryzen AI Max / Strix Halo Strix Halo, on Windows
Intel Arc on Linux Intel Arc
Apple Silicon Mac / Metal
More than one GPU Multiple GPUs
Two cards: one reads the prompt, one makes the answer (opt-in) Split serving
Older GPUs Experimental hardware

Developers and contributors

AI tools and media

Which instructions apply?

strata launch belongs to the installed Terminal. START-HERE.bat, SETUP.bat, UPDATE.bat and setup.sh belong to a source checkout. Raw engine commands are a third interface. Their flags are not interchangeable: Terminal launch uses --gpu and --vision on|off; source setup uses --gpus and --vision yes|no.

Release notes, design proposals and benchmark reports describe their named versions and machines. They remain available as historical evidence; use the guides above for a new installation. A published result on one GPU does not establish support or speed on every GPU.

Writing a guide page

  • Installation steps live in INSTALL.md, source steps in SOURCE_INSTALL.md. The public READMEs stay short.
  • Check command examples against the parser and filenames against the release assets.
  • A guide describes the current release. Version history, fixed bugs and superseded settings go in a closing History / older measurements section, in bench/results, or in the release notes. Do not mix them into instructions.

Every guide page has this shape:

Part Content
Title # Name of the task or topic
Purpose One to three lines: what the page is for and who it is for
Quick start or Steps The shortest working path, commands in code blocks
Details ## sections; option and flag lists as tables; short paragraphs
History / older measurements Optional, last. Dated numbers only

Label every measurement the same way, directly above the number or table:

Measured on: hardware (GPU, CPU, RAM), model or set, Strata version, workload.