Skip to main content

full_prec_enabled

Function full_prec_enabled 

Source
pub fn full_prec_enabled() -> bool
Expand description

FULL-PRECISION LOADER MODE (MEMRA_FULL_PREC=1, default OFF — MTP-heal research platform). Bypasses the standing loader law (large BF16/F8 -> Q8_0/NVFP4 re-encode, the “Float-poison” tripwire). Under this flag every weight loads as Float and compute rides the Stage-A f32 oracle path end to end — SLOW IS FINE, this mode exists for exactness (the MTP acceptance CEILING at full precision), not speed. Large 2D matmul weights stay bf16-resident (GpuTensor::FloatBf16) with dequant-on-use so the 9B (~18GB bf16) + f32 activations fit 24GB instead of blowing to ~38GB as an all-f32 materialization. The Float-poison tripwire warnings are CORRECT behavior here and are suppressed. See docs/FLAGS.md and HANDOVER “MEMRA DUAL-SHAPE”.