mirror of
https://github.com/AUTOMATIC1111/stable-diffusion-webui.git
synced 2025-08-08 21:30:27 +00:00
add AltDiffusion to webui
Signed-off-by: zhaohu xing <920232796@qq.com>
This commit is contained in:
@@ -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
|
||||
|
||||
|
Reference in New Issue
Block a user