aboutsummaryrefslogtreecommitdiff
path: root/modules/safe.py
AgeCommit message (Collapse)Author
2022-11-06add load_with_extra function for modules to load checkpoints with extended ↵AUTOMATIC
whitelist
2022-11-01make launch.py run installers for extensions that have onesAUTOMATIC
add some more classes to safety module for an extension
2022-10-14extra message for unpicking failsAUTOMATIC
2022-10-11become even stricter with picklesAUTOMATIC
no pickle shall pass thank you again, RyotaK
2022-10-10Newer versions of PyTorch use TypedStorage insteadbrkirch
Pytorch 1.13 and later will rename _TypedStorage to TypedStorage, so check for TypedStorage and use _TypedStorage if it is not available. Currently this is needed so that nightly builds of PyTorch work correctly.
2022-10-09add DoubleStorage to list of allowed classes for pickleAUTOMATIC
2022-10-09added guard for torch.load to prevent loading pickles with unknown contentAUTOMATIC