get_fusion_params¶
- torchtune.modules.model_fusion.get_fusion_params(model: Module) dict[str, torch.nn.parameter.Parameter] [source]¶
Return the subset of parameters from a model that correspond to fused modules. Assumes that any fusion class has defined the
fusion_params()
method.