add AltDiffusion to webui

Signed-off-by: zhaohu xing <920232796@qq.com>
This commit is contained in:
zhaohu xing
2022-11-29 10:28:41 +08:00
parent 828438b4a1
commit 75c4511e6b
40 changed files with 10957 additions and 9 deletions

View File

@@ -36,8 +36,8 @@ def get_optimal_device():
else:
return torch.device("cuda")
if has_mps():
return torch.device("mps")
# if has_mps():
# return torch.device("mps")
return cpu