aboutsummaryrefslogtreecommitdiffstats
path: root/modules/ui_extra_networks.py
diff options
context:
space:
mode:
authorbrkirch <brkirch@users.noreply.github.com>2023-03-24 07:04:47 +0000
committerbrkirch <brkirch@users.noreply.github.com>2023-03-24 08:04:22 +0000
commit27fe3eb6a9d8f866af8b90dff18f4445124702da (patch)
tree1ba1eb23105a690cec2e4c8dd391b82a169ccd8b /modules/ui_extra_networks.py
parentc5142e2fbecb50531a55aa804ea132c5d870858c (diff)
downloadstable-diffusion-webui-gfx803-27fe3eb6a9d8f866af8b90dff18f4445124702da.tar.gz
stable-diffusion-webui-gfx803-27fe3eb6a9d8f866af8b90dff18f4445124702da.tar.bz2
stable-diffusion-webui-gfx803-27fe3eb6a9d8f866af8b90dff18f4445124702da.zip
Add workaround for MPS layer_norm on PyTorch 2.0
On PyTorch 2.0, with MPS layer_norm only accepts float32 inputs. This was fixed shortly after 2.0 was finalized so the workaround can be applied with an exact version match.
Diffstat (limited to 'modules/ui_extra_networks.py')
0 files changed, 0 insertions, 0 deletions