mirror of
https://github.com/ostris/ai-toolkit.git
synced 2026-04-24 08:19:24 +00:00
Fixed saving and displaying for automagic
This commit is contained in:
@@ -241,7 +241,7 @@ class Auto8bitTensor:
|
||||
self.orig_dtype = state_dict['orig_dtype']
|
||||
|
||||
def __str__(self):
|
||||
return f"Auto8bitTensor(scale={self.scale}, orig_dtype={self.orig_dtype})"
|
||||
return f"Auto8bitTensor({self.dequantize()})"
|
||||
|
||||
|
||||
def stochastic_grad_accummulation(param):
|
||||
|
||||
Reference in New Issue
Block a user