Skip to content

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++

fused_gr: STRATA_GR_NORM_FAST=1 on CUDA too (opt-in; the register split norm is bitwise the default; decode +0.5-0.6% on a V100 + PG500 split)

Warabii1248fec7d1cae2c0
diff --git a/src/kernels/cuda/fused_gr.cu b/src/kernels/cuda/fused_gr.cu
index c3c2fc8d9..ff8f4f36c 100644
--- a/src/kernels/cuda/fused_gr.cu
+++ b/src/kernels/cuda/fused_gr.cu
@@ -1020,7 +1020,9 @@ bool norm_fast_on() {
}
return per_dev[dev] == 2;
#else
- return false;
+ // CUDA: opt-in with STRATA_GR_NORM_FAST=1 (measured on sm_70 only)
+ static const bool on = [] { const char* e = std::getenv("STRATA_GR_NORM_FAST"); return e != nullptr && std::atoi(e) != 0; }();
+ return on;
#endif
}