nemo_automodel.components.models.minimax_m2.state_dict_adapter
nemo_automodel.components.models.minimax_m2.state_dict_adapter
Module Contents
Classes
Functions
Data
API
Bases: MoESplitExpertsStateDictMixin, StateDictAdapter
Convert between MiniMax-M2.1 HF checkpoints and native grouped-expert format.
_expert_path_segment
Convert HF checkpoint to native format in-place.
Operates in-place on the input dict to avoid allocating a full copy, reducing peak memory from 2x to ~1x model size.