Merge f-020-docs2 into f-020-int (0.2.0 release wiring and docs)
This commit is contained in:
commit
e46be1fe0a
16 files changed
+315
-79
No files matched your search
@@ -77,11 +77,16 @@ Please do not send API keys.
|
||||
WHAT WE TESTED AND WHAT WE DID NOT
|
||||
----------------------------------
|
||||
* NOT TESTED by us on any RDNA3 card (RX 7000 series): we have no such card. The engine and the libraries inside contain code for gfx1100, gfx1101 and
|
||||
gfx1102 (we checked the files), but it has never run on real hardware. Expect problems; every report helps. This is the most important thing to know.
|
||||
gfx1102 (we checked the files), but this packaged build has never run on real hardware. Earlier engines built from source were run by community
|
||||
members on an RX 7900 XTX and an RX 7800 XT (see docs/AMD_HIP.md in the Strata repository), which is why we expect it to work. Expect problems; every
|
||||
report helps. This is the most important thing to know.
|
||||
* The same program was tested on an RDNA4 card (AMD Radeon AI PRO R9700) under Ubuntu 24.04: it loads a model, answers, runs tool calls and stops cleanly.
|
||||
The RDNA3 code is the same source compiled for your card.
|
||||
* NOT tested by us either: the app window on a real desktop (our test box has no screen).
|
||||
* Pictures (image input) do not work on AMD cards in this build; leave them off.
|
||||
* Pictures (image input) are on by default. The picture reader runs on the processor (CPU) for a card under 24 GB and on the graphics card from 24 GB, so
|
||||
your 24 GB RX 7900 XTX uses the card's reader (strata-vision-hip, for gfx1100 / gfx1101 / gfx1102) and a 20 GB RX 7900 XT or a 16 GB RX 7800 XT uses the CPU
|
||||
reader. The card's reader compiles for RDNA3 but has never run on an RDNA3 card here (we ran it on an R9700, RDNA4). If it cannot start, Strata uses the
|
||||
CPU reader by itself. You can switch it per model. Please tell us whether pictures worked.
|
||||
* Speed is not final; treat the numbers as a baseline.
|
||||
|
||||
|
||||
|
||||
@@ -79,7 +79,10 @@ WHAT WE TESTED AND WHAT WE DID NOT
|
||||
* TESTED by us: this engine on an AMD Radeon AI PRO R9700 (RDNA4, the same chip family, gfx1201, as the RX 9070 XT) under Ubuntu 24.04: it loads a
|
||||
model, answers, runs tool calls, and stops cleanly, from the app's host and from the terminal app.
|
||||
* NOT tested by us: an RX 9070 XT itself, CachyOS, the app window on a real desktop (our test box has no screen). A failure on your computer is a finding we want.
|
||||
* Pictures (image input) do not work on AMD cards in this build; leave them off.
|
||||
* Pictures (image input) are on by default. The picture reader runs on the processor (CPU) for a card under 24 GB, so your 16 GB RX 9070 XT
|
||||
uses the CPU reader (a few seconds per picture, nothing taken from the card's memory). The graphics-card reader (strata-vision-hip, for
|
||||
gfx1200 / gfx1201) is in this build for cards of 24 GB and up; we tested it on the 32 GB R9700 (0.06 s for a small picture against 3.1 s on the
|
||||
CPU) and tested the CPU reader. If the card's reader cannot start, Strata uses the CPU reader by itself. You can switch it per model.
|
||||
* Speed is not final; treat the numbers as a baseline.
|
||||
|
||||
|
||||
|
||||
@@ -12,7 +12,7 @@ Checks: sha256 @SHA256:@APPIMAGE@@
|
||||
|
||||
WHAT YOU NEED
|
||||
-------------
|
||||
* A Mac with Apple silicon (M1 or newer) and macOS 11 or newer. Intel Macs are not supported.
|
||||
* A Mac with Apple silicon (M1 or newer) and macOS 15 or newer (the engine needs macOS 15). Intel Macs are not supported.
|
||||
* Memory: 32 GB or more is best. The model list shows what fits your Mac.
|
||||
* Disk: about 1 GB for the app, plus 40 to 70 GB for each model you download.
|
||||
|
||||
@@ -27,6 +27,9 @@ START IT
|
||||
|
||||
Closing the window stops Strata and its engine.
|
||||
|
||||
Pictures: this Mac build has no picture reader yet, so models read text only here. Picture input works on the Windows and
|
||||
Linux builds.
|
||||
|
||||
|
||||
@INCLUDE:common-gatekeeper-mac.txt@
|
||||
|
||||
|
||||
+7
-2
@@ -264,7 +264,7 @@ sizes itself automatically and leaves 1 GiB of VRAM headroom.
|
||||
GPU memory to system RAM (GTT), the OOM killer then ends KWin/plasmashell or `systemd-oomd` ends apps, or the
|
||||
compositor fails with "Failed to pin framebuffer with error -12".
|
||||
|
||||
The installer supports this backend (see "Install with setup" above). Pictures are read on the card (`strata-vision-hip`) when the engine has it, else on the CPU (`strata-vision`).
|
||||
The installer supports this backend (see "Install with setup" above). Pictures are on by default. They are read on the CPU (`strata-vision`) under 24 GB of VRAM and on the card (`strata-vision-hip`) from 24 GB, the same rule as for every make of card; if the engine has no card reader, or it cannot start, the CPU reader is used.
|
||||
Setup installs one AMD card, or several with `--gpus` (the engine's layer split; see RDNA4 below).
|
||||
|
||||
**Opt-in switches for RDNA2 prompts and hangs (0.1.40, off by default):** `STRATA_DENSE_MMQ=1` (#820, HIP) runs the
|
||||
@@ -495,7 +495,12 @@ an RX 9070 XT 16 GB and a Radeon AI PRO R9700 32 GB (both gfx1201), a Ryzen 9 39
|
||||
4K / 20K residual dumps identical on both packs.
|
||||
- **Known:** rarely (about 1 start in 10) a HIP run's greedy output differs from another start's at some token, on
|
||||
one card or two and on engine 0.1.29 as well; not yet explained.
|
||||
- **Not validated:** images, long contexts beyond 16K, answer-quality benchmarks.
|
||||
- **Pictures:** the card's reader (`strata-vision-hip`) is measured on an R9700 (gfx1201): 57 ms for a 260-token picture and 0.40 s for a
|
||||
972-token one, against 3.13 s and 14.1 s on the CPU reader (EPYC, 32 threads); the embeddings agree with the CPU reader's (cosine mean 0.99985). It keeps
|
||||
about 1.4 GiB of VRAM (+1,470 MiB on the R9700). A test picture (red circle, blue square, green triangle, the text "STRATA 42") was answered correctly with both readers, and the
|
||||
fallback to the CPU reader was tested with a reader built for another card. The same reader built for gfx1103 ran on a Radeon 780M (0.40 s for 260 tokens
|
||||
against 2.42 s on its CPU). It has not run on an RDNA3 card (gfx1100-gfx1102) or on Windows with an AMD card.
|
||||
- **Not validated:** long contexts beyond 16K, answer-quality benchmarks.
|
||||
|
||||
## Community-validated cards
|
||||
|
||||
|
||||
+2
-2
@@ -108,8 +108,8 @@ doubled by the proposals). Nothing changes for 8 slots or fewer. Every slot of a
|
||||
exactly the tokens it decodes alone (`tools/batch_test.py --n 16`, which now takes up to 32 prompts).
|
||||
|
||||
**Opt-in switches** (environment of the engine, i.e. `"env"` in the config; none is on by default). Each one changes
|
||||
how the work is scheduled or copied, not what is computed; the identity gates and `tools/batch_test.py` are in
|
||||
`phaseA-tests/review-havok.md`.
|
||||
how the work is scheduled or copied, not what is computed; `tools/batch_test.py` checks that every slot decodes the tokens it
|
||||
decodes alone.
|
||||
|
||||
| Switch | What it does |
|
||||
|---|---|
|
||||
|
||||
+38
-17
@@ -291,8 +291,7 @@ real RTX 3060 12 GB (32 GB cgroup, 3 pairs) zero-copy alone gave 1.14 / 1.44 / 1
|
||||
the container RAM check counts a cgroup's clean page cache (active and inactive) as available, as MemAvailable does on a bare
|
||||
host: before, the 18 GiB RAM tier in a 32 GiB cgroup re-checked "1.2 GiB available" once io prefetch's startup reads had left
|
||||
their cache in the group, and its file tier switched to unbuffered reads (which also left zero-copy off). Off switches: `STRATA_COLD_OVERLAP=0`, `STRATA_IO_PREFETCH=0`,
|
||||
`STRATA_IO_PF_GATE=0`; the startup log names what is on. Windows and macOS are unchanged. Measured detail:
|
||||
phaseA-tests/notes-149-l620.md.
|
||||
`STRATA_IO_PF_GATE=0`; the startup log names what is on. Windows and macOS are unchanged.
|
||||
|
||||
**Linux file-tier I/O path (`STRATA_IO_PREFETCH=1`; 0.1.40.2, on by default on Linux since 0.2.0 - see above):** the mapped file tier reads experts through
|
||||
page faults. With this on, the layer's uncached experts and the router-predicted ones of the next layer (`STRATA_LOOKAHEAD_K`,
|
||||
@@ -1629,14 +1628,20 @@ The config snippets for every client, the tool arguments and the safety rules ar
|
||||
(Qwen3.6-35B-A3B reads pictures the same way, with its own `mmproj-F16.gguf`: [QWEN36.md](QWEN36.md).)
|
||||
|
||||
The model has a vision encoder: [`mmproj-Qwen3.8-Flash-Next-BF16.gguf`](https://huggingface.co/ISTA-DASLab/Qwen3.8-Flash-Next-GSQ-RCO-GGUF)
|
||||
(0.9 GB, a 27-layer ViT plus the projector into the language model). It is **optional**: say yes when the setup asks
|
||||
"Images?", or run it again with `--vision gpu` (or `--vision cpu`). The setup downloads the encoder, builds a small
|
||||
helper (`strata-vision`, from llama.cpp's `mtmd` library) and adds it to your start script. Nothing else changes.
|
||||
(0.9 GB, a 27-layer ViT plus the projector into the language model). Pictures are **on by default** wherever a model can read
|
||||
them. The app, `strata launch` and setup use one rule for the reader: the **CPU reader under 24 GB** of graphics memory (nothing is
|
||||
taken from the card's memory, so the experts keep their room) and the **graphics card's reader from 24 GB**, on every make of
|
||||
card. You can switch pictures off (`--vision no`, or "No" in the app and in `strata launch`) or pick the reader per model
|
||||
(`--vision gpu` or `--vision cpu`). The setup downloads the encoder and puts a small helper (`strata-vision`, from llama.cpp's
|
||||
`mtmd` library) beside the engine; it adds it to your start script. Nothing else changes. Where a reader is missing, pictures
|
||||
stay off and the screen says so: the Mac app and the Mac Terminal have no picture reader yet, and neither has the Intel Arc
|
||||
engine. On AMD the card's reader is `strata-vision-hip`, a second program in the engine package; if it cannot start, the server
|
||||
starts the CPU reader by itself and prints one line ([AMD_HIP.md](AMD_HIP.md)).
|
||||
|
||||
| Encoder on | Time per picture | Cost |
|
||||
| --- | --- | --- |
|
||||
| **GPU** (recommended) | **0.1-0.5 s** (up to 1,024 image tokens) | ~1.4 GB of VRAM is kept free for it, so the expert cache is smaller: text output is a few % slower (table below) |
|
||||
| CPU | about 3 s at 300 image tokens on 8 cores (6-13 s on 4 threads); more tokens take longer, in proportion (#767, #625) | nothing on the GPU |
|
||||
| **GPU** (the default from 24 GB) | **0.1-0.5 s** (up to 1,024 image tokens) | ~1.4 GB of VRAM is kept free for it, so the expert cache is smaller: text output is a few % slower (table below) |
|
||||
| CPU (the default under 24 GB) | about 3 s at 300 image tokens on 8 cores (6-13 s on 4 threads); more tokens take longer, in proportion (#767, #625) | nothing on the GPU |
|
||||
|
||||
A picture becomes up to 1,024 tokens of the context (a 640x480 photo: 300). The same picture sent again, as chat apps
|
||||
do on every turn, is encoded only once.
|
||||
@@ -1732,7 +1737,7 @@ WebP). Chat apps with image upload work the same way.
|
||||
| **IQ2_XS** | 468 | 458 | 77.1 | 74.0 |
|
||||
| **IQ3_XXS** | 411 | 401 | 64.7 | 59.5 |
|
||||
|
||||
"Off" is the published setup; "on" runs with the encoder loaded on the GPU and its VRAM kept free, so ~1,000 fewer
|
||||
These numbers date from 2026-09-24 (an engine before 0.1.13). "Off" is the published setup; "on" runs with the encoder loaded on the GPU and its VRAM kept free, so ~1,000 fewer
|
||||
experts fit in VRAM and the CPU computes a few more per token: 2-8% slower. For text, turning images on changes
|
||||
nothing else (the output is bit-identical when the VRAM is the same).
|
||||
|
||||
@@ -1840,8 +1845,7 @@ says so; `STRATA_ROUTE_TAIL_SKIP=7` turns it on anyway, and `STRATA_TAIL_SKIP_MA
|
||||
`route tail skip: N missed experts skipped` (cumulative) while it is active.
|
||||
|
||||
**Answers differ slightly from 0.1.41** (`STRATA_ROUTE_TAIL_SKIP=0` brings them back). Teacher-forced KL of the decode path (the default's own greedy text and the default sampled at T=0.8, 28 chat prompts of code,
|
||||
reasoning, chat, six languages and long-document summaries, 220 tokens each, about 6,000 scored tokens per set, through the real verify windows with the MTP drafts;
|
||||
`phaseA-tests/cuda-route-kl.md`):
|
||||
reasoning, chat, six languages and long-document summaries, 220 tokens each, about 6,000 scored tokens per set, through the real verify windows with the MTP drafts):
|
||||
|
||||
| | RTX 3060 12 GB, IQ3_XXS | RTX A4000 16 GB, Q2_0 |
|
||||
|---|---|---|
|
||||
@@ -1869,7 +1873,7 @@ median over the rounds (ratio of tokens/s, default over `=0`; rounds in which th
|
||||
| Tesla P100 16 GB, IQ3_XXS, `--pcie-frac 0.29` | 1.149 (5/5) | 1.182 (5/5) | 1.118 (5/5) | **1.146 (5/5)** |
|
||||
| two RTX A4000, layer split (hit rate 99.7%) | 0.987 (0/5) | 1.004 (5/5) | 1.002 (3/5) | 0.998 (1/5) |
|
||||
|
||||
The gain follows how much of a token is spent waiting for missed experts (hit rate 75-90% on the single cards in the profile, `phaseA-tests/cuda-profile.md`); a 2-GPU
|
||||
The gain follows how much of a token is spent waiting for missed experts (hit rate 75-90% on the single cards in the profile); a 2-GPU
|
||||
split that holds nearly every expert (hit rate 99.7%) gains nothing. It does not touch prompt reading. Switches that stay opt-in and are not part of this:
|
||||
`STRATA_ROUTE_PRIOR` (adds speed, doubles the KL), `STRATA_ROUTE_RESIDENT` and `STRATA_ROUTE_RESIDENT_MTP` (the latter is not faster than the former).
|
||||
|
||||
@@ -1897,7 +1901,6 @@ Measured (interleaved pairs of whole engine runs, new default against `STRATA_PC
|
||||
Explicit-share runs are byte-identical to 0.1.41 (`mg_norepeat` 10 of 10, `exact_pp` 4096 and 20000). With the new default the answers differ a little
|
||||
from the old default, as any change of the share does (CPU and GPU round differently): teacher-forced KL against the old default 0.0015 on the 3060
|
||||
(run-to-run floor 0.0013) and 0.0011 on the A4000 (floor 0.0012; at that time the share was 0.25).
|
||||
The sweeps behind the constant: `phaseA-tests/notes-142-pciefrac.md`.
|
||||
|
||||
`STRATA_PCIE_BALANCE=1` (opt-in, CUDA, one GPU, no `--batch`, no `--pcie-frac`; #1548 by sergiywith / stuchapin909): instead of one share for every layer, each verify layer
|
||||
reads over PCIe the number of its missed experts that balances the two sides. The spin kernels stamp the GPU's clock (the plan's arrival, the PCIe part's start, the wait for the CPU rows),
|
||||
@@ -1908,7 +1911,7 @@ Every 64th layer with a miss moves one expert to the other side so both fits sta
|
||||
|
||||
When the experts that do not fit in VRAM are read from the model files through the page cache, the size of the prompt chunk decides how many times a long
|
||||
prompt walks over those files, and how big the working set is each time (the chunk's activation buffers and the lent slots take RAM and VRAM from the
|
||||
cache). Up to 0.1.46 the chunk was always today's pick (8192 on most cards). The planner prices the host from what it can measure at start: the RAM copy and its
|
||||
cache). Before engine 0.1.45.3 the chunk was always today's pick (8192 on most cards). The planner prices the host from what it can measure at start: the RAM copy and its
|
||||
lent slots, the page cache that is left, the drive class (read from the GGUF path) and the PCIe link, and picks the chunk (and the ring) with the fewest
|
||||
predicted bytes read per prompt. It prints one `chunk 8192 -> 3840, ring 96 -> 96: ...` line when it changes the pick, and `chunk 8192 kept: ...` when it does not.
|
||||
A prompt that fits today's chunk keeps one chunk; a longer one is read in equal chunks of at most the plan's size (no stub at the end). No weight or expert
|
||||
@@ -1931,7 +1934,7 @@ pairs, plan off against the planner's `8192 -> 3840`, medians):
|
||||
| 28,887 | 418.8 | 910.4 | **2.17x** | 5/5 | 29.5 -> 0.6 | 28.6 -> 45.7 |
|
||||
|
||||
The same box with its real NVMe and a 32 GB cap picks 8192 again (bigger chunk 480 vs 327 tok/s at 3328, even though it thrashes), and the 16 GiB cap is unchanged. Identity gate (fixed flags,
|
||||
`--expert-cache 1500`): the plan line says `kept`. Data: `phaseA-tests/notes-150-planner.md`; the host model is `include/strata/program/prefill_plan.hpp` with `tests/program/prefill_plan_test.cpp`.
|
||||
`--expert-cache 1500`): the plan line says `kept`. The host model is `include/strata/program/prefill_plan.hpp` with `tests/program/prefill_plan_test.cpp`.
|
||||
|
||||
## More opt-in switches measured for 0.1.41 (all off unless you set them)
|
||||
|
||||
@@ -2146,7 +2149,7 @@ the document, +0.4% on the chat. Details: `bench/results/2026-09-27-esp/`.
|
||||
| `this server was started without the vision encoder` | The model was set up for text only: run setup again with `--vision gpu`. |
|
||||
| Setup puts the model on an old drive after you moved or reinstalled Strata (#1070) | Setup remembers the data folder you used last in its settings file (`%APPDATA%\Strata\settings.json` on Windows, `~/.config/strata/settings.json` on Linux; the `data_dir` entry) and uses it again. Choose another place with `--data-dir DIR` (model files, packs, MTP layer) or `--models-dir DIR` (the GGUF files only), or delete the `data_dir` line; `--gguf-dir DIR` uses GGUF files you already have without copying. To move a model, copy its folder and run setup with the new `--data-dir`. |
|
||||
| A picture is refused or `cannot read the image` | The file is not a picture Pillow can open (JPEG, PNG, WebP, GIF, BMP, TIFF, AVIF work). |
|
||||
| Pictures are slow (3-30 s) | The encoder runs on the CPU: run setup again with `--vision gpu` (needs ~1.4 GB of VRAM). |
|
||||
| Pictures are slow (3-30 s) | The encoder runs on the CPU, which is the default under 24 GB of graphics memory (the card's reader is the default from 24 GB). To use the card's reader: run setup again with `--vision gpu` (needs ~1.4 GB of VRAM; it takes room from the expert cache). |
|
||||
| A request never finishes: "reading the prompt", GPU "100%" at low power | The GPU ran out of VRAM (engines before 0.1.9 could end with ~30 MiB free at large contexts). Run `START-HERE.bat` once to get engine 0.1.9 or newer; the log then says `... MiB of VRAM free with everything loaded` (a few hundred) and names the `--vram-reserve-mib` to add if it is low. |
|
||||
| Output much slower than the tables above, only with a large `--context`, and the start says a small `... MiB of VRAM free with everything loaded` | The expert cache does not fit the card at that context. With `--expert-cache auto` the engine shrinks it to fit; with a fixed number it does not check again after the slots are written, and on Windows the extra is put in system memory instead of failing, so only the speed shows it. Use `auto`, a smaller number, or raise `--vram-reserve-mib` (it is deducted before the cache is sized). See "The expert cache size is a budget" under Sharing the GPU. |
|
||||
| Generation stops mid-answer, GPU "100%", one CPU core busy | Fixed in engine 0.1.12 (issue #29, a race in the CPU expert pool on big-VRAM cards). Since then a request that stops moving ends with an error instead of hanging (after 2 minutes; 1 minute from 0.1.13): the log says `no progress for ... s ... (issue #29)` with where it stopped, and the next request starts the engine again. If you see that line, please open an issue with it. Engine 0.1.13 adds a stall report under it (what every expert-pool thread and the GPU handshake were doing, memory and page faults) and, on Windows, a `strata-stall-<pid>.dmp` file with every thread's stack: attach both. (`STRATA_WATCHDOG_S` sets the time in seconds; 0 turns it off.) Engine 0.1.14 fixes the stall those reports found (issue #31: with the IQ packs the host could wait forever inside the NVIDIA driver while copying experts in a verify window; the experts are now copied by a GPU kernel, `--pcie-mode dma` restores the old way). |
|
||||
@@ -2154,7 +2157,8 @@ the document, +0.4% on the chat. Details: `bench/results/2026-09-27-esp/`.
|
||||
| `the engine said nothing for ... s during the request` or `... did not finish the request after it was stopped (STOP)` | Issue #481: the engine and the server lost step (the engine waits for its next command, the server for the request's end; GPU at 0 %, nothing in the log). The server ends the engine after 300 s without a line from it during a request (while a prompt is read: each chunk may take three times the previous one's time, the first one up to its tokens at 50 tok/s more), the request ends with an error and the next request starts the engine again. `"engine_silence_s": 600` in `strata-<model>.json` sets the time (0 = wait forever, as before). If you see it, please add the end of the engine log to #481. |
|
||||
| `the engine said nothing for ... s and used no CPU or disk in that time (frozen ...)` | Issue #1317: a quicker version of the check above for an engine that is not slow but stopped (a deadlock inside a CUDA call, a driver stall): after 90 s without a line, if the engine process has also used no CPU time and moved no disk bytes in that time, the server ends it and the next request starts it again. An engine that is silent but still working is never ended by this check, the server prints one note (`... but is still working; it is not ended`) and leaves it to `engine_silence_s`. `STRATA_ENGINE_STALL_S=180` sets the time, `0` turns the check off (it needs `psutil`, which setup installs). |
|
||||
| `out of memory: cudaFuncSetAttribute` in the log (IQ3_XXS, long prompt) | Fixed in engine 0.1.15: CUDA loaded a kernel's code when it was first needed, and mid-prompt there was no VRAM left for it. Run `START-HERE.bat` (Windows) or `./setup.sh` (Linux) once to update. |
|
||||
| Anything else | The engine log is `strata-<model>.log` in this folder. |
|
||||
| The desktop app or the Terminal says it could not find an engine, or that a model needs a newer engine; a Mac says an app is "damaged" | [TROUBLESHOOTING.md](TROUBLESHOOTING.md#the-desktop-app-and-the-terminal). |
|
||||
| Anything else | The engine log is `strata-<model>.log` in this folder. In the app: Settings, Engine, Diagnostics, View logs, Save logs. In the Terminal: `strata doctor`. |
|
||||
|
||||
---
|
||||
|
||||
@@ -2321,7 +2325,24 @@ The table is used when every visible card has that one compute capability. `STRA
|
||||
`STRATA_ADAPT_LAG` / `STRATA_ADAPT_NOWAIT`: set `STRATA_ADAPT_LAG=1 STRATA_ADAPT_NOWAIT=0` with it. Left out because they did not pay or
|
||||
were mixed: `STRATA_EXPDEC`, `STRATA_GR_NORM_FAST`, `STRATA_RAM_ADAPT`, `STRATA_KV_HOST_REGISTER`, `STRATA_HOST_CORE`,
|
||||
`STRATA_GR_DOWN_TG`, `STRATA_DEQUANT_WIDE`; `STRATA_EXCHANGE_ROTATE` never reaches READY on the 3060 and `STRATA_PCIE_BALANCE` is slower on a
|
||||
single card. Measured numbers: phaseA-tests/notes-148-nv.md.
|
||||
single card.
|
||||
|
||||
The per-architecture sets themselves (no environment variables), against the engine without them, IQ3_XXS, default flags, 8
|
||||
interleaved pairs of fresh engines, the same number of expert-cache slots in every arm (engine 0.1.45.3 and its test builds):
|
||||
|
||||
| Card | Decode before -> after | Gain | Pairs faster | Same engine against itself | With `STRATA_SM86_PERF=0` / `STRATA_SM60_PERF=0` |
|
||||
| --- | ---: | ---: | ---: | ---: | ---: |
|
||||
| RTX 3060 12 GB (sm_86) | 60.36 -> 66.52 tok/s | +10.2% | 8/8 | 0.999 | 1.002 (equal to before) |
|
||||
| RTX A4000 16 GB (sm_86) | 51.16 -> 57.82 tok/s | +13.0% | 8/8 | 0.979 | 0.994 |
|
||||
| Tesla P100 16 GB (sm_60) | 36.56 -> 41.76 tok/s | +14.2% | 8/8 | 0.975 | 0.991 |
|
||||
|
||||
Two things looked at and **not changed**. A prompt chunk above 8192 (`--prefill auto:16384` or `auto:32768`) changes prompt speed by -3% to +8%
|
||||
on 12-16 GB cards at 20K tokens (at 16384 / 32768: RTX 3060 +4.5% / +4.5%, Tesla P100 +3.1% / +7.7%, RTX A4000 -3.4% / +6.0%), but it is not bit-exact on
|
||||
CUDA (the residual dump differs on the P100 and the A4000; 32768 also changed the output tokens on the P100), so the default
|
||||
stays 8192 on NVIDIA. It is exact on gfx12, where 16384 is the default. And `STRATA_ROUTE_PRIOR=0.5` stays opt-in: on an RTX 3060
|
||||
(IQ3_XXS) its teacher-forced KL is 0.0126 against a run-to-run floor of 0.0012 (top-1 agreement 96.6% against 99.1%); on an RTX A4000
|
||||
HumanEval scored 154/164 against 157 and 159 for the default twice, and reasoning 25/30 against 24 and 26 (agent 6/6, needles 3/3, CJK
|
||||
8/8 and tool calls 5/5 for all), which is inside the run-to-run spread.
|
||||
|
||||
## Compute capability 12.0 cards: faster decode (bitwise) and fused prompt experts by default
|
||||
|
||||
|
||||
+13
-1
@@ -39,7 +39,19 @@ APR port, and the released 0.1.45 stops at v4. A ready-made engine that is older
|
||||
|
||||
**Supported:** NVIDIA (CUDA, Linux and Windows) and AMD (HIP, experimental: the authors validated gfx1151; we ran
|
||||
gfx1201 with identical output to rc2). **Not supported:** Intel Arc (SYCL) and Apple Metal: the engines there have no
|
||||
trellis kernels; the Metal engine refuses the file at load with the reason. Images are off for these files.
|
||||
trellis kernels; the Metal engine refuses the file at load with the reason.
|
||||
|
||||
**Pictures.** Gyro reads pictures with the original model's picture reader file (the same one every Qwen3.8-Flash-Next
|
||||
model uses; setup downloads it with the model). The reader opens only the vocabulary and the header of the Gyro file, so
|
||||
the trellis tensors do not matter to it. Pictures are on by default, with the CPU reader under 24 GB of graphics memory and
|
||||
the card's reader from 24 GB. This needs engine 0.1.45.1 or newer, like the Gyro files themselves.
|
||||
|
||||
**RTX 50 cards (sm_120).** Gyro gives correct output on them with engine 0.1.45.3. The fused gate/up SwiGLU kernel, which
|
||||
is the default on compute capability 12.0 cards, handles only rows of 80 dot products; Gyro's trellis rows have 160, and
|
||||
before the fix they went through it anyway. Gyro-S then answered with loops, garbage or nothing: on an RTX PRO 5000, 0 of
|
||||
8 test questions were answered right before the fix and 8 of 8 after it (greedy and with the app's sampling). Now those
|
||||
rows use the full-warp kernel, and the identity gate (10 prompts, 4K and 20K prompts) is identical to the run with the fused
|
||||
kernel off. If Gyro misbehaves on an RTX 50 card, update the engine.
|
||||
|
||||
**Prompt speed and the ggml build.** The trellis prompt kernels (MMQ) are agentionai's, from their llama.cpp fork (MIT).
|
||||
Strata builds against upstream ggml, which does not have them, so it adds them itself at configure time:
|
||||
|
||||
+18
-1
@@ -759,7 +759,7 @@ Measured on an Arc A750 (8 GB, `i915`, PCIe 4.0) with the Flash-Next IQ3_XXS in
|
||||
8192 --prefill-repeat 5` for the time of both kernels. Not taken: the same kernel with its state in SLM (no register
|
||||
spills, the same bits, ~4x slower: 13.7 vs 3.1-3.3 ms at T=1000).
|
||||
|
||||
### Prompt speed on Alchemist: the grouped XMX expert launch is the default (0.1.48, `STRATA_PF_XMX`; owner approved 2026-10-18)
|
||||
### Prompt speed on Alchemist: the grouped XMX expert launch is the default (engine 0.1.45.3, `STRATA_PF_XMX`)
|
||||
|
||||
The A750's prompt path decodes and multiplies a group of experts in one fused launch on the XMX units (`STRATA_PF_XMX=2`, `sycl/src/prefill/xmx_moe.dp.cpp`)
|
||||
instead of dequantizing each expert to FP16 and calling oneMKL. It is the default on Alchemist cards; `STRATA_PF_XMX=0` turns it off and `=1` is the
|
||||
@@ -770,6 +770,23 @@ teacher-forced KL against the default over 6,006 forced tokens 0.0002 (the defau
|
||||
is 0.012), first-token KL 0.0017 (floor 0.0005), top-1 agreement 99.7%. HumanEval (every 2nd, 82) 73, 69 and 74 for the mode and two default runs, reasoning 21 / 23 / 22 of
|
||||
30, a 35-question Chinese/Japanese/Korean set 35/35 in all, needles at 2K-6K 9/9, an 8K-context tool-call agent 6/6.
|
||||
|
||||
### A750: a prompt that never finished is fixed (engine 0.1.45.3, commit `fca3c5958`)
|
||||
|
||||
On an Arc A750 some prompts never finished: with default flags a 2,744-token documentation excerpt hung in 6 of 6 runs (the
|
||||
thread spun in `sched_yield` inside `libze_intel_gpu` with every engine idle), and the same hang was seen on a 5.3K-token needle prompt. The
|
||||
cause: SYCL has no `cudaHostRegister`, so the expert arena is ordinary pageable memory even where the engine calls it
|
||||
pinned. Copying a 2.3 MB expert straight out of it went through the Level Zero driver's staging path on the calling thread,
|
||||
and on some prompts that call never returned. Now only experts in USM host memory (the `--stream-experts` pinned mirror)
|
||||
are copied directly (the answer is remembered per 2 MiB); every other expert goes through the stager's pinned buffers, like
|
||||
an unpinned one. **`STRATA_PF_DMA_PAGEABLE=1` restores the old direct copy.**
|
||||
|
||||
Checked: the 2,744-token repro finished 3 of 3 times after the fix (0 of 6 before); the first-token logits and the tokens are
|
||||
identical old against new on the A750 (1.4K, 2.5K and 4K prompts) and on the Arc Pro B70 (stock config, and without
|
||||
`--stream-experts`); speed is unchanged where it did not hang (A750 4K prompt 79.4 against 79.3 tok/s, B70 stock 1,246
|
||||
against 1,240), and on the B70 without `--stream-experts` the prompt is faster (680-740 against 77-456 tok/s). The
|
||||
regression test is `sycl/tools/test_prompt_deadlock.sh` (the 2,744-token prompt; it times out on the old build and passes on
|
||||
the fix).
|
||||
|
||||
## Not done
|
||||
|
||||
- Images on the llama.cpp config: not wired. On the SYCL port pictures are wired but opt-in (`setup --backend sycl --vision yes`):
|
||||
|
||||
+12
-7
@@ -5,11 +5,15 @@ maxfridbe wrote it in [#423](https://github.com/Niko1221/Strata/pull/423), with
|
||||
The code is in `sycl/`, and the port's own notes, measurements and maintenance procedure are in
|
||||
[docs/INTEL.md](INTEL.md). This page covers what you need, how to build it, and what has been tested.
|
||||
|
||||
**Experimental means:** the Strata maintainers have no Intel GPU. We compile the port and run its kernel tests, but
|
||||
we have not run it on an Arc. Every result on Arc hardware below comes from the community. The NVIDIA and AMD
|
||||
engines are unchanged: the Intel build is a separate CMake target, off by default.
|
||||
**Experimental means:** the Intel engine is still young and Linux only. When the port arrived (0.1.39) the maintainers had no
|
||||
Intel GPU and every result on Arc hardware came from the community. Since 0.1.40.2 the maintainers also test on an Arc Pro B70
|
||||
(32 GB, `xe`) and an Arc A750 (8 GB, `i915`); the results from those two cards are marked in the table below. Other cards
|
||||
are still community reports. The NVIDIA and AMD engines are unchanged: the Intel build is a separate CMake target, off by default.
|
||||
|
||||
There is **no ready-made Intel engine** in the release zips. You build it from source on Linux.
|
||||
**Where the engine comes from.** There is **no Intel engine in the release zips** (the ones `START-HERE.bat` and `setup.sh`
|
||||
use): you build it from source on Linux, as described below. A ready-made Intel engine does exist as a Docker image,
|
||||
`ghcr.io/niko1221/strata:0.2.0-sycl`, built for the 0.2.0 release (the image needs prepared model files; see
|
||||
[Docker: Intel Arc](DOCKER.md#intel-arc)). The Mac and Windows builds have no Intel engine.
|
||||
|
||||
## What has been run, and by whom
|
||||
|
||||
@@ -48,9 +52,10 @@ Full flags, per-request timings and engine logs are in the report linked in the
|
||||
- **Unchanged:** the CUDA engine's greedy output, checked byte-identical against the gated 0.1.39 build (Q2_0 and Coder).
|
||||
The HIP build is not affected (the option is off by default).
|
||||
|
||||
**Not tested by anyone yet:** Windows (no native build path; see below), Arc on WSL2 for the 0.1.39 port, the Alchemist
|
||||
A-series, integrated Arc GPUs (the B390 / Panther Lake in #515; the shared-memory planning does not exist yet), and
|
||||
images (not wired on Intel).
|
||||
**Not tested by anyone yet:** Windows (no native build path; see below), Arc on WSL2 for the 0.1.39 port, integrated Arc
|
||||
GPUs (the B390 / Panther Lake in #515; the shared-memory planning does not exist yet), and images (not wired on Intel: there
|
||||
is no picture reader for the Arc engine). The Alchemist A-series was tested later, on an A750 (rows above and
|
||||
[INTEL.md](INTEL.md), "Arc A750 and the other Alchemist cards").
|
||||
|
||||
## What you need
|
||||
|
||||
|
||||
+18
-5
@@ -1,9 +1,18 @@
|
||||
# Strata on a Mac (Apple Silicon, Metal)
|
||||
|
||||
Strata runs on Apple Silicon Macs through its own engine on Metal. This is the same engine as on a PC. The NVIDIA
|
||||
kernels are replaced by Metal ones (`metal/`), and the host code and the server are the PC's. `./setup.sh` sets it up the way
|
||||
`START-HERE.bat` does on Windows. There is no ready-made Mac engine: setup builds it from source on your Mac
|
||||
(about 1-15 minutes). The NVIDIA, AMD and Intel engines are unchanged.
|
||||
kernels are replaced by Metal ones (`metal/`), and the host code and the server are the PC's. There are two ways in:
|
||||
|
||||
- **The Strata app (`.dmg`) and the Terminal (`strata launch`).** The Metal engine comes ready-made: the `.dmg` has it
|
||||
inside, and the Terminal fetches it as an engine component. Nothing is built on your Mac and you need no Command Line
|
||||
Tools ([below](#the-desktop-app-and-strata-launch-on-a-mac)). macOS 15 or newer, as for the source build. If macOS says the
|
||||
app is "damaged", see [Troubleshooting](TROUBLESHOOTING.md#the-desktop-app-and-the-terminal); how the builds are signed:
|
||||
[packaging/mac/README.md](../packaging/mac/README.md).
|
||||
- **From source: `./setup.sh`.** It sets things up the way `START-HERE.bat` does on Windows and builds the engine on your Mac
|
||||
(about 1-15 minutes).
|
||||
|
||||
**Pictures:** the app and the Terminal have no picture reader on the Mac yet. Only the source build can read pictures
|
||||
([Limits](#limits-this-version)). The NVIDIA, AMD and Intel engines are unchanged.
|
||||
|
||||
**Status:** new. It is measured on three Macs: an M5 Max with 128 GB, where the model stays in memory; and an M4 Mac mini
|
||||
with 32 GB and an M1 Max with 34 GB, where the experts stream from the SSD (the M1 Max: 7.9 tok/s decode, 186 tok/s on a
|
||||
@@ -179,13 +188,17 @@ The arena was 11.5-14.7 GB. Tokens per second, one token per step (no MTP), medi
|
||||
|
||||
## Limits (this version)
|
||||
|
||||
- **Images (vision):** `--vision yes` in setup. Checked on one test picture with Q2_0 and UD-Q4_K_XL: the answers equal the HIP engine's, and text output is unchanged with vision on. No other tests yet.
|
||||
- **Images (vision): the source build only.** `./setup.sh` asks "Should the model also read images?" (`--vision yes|no`) and
|
||||
builds the picture reader (`strata-vision`) itself. Checked on one test picture with Q2_0 and UD-Q4_K_XL: the answers equal
|
||||
the HIP engine's, and text output is unchanged with vision on. No other tests yet. **The app and the Terminal have no
|
||||
picture reader on the Mac yet**: they show models as text only and do not turn pictures on.
|
||||
- **Context:** measured up to 32K (needles, KL). Setup recommends 32K below 96 GB and 64K from 96 GB. Up to the model's 262K can be set, but it is not measured.
|
||||
- **One request at a time.** `--parallel` (batch slots) is not ported. Several clients queue.
|
||||
- **Not ported:** the control vector (`--control-vector-scaled`) and the PC tuning (`--calibrate`).
|
||||
- **Streaming:** measured at 32 GB only. The model's file must be on the internal SSD; an external disk is untested and likely much slower.
|
||||
- **Families:** the original Qwen3.8-Flash-Next and Unsloth's UD-Q4/Q5/Q6_K_XL are measured (above). Setup repacks Unsloth's shards into one file for the GPU. The Swift and Coder releases are not set up on Mac yet, and Qwen3.6 does not run on the Mac engine.
|
||||
- **Engine only from source.** There is no ready-made Mac engine in the release zips.
|
||||
- **The ready-made Mac engine is in the app and in the Terminal's engine component, not in the release zips.** The zips
|
||||
(for `START-HERE.bat` and `setup.sh`) have no Mac engine: `./setup.sh` builds it.
|
||||
|
||||
## Switches (for testing; all off unless set, the defaults are above)
|
||||
|
||||
|
||||
+92
-23
@@ -1,11 +1,14 @@
|
||||
# Which model? Sizes, versions and what fits
|
||||
|
||||
Strata runs one model, [Qwen3.8-Flash-Next](https://huggingface.co/Qwen/Qwen3.8-Flash-Next), in several **sizes**
|
||||
(the same model, compressed more or less) and several **versions** (the original, a coding version, a fine-tune).
|
||||
The installer recommends one for your PC; this page explains the choice. Back to the [README](../README.md).
|
||||
Strata's main model is [Qwen3.8-Flash-Next](https://huggingface.co/Qwen/Qwen3.8-Flash-Next), in several **sizes**
|
||||
(the same model, compressed more or less) and several **versions** (the original, a coding version, a fine-tune, other
|
||||
makers' compressions). It also runs a smaller model, [Qwen3.6-35B-A3B](#qwen36-35b-a3b). The desktop app, the Terminal
|
||||
(`strata launch`) and the installer recommend one for your PC; this page explains the choice. Back to the
|
||||
[README](../README.md).
|
||||
|
||||
> **On this page:** [Pick by RAM](#pick-by-ram) · [Speed](#how-fast-is-each-size) · [The sizes](#the-sizes) ·
|
||||
> [Will it fit?](#will-it-fit) · [The versions](#the-versions) · [Adding another model](#adding-or-switching-models)
|
||||
> [Will it fit?](#will-it-fit) · [The versions](#the-versions) · [Qwen3.6](#qwen36-35b-a3b) ·
|
||||
> [Adding another model](#adding-or-switching-models)
|
||||
|
||||
## Pick by RAM
|
||||
|
||||
@@ -23,7 +26,10 @@ your RAM allows, take a full model (Q2_0, IQ2_XS or IQ3_S).
|
||||
|
||||
## How fast is each size
|
||||
|
||||
Measured on an RTX 5070 (12 GB), a Ryzen 5 7600 and 64 GB of RAM:
|
||||
These are older numbers, kept because they compare the sizes with each other. Newer engines are faster on some cards
|
||||
(each change is listed with its own measurement in the [details](DETAILS.md)); the 0.2.0 engine (0.1.45.3) has not been
|
||||
re-measured on the whole table. Measured on an RTX 5070 (12 GB), a Ryzen 5 7600 and 64 GB of RAM, engine 0.1.26 (the
|
||||
Q2_0 row: engine 0.1.36, which made Q2_0 prompts faster):
|
||||
|
||||
| Size | Writes answers (short chat) | Writes answers (128K context) | Reads your prompt |
|
||||
| --- | ---: | ---: | ---: |
|
||||
@@ -33,8 +39,8 @@ Measured on an RTX 5070 (12 GB), a Ryzen 5 7600 and 64 GB of RAM:
|
||||
| **IQ3_S** | 53 tokens/s | 46 tokens/s | 1,620 tokens/s |
|
||||
| **Coder** (IQ1_M) | 55 tokens/s | 43 tokens/s | 2,180 tokens/s |
|
||||
|
||||
Measured on an AMD RX 9070 XT (16 GB), a Ryzen 9 3900X and 47 GB of RAM (Linux, setup's own install; Q2_0 is
|
||||
above setup's RAM estimate for 47 GB and was installed with `--model Q2_0 --yes`):
|
||||
Measured on an AMD RX 9070 XT (16 GB), a Ryzen 9 3900X and 47 GB of RAM (Linux, setup's own install, 2026-10-02, an engine
|
||||
from before 0.1.40; Q2_0 is above setup's RAM estimate for 47 GB and was installed with `--model Q2_0 --yes`):
|
||||
|
||||
| Size | Writes answers (short chat) | Writes answers (128K context) | Reads your prompt |
|
||||
| --- | ---: | ---: | ---: |
|
||||
@@ -46,13 +52,14 @@ above setup's RAM estimate for 47 GB and was installed with `--model Q2_0 --yes`
|
||||
- **Reads your prompt** = how fast it takes in what you send (long documents, code, chat history), measured on a
|
||||
32K-token prompt; a 4K prompt reads at 910-1,580 tokens/s. A 32K prompt takes about 15 seconds with Q2_0.
|
||||
|
||||
A card with more VRAM is faster, because more of the model fits on the GPU: an RTX 3090 (24 GB) should do roughly
|
||||
100-140 tokens per second. All measurements, long-context numbers and estimates for other cards are in the
|
||||
[details](DETAILS.md#speed-measured). The AMD measurements per card (RX 9070 XT, Radeon AI PRO R9700, RX 7800 XT,
|
||||
RX 9060 XT, RX 6900 XT) are in [AMD_HIP.md](AMD_HIP.md#rdna4-gfx1201).
|
||||
A card with more VRAM is faster, because more of the model fits on the GPU. For an RTX 3090 (24 GB) the
|
||||
[details](DETAILS.md#other-gpus-estimated) give an estimate, not a measurement. All measurements, long-context numbers
|
||||
and estimates for other cards are in the [details](DETAILS.md#speed-measured). The AMD measurements per card (RX 9070 XT,
|
||||
Radeon AI PRO R9700, RX 7800 XT, RX 9060 XT, RX 6900 XT) are in [AMD_HIP.md](AMD_HIP.md#rdna4-gfx1201).
|
||||
|
||||
Every PC is different: `START-HERE.bat --calibrate` measures a few engine settings on yours and keeps the fastest
|
||||
(about 15-30 minutes, longer on a slow card; on the PC above it made the Coder 7% faster; NVIDIA cards for now). Measured Strata on your own
|
||||
(about 15-30 minutes, longer on a slow card; on the PC above it made the Coder 7% faster; NVIDIA cards for now).
|
||||
`strata launch` and the app have their own tuning step (quick: about 20 minutes). Measured Strata on your own
|
||||
PC? See [Community benchmark results](COMMUNITY_BENCHMARKS.md) for a report template and how to share your results
|
||||
in a pull request.
|
||||
|
||||
@@ -87,6 +94,14 @@ Coder. With a small card most experts then come from the SSD and it is much slow
|
||||
|
||||
## The versions
|
||||
|
||||
**Pictures.** The versions in setup's menu read pictures, and pictures are **on by default** wherever a model can
|
||||
read them. The picture reader runs on the CPU when the graphics card has less than 24 GB (a few seconds per
|
||||
picture, nothing taken from the card) and on the graphics card from 24 GB (about 1-1.4 GB of VRAM; 0.1-0.5 s per
|
||||
picture). The rule is the same for every make of card. `--vision off` (or "No" in the app and in `strata launch`) turns
|
||||
pictures off; `--vision cpu` or `--vision gpu` picks the reader. On AMD, `strata-vision-hip` is the card's reader; if it
|
||||
cannot start, Strata uses the CPU reader by itself ([AMD_HIP.md](AMD_HIP.md)). **The Mac app and the Mac Terminal have no
|
||||
picture reader yet** ([MAC.md](MAC.md)), and neither does the Intel Arc engine ([INTEL.md](INTEL.md#not-done)). More: [Images](DETAILS.md#images-vision).
|
||||
|
||||
### Qwen3.8-Flash-Next
|
||||
|
||||
The original, in all four sizes. With images, and with the
|
||||
@@ -125,8 +140,8 @@ START-HERE.bat --setup --family swift --model IQ2_XS
|
||||
The fourth version in setup's menu (`--family unsloth`) is **Unsloth's quantizations** of the same model, from ~4 to 8
|
||||
bits. They keep the original's experts at more bits than the 2-3-bit sizes above, so they need more RAM. Setup keeps
|
||||
every expert in RAM where they and 16 GB more fit (the fastest way); with less RAM it keeps as many as fit and reads
|
||||
the rest from the SSD while it answers (much slower), and for the bigger files it asks first. Images are on by default
|
||||
on an NVIDIA card of 16 GB or more (and on AMD with the CPU encoder where the experts fit in RAM).
|
||||
the rest from the SSD while it answers (much slower), and for the bigger files it asks first. Pictures are on by default
|
||||
(the CPU reader under 24 GB of graphics memory, the card's reader from 24 GB).
|
||||
|
||||
| Size | Download | Experts | RAM for all of them in RAM | Same top token as Q8_0 | AMD R9700 (32 GB): story / code / 32K prompt |
|
||||
| --- | ---: | ---: | ---: | ---: | --- |
|
||||
@@ -136,7 +151,8 @@ on an NVIDIA card of 16 GB or more (and on AMD with the CPU encoder where the ex
|
||||
| **UD-Q6_K_XL** | 169 GB | 102 GiB | ~118 GB | 94.6% | 54 / 76 / 1,020 |
|
||||
| **Q8_0** | 188 GB | 120 GiB | ~136 GB | 100% (the reference) | 53-57 / 66-74 / 1,230-1,300 |
|
||||
|
||||
For comparison, IQ3_S on the same card: 75 / 95 tok/s, 87.7% the same top token as Q8_0. The quality numbers, the
|
||||
For comparison, IQ3_S on the same card: 75 / 95 tok/s, 87.7% the same top token as Q8_0. The speed figures come from
|
||||
engines older than 0.1.45.3 (the conditions are in [QUANTS.md](QUANTS.md)). The quality numbers, the
|
||||
speed bound and NVIDIA/AMD/Intel details: [QUANTS.md](QUANTS.md); the files: [UD-Q4_K_XL](UNSLOTH_Q4.md),
|
||||
[UD-Q6_K_XL](UNSLOTH_Q6.md).
|
||||
|
||||
@@ -157,16 +173,39 @@ experts in a rotated basis. They are the smallest options and never setup's defa
|
||||
| **Gyro-S** | 58.5 GB | 27.6 GB | the smallest option, for PCs with little memory; lower quality |
|
||||
| **Gyro-M** | 92.0 GB | 35 GB | about IQ3_XXS quality with about 20% less GPU memory; decodes about 20% slower than Q2_0 on 12 GB cards |
|
||||
|
||||
NVIDIA, and AMD (experimental); not Intel Arc or the Mac. Images are off. Details, measurements and credit:
|
||||
NVIDIA, and AMD (experimental); not Intel Arc or the Mac. Gyro **reads pictures** (the same rule as above). It needs
|
||||
engine 0.1.45.1 or newer; if the engine is older, the app says "This model needs a newer engine" and offers Update
|
||||
engine. Gyro gives correct output on RTX 50 cards with engine 0.1.45.3. Details, measurements and credit:
|
||||
[GYRO.md](GYRO.md).
|
||||
|
||||
```
|
||||
START-HERE.bat --setup --family gyro --model Gyro-S
|
||||
```
|
||||
|
||||
<a id="nvfp4"></a>
|
||||
|
||||
### NVFP4: three versions (NVIDIA cards)
|
||||
|
||||
The sixth version in setup's menu (`--family nvfp4`) keeps the experts in NVIDIA's 4-bit NVFP4 format. There are three
|
||||
versions of it. The app shows them by who made the weights:
|
||||
|
||||
| App name | Setup name (`--model`) | What it is | Download |
|
||||
| --- | --- | --- | ---: |
|
||||
| **NVFP4 (Strata's version)** | `NVFP4` | Strata's own conversion (GPTQ; the ready-made pack is sergqwer's strata-nvfp4). The best quality of the three | 128 GB |
|
||||
| **NVFP4 (NVIDIA's version)** | `NVFP4-NVIDIA` | NVIDIA's own NVFP4 checkpoint (plain rounding), converted for Strata. The same size and speed as the first | 128 GB |
|
||||
| **NVFP4 (NVIDIA, trained for FP4)** | `NVFP4-QAD` | NVIDIA's retrained 4-bit model, slightly faster on short prompts ([below](#nvfp4-qad)) | 102 GB (+110 GB of disk to prepare) |
|
||||
|
||||
All three need about 80 GB of RAM to keep every expert in RAM, run on **NVIDIA cards only**, and read pictures (the
|
||||
same rule as above). RTX 50 cards have FP4 tensor cores; other NVIDIA cards run NVFP4 at 8-bit precision. The first two
|
||||
need engine 0.1.44 or newer, the third 0.1.45 or newer. Details and measurements: [NVFP4.md](NVFP4.md).
|
||||
|
||||
```
|
||||
START-HERE.bat --setup --family nvfp4 --model NVFP4
|
||||
```
|
||||
|
||||
<a id="nvfp4-qad"></a>
|
||||
|
||||
### NVIDIA's retrained 4-bit model (NVFP4-QAD)
|
||||
#### NVIDIA's retrained 4-bit model (NVFP4-QAD)
|
||||
|
||||
NVIDIA retrained Qwen3.8-Flash-Next for 4-bit experts (quantization-aware distillation) and published it as
|
||||
[Qwen3.8-Flash-Next-FP4-Local](https://huggingface.co/nvidia/Qwen3.8-Flash-Next-FP4-Local). In setup's NVFP4 family it is
|
||||
@@ -176,9 +215,9 @@ afterwards). Nothing of NVIDIA's weights is redistributed by Strata.
|
||||
|
||||
| Size | Download | Memory it needs | In plain words |
|
||||
| --- | ---: | ---: | --- |
|
||||
| **NVFP4-QAD** | 102 GB (+110 GB of disk to prepare) | like NVFP4: ~80 GB of RAM keeps every expert in RAM | NVIDIA's FP4, trained for FP4 - slightly faster on short prompts than NVFP4 (GPTQ is the best quality of the NVFP4 versions); RTX 50 cards have FP4 tensor cores, other NVIDIA cards run it at 8-bit precision |
|
||||
| **NVFP4-QAD** (app: NVFP4 (NVIDIA, trained for FP4)) | 102 GB (+110 GB of disk to prepare) | like NVFP4: ~80 GB of RAM keeps every expert in RAM | NVIDIA's FP4, trained for FP4 - slightly faster on short prompts than the other two NVFP4 versions (Strata's version has the best quality) |
|
||||
|
||||
NVIDIA cards only. Images are off for now. Its licenses are the NVIDIA Open Model Agreement and Qwen's Community License.
|
||||
NVIDIA cards only. It reads pictures (through the original model's picture reader file, which setup downloads with it). Its licenses are the NVIDIA Open Model Agreement and Qwen's Community License.
|
||||
Technical details and measurements: [NVFP4.md](NVFP4.md#nvidias-fp4-local-checkpoint).
|
||||
|
||||
```
|
||||
@@ -190,9 +229,39 @@ START-HERE.bat --setup --family nvfp4 --model NVFP4-QAD
|
||||
For **OrcaRouter's Flash-Next Uncensored IQ3_XXS**, see the [manual compatibility setup](ORCA.md). It needs an
|
||||
explicit packing conversion and is not an installer menu option.
|
||||
|
||||
## Qwen3.6-35B-A3B
|
||||
|
||||
A smaller model from the same maker: [Qwen3.6-35B-A3B](https://huggingface.co/Qwen/Qwen3.6-35B-A3B) (35 billion
|
||||
parameters, 3 billion active per token, 256 experts, Apache 2.0 license). Strata runs [Unsloth's GGUFs with the MTP
|
||||
draft layer](https://huggingface.co/unsloth/Qwen3.6-35B-A3B-MTP-GGUF) on its own engine path, chosen by the file. It is
|
||||
in the app's model list and in setup (`--family qwen36`). It runs on NVIDIA and AMD cards; the Intel Arc engine and the
|
||||
Mac engine do not run it. It reads pictures and serves several requests at once.
|
||||
|
||||
| Size | File | RAM setup plans for | In plain words |
|
||||
| --- | ---: | ---: | --- |
|
||||
| **UD-Q4_K_XL** | 22.9 GB | 32 GB | 4-bit (Unsloth Dynamic), the smallest |
|
||||
| **UD-Q6_K_XL** | 32.6 GB | 44 GB | 6-bit, closer to the full model |
|
||||
| **Q8_0** | 37.8 GB | 52 GB | 8-bit, the closest to the full model |
|
||||
|
||||
The picture reader file adds 0.9 GB. The engine keeps every expert it can on the graphics card and computes the rest on
|
||||
the CPU. Measured with engine 0.1.45 and UD-Q4_K_XL: decode 117.8 tokens/s on a Radeon AI PRO R9700 (32 GB) and 59.7
|
||||
tokens/s on an RTX 3060 (12 GB, most experts on the CPU). Pictures, requests at once, the full measurements and the
|
||||
limits: [QWEN36.md](QWEN36.md).
|
||||
|
||||
```
|
||||
START-HERE.bat --setup --family qwen36 --model UD-Q4_K_XL
|
||||
```
|
||||
|
||||
## Adding or switching models
|
||||
|
||||
You can add another model any time with `SETUP.bat` (the same as `START-HERE.bat --setup`; on Linux
|
||||
`./setup.sh --setup`). Files another model shares are not downloaded again (the Coder uses the original's shard 2 and
|
||||
vision encoder). With more than one model installed, `START-HERE.bat` asks which one to start; `run-<model>.bat`
|
||||
(Linux: `run-<model>.sh`) starts one directly.
|
||||
- **In the app:** the Models page lists every model with its size and whether it fits your computer; pick one and press
|
||||
the install button.
|
||||
- **In the Terminal:** `strata launch` has a Model step with the same list (and "Use model files I already have").
|
||||
`strata models list` shows what is installed; `strata models import <folder or .gguf> --plan` shows what a set of files
|
||||
you already have would be, without changing anything.
|
||||
- **With the installer:** `SETUP.bat` (the same as `START-HERE.bat --setup`; on Linux `./setup.sh --setup`) adds another
|
||||
model any time.
|
||||
|
||||
Files another model shares are not downloaded again (the Coder uses the original's shard 2 and vision encoder). With more
|
||||
than one model installed, `START-HERE.bat` asks which one to start; `run-<model>.bat` (Linux: `run-<model>.sh`) starts one
|
||||
directly.
|
||||
@@ -11,6 +11,18 @@ verify window (a few hundred KB through pinned RAM), not twice per layer. No NVL
|
||||
needed; cards on x4 or x1 slots work, and the PCIe share of each card is probed on its own link. A `--pcie-frac` you give
|
||||
is every card's share and skips those probes; there is no per-card setting yet.
|
||||
|
||||
**Two models on two cards (the app).** A layer split puts one model on several cards. The other way to use two cards is two
|
||||
models, one per card, each answering on its own. In the app, turn on **Run multiple models** on the Models page: the card
|
||||
list then says which card a loaded model uses ("Already used by ..."), preselects a free card for the next model, and
|
||||
explains a failed start on a card that is taken. Measured on a PC with Radeon AI PRO R9700 cards (two of four, Linux): Q2_0 on
|
||||
one card and IQ3_XXS on another both loaded (33 s and 59 s with the files cached, 114 s the first time), both answered chats
|
||||
(about 60 tokens/s each), the Monitor listed both, and unloading one left the other answering. This was run with the AMD build only;
|
||||
the same app code drives NVIDIA cards, but we have not run two models on two NVIDIA cards.
|
||||
|
||||
**One make of card per engine.** An engine drives one make of card (NVIDIA, AMD or Intel). The app, `strata launch` and setup
|
||||
offer only the cards the engine can drive, never split a model across two makes, say in one plain line when the other make has
|
||||
the bigger card, and say that two models at once on two makes is not supported.
|
||||
|
||||
## Using it
|
||||
|
||||
**Nothing to type.** `START-HERE.bat` (Linux: `./setup.sh`) lists your NVIDIA cards and says for each one whether
|
||||
|
||||
+9
-3
@@ -5,6 +5,11 @@ blocks of E2M1 codes with four UE4M3 sub-block scales, plus one FP32 `weight_sca
|
||||
Everything else (attention, GDN, shared experts, routers, the head) stays in the formats the native path already
|
||||
reads. Measured on Windows 11, RTX 5090 (32 GB), Ryzen 9 9950X3D, 128 GB DDR5-5600.
|
||||
|
||||
**The three NVFP4 versions in setup and the app.** `NVFP4` is "NVFP4 (Strata's version)", `NVFP4-NVIDIA` is "NVFP4
|
||||
(NVIDIA's version)", and `NVFP4-QAD` is "NVFP4 (NVIDIA, trained for FP4)" ([the short guide](MODELS.md#nvfp4)). All three
|
||||
read pictures, through the original model's picture reader file that setup downloads with them (see "Images" below and
|
||||
the FP4-Local section). The other sections of this page apply to all three unless they say otherwise.
|
||||
|
||||
## Getting a model
|
||||
|
||||
```
|
||||
@@ -38,7 +43,7 @@ original model therefore work as they are.
|
||||
Tested end to end with `jpezzulli/OrcaRouter-Qwen3.8-Flash-Next-Uncensored-ModelOpt-NVFP4`. By its
|
||||
`hf_quant_config.json`, NVIDIA's `nvidia/Qwen3.8-Flash-Next-NVFP4` quantizes the routed experts the same way
|
||||
(NVFP4, group 16; the other layers BF16, the PLE table FP8, the MTP experts FP8), so it takes the same path. It has
|
||||
not been run here.
|
||||
not been run here as downloaded. Setup offers it as a ready-made pack, the size `NVFP4-NVIDIA`.
|
||||
|
||||
## Measured
|
||||
|
||||
@@ -111,7 +116,8 @@ Images: the packs keep Qwen's vision tower unquantized, so the original's image
|
||||
(`--vision`; strata-vision opens the dense GGUF for the vocabulary). Checked on an RTX 5070 and an RTX 3060 against
|
||||
IQ3_XXS's answers on the same picture (a number in the picture read, two shapes with their colours and sides). The
|
||||
encoder on the GPU takes ~1.1 GiB of VRAM: on the 3060 at 8K context the cache held 1,293 experts with images against
|
||||
1,734 without.
|
||||
1,734 without. Pictures are on by default; setup and the app pick the CPU reader under 24 GB of graphics memory and the
|
||||
GPU reader from 24 GB (`--vision cpu` / `--vision gpu` change it).
|
||||
|
||||
## Where the global scales go
|
||||
|
||||
@@ -232,7 +238,7 @@ What the checkpoint holds, and what `tools/nvfp4_local_pack.py` does with it:
|
||||
| attention, GDN projections, shared experts, indexer: MXFP8 (E4M3 values, E8M0 scale per 32) | dequantized exactly, then Q8_0 (same 32-value blocks; +0.6% RMS on top of MXFP8's own ~3%), or BF16 for the small projections the BF16 kernels read |
|
||||
| n-gram (PLE) table, 26.8 GiB: NVFP4 rows of 160 values | a one-tensor GGUF of 90-byte rows (80 B codes + 10 E4M3 scales, one F32 for the table), read by the new PLE format `NVFP4` (`strata.ple.format = nvfp4x16`) in `ngram.cpp`; same row size as IQ4_NL |
|
||||
| MTP head: NVFP4 experts, BF16 rest | a Q2_0 draft layer built with `mtp_pack.py` / `mtp_rt.py` (88.7% of drafts accepted over 225 test requests) |
|
||||
| vision tower | not converted yet (text only) |
|
||||
| vision tower | not converted. Pictures are read by the original model's picture reader (the shared `mmproj` file that setup downloads, as for the other NVFP4 versions); the dense GGUF supplies the vocabulary |
|
||||
|
||||
`python tools/nvfp4_local_pack.py prepare --model <checkpoint> --out <dir>` runs every step (setup does this): the n-gram
|
||||
table, the dense GGUF (no experts), the pack (experts written straight from the checkpoint) and the draft layer. It needs
|
||||
|
||||
+14
-2
@@ -2,8 +2,9 @@
|
||||
|
||||
Strata's supported cards are NVIDIA RTX 20 / 30 / 40 / 50 and the AMD cards in [AMD_HIP.md](AMD_HIP.md). The cards
|
||||
below run through **opt-in, experimental** paths that community members wrote and measured on their own machines. The
|
||||
maintainers have none of these cards: each path is compile-checked and unit-tested here, and the ready-made engines
|
||||
and their output stay exactly as they were. Numbers are the reporters' own, on one machine each.
|
||||
maintainers have one of these cards, a Tesla P100, and test on it; they have none of the others: each path is
|
||||
compile-checked and unit-tested here, and the ready-made engines and their output stay exactly as they were. Numbers are
|
||||
the reporters' own, on one machine each, unless the text says the maintainers measured them.
|
||||
|
||||
## Support matrix
|
||||
|
||||
@@ -95,6 +96,17 @@ sums round differently): #540 measured a mean KL of 8.4e-3 on the next-token dis
|
||||
(the same top-1 in 23), the size of other summation-order changes; #655 a worst relative difference of 3.5e-5 per
|
||||
product on an RTX 2080 Ti.
|
||||
|
||||
### Tesla P100 (sm_60): seven decode switches on by default (engine 0.1.45.3)
|
||||
|
||||
On a Tesla P100 the engine now turns on a set of seven switches that change only how the work is scheduled, so the answers
|
||||
stay bit for bit the same: `STRATA_ADAPT_NOWAIT=1`, `STRATA_ADAPT_LAG=2`, `STRATA_SIDE_MIXER=2`, `STRATA_FUSE_WAIT=2`,
|
||||
`STRATA_B6_MMVQ_ROWS=1`, `STRATA_FUSE_DECODE=1` and `STRATA_GR_UP75=1`. `STRATA_SM60_PERF=0` turns the whole set off, and a
|
||||
switch you set yourself, to any value, is kept. The set is used when every visible card has compute capability 6.0.
|
||||
Measured by the maintainers on a Tesla P100 16 GB, IQ3_XXS, default flags, 8 interleaved pairs of fresh engines: decode 36.56
|
||||
-> 41.76 tokens/s (+14.2%, faster in 8 of 8 pairs; a run against itself gave 0.975), with the same number of expert-cache
|
||||
slots; the identity gate (10 prompts and 4K/20K prompt dumps) is identical with the set on. The full list, the RTX 30 set
|
||||
and the per-switch results: [DETAILS.md](DETAILS.md#rtx-30-series-sm_86-and-tesla-p100-sm_60-bitwise-decode-switches-on-by-default).
|
||||
|
||||
### Pascal GP100: a Q8_0 decode kernel (opt-in)
|
||||
|
||||
GP100 (P100, PH402) is the one Pascal chip without `__dp4a`, and the decode kernels are written for the cards that have
|
||||
|
||||
+7
-6
@@ -2,7 +2,7 @@
|
||||
|
||||
Strata runs [Qwen3.6-35B-A3B](https://huggingface.co/Qwen/Qwen3.6-35B-A3B) (35B mixture of experts, 3B active, 256 experts, top-8) from
|
||||
[Unsloth's GGUFs with the MTP layer](https://huggingface.co/unsloth/Qwen3.6-35B-A3B-MTP-GGUF) (UD-Q4_K_XL, UD-Q6_K_XL, Q8_0) on its own
|
||||
engine path (`src/qwen35`; `strata` switches to it from the file's architecture). Pick it in setup (`--family qwen36`). Besides text it
|
||||
engine path (`src/qwen35`; `strata` switches to it from the file's architecture). Pick it in the app's model list, in `strata launch` or in setup (`--family qwen36`). Besides text it
|
||||
reads **pictures** and serves **several requests at once**, the same two options the Flash-Next models have.
|
||||
|
||||
Measured on an AMD Radeon AI PRO R9700 32 GB (HIP, Linux, UD-Q4_K_XL, every expert in VRAM) and on an RTX 3060 12 GB (CUDA, 20 threads,
|
||||
@@ -13,10 +13,11 @@ UD-Q4_K_XL in the hybrid mode: 22-37 of 256 experts per layer in VRAM, the rest
|
||||
The vision encoder is Unsloth's `mmproj-F16.gguf` (0.9 GB, pinned revision, SHA-256 checked by setup): a 27-layer ViT with a 2x2 merger,
|
||||
the same projector family as the Flash-Next models' (`qwen3vl_merger`; only its output width differs: 2048 here, 2560 there). Strata runs
|
||||
it with the same helper (`strata-vision`, llama.cpp's `mtmd`), so the encoder choices are the Flash-Next ones
|
||||
([Images](DETAILS.md#images-vision)): **setup asks "Do you want images?"**, the default answer is yes on an NVIDIA card of 16 GB or more
|
||||
(GPU encoder, ~1.2 GB of VRAM at up to 1,024 image tokens) and on AMD under Linux (CPU encoder, no VRAM); `--vision yes|no|gpu|cpu`
|
||||
and `--vision-tokens N` work as there. A card under 16 GB is recommended the CPU encoder (the GPU one takes room from the experts);
|
||||
`--vision gpu` is kept as asked, with a note.
|
||||
([Images](DETAILS.md#images-vision)). **Pictures are on by default**, the same rule as for every model and every make of card:
|
||||
the CPU reader under 24 GB of graphics memory (a few seconds per picture, no VRAM), the card's reader from 24 GB (GPU encoder,
|
||||
~1.2 GB of VRAM at up to 1,024 image tokens; on AMD it is `strata-vision-hip`, with the CPU reader as its fallback).
|
||||
`--vision yes|no|gpu|cpu` and `--vision-tokens N` work as there; what you ask for is kept, with a note. The Mac engine does
|
||||
not run this model.
|
||||
|
||||
| Encoder | Time per picture (640x400 = 260 tokens / 800x450 = 350 tokens) | VRAM |
|
||||
| --- | --- | --- |
|
||||
@@ -171,7 +172,7 @@ prompt state: KL against the 512 chunk on six real 1.5-3.2K-token documents (48
|
||||
4096 3.6e-3 (per prompt 2.3e-3 .. 5.9e-3), top-1 agreement 44-48 of 48 rows - the size of the llama.cpp CPU-vs-HIP difference on the same
|
||||
file (4.2e-3), not a quality loss. Greedy 64 tokens after those six documents: the default chunk gives the base engine's text for 2 of 6,
|
||||
`--prefill 512` for 6 of 6. A prompt shorter than the chunk (every chat turn after the first) is one chunk either way: unchanged.
|
||||
The new default's goldens are `phaseA-tests/q36speed/golden/` (six documents, greedy 64): later changes are checked against them.
|
||||
The maintainers keep the new default's reference outputs (six documents, greedy 64) and check later changes against them.
|
||||
|
||||
**Tried and dropped.** The MTP drafts' head over a subset of the vocabulary (`--draft-vocab N`, kept as an opt-in; the answer never
|
||||
changes): the first 16K-131K rows gain 5-8% on English and code but lose 10-15% on Chinese / Russian / Arabic / Hindi (70% of a Chinese
|
||||
|
||||
+58
-6
@@ -1,8 +1,53 @@
|
||||
# Something went wrong?
|
||||
|
||||
The common problems and what to do. Back to the [README](../README.md#something-went-wrong). The full table of
|
||||
The common problems and what to do, for the desktop app, the Terminal (`strata launch`) and the installer. Back to the [README](../README.md#something-went-wrong). The full table of
|
||||
error messages, with the older engine fixes, is in the [details](DETAILS.md#troubleshooting).
|
||||
|
||||
## The desktop app and the Terminal
|
||||
|
||||
**A warning says Strata "couldn't find an engine for this computer".**
|
||||
The engine is the part that talks to your graphics card. This is a warning, not a refusal: Strata still downloads the
|
||||
model, and the model files stay on your computer, but the model may not run until the right engine is installed. The usual
|
||||
reasons are that no engine is installed yet and the update source has none for your card, that the engine found is for
|
||||
another make of card, or that the graphics driver is too old. In the app, open Settings, then Engine. In the Terminal, the
|
||||
message names the next step: run `strata update --feed <address>` with the update source you were given (or ask whoever sent
|
||||
you Strata for the engine that matches your card), then run `strata launch` again.
|
||||
|
||||
**"This model needs a newer engine." (the app), or a button called Update engine.**
|
||||
Some models need an engine newer than the one installed: Gyro needs 0.1.45.1 or newer, NVFP4 needs 0.1.44, and NVFP4 (NVIDIA,
|
||||
trained for FP4) needs 0.1.45. In the app, open Settings, then Engine, and press Update engine. It asks first, keeps your
|
||||
model files and settings, and wants running models unloaded. In the Terminal: `strata update --check` says what would
|
||||
change, `strata update` installs it (it switches to the new engine only after a test start). If the engine you
|
||||
installed is the newest and the message stays, the update source has no newer engine for your card yet.
|
||||
|
||||
**On a Mac: "Strata is damaged and can't be opened", "cannot be opened", or "unidentified developer".**
|
||||
Nothing is wrong with the file. macOS marks everything a browser downloads, and only lets a marked program run if Apple
|
||||
has checked it. Strata's release builds are checked by Apple ("notarised"): drag Strata onto Applications and open it; the
|
||||
first time, macOS asks "Are you sure you want to open it?" and you press Open. A test build that is not notarised says
|
||||
"damaged". Do not move it to the Trash. Open the Terminal app and remove the mark, with the line that matches what you have
|
||||
(drag the file from Finder into the Terminal window to type its path):
|
||||
|
||||
xattr -dr com.apple.quarantine ~/Downloads/<the .dmg file> # the .dmg, before opening it
|
||||
xattr -dr com.apple.quarantine /Applications/Strata.app # the app, after dragging it over
|
||||
xattr -dr com.apple.quarantine <the folder you unzipped> # an unzipped Terminal folder
|
||||
|
||||
Then open it again. If macOS says only "the developer cannot be verified", you can instead try to open it once, then open
|
||||
System Settings > Privacy & Security and press "Open Anyway" next to the message about Strata. Installs made with
|
||||
`curl ... | sh` carry no mark and need none of this. To see which kind you have: `spctl -a -vv /Applications/Strata.app`
|
||||
answers "accepted" and "Notarized Developer ID" for a notarised build. (How the builds are signed: `packaging/mac/README.md`.)
|
||||
|
||||
**Checking what is installed: `strata doctor`.**
|
||||
It is a read-only check of the installed engine parts (it changes nothing): which engine and helper files a saved model
|
||||
needs, and whether they are there. `strata doctor --live` also asks the computer which graphics cards it sees and compares
|
||||
them with the cards the model is set to use; `--output json` prints the same as data. Put its output into a bug report.
|
||||
|
||||
**Sending logs for a bug report.**
|
||||
In the app: Settings, Engine, Diagnostics, View logs, then Save logs. It writes one text file,
|
||||
`strata-diagnostics-<date>.txt`, into your Downloads folder and shows where. It holds the engine's messages, the failed
|
||||
steps and the end of each model's server log. In the Terminal, send the output of `strata doctor`. If the Linux app window
|
||||
crashes or will not open, run the AppImage with `--save-logs` in a terminal instead; it writes the crash log and the other
|
||||
logs to one file in Downloads. Look through a log before you send it, and never send an API key.
|
||||
|
||||
## While installing or starting
|
||||
|
||||
**My PC froze, or got very slow, the first time Strata started.**
|
||||
@@ -131,10 +176,14 @@ with 13.0. If you compile it yourself, use CUDA 13.0, 13.1 or 13.2.2 (13.2.2, nv
|
||||
setup warns when it finds 13.2.0 or 13.2.1 for such a card, and takes an older 13.x when one is installed.
|
||||
|
||||
**Pictures are refused, or slow.**
|
||||
"this server was started without the vision encoder": the model was set up for text only - run setup again with
|
||||
`--vision gpu` (or `--vision cpu`). Pictures that take several seconds (about 3 s at 300 image tokens on 8 cores, more with more tokens) are read by the encoder on the CPU; `--vision gpu`
|
||||
(NVIDIA and AMD, ~1.4 GB of VRAM) makes it 0.1-0.5 s. On AMD the GPU reader is the default; if it cannot start, the server
|
||||
prints "the GPU picture reader did not start (...); pictures are read on the CPU" and goes on with the CPU reader.
|
||||
"this server was started without the vision encoder": the model was set up for text only (someone chose "No", or the
|
||||
engine has no picture reader) - run setup again with `--vision yes` (or `--vision gpu` / `--vision cpu`), or switch pictures
|
||||
on in the app or on the Pictures step of `strata launch`. Pictures are on by default wherever a model can read them. The
|
||||
reader runs on the CPU under 24 GB of graphics memory and on the card from 24 GB, on every make of card. Pictures that take
|
||||
several seconds (about 3 s at 300 image tokens on 8 cores, more with more tokens) are read by the encoder on the CPU;
|
||||
`--vision gpu` (NVIDIA and AMD, ~1.4 GB of VRAM) makes it 0.1-0.5 s. On AMD the card's reader is `strata-vision-hip`; if it
|
||||
cannot start, the server prints "the GPU picture reader did not start (...); pictures are read on the CPU" and goes on with
|
||||
the CPU reader. The Mac app, the Mac Terminal and the Intel Arc engine have no picture reader yet.
|
||||
|
||||
## AMD cards
|
||||
|
||||
@@ -193,4 +242,7 @@ R9700) in the `env` block of the server JSON, then a restart. Experimental, one
|
||||
## Still stuck?
|
||||
|
||||
Look in the [full troubleshooting table](DETAILS.md#troubleshooting), or open an
|
||||
[issue](https://github.com/Niko1221/Strata/issues) and attach `strata-<model>.log` from the Strata folder.
|
||||
[issue](https://github.com/Niko1221/Strata/issues) and attach the log: in the app, the file Save logs writes (see
|
||||
[above](#the-desktop-app-and-the-terminal)); in the Terminal, the output of `strata doctor`; with the installer,
|
||||
`strata-<model>.log` from the Strata folder. Say which one you use (app, Terminal or the installer), your Strata and
|
||||
engine versions and your card.
|
||||
Reference in new issue
Block a user