aboutsummaryrefslogtreecommitdiff
path: root/modules/sd_hijack_optimizations.py
diff options
context:
space:
mode:
authorbrkirch <brkirch@users.noreply.github.com>2022-10-10 00:38:55 -0400
committerAUTOMATIC1111 <16777216c@gmail.com>2022-10-10 08:04:52 +0300
commit8acc901ba3a252dc6ab4fabcb41644cf64d1774c (patch)
treec4251d6534c6cbbeee40b22bcbe8f15d0178e010 /modules/sd_hijack_optimizations.py
parent45fbd1c5fec887988ab555aac75a999d4f3aff40 (diff)
Newer versions of PyTorch use TypedStorage instead
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.
Diffstat (limited to 'modules/sd_hijack_optimizations.py')
0 files changed, 0 insertions, 0 deletions