diff --git a/comfy/model_management.py b/comfy/model_management.py index 21738a4c7..6c0f921c0 100644 --- a/comfy/model_management.py +++ b/comfy/model_management.py @@ -181,6 +181,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():