diff --git a/src/prefill/prefill.cpp b/src/prefill/prefill.cpp index 6f53169a..bd8ae5e7 100644 --- a/src/prefill/prefill.cpp +++ b/src/prefill/prefill.cpp @@ -97,12 +97,12 @@ constexpr int DQ = 2; // dequantized-expert ring (FP16 gate/up + do // The BF16-weight projections (hyper-connection, SSM alpha/beta, indexer, router, shared gate, PLE key/value) take // BF16 activations here and FP32 ones in decode. STRATA_PREFILL_BF16X2=1 adds each activation's BF16 remainder as a // second GEMM (Y = W.hi + W.lo, ~16 mantissa bits): a router that picks its top 10 from the same x decode would. -// 2 (the default) = all but the hyper-connection's; 1 = the hyper-connection's too (its activations are 10240 wide -// and its up projection writes as much: slower); 0 = off. +// 2 = all but the hyper-connection's; 1 = the hyper-connection's too (its activations are 10240 wide and its up +// projection writes as much: slower); 0 (the default: opt-in, it changes the prompt path's numbers) = off. inline int bf16x2_mode() { static const int v = [] { const char* e = std::getenv("STRATA_PREFILL_BF16X2"); - return e != nullptr ? std::atoi(e) : 2; + return e != nullptr ? std::atoi(e) : 0; }(); return v; }