mirror of
https://github.com/comfyanonymous/ComfyUI.git
synced 2026-03-30 05:23:37 +08:00
Merge 6ff2489510 into 3a56201da5
This commit is contained in:
commit
031cb1a1b2
@ -184,6 +184,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