[Fix] utils: Allowlist torch.bcomplex32 in SafeUnpickler (#44440)
Co-authored-by: fei-xx <fei-xx@users.noreply.github.com> Co-authored-by: zx3xyy <zx3xyy@users.noreply.github.com>
This commit is contained in:
co-authored by
fei-xx
zx3xyy
parent
f110b2f801
commit
e3961eb6fa
@@ -3299,6 +3299,7 @@ class SafeUnpickler(pickle.Unpickler):
|
||||
("torch", "Size"),
|
||||
("torch", "device"),
|
||||
("torch", "dtype"),
|
||||
("torch", "bcomplex32"),
|
||||
("torch", "bfloat16"),
|
||||
("torch", "bit"),
|
||||
("torch", "bits16"),
|
||||
|
||||
Reference in New Issue
Block a user