Commit 4760c293 authored by comfyanonymous's avatar comfyanonymous
Browse files

Merge branch 'fix-AttributeError-module-'torch'-has-no-attribute-'mps'' of...

Merge branch 'fix-AttributeError-module-'torch'-has-no-attribute-'mps'' of https://github.com/KarryCharon/ComfyUI
parents ccb6b70d 3e2309f1
......@@ -49,6 +49,7 @@ except:
try:
if torch.backends.mps.is_available():
cpu_state = CPUState.MPS
import torch.mps
except:
pass
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment