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++
peer tier: refuse --peer-device with --layer-split or --expert-cache-device1..3 (both would use the same second card); --help lines for the --peer-* flags
Andyf6304c713c13
diff --git a/src/program/generate.cpp b/src/program/generate.cppindex 942ddce1e..0b618bd78 100644--- a/src/program/generate.cpp+++ b/src/program/generate.cpp@@ -566,6 +566,14 @@ void usage() {" --expert-cache-device3 N pre-fill N more experts on CUDA3\n"" --expert-cache-remote-placement stripe|layer distribute expert ranks or whole\n"" layers across CUDA1..3 (default: stripe)\n"+ " --peer-device N a second GPU as an adaptive expert-cache tier (rows over P2P; it also\n"+ " computes its experts' prompt rows). Not with --layer-split or\n"+ " --expert-cache-device1..3. Default output unchanged without it.\n"+ " --peer-reserve-mib N VRAM the peer tier leaves free on its card (default 600)\n"+ " --peer-slots N expert slots on the peer (default: what fits)\n"+ " --peer-adapt-swaps N peer cache swaps per adaptation step (default: --adapt-swaps)\n"+ " --peer-prefill-rows N prompt rows per layer the peer computes (default half of chunk x top-k;\n"+ " 0 = the prompt path stays on the primary)\n"" --expert-cache-per-layer R4.2g: give each layer its OWN slots instead of letting the first\n"" position take all of them. The default policy fills in arrival order\n"" from one shared counter, so 256 slots went to ~26 layers of position 0\n"@@ -1698,6 +1706,14 @@ int main(int argc, char** argv) {std::fprintf(stderr, "strata generate: --expert-cache-remote-placement must be stripe or layer\n");return 2;}+ // the peer tier is the second card's only user: a layer split or a remote expert cache would put a second engine+ // part (and a second copy of the same experts) on it+ if (o.peer_device >= 1 && (!o.layer_split.empty() || o.expert_cache_remote[0] > 0)) {+ std::fprintf(stderr, "strata generate: --peer-device cannot be combined with %s\n",+ !o.layer_split.empty() ? "--layer-split (use one or the other)"+ : "--expert-cache-device1..3 (the peer tier already caches experts there)");+ return 2;+ }if (o.native_flash_attn_short && o.max_context > 256) {std::fprintf(stderr, "strata generate: --native-flash-attn-short requires --max-context <=256\n");