Module expert

Module expert 

Source

Structs§

ExpertKey
Identifies one expert’s weight record: (moe_layer, expert).
ExpertLayout
Deterministic file geometry for a directory of per-MoE-layer expert files.
ExpertRecordHeader
Fixed-size, versioned header written at the front of every expert record.
ExpertRecordId
Dense 64-bit expert-record id (analogue of group::GroupId).
ExpertRecordSpec
Where every sub-buffer of one expert record sits, relative to the record’s base. Shared by the offline builder (to place bytes) and the streamer (to compute the device pointers it patches into the ExpertPtrTable).
ProjBytes
Byte geometry of one NVFP4 projection sub-buffer inside an expert record.

Enums§

Proj
The three projections that make up one routed expert, in a fixed order.