STRATA_HC_Q8=1: no bf16 copy of the layers' hyper-connection down/up projections (single GPU): they are quantized to Q8_0 from the pack file at load and left out of the arena; the prompt path and the single-token read dequantize a half's two matrices into a per-stream scratch

This commit is contained in:
Niko1221 committed 2026-10-12 07:40:49 +02:00
1 parent 485984fdb8
commit b60aab1ba2
9 files changed
+162 -18

No files matched your search

+4
View File
@@ -2933,6 +2933,10 @@ int main(int argc, char** argv) {
return 1;
}
if (native_pack) skip.insert("token_embd.weight");
// STRATA_HC_Q8=1 (single GPU): the layers' hyper-connection down / up projections live only as Q8_0 (NativeDense
// quantizes them from the pack file), so their bf16 copy is not loaded
if (!o.native_dense_gguf.empty() && !multi_gpu && strata::core::NativeDense::hc_q8_requested())
strata::core::NativeDense::add_hc_skip(o.pack, skip);
}
// Layer split: every GPU holds only the dense weights of ITS layers (the PLE tensors stay everywhere).
// Without this each card keeps a full copy (~3.4 GB for the Coder) that its stage never reads - VRAM the