mirror of
https://github.com/easydiffusion/easydiffusion.git
synced 2025-06-01 23:56:41 +02:00
Allow torch 1.11 to continue being installed
This commit is contained in:
parent
d8d44c579c
commit
30a133bad9
@ -1,5 +1,9 @@
|
|||||||
"""
|
"""
|
||||||
This script checks and installs the required modules.
|
This script checks and installs the required modules.
|
||||||
|
|
||||||
|
TODO - Maybe replace the bulk of this script with a call to `pip install -f requirements.txt`, with
|
||||||
|
a custom index URL depending on the platform.
|
||||||
|
|
||||||
"""
|
"""
|
||||||
|
|
||||||
import os
|
import os
|
||||||
@ -9,8 +13,8 @@ import platform
|
|||||||
os_name = platform.system()
|
os_name = platform.system()
|
||||||
|
|
||||||
modules_to_check = {
|
modules_to_check = {
|
||||||
"torch": ("1.13.1", "2.0.0"),
|
"torch": ("1.11.0", "1.13.1", "2.0.0"),
|
||||||
"torchvision": ("0.14.1", "0.15.1"),
|
"torchvision": ("0.12.0", "0.14.1", "0.15.1"),
|
||||||
"sdkit": "1.0.72",
|
"sdkit": "1.0.72",
|
||||||
"stable-diffusion-sdkit": "2.1.4",
|
"stable-diffusion-sdkit": "2.1.4",
|
||||||
"rich": "12.6.0",
|
"rich": "12.6.0",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user