Files
strata/docs
SuperDistance a3bb38ec45 batch-groups: opt-in adaptive-tier rounds in the pipelined loop, STRATA_PIPE_ADAPT_EVERY (#4010)
With --batch-groups above 1 on a layer split the pipelined batch loop never starts a round of the adaptive VRAM tier (the
serial batch windows start one every --adapt-every windows). While the slots are busy the tier only moves when they go back
to the solo path, so a fresh engine keeps its start-up profile for minutes.

STRATA_PIPE_ADAPT_EVERY=N (opt-in; unset, 0 or not a number is off): after N group windows pump starts no new group on the
first stage, lets the groups in flight finish, then runs one round as batch_step does between serial windows, adapt() and
apply_pending(true), so nothing in flight reads a cache slot while experts swap and the new experts have landed before the
next launch. Not while a prompt is read beside the slots (in_prompt_read, its loan of cache slots), not with --adapt-async,
not while the last round's copies are in flight, not with the tier off. The rule is two pure functions in
include/strata/program/batch_groups.hpp (pipe_adapt_every, pipe_adapt_due) with 12 new cases in batch_groups_test. With the
switch set the engine says so once at start and the "strata batch (pipelined ...)" line adds the rounds, the experts
swapped in and the time spent. docs/BATCHING.md documents the switch with the author's table (2x RTX 5090, six streams,
309 to 410 rows/s over eight bursts after a fresh start, two engines per setting).

Reviewed: unset costs one counter increment per group window and one false check where a group starts, and prints no new
line. A due round cannot wait forever: no new group starts, the groups in flight finish, then the round runs. A prompt read
sets in_prompt_read before the reader thread starts (including STRATA_PIPED_CONCURRENT) and clears it after the reader
joined; the drain after the read runs the round if it is due.

Tests: batch_groups_test (the new cases). Not covered and still the author's to show (the PR is a draft): a soak with
prompts read beside the slots, a Linux run, another GPU pair, more than two stages, and exactness settings with the switch
set. The model gate is written down.
2026-10-26 19:03:48 +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
Intel Arc on Linux Intel Arc
Apple Silicon Mac / Metal
More than one GPU Multiple GPUs
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.