nemo_automodel.components.models.muse_spark.state_dict_adapter
nemo_automodel.components.models.muse_spark.state_dict_adapter
Checkpoint conversion for the released Muse Spark Open dump.
Module Contents
Classes
Functions
Data
API
Bases: StateDictAdapter
Convert raw grouped Muse experts and multimodal namespaces to AutoModel.
The checkpoint stores expert matrices as [E,out,in] while the reusable
grouped-GEMM implementation consumes [E,in,out]. Under expert
parallelism, conversion first selects this rank’s contiguous expert range,
transposes only that slice, and wraps the local result as an EP DTensor.
Convert a native tensor, preserving grouped expert tensors as views.
Convert released keys and slice grouped experts for the EP owner rank.
Convert native tensors to released Muse Spark Open checkpoint keys.
Map one native tensor key to the released checkpoint hierarchy.
Map one serialized checkpoint key to the native module hierarchy.