mirror of
https://github.com/Comfy-Org/ComfyUI.git
synced 2026-09-08 02:08:37 +08:00
Fix potential mps issue of supports_fp64 called with None. (#16136)
This commit is contained in:
@@ -2008,7 +2008,7 @@ def supports_mxfp8_compute(device=None):
|
||||
return True
|
||||
|
||||
def supports_fp64(device=None):
|
||||
if is_device_mps(device):
|
||||
if (device is not None and is_device_mps(device)) or mps_mode():
|
||||
return False
|
||||
|
||||
if is_intel_xpu():
|
||||
|
||||
Reference in New Issue
Block a user