diff --git a/comfy/model_management.py b/comfy/model_management.py index b01c4d7fa..43ed1c67f 100644 --- a/comfy/model_management.py +++ b/comfy/model_management.py @@ -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():