[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:
metamergebot
2026-10-15 17:50:43 -07:00
committed by GitHub
co-authored by fei-xx zx3xyy
parent f110b2f801
commit e3961eb6fa
2 changed files with 29 additions and 1 deletions
+1
View File
@@ -3299,6 +3299,7 @@ class SafeUnpickler(pickle.Unpickler):
("torch", "Size"),
("torch", "device"),
("torch", "dtype"),
("torch", "bcomplex32"),
("torch", "bfloat16"),
("torch", "bit"),
("torch", "bits16"),