aboutsummaryrefslogtreecommitdiffstats
path: root/modules/safe.py
AgeCommit message (Collapse)AuthorLines
2023-05-31rename print_error to report, use it with together with package nameAUTOMATIC-3/+4
2023-05-29Add & use modules.errors.print_error where currently printing exception info ↵Aarni Koskela-12/+14
by hand
2023-05-13Allow bf16 in safe unpicklercatboxanon-1/+1
2023-05-10fixes for B007AUTOMATIC-2/+2
2023-05-10ruff manual fixesAUTOMATIC-1/+1
2023-05-02fix an error that prevents running webui on torch<2.0 without ↵AUTOMATIC-1/+5
--disable-safe-unpickle
2023-04-29stuff related to torch version changeAUTOMATIC-4/+1
2022-12-25Merge pull request #5992 from yuvalabou/F541AUTOMATIC1111-4/+4
Fix F541: f-string without any placeholders
2022-12-25a way to add an exception to unpickler without explicitly calling ↵AUTOMATIC-1/+38
load_with_extra
2022-12-24fix F541 f-string without any placeholdersYuval Aboulafia-4/+4
2022-12-24Merge pull request #5753 from calvinballing/masterAUTOMATIC1111-2/+2
Fix various typos
2022-12-17Add attributes used by MPSbrkirch-6/+6
2022-12-14Fix various typosJim Hays-2/+2
2022-12-02Fixed safe.py for pytorch 1.13 ckpt filesSmirkingFace-7/+11
2022-11-06add load_with_extra function for modules to load checkpoints with extended ↵AUTOMATIC-3/+37
whitelist
2022-11-01make launch.py run installers for extensions that have onesAUTOMATIC-1/+1
add some more classes to safety module for an extension
2022-10-14extra message for unpicking failsAUTOMATIC-1/+8
2022-10-11become even stricter with picklesAUTOMATIC-0/+17
no pickle shall pass thank you again, RyotaK
2022-10-10Newer versions of PyTorch use TypedStorage insteadbrkirch-1/+5
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-1/+1
2022-10-09added guard for torch.load to prevent loading pickles with unknown contentAUTOMATIC-0/+89