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

HIP: the measured PCIe share (PcieAuto) is the default on gfx1200/gfx1201; STRATA_PCIE_FRAC_DEFAULT=old opts out; other AMD parts unchanged

Niko12217475df931a3a
diff --git a/src/program/generate.cpp b/src/program/generate.cpp
index 45276b245..a6964475b 100644
--- a/src/program/generate.cpp
+++ b/src/program/generate.cpp
@@ -2693,11 +2693,9 @@ int main(int argc, char** argv) {
o.pcie_frac = pcie_frac_for_gbps(bw, base);
std::fprintf(stderr, "strata generate: PCIe probe: %.1f GB/s host->device (best of %s) -> pcie_frac %.2f "
"(default %.2f)\n", bw, bursts.c_str(), o.pcie_frac, base);
-#if !defined(STRATA_USE_HIP)
const char* pfd = std::getenv("STRATA_PCIE_FRAC_DEFAULT");
- o.pcie_frac_auto = o.layer_split.empty() && !(pfd != nullptr && std::strcmp(pfd, "old") == 0);
+ o.pcie_frac_auto = o.layer_split.empty() && decode_defaults_arch_ok() && !(pfd != nullptr && std::strcmp(pfd, "old") == 0);
o.pcie_probe_gbps = bw;
-#endif
} else {
o.pcie_frac = base;
std::fprintf(stderr, "strata generate: PCIe probe failed -> pcie_frac default %.2f\n", base);