Skip to content

Commit

Permalink
Merge pull request #12842 from dhwz/dev
Browse files Browse the repository at this point in the history
remove xformers Python version check
  • Loading branch information
AUTOMATIC1111 committed Aug 29, 2023
1 parent c0f9821 commit 8a7a427
Showing 1 changed file with 1 addition and 11 deletions.
12 changes: 1 addition & 11 deletions modules/launch_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 8a7a427

Please sign in to comment.