Browse Source

Merge branch 'fix-AttributeError-module-'torch'-has-no-attribute-'mps'' of https://github.com/KarryCharon/ComfyUI

pull/955/head
comfyanonymous 1 year ago
parent
commit
4760c29380
  1. 1
      comfy/model_management.py

1
comfy/model_management.py

@ -49,6 +49,7 @@ except:
try:
if torch.backends.mps.is_available():
cpu_state = CPUState.MPS
import torch.mps
except:
pass

Loading…
Cancel
Save