From 1ae8675487c8e745699c856aac00fb4ddee2a021 Mon Sep 17 00:00:00 2001 From: cmdr2 Date: Thu, 6 Jun 2024 16:20:04 +0530 Subject: [PATCH] typo --- scripts/check_modules.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/check_modules.py b/scripts/check_modules.py index c5a36520..e2f4f726 100644 --- a/scripts/check_modules.py +++ b/scripts/check_modules.py @@ -152,7 +152,7 @@ def update_modules(): install_pkg_if_necessary("sdkit", legacy_sdkit_version_str) install_pkg_if_necessary("diffusers", legacy_diffusers_version_str) else: - if torch_version < (0, 13): + if torch_version < (1, 13): # install the gpu-compatible torch (if necessary), instead of the default CPU-only one # from the diffusers dependency chain install("torch", modules_to_check["torch"][-1])