aboutsummaryrefslogtreecommitdiff
path: root/modules/safe.py
AgeCommit message (Collapse)Author
2023-05-13Allow bf16 in safe unpicklercatboxanon
2023-05-10fixes for B007AUTOMATIC
2023-05-10ruff manual fixesAUTOMATIC
2023-05-02fix an error that prevents running webui on torch<2.0 without ↵AUTOMATIC
--disable-safe-unpickle
2023-04-29stuff related to torch version changeAUTOMATIC
2022-12-25Merge pull request #5992 from yuvalabou/F541AUTOMATIC1111
Fix F541: f-string without any placeholders
2022-12-25a way to add an exception to unpickler without explicitly calling ↵AUTOMATIC
load_with_extra
2022-12-24fix F541 f-string without any placeholdersYuval Aboulafia
2022-12-24Merge pull request #5753 from calvinballing/masterAUTOMATIC1111
Fix various typos
2022-12-17Add attributes used by MPSbrkirch
2022-12-14Fix various typosJim Hays
2022-12-02Fixed safe.py for pytorch 1.13 ckpt filesSmirkingFace
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