aboutsummaryrefslogtreecommitdiffstats
path: root/modules/sd_samplers.py
diff options
context:
space:
mode:
authorbrkirch <brkirch@users.noreply.github.com>2022-11-17 08:52:17 +0000
committerbrkirch <brkirch@users.noreply.github.com>2022-11-21 07:07:19 +0000
commite247b7400a592c0a19c197cd080aeec38ee02b68 (patch)
tree1f76c6ed9f55b2ad362b2eb68586dbd437c31e7c /modules/sd_samplers.py
parenta5106a7cdc24153332e4eb1d28e66ea1d7f1ef79 (diff)
downloadstable-diffusion-webui-gfx803-e247b7400a592c0a19c197cd080aeec38ee02b68.tar.gz
stable-diffusion-webui-gfx803-e247b7400a592c0a19c197cd080aeec38ee02b68.tar.bz2
stable-diffusion-webui-gfx803-e247b7400a592c0a19c197cd080aeec38ee02b68.zip
Add fixes for PyTorch 1.12.1
Fix typo "MasOS" -> "macOS" If MPS is available and PyTorch is an earlier version than 1.13: * Monkey patch torch.Tensor.to to ensure all tensors sent to MPS are contiguous * Monkey patch torch.nn.functional.layer_norm to ensure input tensor is contiguous (required for this program to work with MPS on unmodified PyTorch 1.12.1)
Diffstat (limited to 'modules/sd_samplers.py')
0 files changed, 0 insertions, 0 deletions