diff options
author | AUTOMATIC1111 <16777216c@gmail.com> | 2023-04-29 08:59:12 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-04-29 08:59:12 +0000 |
commit | 9eb49b04e36914b1bfbd5d30ff8587f99d588281 (patch) | |
tree | 7af57d3994e5db508c89f43858a67aefd917450b /launch.py | |
parent | e55cb92067094564c259b515b8a6ec3869654083 (diff) | |
parent | f54cd3f1586ec8d20ffcaff184ba2e680bb8cb8b (diff) | |
download | stable-diffusion-webui-gfx803-9eb49b04e36914b1bfbd5d30ff8587f99d588281.tar.gz stable-diffusion-webui-gfx803-9eb49b04e36914b1bfbd5d30ff8587f99d588281.tar.bz2 stable-diffusion-webui-gfx803-9eb49b04e36914b1bfbd5d30ff8587f99d588281.zip |
Merge pull request #9191 from vladmandic/torch
update torch base environment
Diffstat (limited to 'launch.py')
-rw-r--r-- | launch.py | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -225,10 +225,10 @@ def run_extensions_installers(settings_file): def prepare_environment():
global skip_install
- torch_command = os.environ.get('TORCH_COMMAND', "pip install torch==1.13.1+cu117 torchvision==0.14.1+cu117 --extra-index-url https://download.pytorch.org/whl/cu117")
+ torch_command = os.environ.get('TORCH_COMMAND', "pip install torch torchvision --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.16rc425')
+ xformers_package = os.environ.get('XFORMERS_PACKAGE', 'xformers==0.0.17')
gfpgan_package = os.environ.get('GFPGAN_PACKAGE', "git+https://github.com/TencentARC/GFPGAN.git@8d2447a2d918f8eba5a4a01463fd48e45126a379")
clip_package = os.environ.get('CLIP_PACKAGE', "git+https://github.com/openai/CLIP.git@d50d76daa670286dd6cacf3bcd80b5e4823fc8e1")
openclip_package = os.environ.get('OPENCLIP_PACKAGE', "git+https://github.com/mlfoundations/open_clip.git@bb6e834e9c70d9c27d0dc3ecedeebeaeb1ffad6b")
@@ -296,7 +296,7 @@ def prepare_environment(): if not os.path.isfile(requirements_file):
requirements_file = os.path.join(script_path, requirements_file)
- run_pip(f"install -r \"{requirements_file}\"", "requirements for Web UI")
+ run_pip(f"install -r \"{requirements_file}\"", "requirements")
run_extensions_installers(settings_file=args.ui_settings_file)
|