Qwen3.8-Flash-Next on any consumer hardware: one-click install for Windows / Linux. Strata inference engine, OpenAI/Anthropic API on localhost, optional image input.
C++
docs: Linux updates, other distributions and WSL; the 0.1.14 stall fix; the full expert profile
Niko1221dcb0c2442261
diff --git a/docs/DETAILS.md b/docs/DETAILS.mdindex d68f0c57f..d72bb336a 100644--- a/docs/DETAILS.md+++ b/docs/DETAILS.md@@ -77,7 +77,9 @@ part by how many more experts the card's VRAM holds. Treat as **±20%**. Numbers| | IQ3_XXS | ~260 / ~106 | ~374 / ~103 | ~396 / ~89 | ~390 / ~85 | ~378 / ~71 | - |More VRAM matters more than a faster GPU: every extra GB holds ~700 more experts, and every expert on the GPU is one the-CPU does not have to compute. A 3090's 24 GB takes most of the CPU work away.+CPU does not have to compute. A 3090's 24 GB takes most of the CPU work away. (Since 0.1.14 the expert profile ranks+all 24,576 experts; before, the cache stopped at 8,000, about 10-14 GB. `tools/make_profile.py` builds a profile from+your own prompts: run the engine once with `--dump-routing trace.bin`, see the tool's help.)## Which model?@@ -184,6 +186,15 @@ for the build tools), and the same start: `http://127.0.0.1:8080`. Later runs ofstart the model directly. Options as on Windows (`./setup.sh --setup`, `--model Q2_0 --yes`, `--gguf-dir /data/Q2_0`).Terminal chat: `.venv/bin/python chat.py`.+- **Updating:** `git pull`, then `./setup.sh`: it compiles the engine again when its source changed (a minute or+ two for the changed files). If that compile fails, it says so and starts the engine you had.+- **Other distributions** (Arch, Fedora, ...): install the C++ compiler and the CUDA Toolkit 13 with your package+ manager first (Arch: `sudo pacman -S base-devel cuda`); setup finds `nvcc` on PATH, in `/usr/local/cuda*` and in+ `/opt/cuda*`, and does the rest.+- **WSL** works (Ubuntu 24.04 tested), with one limit: the NVIDIA driver pins only about 1 GB of RAM there, so KV+ streaming (`--kv-resident`) is off and the KV cache stays in VRAM, and the experts are copied to the GPU from+ unpinned RAM (slower prompts than native Linux).+---## Using it@@ -393,7 +404,7 @@ the document, +0.4% on the chat. Details: `bench/results/2026-09-27-esp/`.| 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 (10-30 s) | The encoder runs on the CPU: run setup again with `--vision gpu` (needs ~1.4 GB of VRAM). || 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. |-| 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.) |+| 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). || Anything else | The engine log is `strata-<model>.log` in this folder. |---