aboutsummaryrefslogtreecommitdiff
path: root/modules/ui.py
diff options
context:
space:
mode:
authorbrkirch <brkirch@users.noreply.github.com>2022-11-30 08:02:39 -0500
committerbrkirch <brkirch@users.noreply.github.com>2022-11-30 10:33:42 -0500
commit0fddb4a1c06a6e2122add7eee3b001a6d473baee (patch)
tree1e8673eb008616320d85f3a11c6e2453d78d9c1f /modules/ui.py
parent4d5f1691dda971ec7b461dd880426300fd54ccee (diff)
Rework MPS randn fix, add randn_like fix
torch.manual_seed() already sets a CPU generator, so there is no reason to create a CPU generator manually. torch.randn_like also needs a MPS fix for k-diffusion, but a torch hijack with randn_like already exists so it can also be used for that.
Diffstat (limited to 'modules/ui.py')
0 files changed, 0 insertions, 0 deletions