diff options
author | AUTOMATIC1111 <16777216c@gmail.com> | 2023-08-29 05:32:48 +0000 |
---|---|---|
committer | AUTOMATIC1111 <16777216c@gmail.com> | 2023-08-29 05:44:11 +0000 |
commit | 8a7a4275a83f428582648a6872b5491e56ebae7b (patch) | |
tree | 9d7450c027529d76c958f089ef817f4a6ea6ff1a /modules/launch_utils.py | |
parent | c0f9821c35d54e00e3c193650f1fe5266299325d (diff) | |
download | stable-diffusion-webui-gfx803-8a7a4275a83f428582648a6872b5491e56ebae7b.tar.gz stable-diffusion-webui-gfx803-8a7a4275a83f428582648a6872b5491e56ebae7b.tar.bz2 stable-diffusion-webui-gfx803-8a7a4275a83f428582648a6872b5491e56ebae7b.zip |
Merge pull request #12842 from dhwz/dev
remove xformers Python version check
Diffstat (limited to 'modules/launch_utils.py')
-rw-r--r-- | modules/launch_utils.py | 12 |
1 files changed, 1 insertions, 11 deletions
diff --git a/modules/launch_utils.py b/modules/launch_utils.py index 7e4d5a61..14252c3a 100644 --- a/modules/launch_utils.py +++ b/modules/launch_utils.py @@ -366,17 +366,7 @@ def prepare_environment(): startup_timer.record("install open_clip")
if (not is_installed("xformers") or args.reinstall_xformers) and args.xformers:
- if platform.system() == "Windows":
- if platform.python_version().startswith("3.10"):
- run_pip(f"install -U -I --no-deps {xformers_package}", "xformers", live=True)
- else:
- print("Installation of xformers is not supported in this version of Python.")
- print("You can also check this and build manually: https://github.com/AUTOMATIC1111/stable-diffusion-webui/wiki/Xformers#building-xformers-on-windows-by-duckness")
- if not is_installed("xformers"):
- exit(0)
- elif platform.system() == "Linux":
- run_pip(f"install -U -I --no-deps {xformers_package}", "xformers")
-
+ run_pip(f"install -U -I --no-deps {xformers_package}", "xformers")
startup_timer.record("install xformers")
if not is_installed("ngrok") and args.ngrok:
|