diff options
author | Sakura-Luna <53183413+Sakura-Luna@users.noreply.github.com> | 2023-05-14 19:00:23 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-05-14 19:00:23 +0000 |
commit | 9a9557ecfc824c4a005dc79466dba8f5884dbfb1 (patch) | |
tree | 990afa6443216d8feba10b91e9de1b92557fbe5d | |
parent | 38583be7af64d984c871fd7d54f5fd0a64a3e6d1 (diff) | |
download | stable-diffusion-webui-gfx803-9a9557ecfc824c4a005dc79466dba8f5884dbfb1.tar.gz stable-diffusion-webui-gfx803-9a9557ecfc824c4a005dc79466dba8f5884dbfb1.tar.bz2 stable-diffusion-webui-gfx803-9a9557ecfc824c4a005dc79466dba8f5884dbfb1.zip |
Change to extra-index-url
-rw-r--r-- | launch.py | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -237,7 +237,7 @@ def run_extensions_installers(settings_file): def prepare_environment():
- torch_command = os.environ.get('TORCH_COMMAND', "pip install torch==2.0.1+cu118 torchvision==0.15.2+cu118 --index-url https://download.pytorch.org/whl/cu118")
+ torch_command = os.environ.get('TORCH_COMMAND', "pip install torch==2.0.1+cu118 torchvision==0.15.2+cu118 --extra-index-url https://download.pytorch.org/whl/cu118")
requirements_file = os.environ.get('REQS_FILE', "requirements_versions.txt")
xformers_package = os.environ.get('XFORMERS_PACKAGE', 'xformers==0.0.17')
|