diff options
author | AUTOMATIC1111 <16777216c@gmail.com> | 2023-11-26 09:07:33 +0000 |
---|---|---|
committer | AUTOMATIC1111 <16777216c@gmail.com> | 2023-11-26 09:07:33 +0000 |
commit | 29f04149b60bcf6e8e2b41a161d6cc7e8981710f (patch) | |
tree | 11fb5e556f582f893deb33a8c69e5fe9c4a736c9 /modules/launch_utils.py | |
parent | 6955c210b7791375e945e876223e6cf6b2231391 (diff) | |
download | stable-diffusion-webui-gfx803-29f04149b60bcf6e8e2b41a161d6cc7e8981710f.tar.gz stable-diffusion-webui-gfx803-29f04149b60bcf6e8e2b41a161d6cc7e8981710f.tar.bz2 stable-diffusion-webui-gfx803-29f04149b60bcf6e8e2b41a161d6cc7e8981710f.zip |
update torch to 2.1.0
Diffstat (limited to 'modules/launch_utils.py')
-rw-r--r-- | modules/launch_utils.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/modules/launch_utils.py b/modules/launch_utils.py index 264ec9ca..1f2b6c5e 100644 --- a/modules/launch_utils.py +++ b/modules/launch_utils.py @@ -308,11 +308,11 @@ 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')
+ xformers_package = os.environ.get('XFORMERS_PACKAGE', 'xformers==0.0.22.post7')
clip_package = os.environ.get('CLIP_PACKAGE', "https://github.com/openai/CLIP/archive/d50d76daa670286dd6cacf3bcd80b5e4823fc8e1.zip")
openclip_package = os.environ.get('OPENCLIP_PACKAGE', "https://github.com/mlfoundations/open_clip/archive/bb6e834e9c70d9c27d0dc3ecedeebeaeb1ffad6b.zip")
|