aboutsummaryrefslogtreecommitdiffstats
path: root/modules/safe.py
Commit message (Collapse)AuthorAgeFilesLines
* rename print_error to report, use it with together with package nameAUTOMATIC2023-05-311-3/+4
|
* Add & use modules.errors.print_error where currently printing exception info ↵Aarni Koskela2023-05-291-12/+14
| | | | by hand
* Allow bf16 in safe unpicklercatboxanon2023-05-131-1/+1
|
* fixes for B007AUTOMATIC2023-05-101-2/+2
|
* ruff manual fixesAUTOMATIC2023-05-101-1/+1
|
* fix an error that prevents running webui on torch<2.0 without ↵AUTOMATIC2023-05-021-1/+5
| | | | --disable-safe-unpickle
* stuff related to torch version changeAUTOMATIC2023-04-291-4/+1
|
* Merge pull request #5992 from yuvalabou/F541AUTOMATIC11112022-12-251-4/+4
|\ | | | | Fix F541: f-string without any placeholders
| * fix F541 f-string without any placeholdersYuval Aboulafia2022-12-241-4/+4
| |
* | a way to add an exception to unpickler without explicitly calling ↵AUTOMATIC2022-12-251-1/+38
|/ | | | load_with_extra
* Merge pull request #5753 from calvinballing/masterAUTOMATIC11112022-12-241-2/+2
|\ | | | | Fix various typos
| * Fix various typosJim Hays2022-12-151-2/+2
| |
* | Add attributes used by MPSbrkirch2022-12-171-6/+6
|/
* Fixed safe.py for pytorch 1.13 ckpt filesSmirkingFace2022-12-021-7/+11
|
* add load_with_extra function for modules to load checkpoints with extended ↵AUTOMATIC2022-11-061-3/+37
| | | | whitelist
* make launch.py run installers for extensions that have onesAUTOMATIC2022-11-011-1/+1
| | | | add some more classes to safety module for an extension
* extra message for unpicking failsAUTOMATIC2022-10-141-1/+8
|
* become even stricter with picklesAUTOMATIC2022-10-111-0/+17
| | | | | no pickle shall pass thank you again, RyotaK
* Newer versions of PyTorch use TypedStorage insteadbrkirch2022-10-101-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.
* add DoubleStorage to list of allowed classes for pickleAUTOMATIC2022-10-091-1/+1
|
* added guard for torch.load to prevent loading pickles with unknown contentAUTOMATIC2022-10-091-0/+89