native experts: STRATA_ACT_DUMP, per-layer second moments of the CPU expert inputs (research, env-gated, off by default)

This commit is contained in:
Niko1221 committed 2026-10-20 14:36:38 +02:00
1 parent 6f99190f82
commit a775b04695
3 files changed
+89

No files matched your search

@@ -36,6 +36,7 @@ struct NativeFmt {
/// native_quant_act / native_quant_h apply y = H_block (signs * x) before quantizing. had_block 0 = none.
int had_block = 0;
bool had_gu = false, had_d = false;
int layer = -1; ///< the layer this format belongs to (set by expert_layout_load; STRATA_ACT_DUMP only)
const float* gu_signs = nullptr; ///< n_embd signs for x (nullptr: identity)
const float* d_signs = nullptr; ///< n_ff signs for h (nullptr: identity)
};