mirror of
https://github.com/easydiffusion/easydiffusion.git
synced 2025-02-16 10:29:39 +01:00
typo
This commit is contained in:
parent
05f0bfebba
commit
1ae8675487
@ -152,7 +152,7 @@ def update_modules():
|
|||||||
install_pkg_if_necessary("sdkit", legacy_sdkit_version_str)
|
install_pkg_if_necessary("sdkit", legacy_sdkit_version_str)
|
||||||
install_pkg_if_necessary("diffusers", legacy_diffusers_version_str)
|
install_pkg_if_necessary("diffusers", legacy_diffusers_version_str)
|
||||||
else:
|
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
|
# install the gpu-compatible torch (if necessary), instead of the default CPU-only one
|
||||||
# from the diffusers dependency chain
|
# from the diffusers dependency chain
|
||||||
install("torch", modules_to_check["torch"][-1])
|
install("torch", modules_to_check["torch"][-1])
|
||||||
|
Loading…
Reference in New Issue
Block a user