nemo_automodel.shared.parameter_names
nemo_automodel.shared.parameter_names
Utilities for stable logical parameter names.
Module Contents
Functions
API
Remove activation-checkpoint wrapper components from a parameter FQN.
PyTorch exposes CheckpointWrapper as a registered child module through
named_parameters(), but strips the same component from state-dict keys.
Canonicalizing name-sensitive consumers keeps their logical names aligned
with the stable state-dict contract.
Parameters:
name
Module-qualified parameter name.
Returns: str
The logical parameter name without checkpoint-wrapper components.