cerebras.modelzoo.common.utils.model.mup_utils#
Functions
Parses the model's supported lr adjustment groups and optionally overrides any user set scales :param model_lr_adjustment_groups: Keys are the :type model_lr_adjustment_groups: dict :param LR group name and the values are LRAdjustmentGroup instances: :param params_lr_adjustment_groups: Keys are the :type params_lr_adjustment_groups: dict :param LR group name and the values are the scale override value: |
|
Scales the std of an initializer or list of initializers by the specified width and depth scalars. |
Classes
Stores data for a group of params that share a learning rate scalar. |