Files
strata/docs
SanghunYun 2b13a44933 expert source: STRATA_RAM_ADAPT copies the incoming expert out of its stage buffer when it is still there, and moves up to 4 pairs a layer (#3060)
STRATA_RAM_ADAPT (opt-in, --serve, one GPU, needs --adapt-every) lets the resident RAM copy follow the conversation:
experts the windows keep routing to take the RAM places of unused experts of their layer. Each move re-read the incoming
expert from the file and a layer moved one pair per window, although the incoming expert was usually read for the window
before and its blob still sits in that read's stage buffer.

What changed:
- FileExpertSource::replace_resident_staged(layer, in, out): the same move as replace_resident, with the bytes copied out
  of the finished stage buffer of `in` (no file read). The copy runs under stage_mu_, so claim_stage cannot give the buffer
  to another blob meanwhile; it needs a non-busy buffer whose key is `in`, and returns false (nothing changed) otherwise,
  and the pair then goes the old way. The Foresight hold/unhold around the copy is the one install_resident uses.
- generate.cpp: a layer pairs up to 4 of its most routed outside experts with up to 4 of its least routed ones in the copy
  (outgoing count below 0.5, incoming 2 or more), largest difference first. A pair whose incoming expert is staged moves by
  copy; `n` now caps only the pairs that need a file read. The log line counts the moves and how many came out of a stage
  buffer (ram_staged()).
- docs/DETAILS.md: the RAM_ADAPT bullet in the low-RAM list in plain words and one row of the measured table (the author's
  numbers: RTX 3060, IQ2_XS and IQ3_XXS, 120 ShareGPT requests, 3 interleaved runs each).

Unset (the default) nothing runs: the block is guarded by ram_adapt_n > 0 as before. The weights moved are byte copies of the
same blob; which experts sit in RAM changes, as it already does with RAM_ADAPT, so greedy token ids may differ from run to
run once it is on. Changed from the PR: the DETAILS.md hunk was rewritten against the current, shorter bullet.

Tests: file_expert_source_test (new staged cases; the positive case needs unbuffered load and is skipped without it).
Not covered: no model run. Model gate written down: RTX 3060 ShareGPT replay =8 against =1.
2026-10-26 19:02: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.