mirror of
https://github.com/ostris/ai-toolkit.git
synced 2026-04-23 07:49:24 +00:00
Avoid loading state dict for automagic for now until I can sort out some issues
This commit is contained in:
@@ -322,6 +322,8 @@ class Automagic(torch.optim.Optimizer):
|
||||
|
||||
def load_state_dict(self, state_dict, strict=True):
|
||||
# load the lr_mask from the state_dict
|
||||
# dont load state dict for now. Has a bug. Need to fix it.
|
||||
return
|
||||
idx = 0
|
||||
for group in self.param_groups:
|
||||
for p in group['params']:
|
||||
|
||||
Reference in New Issue
Block a user