mirror of
https://github.com/comfyanonymous/ComfyUI.git
synced 2026-07-10 00:17:16 +08:00
Merge 6ff2489510 into 439bd807f8
This commit is contained in:
commit
e0b6ce5e8a
@ -188,6 +188,8 @@ def is_wsl():
|
||||
return True
|
||||
elif version.endswith("microsoft-standard-WSL2"):
|
||||
return True
|
||||
if os.environ.get("WSL_DISTRO_NAME"):
|
||||
return True
|
||||
return False
|
||||
|
||||
def get_torch_device():
|
||||
|
||||
Loading…
Reference in New Issue
Block a user