diff --git a/comfy/model_management.py b/comfy/model_management.py index 273dcb0c..b1afeb71 100644 --- a/comfy/model_management.py +++ b/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