We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cf30fa8 commit 44cdfe9Copy full SHA for 44cdfe9
swift/tuners/utils.py
@@ -329,8 +329,7 @@ def freeze_model():
329
class ModulesToSaveWrapper(ActivationMixin, _ModulesToSaveWrapper):
330
331
def __init__(self, *args, module_key, **kwargs):
332
- self.module_key = module_key
333
- super(ModulesToSaveWrapper, self).__init__()
+ super(ModulesToSaveWrapper, self).__init__(module_key)
334
super(ActivationMixin, self).__init__(*args, **kwargs)
335
336
@property
0 commit comments