diff options
author | Kohaku-Blueleaf <59680068+KohakuBlueleaf@users.noreply.github.com> | 2023-10-25 12:07:37 +0000 |
---|---|---|
committer | Kohaku-Blueleaf <59680068+KohakuBlueleaf@users.noreply.github.com> | 2023-10-25 12:07:37 +0000 |
commit | 0beb131c7ffae6f756a6339206da311232a36970 (patch) | |
tree | 1c7773b23e8e3dc6721ce2a857c3071e675d92f5 /modules | |
parent | dda067f64d3289cee3ffd65767126cb30ae73b13 (diff) | |
download | stable-diffusion-webui-gfx803-0beb131c7ffae6f756a6339206da311232a36970.tar.gz stable-diffusion-webui-gfx803-0beb131c7ffae6f756a6339206da311232a36970.tar.bz2 stable-diffusion-webui-gfx803-0beb131c7ffae6f756a6339206da311232a36970.zip |
change torch version
Diffstat (limited to 'modules')
-rw-r--r-- | modules/launch_utils.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/launch_utils.py b/modules/launch_utils.py index 8cdbafa5..636da679 100644 --- a/modules/launch_utils.py +++ b/modules/launch_utils.py @@ -308,8 +308,8 @@ def requirements_met(requirements_file): def prepare_environment():
- torch_index_url = os.environ.get('TORCH_INDEX_URL', "https://download.pytorch.org/whl/cu118")
- torch_command = os.environ.get('TORCH_COMMAND', f"pip install torch==2.0.1 torchvision==0.15.2 --extra-index-url {torch_index_url}")
+ torch_index_url = os.environ.get('TORCH_INDEX_URL', "https://download.pytorch.org/whl/cu121")
+ torch_command = os.environ.get('TORCH_COMMAND', f"pip install torch==2.1.0 torchvision==0.16.0 --extra-index-url {torch_index_url}")
requirements_file = os.environ.get('REQS_FILE', "requirements_versions.txt")
xformers_package = os.environ.get('XFORMERS_PACKAGE', 'xformers==0.0.20')
|