diff --git a/comfy/model_management.py b/comfy/model_management.py index 9617d8388..85e2f6f48 100644 --- a/comfy/model_management.py +++ b/comfy/model_management.py @@ -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():