Expand description
K3 official MXFP4 names → DeepSeek-V4 E8M0 unpack.
DSV4 native MXFP4: {prefix}.weight (E2M1 packed) + {prefix}.scale (E8M0).
K3 official TSV: {prefix}.weight_packed + {prefix}.weight_scale.
Math is crate::mxfp4_e8m0; this module only remaps names.
Constants§
- PACKED_
CLASSES - Official TSV classes that are packed routed-expert MXFP4.
Functions§
- allow_
mxfp4 - Opt-in for CPU
from_pretrainedpacked ingest. Default is refuse. - is_
expert_ packed - is_
expert_ scale - scale_
name - unpack_
expert - Unpack a K3 expert pair through the DSV4 host function.
- unpack_
expert_ bf16 - Same unpack as DSV4 GPU-upload host path (BF16 bits).
- unpacked_
name