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

peer: STRATA_PEER_NO_P2P=1 test knob (pretend the pair has no P2P)

Niko1221b92a44bfc78f
diff --git a/src/core/peer_experts.cpp b/src/core/peer_experts.cpp
index ad88bda8f..f68a2e0a6 100644
--- a/src/core/peer_experts.cpp
+++ b/src/core/peer_experts.cpp
@@ -98,6 +98,7 @@ bool PeerExperts::open(int device, const std::vector<std::pair<int32_t, int32_t>
int a = 0, b = 0;
cudaDeviceCanAccessPeer(&a, 0, device);
cudaDeviceCanAccessPeer(&b, device, 0);
+ if (const char* np = std::getenv("STRATA_PEER_NO_P2P"); np != nullptr && std::atoi(np) != 0) a = 0; // test knob: pretend the pair has no P2P
p2p_ = a && b;
if (p2p_) {
On on0(0);