Update app.py

#32
by soiz1 - opened
No description provided.

Restart!

restart won't fix it, its a xformers error that is difficult to troubleshoot.

I can't see the error log.

Please tell me the error and log.

Screenshot 2025-07-17 15.22.11.png

Here is the error log.

===== Application Startup at 2025-07-17 03:09:00 =====

Checking Python Version
Python 3.10.18
Starting verbose diagnostic setup for stable-diffusion-webui...
Cloning Stable Diffusion WebUI repository from darkstorm2150...
Cloning into '/home/user/app/stable-diffusion-webui'...
Setting working directory to stable-diffusion-webui root folder...
Downloading environment patch script...
--2025-07-17 05:11:29-- https://github.com/camenduru/webui/raw/main/env_patch.py
Resolving github.com (github.com)... 140.82.113.3
Connecting to github.com (github.com)|140.82.113.3|:443... connected.
HTTP request sent, awaiting response... 302 Found
Location: https://raw.githubusercontent.com/camenduru/webui/main/env_patch.py [following]
--2025-07-17 05:11:29-- https://raw.githubusercontent.com/camenduru/webui/main/env_patch.py
Resolving raw.githubusercontent.com (raw.githubusercontent.com)... 185.199.108.133, 185.199.109.133, 185.199.110.133, ...
Connecting to raw.githubusercontent.com (raw.githubusercontent.com)|185.199.108.133|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 120 [text/plain]
Saving to: β€˜/home/user/app/env_patch.py’

 0K                                                       100% 5.13M=0s

2025-07-17 05:11:29 (5.13 MB/s) - β€˜/home/user/app/env_patch.py’ saved [120/120]

Fixing Gradio shadowRoot access in script.js for Hugging Face compatibility...
Enabling progress bars in UI for better user feedback...
Modifying webui.py to enable queuing for async processing...
Disabling queuing for input components to reduce latency...
Disabling queuing for token counter outputs...
Downloading header_patch.py to customize UI header banners...
--2025-07-17 05:11:29-- https://github.com/camenduru/webui/raw/main/header_patch.py
Resolving github.com (github.com)... 140.82.113.3
Connecting to github.com (github.com)|140.82.113.3|:443... connected.
HTTP request sent, awaiting response... 302 Found
Location: https://raw.githubusercontent.com/camenduru/webui/main/header_patch.py [following]
--2025-07-17 05:11:29-- https://raw.githubusercontent.com/camenduru/webui/main/header_patch.py
Resolving raw.githubusercontent.com (raw.githubusercontent.com)... 185.199.111.133, 185.199.110.133, 185.199.109.133, ...
Connecting to raw.githubusercontent.com (raw.githubusercontent.com)|185.199.111.133|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 5569 (5.4K) [text/plain]
Saving to: β€˜/home/user/app/header_patch.py’

 0K .....                                                 100% 44.9M=0s

2025-07-17 05:11:29 (44.9 MB/s) - β€˜/home/user/app/header_patch.py’ saved [5569/5569]

Injecting header_patch.py content into modules/ui.py under the demo section...
IS_SHARED_UI IS DISABLED: Setting up custom environment...
Installing run_n_times.py script for batch processing...
--2025-07-17 05:11:29-- https://gist.github.com/camenduru/9ec5f8141db9902e375967e93250860f/raw/d0bcf01786f20107c329c03f8968584ee67be12a/run_n_times.py
Resolving gist.github.com (gist.github.com)... 140.82.113.3
Connecting to gist.github.com (gist.github.com)|140.82.113.3|:443... connected.
HTTP request sent, awaiting response... 301 Moved Permanently
Location: https://gist.githubusercontent.com/camenduru/9ec5f8141db9902e375967e93250860f/raw/d0bcf01786f20107c329c03f8968584ee67be12a/run_n_times.py [following]
--2025-07-17 05:11:30-- https://gist.githubusercontent.com/camenduru/9ec5f8141db9902e375967e93250860f/raw/d0bcf01786f20107c329c03f8968584ee67be12a/run_n_times.py
Resolving gist.githubusercontent.com (gist.githubusercontent.com)... 185.199.110.133, 185.199.111.133, 185.199.108.133, ...
Connecting to gist.githubusercontent.com (gist.githubusercontent.com)|185.199.110.133|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 532 [text/plain]
Saving to: β€˜/home/user/app/stable-diffusion-webui/scripts/run_n_times.py’

 0K                                                       100% 41.3M=0s

2025-07-17 05:11:30 (41.3 MB/s) - β€˜/home/user/app/stable-diffusion-webui/scripts/run_n_times.py’ saved [532/532]

Installing image browser extension for managing outputs...
Cloning into '/home/user/app/stable-diffusion-webui/extensions/stable-diffusion-webui-images-browser'...
Installing Deforum animation extension...
Cloning into '/home/user/app/stable-diffusion-webui/extensions/deforum-for-automatic1111-webui'...
Downloading Protogen X3.4 Stable Diffusion model...
Installing build dependencies...
Collecting ninja
Downloading ninja-1.11.1.4-py3-none-manylinux_2_12_x86_64.manylinux2010_x86_64.whl.metadata (5.0 kB)
Requirement already satisfied: packaging in /home/user/.pyenv/versions/3.10.18/lib/python3.10/site-packages (25.0)
Collecting wheel
Downloading wheel-0.45.1-py3-none-any.whl.metadata (2.3 kB)
Downloading ninja-1.11.1.4-py3-none-manylinux_2_12_x86_64.manylinux2010_x86_64.whl (422 kB)
Downloading wheel-0.45.1-py3-none-any.whl (72 kB)
Installing collected packages: wheel, ninja

Successfully installed ninja-1.11.1.4 wheel-0.45.1
Get:1 http://archive.ubuntu.com/ubuntu jammy InRelease [270 kB]
Get:2 http://archive.ubuntu.com/ubuntu jammy-updates InRelease [128 kB]
Get:3 http://archive.ubuntu.com/ubuntu jammy-backports InRelease [127 kB]
Get:4 http://security.ubuntu.com/ubuntu jammy-security InRelease [129 kB]
Get:5 https://developer.download.nvidia.com/compute/cuda/repos/ubuntu2204/x86_64 InRelease [1581 B]
Get:6 http://archive.ubuntu.com/ubuntu jammy/main amd64 Packages [1792 kB]
Get:7 http://archive.ubuntu.com/ubuntu jammy/multiverse amd64 Packages [266 kB]
Get:8 http://archive.ubuntu.com/ubuntu jammy/restricted amd64 Packages [164 kB]
Get:9 http://archive.ubuntu.com/ubuntu jammy/universe amd64 Packages [17.5 MB]
Get:10 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 Packages [3455 kB]
Get:11 http://archive.ubuntu.com/ubuntu jammy-updates/multiverse amd64 Packages [75.9 kB]
Get:12 http://archive.ubuntu.com/ubuntu jammy-updates/universe amd64 Packages [1571 kB]
Get:13 http://archive.ubuntu.com/ubuntu jammy-updates/restricted amd64 Packages [5113 kB]
Get:14 http://archive.ubuntu.com/ubuntu jammy-backports/main amd64 Packages [83.2 kB]
Get:15 http://archive.ubuntu.com/ubuntu jammy-backports/universe amd64 Packages [35.2 kB]
Get:16 http://security.ubuntu.com/ubuntu jammy-security/restricted amd64 Packages [4795 kB]
Get:17 https://developer.download.nvidia.com/compute/cuda/repos/ubuntu2204/x86_64 Packages [1809 kB]
Get:18 http://security.ubuntu.com/ubuntu jammy-security/multiverse amd64 Packages [48.5 kB]
Get:19 http://security.ubuntu.com/ubuntu jammy-security/main amd64 Packages [3103 kB]
Get:20 http://security.ubuntu.com/ubuntu jammy-security/universe amd64 Packages [1266 kB]
Fetched 41.7 MB in 2s (18.7 MB/s)
Reading package lists...
Reading package lists...
Building dependency tree...
Reading state information...
build-essential is already the newest version (12.9ubuntu3).
cmake is already the newest version (3.22.1-1ubuntu1.22.04.2).
Suggested packages:
gettext-base git-daemon-run | git-daemon-sysvinit git-doc git-email git-gui
gitk gitweb git-cvs git-mediawiki git-svn
The following packages will be upgraded:
git
1 upgraded, 0 newly installed, 0 to remove and 81 not upgraded.
Need to get 3166 kB of archives.
After this operation, 4096 B disk space will be freed.
Get:1 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 git amd64 1:2.34.1-1ubuntu1.15 [3166 kB]
debconf: delaying package configuration, since apt-utils is not installed
Fetched 3166 kB in 0s (45.2 MB/s)
(Reading database ...
(Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
(Reading database ... 25%
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
(Reading database ... 55%
(Reading database ... 60%
(Reading database ... 65%
(Reading database ... 70%
(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 100%
(Reading database ... 31142 files and directories currently installed.)
Preparing to unpack .../git_1%3a2.34.1-1ubuntu1.15_amd64.deb ...
Unpacking git (1:2.34.1-1ubuntu1.15) over (1:2.34.1-1ubuntu1.12) ...
Setting up git (1:2.34.1-1ubuntu1.15) ...
Cloning xformers repo...
Cloning into '/home/user/app/xformers'...
Installing xformers from source...
Obtaining file:///home/user/app/xformers
Installing build dependencies: started
Installing build dependencies: still running...
Installing build dependencies: finished with status 'done'
Checking if build backend supports build_editable: started
Checking if build backend supports build_editable: finished with status 'done'
Getting requirements to build editable: started
Getting requirements to build editable: finished with status 'error'
error: subprocess-exited-with-error

Γ— Getting requirements to build editable did not run successfully.
β”‚ exit code: 1
╰─> [20 lines of output]
/tmp/pip-build-env-4qa0n_o5/overlay/lib/python3.10/site-packages/torch/_subclasses/functional_tensor.py:276: UserWarning: Failed to initialize NumPy: No module named 'numpy' (Triggered internally at /pytorch/torch/csrc/utils/tensor_numpy.cpp:81.)
cpu = _conversion_method_template(device=torch.device("cpu"))
Traceback (most recent call last):
File "/home/user/.pyenv/versions/3.10.18/lib/python3.10/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 389, in
main()
File "/home/user/.pyenv/versions/3.10.18/lib/python3.10/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 373, in main
json_out["return_val"] = hook(**hook_input["kwargs"])
File "/home/user/.pyenv/versions/3.10.18/lib/python3.10/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 157, in get_requires_for_build_editable
return hook(config_settings)
File "/tmp/pip-build-env-4qa0n_o5/overlay/lib/python3.10/site-packages/setuptools/build_meta.py", line 473, in get_requires_for_build_editable
return self.get_requires_for_build_wheel(config_settings)
File "/tmp/pip-build-env-4qa0n_o5/overlay/lib/python3.10/site-packages/setuptools/build_meta.py", line 331, in get_requires_for_build_wheel
return self._get_build_requires(config_settings, requirements=[])
File "/tmp/pip-build-env-4qa0n_o5/overlay/lib/python3.10/site-packages/setuptools/build_meta.py", line 301, in _get_build_requires
self.run_setup()
File "/tmp/pip-build-env-4qa0n_o5/overlay/lib/python3.10/site-packages/setuptools/build_meta.py", line 317, in run_setup
exec(code, locals())
File "", line 780, in
File "", line 452, in get_extensions
RuntimeError: CUTLASS submodule not found at /home/user/app/xformers/third_party/cutlass/include. Did you forget to run git submodule update --init --recursive ?
[end of output]

note: This error originates from a subprocess, and is likely not a problem with pip.
error: subprocess-exited-with-error

Γ— Getting requirements to build editable did not run successfully.
β”‚ exit code: 1
╰─> See above for output.

note: This error originates from a subprocess, and is likely not a problem with pip.
Verifying NumPy, PyTorch, and xformers versions...
Traceback (most recent call last):
File "", line 1, in
ModuleNotFoundError: No module named 'torch'
sh: 1: Syntax error: Unterminated quoted string
Starting WebUI with custom configurations...
python: can't open file '/home/user/app/xformers/launch.py': [Errno 2] No such file or directory
Checking Python Version
Python 3.10.18
Starting verbose diagnostic setup for stable-diffusion-webui...
Cloning Stable Diffusion WebUI repository from darkstorm2150...
Cloning into '/home/user/app/stable-diffusion-webui'...
Setting working directory to stable-diffusion-webui root folder...
Downloading environment patch script...
--2025-07-17 05:15:35-- https://github.com/camenduru/webui/raw/main/env_patch.py
Resolving github.com (github.com)... 140.82.113.4
Connecting to github.com (github.com)|140.82.113.4|:443... connected.
HTTP request sent, awaiting response... 302 Found
Location: https://raw.githubusercontent.com/camenduru/webui/main/env_patch.py [following]
--2025-07-17 05:15:35-- https://raw.githubusercontent.com/camenduru/webui/main/env_patch.py
Resolving raw.githubusercontent.com (raw.githubusercontent.com)... 185.199.108.133, 185.199.111.133, 185.199.110.133, ...
Connecting to raw.githubusercontent.com (raw.githubusercontent.com)|185.199.108.133|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 120 [text/plain]
Saving to: β€˜/home/user/app/env_patch.py’

 0K                                                       100% 4.30M=0s

2025-07-17 05:15:35 (4.30 MB/s) - β€˜/home/user/app/env_patch.py’ saved [120/120]

Fixing Gradio shadowRoot access in script.js for Hugging Face compatibility...
Enabling progress bars in UI for better user feedback...
Modifying webui.py to enable queuing for async processing...
Disabling queuing for input components to reduce latency...
Disabling queuing for token counter outputs...
Downloading header_patch.py to customize UI header banners...
--2025-07-17 05:15:35-- https://github.com/camenduru/webui/raw/main/header_patch.py
Resolving github.com (github.com)... 140.82.113.4
Connecting to github.com (github.com)|140.82.113.4|:443... connected.
HTTP request sent, awaiting response... 302 Found
Location: https://raw.githubusercontent.com/camenduru/webui/main/header_patch.py [following]
--2025-07-17 05:15:35-- https://raw.githubusercontent.com/camenduru/webui/main/header_patch.py
Resolving raw.githubusercontent.com (raw.githubusercontent.com)... 185.199.109.133, 185.199.108.133, 185.199.111.133, ...
Connecting to raw.githubusercontent.com (raw.githubusercontent.com)|185.199.109.133|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 5569 (5.4K) [text/plain]
Saving to: β€˜/home/user/app/header_patch.py’

 0K .....                                                 100% 45.0M=0s

2025-07-17 05:15:35 (45.0 MB/s) - β€˜/home/user/app/header_patch.py’ saved [5569/5569]

Injecting header_patch.py content into modules/ui.py under the demo section...
IS_SHARED_UI IS DISABLED: Setting up custom environment...
Installing run_n_times.py script for batch processing...
--2025-07-17 05:15:35-- https://gist.github.com/camenduru/9ec5f8141db9902e375967e93250860f/raw/d0bcf01786f20107c329c03f8968584ee67be12a/run_n_times.py
Resolving gist.github.com (gist.github.com)... 140.82.112.4
Connecting to gist.github.com (gist.github.com)|140.82.112.4|:443... connected.
HTTP request sent, awaiting response... 301 Moved Permanently
Location: https://gist.githubusercontent.com/camenduru/9ec5f8141db9902e375967e93250860f/raw/d0bcf01786f20107c329c03f8968584ee67be12a/run_n_times.py [following]
--2025-07-17 05:15:35-- https://gist.githubusercontent.com/camenduru/9ec5f8141db9902e375967e93250860f/raw/d0bcf01786f20107c329c03f8968584ee67be12a/run_n_times.py
Resolving gist.githubusercontent.com (gist.githubusercontent.com)... 185.199.109.133, 185.199.108.133, 185.199.111.133, ...
Connecting to gist.githubusercontent.com (gist.githubusercontent.com)|185.199.109.133|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 532 [text/plain]
Saving to: β€˜/home/user/app/stable-diffusion-webui/scripts/run_n_times.py’

 0K                                                       100% 6.76M=0s

2025-07-17 05:15:35 (6.76 MB/s) - β€˜/home/user/app/stable-diffusion-webui/scripts/run_n_times.py’ saved [532/532]

Installing image browser extension for managing outputs...
Cloning into '/home/user/app/stable-diffusion-webui/extensions/stable-diffusion-webui-images-browser'...
Installing Deforum animation extension...
Cloning into '/home/user/app/stable-diffusion-webui/extensions/deforum-for-automatic1111-webui'...
Downloading Protogen X3.4 Stable Diffusion model...

It's ok, try this method.


Replace(for debug)

    os.system(f"python -c 'import torch; print(torch.__version__)'")
    os.system(f"python -c 'import xformers; print(xformers.__version__)")

↓

os.system("python -c 'import numpy; print(\"NumPy:\", numpy.__version__)'")
os.system("python -c 'import torch; print(\"PyTorch:\", torch.__version__)'")
os.system("python -c 'import xformers; print(\"xformers:\", xformers.__version__)'")

134(add):

os.system("cd /home/user/app/xformers && git submodule update --init --recursive")

147:

    os.system(f"python launch.py --force-enable-xformers --ui-config-file /home/user/app/shared-ui-config.json --ui-settings-file /home/user/app/shared-config.json --disable-console-progressbars --enable-console-prompts --cors-allow-origins huggingface.co,hf.space --no-progressbar-hiding --api --skip-torch-cuda-test")

↓

    os.system(f"cd /home/user/app/stable-diffusion-webui && python launch.py --force-enable-xformers --ui-config-file /home/user/app/shared-ui-config.json --ui-settings-file /home/user/app/shared-config.json --disable-console-progressbars --enable-console-prompts --cors-allow-origins huggingface.co,hf.space --no-progressbar-hiding --api --skip-torch-cuda-test")

Here is what it outputted.

===== Application Startup at 2025-07-19 04:12:14 =====

Checking Python Version
Python 3.10.18
Starting verbose diagnostic setup for stable-diffusion-webui...
Cloning Stable Diffusion WebUI repository from darkstorm2150...
Cloning into '/home/user/app/stable-diffusion-webui'...
Setting working directory to stable-diffusion-webui root folder...
Downloading environment patch script...
--2025-07-19 06:14:22-- https://github.com/camenduru/webui/raw/main/env_patch.py
Resolving github.com (github.com)... 140.82.112.4
Connecting to github.com (github.com)|140.82.112.4|:443... connected.
HTTP request sent, awaiting response... 302 Found
Location: https://raw.githubusercontent.com/camenduru/webui/main/env_patch.py [following]
--2025-07-19 06:14:22-- https://raw.githubusercontent.com/camenduru/webui/main/env_patch.py
Resolving raw.githubusercontent.com (raw.githubusercontent.com)... 185.199.111.133, 185.199.108.133, 185.199.109.133, ...
Connecting to raw.githubusercontent.com (raw.githubusercontent.com)|185.199.111.133|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 120 [text/plain]
Saving to: β€˜/home/user/app/env_patch.py’

 0K                                                       100% 9.80M=0s

2025-07-19 06:14:22 (9.80 MB/s) - β€˜/home/user/app/env_patch.py’ saved [120/120]

Fixing Gradio shadowRoot access in script.js for Hugging Face compatibility...
Enabling progress bars in UI for better user feedback...
Modifying webui.py to enable queuing for async processing...
Disabling queuing for input components to reduce latency...
Disabling queuing for token counter outputs...
Downloading header_patch.py to customize UI header banners...
--2025-07-19 06:14:22-- https://github.com/camenduru/webui/raw/main/header_patch.py
Resolving github.com (github.com)... 140.82.112.4
Connecting to github.com (github.com)|140.82.112.4|:443... connected.
HTTP request sent, awaiting response... 302 Found
Location: https://raw.githubusercontent.com/camenduru/webui/main/header_patch.py [following]
--2025-07-19 06:14:22-- https://raw.githubusercontent.com/camenduru/webui/main/header_patch.py
Resolving raw.githubusercontent.com (raw.githubusercontent.com)... 185.199.110.133, 185.199.109.133, 185.199.108.133, ...
Connecting to raw.githubusercontent.com (raw.githubusercontent.com)|185.199.110.133|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 5569 (5.4K) [text/plain]
Saving to: β€˜/home/user/app/header_patch.py’

 0K .....                                                 100% 36.4M=0s

2025-07-19 06:14:23 (36.4 MB/s) - β€˜/home/user/app/header_patch.py’ saved [5569/5569]

Injecting header_patch.py content into modules/ui.py under the demo section...
IS_SHARED_UI IS DISABLED: Setting up custom environment...
Installing run_n_times.py script for batch processing...
--2025-07-19 06:14:23-- https://gist.github.com/camenduru/9ec5f8141db9902e375967e93250860f/raw/d0bcf01786f20107c329c03f8968584ee67be12a/run_n_times.py
Resolving gist.github.com (gist.github.com)... 140.82.114.3
Connecting to gist.github.com (gist.github.com)|140.82.114.3|:443... connected.
HTTP request sent, awaiting response... 301 Moved Permanently
Location: https://gist.githubusercontent.com/camenduru/9ec5f8141db9902e375967e93250860f/raw/d0bcf01786f20107c329c03f8968584ee67be12a/run_n_times.py [following]
--2025-07-19 06:14:23-- https://gist.githubusercontent.com/camenduru/9ec5f8141db9902e375967e93250860f/raw/d0bcf01786f20107c329c03f8968584ee67be12a/run_n_times.py
Resolving gist.githubusercontent.com (gist.githubusercontent.com)... 185.199.110.133, 185.199.111.133, 185.199.108.133, ...
Connecting to gist.githubusercontent.com (gist.githubusercontent.com)|185.199.110.133|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 532 [text/plain]
Saving to: β€˜/home/user/app/stable-diffusion-webui/scripts/run_n_times.py’

 0K                                                       100% 18.1M=0s

2025-07-19 06:14:23 (18.1 MB/s) - β€˜/home/user/app/stable-diffusion-webui/scripts/run_n_times.py’ saved [532/532]

Installing image browser extension for managing outputs...
Cloning into '/home/user/app/stable-diffusion-webui/extensions/stable-diffusion-webui-images-browser'...
Installing Deforum animation extension...
Cloning into '/home/user/app/stable-diffusion-webui/extensions/deforum-for-automatic1111-webui'...
Downloading Protogen X3.4 Stable Diffusion model...
Installing build dependencies...
Collecting ninja
Downloading ninja-1.11.1.4-py3-none-manylinux_2_12_x86_64.manylinux2010_x86_64.whl.metadata (5.0 kB)
Requirement already satisfied: packaging in /home/user/.pyenv/versions/3.10.18/lib/python3.10/site-packages (25.0)
Collecting wheel
Downloading wheel-0.45.1-py3-none-any.whl.metadata (2.3 kB)
Downloading ninja-1.11.1.4-py3-none-manylinux_2_12_x86_64.manylinux2010_x86_64.whl (422 kB)
Downloading wheel-0.45.1-py3-none-any.whl (72 kB)
Installing collected packages: wheel, ninja

Successfully installed ninja-1.11.1.4 wheel-0.45.1
Get:1 http://archive.ubuntu.com/ubuntu jammy InRelease [270 kB]
Get:2 http://archive.ubuntu.com/ubuntu jammy-updates InRelease [128 kB]
Get:3 http://archive.ubuntu.com/ubuntu jammy-backports InRelease [127 kB]
Get:4 http://security.ubuntu.com/ubuntu jammy-security InRelease [129 kB]
Get:5 https://developer.download.nvidia.com/compute/cuda/repos/ubuntu2204/x86_64 InRelease [1581 B]
Get:6 http://archive.ubuntu.com/ubuntu jammy/main amd64 Packages [1792 kB]
Get:7 http://archive.ubuntu.com/ubuntu jammy/universe amd64 Packages [17.5 MB]
Get:8 http://archive.ubuntu.com/ubuntu jammy/multiverse amd64 Packages [266 kB]
Get:9 http://archive.ubuntu.com/ubuntu jammy/restricted amd64 Packages [164 kB]
Get:10 http://archive.ubuntu.com/ubuntu jammy-updates/restricted amd64 Packages [5139 kB]
Get:11 http://archive.ubuntu.com/ubuntu jammy-updates/universe amd64 Packages [1572 kB]
Get:12 http://archive.ubuntu.com/ubuntu jammy-updates/multiverse amd64 Packages [75.9 kB]
Get:13 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 Packages [3461 kB]
Get:14 http://archive.ubuntu.com/ubuntu jammy-backports/main amd64 Packages [83.2 kB]
Get:15 http://archive.ubuntu.com/ubuntu jammy-backports/universe amd64 Packages [35.2 kB]
Get:16 https://developer.download.nvidia.com/compute/cuda/repos/ubuntu2204/x86_64 Packages [1840 kB]
Get:17 http://security.ubuntu.com/ubuntu jammy-security/main amd64 Packages [3148 kB]
Get:18 http://security.ubuntu.com/ubuntu jammy-security/multiverse amd64 Packages [48.5 kB]
Get:19 http://security.ubuntu.com/ubuntu jammy-security/universe amd64 Packages [1267 kB]
Get:20 http://security.ubuntu.com/ubuntu jammy-security/restricted amd64 Packages [4932 kB]
Fetched 42.0 MB in 2s (18.5 MB/s)
Reading package lists...
Reading package lists...
Building dependency tree...
Reading state information...
build-essential is already the newest version (12.9ubuntu3).
cmake is already the newest version (3.22.1-1ubuntu1.22.04.2).
Suggested packages:
gettext-base git-daemon-run | git-daemon-sysvinit git-doc git-email git-gui
gitk gitweb git-cvs git-mediawiki git-svn
The following packages will be upgraded:
git
1 upgraded, 0 newly installed, 0 to remove and 81 not upgraded.
Need to get 3166 kB of archives.
After this operation, 4096 B disk space will be freed.
Get:1 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 git amd64 1:2.34.1-1ubuntu1.15 [3166 kB]
debconf: delaying package configuration, since apt-utils is not installed
Fetched 3166 kB in 0s (44.8 MB/s)
(Reading database ...
(Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
(Reading database ... 25%
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
(Reading database ... 55%
(Reading database ... 60%
(Reading database ... 65%
(Reading database ... 70%
(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 100%
(Reading database ... 31142 files and directories currently installed.)
Preparing to unpack .../git_1%3a2.34.1-1ubuntu1.15_amd64.deb ...
Unpacking git (1:2.34.1-1ubuntu1.15) over (1:2.34.1-1ubuntu1.12) ...
Setting up git (1:2.34.1-1ubuntu1.15) ...
Cloning xformers repo...
Cloning into '/home/user/app/xformers'...
Submodule 'third_party/composable_kernel_tiled' (https://github.com/ROCm/composable_kernel.git) registered for path 'third_party/composable_kernel_tiled'
Submodule 'third_party/cutlass' (https://github.com/NVIDIA/cutlass.git) registered for path 'third_party/cutlass'
Submodule 'third_party/flash-attention' (https://github.com/Dao-AILab/flash-attention.git) registered for path 'third_party/flash-attention'
Cloning into '/home/user/app/xformers/third_party/composable_kernel_tiled'...
Cloning into '/home/user/app/xformers/third_party/cutlass'...
Cloning into '/home/user/app/xformers/third_party/flash-attention'...
Submodule path 'third_party/composable_kernel_tiled': checked out '50fad035248b154cdfa4505cf5de7465ce146149'
Submodule path 'third_party/cutlass': checked out 'e9627ce55b42fd2599f58cd4396da9380954def0'
Submodule path 'third_party/flash-attention': checked out '3ba6f826b199ff68aa9e9139a46280160defa5cd'
Submodule 'csrc/composable_kernel' (https://github.com/ROCm/composable_kernel.git) registered for path 'third_party/flash-attention/csrc/composable_kernel'
Submodule 'csrc/cutlass' (https://github.com/NVIDIA/cutlass.git) registered for path 'third_party/flash-attention/csrc/cutlass'
Cloning into '/home/user/app/xformers/third_party/flash-attention/csrc/composable_kernel'...
Cloning into '/home/user/app/xformers/third_party/flash-attention/csrc/cutlass'...
Submodule path 'third_party/flash-attention/csrc/composable_kernel': checked out 'd58f2b8bd0c2adad65a731403673d545d8483acb'
Submodule path 'third_party/flash-attention/csrc/cutlass': checked out 'dc4817921edda44a549197ff3a9dcf5df0636e7b'
Installing xformers from source...
Obtaining file:///home/user/app/xformers
Installing build dependencies: started
Installing build dependencies: still running...
Installing build dependencies: finished with status 'done'
Checking if build backend supports build_editable: started
Checking if build backend supports build_editable: finished with status 'done'
Getting requirements to build editable: started
Getting requirements to build editable: finished with status 'done'
Preparing editable metadata (pyproject.toml): started
Preparing editable metadata (pyproject.toml): finished with status 'done'
Collecting torch>=2.7 (from xformers==0.0.32+0f0bb9d9.d20250719)
Downloading torch-2.7.1-cp310-cp310-manylinux_2_28_x86_64.whl.metadata (29 kB)
Requirement already satisfied: numpy in /home/user/.pyenv/versions/3.10.18/lib/python3.10/site-packages (from xformers==0.0.32+0f0bb9d9.d20250719) (2.2.6)
Requirement already satisfied: filelock in /home/user/.pyenv/versions/3.10.18/lib/python3.10/site-packages (from torch>=2.7->xformers==0.0.32+0f0bb9d9.d20250719) (3.18.0)
Requirement already satisfied: typing-extensions>=4.10.0 in /home/user/.pyenv/versions/3.10.18/lib/python3.10/site-packages (from torch>=2.7->xformers==0.0.32+0f0bb9d9.d20250719) (4.14.0)
Collecting sympy>=1.13.3 (from torch>=2.7->xformers==0.0.32+0f0bb9d9.d20250719)
Downloading sympy-1.14.0-py3-none-any.whl.metadata (12 kB)
Collecting networkx (from torch>=2.7->xformers==0.0.32+0f0bb9d9.d20250719)
Downloading networkx-3.4.2-py3-none-any.whl.metadata (6.3 kB)
Requirement already satisfied: jinja2 in /home/user/.pyenv/versions/3.10.18/lib/python3.10/site-packages (from torch>=2.7->xformers==0.0.32+0f0bb9d9.d20250719) (3.1.6)
Requirement already satisfied: fsspec in /home/user/.pyenv/versions/3.10.18/lib/python3.10/site-packages (from torch>=2.7->xformers==0.0.32+0f0bb9d9.d20250719) (2025.3.0)
Collecting nvidia-cuda-nvrtc-cu12==12.6.77 (from torch>=2.7->xformers==0.0.32+0f0bb9d9.d20250719)
Downloading nvidia_cuda_nvrtc_cu12-12.6.77-py3-none-manylinux2014_x86_64.whl.metadata (1.5 kB)
Collecting nvidia-cuda-runtime-cu12==12.6.77 (from torch>=2.7->xformers==0.0.32+0f0bb9d9.d20250719)
Downloading nvidia_cuda_runtime_cu12-12.6.77-py3-none-manylinux2014_x86_64.manylinux_2_17_x86_64.whl.metadata (1.5 kB)
Collecting nvidia-cuda-cupti-cu12==12.6.80 (from torch>=2.7->xformers==0.0.32+0f0bb9d9.d20250719)
Downloading nvidia_cuda_cupti_cu12-12.6.80-py3-none-manylinux2014_x86_64.manylinux_2_17_x86_64.whl.metadata (1.6 kB)
Collecting nvidia-cudnn-cu12==9.5.1.17 (from torch>=2.7->xformers==0.0.32+0f0bb9d9.d20250719)
Downloading nvidia_cudnn_cu12-9.5.1.17-py3-none-manylinux_2_28_x86_64.whl.metadata (1.6 kB)
Collecting nvidia-cublas-cu12==12.6.4.1 (from torch>=2.7->xformers==0.0.32+0f0bb9d9.d20250719)
Downloading nvidia_cublas_cu12-12.6.4.1-py3-none-manylinux2014_x86_64.manylinux_2_17_x86_64.whl.metadata (1.5 kB)
Collecting nvidia-cufft-cu12==11.3.0.4 (from torch>=2.7->xformers==0.0.32+0f0bb9d9.d20250719)
Downloading nvidia_cufft_cu12-11.3.0.4-py3-none-manylinux2014_x86_64.manylinux_2_17_x86_64.whl.metadata (1.5 kB)
Collecting nvidia-curand-cu12==10.3.7.77 (from torch>=2.7->xformers==0.0.32+0f0bb9d9.d20250719)
Downloading nvidia_curand_cu12-10.3.7.77-py3-none-manylinux2014_x86_64.manylinux_2_17_x86_64.whl.metadata (1.5 kB)
Collecting nvidia-cusolver-cu12==11.7.1.2 (from torch>=2.7->xformers==0.0.32+0f0bb9d9.d20250719)
Downloading nvidia_cusolver_cu12-11.7.1.2-py3-none-manylinux2014_x86_64.manylinux_2_17_x86_64.whl.metadata (1.6 kB)
Collecting nvidia-cusparse-cu12==12.5.4.2 (from torch>=2.7->xformers==0.0.32+0f0bb9d9.d20250719)
Downloading nvidia_cusparse_cu12-12.5.4.2-py3-none-manylinux2014_x86_64.manylinux_2_17_x86_64.whl.metadata (1.6 kB)
Collecting nvidia-cusparselt-cu12==0.6.3 (from torch>=2.7->xformers==0.0.32+0f0bb9d9.d20250719)
Downloading nvidia_cusparselt_cu12-0.6.3-py3-none-manylinux2014_x86_64.whl.metadata (6.8 kB)
Collecting nvidia-nccl-cu12==2.26.2 (from torch>=2.7->xformers==0.0.32+0f0bb9d9.d20250719)
Downloading nvidia_nccl_cu12-2.26.2-py3-none-manylinux2014_x86_64.manylinux_2_17_x86_64.whl.metadata (2.0 kB)
Collecting nvidia-nvtx-cu12==12.6.77 (from torch>=2.7->xformers==0.0.32+0f0bb9d9.d20250719)
Downloading nvidia_nvtx_cu12-12.6.77-py3-none-manylinux2014_x86_64.manylinux_2_17_x86_64.whl.metadata (1.6 kB)
Collecting nvidia-nvjitlink-cu12==12.6.85 (from torch>=2.7->xformers==0.0.32+0f0bb9d9.d20250719)
Downloading nvidia_nvjitlink_cu12-12.6.85-py3-none-manylinux2010_x86_64.manylinux_2_12_x86_64.whl.metadata (1.5 kB)
Collecting nvidia-cufile-cu12==1.11.1.6 (from torch>=2.7->xformers==0.0.32+0f0bb9d9.d20250719)
Downloading nvidia_cufile_cu12-1.11.1.6-py3-none-manylinux2014_x86_64.manylinux_2_17_x86_64.whl.metadata (1.5 kB)
Collecting triton==3.3.1 (from torch>=2.7->xformers==0.0.32+0f0bb9d9.d20250719)
Downloading triton-3.3.1-cp310-cp310-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl.metadata (1.5 kB)
Requirement already satisfied: setuptools>=40.8.0 in /home/user/.pyenv/versions/3.10.18/lib/python3.10/site-packages (from triton==3.3.1->torch>=2.7->xformers==0.0.32+0f0bb9d9.d20250719) (65.5.0)
Collecting mpmath<1.4,>=1.1.0 (from sympy>=1.13.3->torch>=2.7->xformers==0.0.32+0f0bb9d9.d20250719)
Downloading mpmath-1.3.0-py3-none-any.whl.metadata (8.6 kB)
Requirement already satisfied: MarkupSafe>=2.0 in /home/user/.pyenv/versions/3.10.18/lib/python3.10/site-packages (from jinja2->torch>=2.7->xformers==0.0.32+0f0bb9d9.d20250719) (3.0.2)
Downloading torch-2.7.1-cp310-cp310-manylinux_2_28_x86_64.whl (821.2 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 821.2/821.2 MB 231.4 MB/s eta 0:00:00
Downloading nvidia_cublas_cu12-12.6.4.1-py3-none-manylinux2014_x86_64.manylinux_2_17_x86_64.whl (393.1 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 393.1/393.1 MB 596.9 MB/s eta 0:00:00
Downloading nvidia_cuda_cupti_cu12-12.6.80-py3-none-manylinux2014_x86_64.manylinux_2_17_x86_64.whl (8.9 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 8.9/8.9 MB 626.1 MB/s eta 0:00:00
Downloading nvidia_cuda_nvrtc_cu12-12.6.77-py3-none-manylinux2014_x86_64.whl (23.7 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 23.7/23.7 MB 622.0 MB/s eta 0:00:00
Downloading nvidia_cuda_runtime_cu12-12.6.77-py3-none-manylinux2014_x86_64.manylinux_2_17_x86_64.whl (897 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 897.7/897.7 kB 644.5 MB/s eta 0:00:00
Downloading nvidia_cudnn_cu12-9.5.1.17-py3-none-manylinux_2_28_x86_64.whl (571.0 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 571.0/571.0 MB 561.9 MB/s eta 0:00:00
Downloading nvidia_cufft_cu12-11.3.0.4-py3-none-manylinux2014_x86_64.manylinux_2_17_x86_64.whl (200.2 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 200.2/200.2 MB 591.8 MB/s eta 0:00:00
Downloading nvidia_cufile_cu12-1.11.1.6-py3-none-manylinux2014_x86_64.manylinux_2_17_x86_64.whl (1.1 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.1/1.1 MB 611.2 MB/s eta 0:00:00
Downloading nvidia_curand_cu12-10.3.7.77-py3-none-manylinux2014_x86_64.manylinux_2_17_x86_64.whl (56.3 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 56.3/56.3 MB 606.8 MB/s eta 0:00:00
Downloading nvidia_cusolver_cu12-11.7.1.2-py3-none-manylinux2014_x86_64.manylinux_2_17_x86_64.whl (158.2 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 158.2/158.2 MB 602.5 MB/s eta 0:00:00
Downloading nvidia_cusparse_cu12-12.5.4.2-py3-none-manylinux2014_x86_64.manylinux_2_17_x86_64.whl (216.6 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 216.6/216.6 MB 600.2 MB/s eta 0:00:00
Downloading nvidia_cusparselt_cu12-0.6.3-py3-none-manylinux2014_x86_64.whl (156.8 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 156.8/156.8 MB 602.9 MB/s eta 0:00:00
Downloading nvidia_nccl_cu12-2.26.2-py3-none-manylinux2014_x86_64.manylinux_2_17_x86_64.whl (201.3 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 201.3/201.3 MB 584.8 MB/s eta 0:00:00
Downloading nvidia_nvjitlink_cu12-12.6.85-py3-none-manylinux2010_x86_64.manylinux_2_12_x86_64.whl (19.7 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 19.7/19.7 MB 622.4 MB/s eta 0:00:00
Downloading nvidia_nvtx_cu12-12.6.77-py3-none-manylinux2014_x86_64.manylinux_2_17_x86_64.whl (89 kB)
Downloading triton-3.3.1-cp310-cp310-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl (155.6 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 155.6/155.6 MB 229.1 MB/s eta 0:00:00
Downloading sympy-1.14.0-py3-none-any.whl (6.3 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 6.3/6.3 MB 643.4 MB/s eta 0:00:00
Downloading mpmath-1.3.0-py3-none-any.whl (536 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 536.2/536.2 kB 627.9 MB/s eta 0:00:00
Downloading networkx-3.4.2-py3-none-any.whl (1.7 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.7/1.7 MB 647.0 MB/s eta 0:00:00
Building wheels for collected packages: xformers
Building editable for xformers (pyproject.toml): started
Building editable for xformers (pyproject.toml): still running...
Building editable for xformers (pyproject.toml): still running...
Building editable for xformers (pyproject.toml): finished with status 'done'
Created wheel for xformers: filename=xformers-0.0.32+0f0bb9d9.d20250719-0.editable-cp39-abi3-linux_x86_64.whl size=4555 sha256=8ad00c214b903de0fb70f5cb260ddda24f8e312491ed62ed90fea0391421056f
Stored in directory: /tmp/pip-ephem-wheel-cache-ph9tnb4q/wheels/26/5c/5b/eb71cc5219b117c3b97911df87c62bd31e78472fd30b8c0170
Successfully built xformers
Installing collected packages: nvidia-cusparselt-cu12, mpmath, triton, sympy, nvidia-nvtx-cu12, nvidia-nvjitlink-cu12, nvidia-nccl-cu12, nvidia-curand-cu12, nvidia-cufile-cu12, nvidia-cuda-runtime-cu12, nvidia-cuda-nvrtc-cu12, nvidia-cuda-cupti-cu12, nvidia-cublas-cu12, networkx, nvidia-cusparse-cu12, nvidia-cufft-cu12, nvidia-cudnn-cu12, nvidia-cusolver-cu12, torch, xformers

Successfully installed mpmath-1.3.0 networkx-3.4.2 nvidia-cublas-cu12-12.6.4.1 nvidia-cuda-cupti-cu12-12.6.80 nvidia-cuda-nvrtc-cu12-12.6.77 nvidia-cuda-runtime-cu12-12.6.77 nvidia-cudnn-cu12-9.5.1.17 nvidia-cufft-cu12-11.3.0.4 nvidia-cufile-cu12-1.11.1.6 nvidia-curand-cu12-10.3.7.77 nvidia-cusolver-cu12-11.7.1.2 nvidia-cusparse-cu12-12.5.4.2 nvidia-cusparselt-cu12-0.6.3 nvidia-nccl-cu12-2.26.2 nvidia-nvjitlink-cu12-12.6.85 nvidia-nvtx-cu12-12.6.77 sympy-1.14.0 torch-2.7.1 triton-3.3.1 xformers-0.0.32+0f0bb9d9.d20250719
Verifying NumPy, PyTorch, and xformers versions...
NumPy: 2.2.6
PyTorch: 2.7.1+cu126
xformers: 0.0.32+0f0bb9d9.d20250719
Starting WebUI with custom configurations...
fatal: No names found, cannot describe anything.
Python 3.10.18 (main, Jun 25 2025, 10:58:43) [GCC 11.4.0]
Version: 1.10.1
Commit hash: 82a973c04367123ae98bd9abdf80d9eda9b910e2
Installing torch and torchvision
Looking in indexes: https://pypi.org/simple, https://download.pytorch.org/whl/cu121
Collecting torch==2.1.2
Downloading https://download.pytorch.org/whl/cu121/torch-2.1.2%2Bcu121-cp310-cp310-linux_x86_64.whl (2200.7 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 2.2/2.2 GB 9.5 MB/s eta 0:00:00
Collecting torchvision==0.16.2
Downloading https://download.pytorch.org/whl/cu121/torchvision-0.16.2%2Bcu121-cp310-cp310-linux_x86_64.whl (6.8 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 6.8/6.8 MB 36.6 MB/s eta 0:00:00
Requirement already satisfied: filelock in /home/user/.pyenv/versions/3.10.18/lib/python3.10/site-packages (from torch==2.1.2) (3.18.0)
Requirement already satisfied: typing-extensions in /home/user/.pyenv/versions/3.10.18/lib/python3.10/site-packages (from torch==2.1.2) (4.14.0)
Requirement already satisfied: sympy in /home/user/.pyenv/versions/3.10.18/lib/python3.10/site-packages (from torch==2.1.2) (1.14.0)
Requirement already satisfied: networkx in /home/user/.pyenv/versions/3.10.18/lib/python3.10/site-packages (from torch==2.1.2) (3.4.2)
Requirement already satisfied: jinja2 in /home/user/.pyenv/versions/3.10.18/lib/python3.10/site-packages (from torch==2.1.2) (3.1.6)
Requirement already satisfied: fsspec in /home/user/.pyenv/versions/3.10.18/lib/python3.10/site-packages (from torch==2.1.2) (2025.3.0)
Collecting triton==2.1.0 (from torch==2.1.2)
Downloading https://download.pytorch.org/whl/triton-2.1.0-0-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.whl (89.2 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 89.2/89.2 MB 71.0 MB/s eta 0:00:00
Requirement already satisfied: numpy in /home/user/.pyenv/versions/3.10.18/lib/python3.10/site-packages (from torchvision==0.16.2) (2.2.6)
Requirement already satisfied: requests in /home/user/.pyenv/versions/3.10.18/lib/python3.10/site-packages (from torchvision==0.16.2) (2.32.4)
Requirement already satisfied: pillow!=8.3.*,>=5.3.0 in /home/user/.pyenv/versions/3.10.18/lib/python3.10/site-packages (from torchvision==0.16.2) (11.2.1)
Requirement already satisfied: MarkupSafe>=2.0 in /home/user/.pyenv/versions/3.10.18/lib/python3.10/site-packages (from jinja2->torch==2.1.2) (3.0.2)
Requirement already satisfied: charset_normalizer<4,>=2 in /home/user/.pyenv/versions/3.10.18/lib/python3.10/site-packages (from requests->torchvision==0.16.2) (3.4.2)
Requirement already satisfied: idna<4,>=2.5 in /home/user/.pyenv/versions/3.10.18/lib/python3.10/site-packages (from requests->torchvision==0.16.2) (3.10)
Requirement already satisfied: urllib3<3,>=1.21.1 in /home/user/.pyenv/versions/3.10.18/lib/python3.10/site-packages (from requests->torchvision==0.16.2) (2.5.0)
Requirement already satisfied: certifi>=2017.4.17 in /home/user/.pyenv/versions/3.10.18/lib/python3.10/site-packages (from requests->torchvision==0.16.2) (2025.6.15)
Requirement already satisfied: mpmath<1.4,>=1.1.0 in /home/user/.pyenv/versions/3.10.18/lib/python3.10/site-packages (from sympy->torch==2.1.2) (1.3.0)
Installing collected packages: triton, torch, torchvision
Attempting uninstall: triton
Found existing installation: triton 3.3.1
Uninstalling triton-3.3.1:
Successfully uninstalled triton-3.3.1
Attempting uninstall: torch
Found existing installation: torch 2.7.1
Uninstalling torch-2.7.1:
Successfully uninstalled torch-2.7.1

ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts.
xformers 0.0.32+0f0bb9d9.d20250719 requires torch>=2.7, but you have torch 2.1.2+cu121 which is incompatible.
Successfully installed torch-2.1.2+cu121 torchvision-0.16.2+cu121 triton-2.1.0
Installing clip
Installing open_clip
Cloning assets into /home/user/app/stable-diffusion-webui/repositories/stable-diffusion-webui-assets...
Cloning into '/home/user/app/stable-diffusion-webui/repositories/stable-diffusion-webui-assets'...
Cloning Stable Diffusion into /home/user/app/stable-diffusion-webui/repositories/stable-diffusion-stability-ai...
Cloning into '/home/user/app/stable-diffusion-webui/repositories/stable-diffusion-stability-ai'...
Cloning Stable Diffusion XL into /home/user/app/stable-diffusion-webui/repositories/generative-models...
Cloning into '/home/user/app/stable-diffusion-webui/repositories/generative-models'...
Cloning K-diffusion into /home/user/app/stable-diffusion-webui/repositories/k-diffusion...
Cloning into '/home/user/app/stable-diffusion-webui/repositories/k-diffusion'...
Cloning BLIP into /home/user/app/stable-diffusion-webui/repositories/BLIP...
Cloning into '/home/user/app/stable-diffusion-webui/repositories/BLIP'...
Installing requirements
Installing Deforum requirement: numexpr
Installing Deforum requirement: av
Installing Deforum requirement: pims
Installing Deforum requirement: imageio_ffmpeg
Installing Deforum requirement: rich
Installing Deforum requirement: gdown
Launching Web UI with arguments: --force-enable-xformers --ui-config-file /home/user/app/shared-ui-config.json --ui-settings-file /home/user/app/shared-config.json --disable-console-progressbars --enable-console-prompts --cors-allow-origins huggingface.co,hf.space --no-progressbar-hiding --api --skip-torch-cuda-test
/home/user/.pyenv/versions/3.10.18/lib/python3.10/site-packages/timm/models/layers/init.py:48: FutureWarning: Importing from timm.models.layers is deprecated, please import via timm.layers
warnings.warn(f"Importing from {name} is deprecated, please import via timm.layers", FutureWarning)
WARNING:xformers:WARNING[XFORMERS]: xFormers can't load C++/CUDA extensions. xFormers was built for:
PyTorch 2.7.1+cu126 with CUDA 1203 (you have 2.1.2+cu121)
Python 3.10.18 (you have 3.10.18)
Please reinstall xformers (see https://github.com/facebookresearch/xformers#installing-xformers)
Memory-efficient attention, SwiGLU, sparse and more won't be available.
Set XFORMERS_MORE_DETAILS=1 for more details
no module 'xformers'. Processing without...
no module 'xformers'. Processing without...
No module 'xformers'. Proceeding without it.
*** Cannot import xformers
Traceback (most recent call last):
File "/home/user/app/stable-diffusion-webui/modules/sd_hijack_optimizations.py", line 160, in
import xformers.ops
ModuleNotFoundError: No module named 'xformers.ops'; 'xformers' is not a package


Calculating sha256 for /home/user/app/stable-diffusion-webui/models/Stable-diffusion/ProtoGen_X3.4.safetensors: Running on local URL: http://0.0.0.0:7860

To create a public link, set share=True in launch().
Startup time: 155.8s (prepare environment: 145.8s, import torch: 4.4s, import gradio: 1.0s, setup paths: 0.9s, initialize shared: 0.3s, other imports: 0.6s, load scripts: 1.1s, create ui: 1.1s, gradio launch: 0.2s, add APIs: 0.3s).
44f90a09727ca8b62ea304e140546a0af96ba6edcb229c20c677aa4460449c21
Loading weights [44f90a0972] from /home/user/app/stable-diffusion-webui/models/Stable-diffusion/ProtoGen_X3.4.safetensors
Creating model from config: /home/user/app/stable-diffusion-webui/configs/v1-inference.yaml

vocab.json: 0%| | 0.00/961k [00:00<?, ?B/s]
vocab.json: 100%|β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ| 961k/961k [00:00<00:00, 13.5MB/s]

merges.txt: 0%| | 0.00/525k [00:00<?, ?B/s]
merges.txt: 100%|β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ| 525k/525k [00:00<00:00, 21.5MB/s]

special_tokens_map.json: 0%| | 0.00/389 [00:00<?, ?B/s]
special_tokens_map.json: 100%|β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ| 389/389 [00:00<00:00, 2.52MB/s]

tokenizer_config.json: 0%| | 0.00/905 [00:00<?, ?B/s]
tokenizer_config.json: 100%|β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ| 905/905 [00:00<00:00, 7.11MB/s]

config.json: 0%| | 0.00/4.52k [00:00<?, ?B/s]
config.json: 100%|β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ| 4.52k/4.52k [00:00<00:00, 22.6MB/s]
Applying attention optimization: xformers... done.
Model loaded in 22.8s (calculate hash: 19.1s, create model: 1.1s, apply weights to model: 2.2s, calculate empty prompt: 0.2s).
Traceback (most recent call last):
File "/home/user/.pyenv/versions/3.10.18/lib/python3.10/site-packages/gradio/routes.py", line 488, in run_predict
output = await app.get_blocks().process_api(
File "/home/user/.pyenv/versions/3.10.18/lib/python3.10/site-packages/gradio/blocks.py", line 1431, in process_api
result = await self.call_function(
File "/home/user/.pyenv/versions/3.10.18/lib/python3.10/site-packages/gradio/blocks.py", line 1103, in call_function
prediction = await anyio.to_thread.run_sync(
File "/home/user/.pyenv/versions/3.10.18/lib/python3.10/site-packages/anyio/to_thread.py", line 33, in run_sync
return await get_asynclib().run_sync_in_worker_thread(
File "/home/user/.pyenv/versions/3.10.18/lib/python3.10/site-packages/anyio/_backends/_asyncio.py", line 877, in run_sync_in_worker_thread
return await future
File "/home/user/.pyenv/versions/3.10.18/lib/python3.10/site-packages/anyio/_backends/_asyncio.py", line 807, in run
result = context.run(func, *args)
File "/home/user/.pyenv/versions/3.10.18/lib/python3.10/site-packages/gradio/utils.py", line 707, in wrapper
response = f(*args, **kwargs)
File "/home/user/app/stable-diffusion-webui/scripts/xyz_grid.py", line 473, in fill
axis = self.current_axis_options[axis_type]
TypeError: list indices must be integers or slices, not NoneType

img2img: High-resolution photos, futuristic machines, monster-type androids,
*** Error completing request
*** Arguments: ('task(7ss51i62lf6fck6)', <gradio.routes.Request object at 0x7f4ad503c4f0>, 0, 'High-resolution photos, futuristic machines, monster-type androids,', '', [], <PIL.Image.Image image mode=RGBA size=960x960 at 0x7F4AAC29E560>, None, None, None, None, None, None, 4, 0, 1, 1, 1, 7, 1.5, 0.57, 0.0, 512, 512, 1, 0, 0, 32, 0, '', '', '', [], False, [], '', 'upload', None, 0, False, 1, 0.5, 4, 0, 0.5, 2, 20, 'DPM++ 2M', 'Automatic', False, '', 0.8, -1, False, -1, 0, 0, 0, '* CFG Scale should be 2 or lower.', True, True, '', '', True, 50, True, 1, 0, False, 4, 0.5, 'Linear', 'None', '

Recommended settings: Sampling Steps: 80-100, Sampler: Euler a, Denoising strength: 0.8

', 128, 8, ['left', 'right', 'up', 'down'], 1, 0.05, 128, 4, 0, ['left', 'right', 'up', 'down'], False, False, 'positive', 'comma', 0, False, False, 'start', '', '', '

Will upscale the image by the selected scale factor; use width and height sliders to set tile size

', 64, 0, 2, 1, '', [], 0, '', [], 0, '', [], True, False, False, False, False, False, False, 0, False) {}
Traceback (most recent call last):
File "/home/user/app/stable-diffusion-webui/modules/call_queue.py", line 74, in f
res = list(func(*args, **kwargs))
File "/home/user/app/stable-diffusion-webui/modules/call_queue.py", line 53, in f
res = func(*args, **kwargs)
File "/home/user/app/stable-diffusion-webui/modules/call_queue.py", line 37, in f
res = func(*args, **kwargs)
File "/home/user/app/stable-diffusion-webui/modules/img2img.py", line 242, in img2img
processed = process_images(p)
File "/home/user/app/stable-diffusion-webui/modules/processing.py", line 847, in process_images
res = process_images_inner(p)
File "/home/user/app/stable-diffusion-webui/modules/processing.py", line 921, in process_images_inner
p.init(p.all_prompts, p.all_seeds, p.all_subseeds)
File "/home/user/app/stable-diffusion-webui/modules/processing.py", line 1730, in init
self.init_latent = images_tensor_to_samples(image, approximation_indexes.get(opts.sd_vae_encode_method), self.sd_model)
File "/home/user/app/stable-diffusion-webui/modules/sd_samplers_common.py", line 110, in images_tensor_to_samples
x_latent = model.get_first_stage_encoding(model.encode_first_stage(image))
File "/home/user/app/stable-diffusion-webui/modules/sd_hijack_utils.py", line 22, in
setattr(resolved_obj, func_path[-1], lambda *args, **kwargs: self(*args, **kwargs))
File "/home/user/app/stable-diffusion-webui/modules/sd_hijack_utils.py", line 36, in call
return self.__orig_func(*args, **kwargs)
File "/home/user/.pyenv/versions/3.10.18/lib/python3.10/site-packages/torch/utils/_contextlib.py", line 115, in decorate_context
return func(*args, **kwargs)
File "/home/user/app/stable-diffusion-webui/repositories/stable-diffusion-stability-ai/ldm/models/diffusion/ddpm.py", line 830, in encode_first_stage
return self.first_stage_model.encode(x)
File "/home/user/app/stable-diffusion-webui/repositories/stable-diffusion-stability-ai/ldm/models/autoencoder.py", line 83, in encode
h = self.encoder(x)
File "/home/user/.pyenv/versions/3.10.18/lib/python3.10/site-packages/torch/nn/modules/module.py", line 1518, in _wrapped_call_impl
return self._call_impl(*args, **kwargs)
File "/home/user/.pyenv/versions/3.10.18/lib/python3.10/site-packages/torch/nn/modules/module.py", line 1527, in _call_impl
return forward_call(*args, **kwargs)
File "/home/user/app/stable-diffusion-webui/repositories/stable-diffusion-stability-ai/ldm/modules/diffusionmodules/model.py", line 536, in forward
h = self.mid.attn_1(h)
File "/home/user/.pyenv/versions/3.10.18/lib/python3.10/site-packages/torch/nn/modules/module.py", line 1518, in _wrapped_call_impl
return self._call_impl(*args, **kwargs)
File "/home/user/.pyenv/versions/3.10.18/lib/python3.10/site-packages/torch/nn/modules/module.py", line 1527, in _call_impl
return forward_call(*args, **kwargs)
File "/home/user/app/stable-diffusion-webui/modules/sd_hijack_optimizations.py", line 628, in xformers_attnblock_forward
out = xformers.ops.memory_efficient_attention(q, k, v, op=get_xformers_flash_attention_op(q, k, v))
NameError: name 'xformers' is not defined


Hi,

Thank you for the detailed log and script. Based on the error:

NameError: name 'xformers' is not defined

It seems that xformers was not properly installed or imported before launching the WebUI. Even though your script includes a step to build and install xformers from source, the WebUI is launched before confirming that the module is available.

βœ… Suggested Fix:
Please make sure that xformers is fully installed and importable before starting the WebUI. You can adjust the end of your script like this:

# Change directory to xformers and install
os.chdir('/home/user/app/xformers')
os.system('pip install --no-cache-dir -e .')

# Explicitly verify xformers import
os.system("python -c 'import xformers; print(\"xformers version:\", xformers.__version__)'")

# Finally, launch the WebUI
os.chdir('/home/user/app/stable-diffusion-webui')
os.system("python launch.py --force-enable-xformers --ui-config-file /home/user/app/shared-ui-config.json --ui-settings-file /home/user/app/shared-config.json --disable-console-progressbars --enable-console-prompts --cors-allow-origins huggingface.co,hf.space --no-progressbar-hiding --api --skip-torch-cuda-test")

🧠 Why this matters:
The error occurs because the xformers module is not yet installed or recognized at the time the WebUI tries to import it. The --force-enable-xformers flag does not install the module; it simply tells WebUI to try using it if available.

Translated with Google Translate

I updated the code, here is the error log.

===== Application Startup at 2025-07-20 15:23:02 =====

Checking Python Version
Python 3.10.18
Starting verbose diagnostic setup for stable-diffusion-webui...
Cloning Stable Diffusion WebUI repository from darkstorm2150...
Cloning into '/home/user/app/stable-diffusion-webui'...
Setting working directory to stable-diffusion-webui root folder...
Downloading environment patch script...
--2025-07-20 17:25:02-- https://github.com/camenduru/webui/raw/main/env_patch.py
Resolving github.com (github.com)... 140.82.114.4
Connecting to github.com (github.com)|140.82.114.4|:443... connected.
HTTP request sent, awaiting response... 302 Found
Location: https://raw.githubusercontent.com/camenduru/webui/main/env_patch.py [following]
--2025-07-20 17:25:02-- https://raw.githubusercontent.com/camenduru/webui/main/env_patch.py
Resolving raw.githubusercontent.com (raw.githubusercontent.com)... 185.199.111.133, 185.199.108.133, 185.199.109.133, ...
Connecting to raw.githubusercontent.com (raw.githubusercontent.com)|185.199.111.133|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 120 [text/plain]
Saving to: β€˜/home/user/app/env_patch.py’

 0K                                                       100% 6.80M=0s

2025-07-20 17:25:02 (6.80 MB/s) - β€˜/home/user/app/env_patch.py’ saved [120/120]

Fixing Gradio shadowRoot access in script.js for Hugging Face compatibility...
Enabling progress bars in UI for better user feedback...
Modifying webui.py to enable queuing for async processing...
Disabling queuing for input components to reduce latency...
Disabling queuing for token counter outputs...
Downloading header_patch.py to customize UI header banners...
--2025-07-20 17:25:02-- https://github.com/camenduru/webui/raw/main/header_patch.py
Resolving github.com (github.com)... 140.82.114.4
Connecting to github.com (github.com)|140.82.114.4|:443... connected.
HTTP request sent, awaiting response... 302 Found
Location: https://raw.githubusercontent.com/camenduru/webui/main/header_patch.py [following]
--2025-07-20 17:25:02-- https://raw.githubusercontent.com/camenduru/webui/main/header_patch.py
Resolving raw.githubusercontent.com (raw.githubusercontent.com)... 185.199.110.133, 185.199.109.133, 185.199.108.133, ...
Connecting to raw.githubusercontent.com (raw.githubusercontent.com)|185.199.110.133|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 5569 (5.4K) [text/plain]
Saving to: β€˜/home/user/app/header_patch.py’

 0K .....                                                 100% 47.9M=0s

2025-07-20 17:25:02 (47.9 MB/s) - β€˜/home/user/app/header_patch.py’ saved [5569/5569]

Injecting header_patch.py content into modules/ui.py under the demo section...
IS_SHARED_UI IS DISABLED: Setting up custom environment...
Installing run_n_times.py script for batch processing...
--2025-07-20 17:25:02-- https://gist.github.com/camenduru/9ec5f8141db9902e375967e93250860f/raw/d0bcf01786f20107c329c03f8968584ee67be12a/run_n_times.py
Resolving gist.github.com (gist.github.com)... 140.82.112.4
Connecting to gist.github.com (gist.github.com)|140.82.112.4|:443... connected.
HTTP request sent, awaiting response... 301 Moved Permanently
Location: https://gist.githubusercontent.com/camenduru/9ec5f8141db9902e375967e93250860f/raw/d0bcf01786f20107c329c03f8968584ee67be12a/run_n_times.py [following]
--2025-07-20 17:25:02-- https://gist.githubusercontent.com/camenduru/9ec5f8141db9902e375967e93250860f/raw/d0bcf01786f20107c329c03f8968584ee67be12a/run_n_times.py
Resolving gist.githubusercontent.com (gist.githubusercontent.com)... 185.199.108.133, 185.199.109.133, 185.199.110.133, ...
Connecting to gist.githubusercontent.com (gist.githubusercontent.com)|185.199.108.133|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 532 [text/plain]
Saving to: β€˜/home/user/app/stable-diffusion-webui/scripts/run_n_times.py’

 0K                                                       100% 30.3M=0s

2025-07-20 17:25:02 (30.3 MB/s) - β€˜/home/user/app/stable-diffusion-webui/scripts/run_n_times.py’ saved [532/532]

Installing image browser extension for managing outputs...
Cloning into '/home/user/app/stable-diffusion-webui/extensions/stable-diffusion-webui-images-browser'...
Installing Deforum animation extension...
Cloning into '/home/user/app/stable-diffusion-webui/extensions/deforum-for-automatic1111-webui'...
Downloading Protogen X3.4 Stable Diffusion model...
Installing build dependencies...
Collecting ninja
Downloading ninja-1.11.1.4-py3-none-manylinux_2_12_x86_64.manylinux2010_x86_64.whl.metadata (5.0 kB)
Requirement already satisfied: packaging in /home/user/.pyenv/versions/3.10.18/lib/python3.10/site-packages (25.0)
Collecting wheel
Downloading wheel-0.45.1-py3-none-any.whl.metadata (2.3 kB)
Downloading ninja-1.11.1.4-py3-none-manylinux_2_12_x86_64.manylinux2010_x86_64.whl (422 kB)
Downloading wheel-0.45.1-py3-none-any.whl (72 kB)
Installing collected packages: wheel, ninja

Successfully installed ninja-1.11.1.4 wheel-0.45.1
Get:1 http://archive.ubuntu.com/ubuntu jammy InRelease [270 kB]
Get:2 http://archive.ubuntu.com/ubuntu jammy-updates InRelease [128 kB]
Get:3 http://archive.ubuntu.com/ubuntu jammy-backports InRelease [127 kB]
Get:4 http://security.ubuntu.com/ubuntu jammy-security InRelease [129 kB]
Get:5 https://developer.download.nvidia.com/compute/cuda/repos/ubuntu2204/x86_64 InRelease [1581 B]
Get:6 http://archive.ubuntu.com/ubuntu jammy/universe amd64 Packages [17.5 MB]
Get:7 http://archive.ubuntu.com/ubuntu jammy/restricted amd64 Packages [164 kB]
Get:8 http://archive.ubuntu.com/ubuntu jammy/multiverse amd64 Packages [266 kB]
Get:9 http://archive.ubuntu.com/ubuntu jammy/main amd64 Packages [1792 kB]
Get:10 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 Packages [3461 kB]
Get:11 http://archive.ubuntu.com/ubuntu jammy-updates/multiverse amd64 Packages [75.9 kB]
Get:12 http://archive.ubuntu.com/ubuntu jammy-updates/universe amd64 Packages [1572 kB]
Get:13 http://archive.ubuntu.com/ubuntu jammy-updates/restricted amd64 Packages [5139 kB]
Get:14 http://archive.ubuntu.com/ubuntu jammy-backports/universe amd64 Packages [35.2 kB]
Get:15 http://archive.ubuntu.com/ubuntu jammy-backports/main amd64 Packages [83.2 kB]
Get:16 https://developer.download.nvidia.com/compute/cuda/repos/ubuntu2204/x86_64 Packages [1840 kB]
Get:17 http://security.ubuntu.com/ubuntu jammy-security/universe amd64 Packages [1267 kB]
Get:18 http://security.ubuntu.com/ubuntu jammy-security/restricted amd64 Packages [4932 kB]
Get:19 http://security.ubuntu.com/ubuntu jammy-security/main amd64 Packages [3148 kB]
Get:20 http://security.ubuntu.com/ubuntu jammy-security/multiverse amd64 Packages [48.5 kB]
Fetched 42.0 MB in 2s (18.0 MB/s)
Reading package lists...
Reading package lists...
Building dependency tree...
Reading state information...
build-essential is already the newest version (12.9ubuntu3).
cmake is already the newest version (3.22.1-1ubuntu1.22.04.2).
Suggested packages:
gettext-base git-daemon-run | git-daemon-sysvinit git-doc git-email git-gui
gitk gitweb git-cvs git-mediawiki git-svn
The following packages will be upgraded:
git
1 upgraded, 0 newly installed, 0 to remove and 81 not upgraded.
Need to get 3166 kB of archives.
After this operation, 4096 B disk space will be freed.
Get:1 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 git amd64 1:2.34.1-1ubuntu1.15 [3166 kB]
debconf: delaying package configuration, since apt-utils is not installed
Fetched 3166 kB in 0s (54.1 MB/s)
(Reading database ...
(Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
(Reading database ... 25%
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
(Reading database ... 55%
(Reading database ... 60%
(Reading database ... 65%
(Reading database ... 70%
(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 100%
(Reading database ... 31142 files and directories currently installed.)
Preparing to unpack .../git_1%3a2.34.1-1ubuntu1.15_amd64.deb ...
Unpacking git (1:2.34.1-1ubuntu1.15) over (1:2.34.1-1ubuntu1.12) ...
Setting up git (1:2.34.1-1ubuntu1.15) ...
Cloning xformers repo...
Cloning into '/home/user/app/xformers'...
Submodule 'third_party/composable_kernel_tiled' (https://github.com/ROCm/composable_kernel.git) registered for path 'third_party/composable_kernel_tiled'
Submodule 'third_party/cutlass' (https://github.com/NVIDIA/cutlass.git) registered for path 'third_party/cutlass'
Submodule 'third_party/flash-attention' (https://github.com/Dao-AILab/flash-attention.git) registered for path 'third_party/flash-attention'
Cloning into '/home/user/app/xformers/third_party/composable_kernel_tiled'...
Cloning into '/home/user/app/xformers/third_party/cutlass'...
Cloning into '/home/user/app/xformers/third_party/flash-attention'...
Submodule path 'third_party/composable_kernel_tiled': checked out '50fad035248b154cdfa4505cf5de7465ce146149'
Submodule path 'third_party/cutlass': checked out 'e9627ce55b42fd2599f58cd4396da9380954def0'
Submodule path 'third_party/flash-attention': checked out '3ba6f826b199ff68aa9e9139a46280160defa5cd'
Submodule 'csrc/composable_kernel' (https://github.com/ROCm/composable_kernel.git) registered for path 'third_party/flash-attention/csrc/composable_kernel'
Submodule 'csrc/cutlass' (https://github.com/NVIDIA/cutlass.git) registered for path 'third_party/flash-attention/csrc/cutlass'
Cloning into '/home/user/app/xformers/third_party/flash-attention/csrc/composable_kernel'...
Cloning into '/home/user/app/xformers/third_party/flash-attention/csrc/cutlass'...
Submodule path 'third_party/flash-attention/csrc/composable_kernel': checked out 'd58f2b8bd0c2adad65a731403673d545d8483acb'
Submodule path 'third_party/flash-attention/csrc/cutlass': checked out 'dc4817921edda44a549197ff3a9dcf5df0636e7b'
Obtaining file:///home/user/app/xformers
Installing build dependencies: started
Installing build dependencies: still running...
Installing build dependencies: finished with status 'done'
Checking if build backend supports build_editable: started
Checking if build backend supports build_editable: finished with status 'done'
Getting requirements to build editable: started
Getting requirements to build editable: finished with status 'done'
Preparing editable metadata (pyproject.toml): started
Preparing editable metadata (pyproject.toml): finished with status 'done'
Collecting torch>=2.7 (from xformers==0.0.32+0f0bb9d9.d20250720)
Downloading torch-2.7.1-cp310-cp310-manylinux_2_28_x86_64.whl.metadata (29 kB)
Requirement already satisfied: numpy in /home/user/.pyenv/versions/3.10.18/lib/python3.10/site-packages (from xformers==0.0.32+0f0bb9d9.d20250720) (2.2.6)
Requirement already satisfied: filelock in /home/user/.pyenv/versions/3.10.18/lib/python3.10/site-packages (from torch>=2.7->xformers==0.0.32+0f0bb9d9.d20250720) (3.18.0)
Requirement already satisfied: typing-extensions>=4.10.0 in /home/user/.pyenv/versions/3.10.18/lib/python3.10/site-packages (from torch>=2.7->xformers==0.0.32+0f0bb9d9.d20250720) (4.14.0)
Collecting sympy>=1.13.3 (from torch>=2.7->xformers==0.0.32+0f0bb9d9.d20250720)
Downloading sympy-1.14.0-py3-none-any.whl.metadata (12 kB)
Collecting networkx (from torch>=2.7->xformers==0.0.32+0f0bb9d9.d20250720)
Downloading networkx-3.4.2-py3-none-any.whl.metadata (6.3 kB)
Requirement already satisfied: jinja2 in /home/user/.pyenv/versions/3.10.18/lib/python3.10/site-packages (from torch>=2.7->xformers==0.0.32+0f0bb9d9.d20250720) (3.1.6)
Requirement already satisfied: fsspec in /home/user/.pyenv/versions/3.10.18/lib/python3.10/site-packages (from torch>=2.7->xformers==0.0.32+0f0bb9d9.d20250720) (2025.3.0)
Collecting nvidia-cuda-nvrtc-cu12==12.6.77 (from torch>=2.7->xformers==0.0.32+0f0bb9d9.d20250720)
Downloading nvidia_cuda_nvrtc_cu12-12.6.77-py3-none-manylinux2014_x86_64.whl.metadata (1.5 kB)
Collecting nvidia-cuda-runtime-cu12==12.6.77 (from torch>=2.7->xformers==0.0.32+0f0bb9d9.d20250720)
Downloading nvidia_cuda_runtime_cu12-12.6.77-py3-none-manylinux2014_x86_64.manylinux_2_17_x86_64.whl.metadata (1.5 kB)
Collecting nvidia-cuda-cupti-cu12==12.6.80 (from torch>=2.7->xformers==0.0.32+0f0bb9d9.d20250720)
Downloading nvidia_cuda_cupti_cu12-12.6.80-py3-none-manylinux2014_x86_64.manylinux_2_17_x86_64.whl.metadata (1.6 kB)
Collecting nvidia-cudnn-cu12==9.5.1.17 (from torch>=2.7->xformers==0.0.32+0f0bb9d9.d20250720)
Downloading nvidia_cudnn_cu12-9.5.1.17-py3-none-manylinux_2_28_x86_64.whl.metadata (1.6 kB)
Collecting nvidia-cublas-cu12==12.6.4.1 (from torch>=2.7->xformers==0.0.32+0f0bb9d9.d20250720)
Downloading nvidia_cublas_cu12-12.6.4.1-py3-none-manylinux2014_x86_64.manylinux_2_17_x86_64.whl.metadata (1.5 kB)
Collecting nvidia-cufft-cu12==11.3.0.4 (from torch>=2.7->xformers==0.0.32+0f0bb9d9.d20250720)
Downloading nvidia_cufft_cu12-11.3.0.4-py3-none-manylinux2014_x86_64.manylinux_2_17_x86_64.whl.metadata (1.5 kB)
Collecting nvidia-curand-cu12==10.3.7.77 (from torch>=2.7->xformers==0.0.32+0f0bb9d9.d20250720)
Downloading nvidia_curand_cu12-10.3.7.77-py3-none-manylinux2014_x86_64.manylinux_2_17_x86_64.whl.metadata (1.5 kB)
Collecting nvidia-cusolver-cu12==11.7.1.2 (from torch>=2.7->xformers==0.0.32+0f0bb9d9.d20250720)
Downloading nvidia_cusolver_cu12-11.7.1.2-py3-none-manylinux2014_x86_64.manylinux_2_17_x86_64.whl.metadata (1.6 kB)
Collecting nvidia-cusparse-cu12==12.5.4.2 (from torch>=2.7->xformers==0.0.32+0f0bb9d9.d20250720)
Downloading nvidia_cusparse_cu12-12.5.4.2-py3-none-manylinux2014_x86_64.manylinux_2_17_x86_64.whl.metadata (1.6 kB)
Collecting nvidia-cusparselt-cu12==0.6.3 (from torch>=2.7->xformers==0.0.32+0f0bb9d9.d20250720)
Downloading nvidia_cusparselt_cu12-0.6.3-py3-none-manylinux2014_x86_64.whl.metadata (6.8 kB)
Collecting nvidia-nccl-cu12==2.26.2 (from torch>=2.7->xformers==0.0.32+0f0bb9d9.d20250720)
Downloading nvidia_nccl_cu12-2.26.2-py3-none-manylinux2014_x86_64.manylinux_2_17_x86_64.whl.metadata (2.0 kB)
Collecting nvidia-nvtx-cu12==12.6.77 (from torch>=2.7->xformers==0.0.32+0f0bb9d9.d20250720)
Downloading nvidia_nvtx_cu12-12.6.77-py3-none-manylinux2014_x86_64.manylinux_2_17_x86_64.whl.metadata (1.6 kB)
Collecting nvidia-nvjitlink-cu12==12.6.85 (from torch>=2.7->xformers==0.0.32+0f0bb9d9.d20250720)
Downloading nvidia_nvjitlink_cu12-12.6.85-py3-none-manylinux2010_x86_64.manylinux_2_12_x86_64.whl.metadata (1.5 kB)
Collecting nvidia-cufile-cu12==1.11.1.6 (from torch>=2.7->xformers==0.0.32+0f0bb9d9.d20250720)
Downloading nvidia_cufile_cu12-1.11.1.6-py3-none-manylinux2014_x86_64.manylinux_2_17_x86_64.whl.metadata (1.5 kB)
Collecting triton==3.3.1 (from torch>=2.7->xformers==0.0.32+0f0bb9d9.d20250720)
Downloading triton-3.3.1-cp310-cp310-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl.metadata (1.5 kB)
Requirement already satisfied: setuptools>=40.8.0 in /home/user/.pyenv/versions/3.10.18/lib/python3.10/site-packages (from triton==3.3.1->torch>=2.7->xformers==0.0.32+0f0bb9d9.d20250720) (65.5.0)
Collecting mpmath<1.4,>=1.1.0 (from sympy>=1.13.3->torch>=2.7->xformers==0.0.32+0f0bb9d9.d20250720)
Downloading mpmath-1.3.0-py3-none-any.whl.metadata (8.6 kB)
Requirement already satisfied: MarkupSafe>=2.0 in /home/user/.pyenv/versions/3.10.18/lib/python3.10/site-packages (from jinja2->torch>=2.7->xformers==0.0.32+0f0bb9d9.d20250720) (3.0.2)
Downloading torch-2.7.1-cp310-cp310-manylinux_2_28_x86_64.whl (821.2 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 821.2/821.2 MB 501.6 MB/s eta 0:00:00
Downloading nvidia_cublas_cu12-12.6.4.1-py3-none-manylinux2014_x86_64.manylinux_2_17_x86_64.whl (393.1 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 393.1/393.1 MB 457.8 MB/s eta 0:00:00
Downloading nvidia_cuda_cupti_cu12-12.6.80-py3-none-manylinux2014_x86_64.manylinux_2_17_x86_64.whl (8.9 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 8.9/8.9 MB 523.4 MB/s eta 0:00:00
Downloading nvidia_cuda_nvrtc_cu12-12.6.77-py3-none-manylinux2014_x86_64.whl (23.7 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 23.7/23.7 MB 511.2 MB/s eta 0:00:00
Downloading nvidia_cuda_runtime_cu12-12.6.77-py3-none-manylinux2014_x86_64.manylinux_2_17_x86_64.whl (897 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 897.7/897.7 kB 658.7 MB/s eta 0:00:00
Downloading nvidia_cudnn_cu12-9.5.1.17-py3-none-manylinux_2_28_x86_64.whl (571.0 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 571.0/571.0 MB 488.4 MB/s eta 0:00:00
Downloading nvidia_cufft_cu12-11.3.0.4-py3-none-manylinux2014_x86_64.manylinux_2_17_x86_64.whl (200.2 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 200.2/200.2 MB 432.1 MB/s eta 0:00:00
Downloading nvidia_cufile_cu12-1.11.1.6-py3-none-manylinux2014_x86_64.manylinux_2_17_x86_64.whl (1.1 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.1/1.1 MB 604.1 MB/s eta 0:00:00
Downloading nvidia_curand_cu12-10.3.7.77-py3-none-manylinux2014_x86_64.manylinux_2_17_x86_64.whl (56.3 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 56.3/56.3 MB 510.6 MB/s eta 0:00:00
Downloading nvidia_cusolver_cu12-11.7.1.2-py3-none-manylinux2014_x86_64.manylinux_2_17_x86_64.whl (158.2 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 158.2/158.2 MB 442.2 MB/s eta 0:00:00
Downloading nvidia_cusparse_cu12-12.5.4.2-py3-none-manylinux2014_x86_64.manylinux_2_17_x86_64.whl (216.6 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 216.6/216.6 MB 497.5 MB/s eta 0:00:00
Downloading nvidia_cusparselt_cu12-0.6.3-py3-none-manylinux2014_x86_64.whl (156.8 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 156.8/156.8 MB 488.8 MB/s eta 0:00:00
Downloading nvidia_nccl_cu12-2.26.2-py3-none-manylinux2014_x86_64.manylinux_2_17_x86_64.whl (201.3 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 201.3/201.3 MB 484.6 MB/s eta 0:00:00
Downloading nvidia_nvjitlink_cu12-12.6.85-py3-none-manylinux2010_x86_64.manylinux_2_12_x86_64.whl (19.7 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 19.7/19.7 MB 494.7 MB/s eta 0:00:00
Downloading nvidia_nvtx_cu12-12.6.77-py3-none-manylinux2014_x86_64.manylinux_2_17_x86_64.whl (89 kB)
Downloading triton-3.3.1-cp310-cp310-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl (155.6 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 155.6/155.6 MB 507.8 MB/s eta 0:00:00
Downloading sympy-1.14.0-py3-none-any.whl (6.3 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 6.3/6.3 MB 425.9 MB/s eta 0:00:00
Downloading mpmath-1.3.0-py3-none-any.whl (536 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 536.2/536.2 kB 673.7 MB/s eta 0:00:00
Downloading networkx-3.4.2-py3-none-any.whl (1.7 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.7/1.7 MB 573.6 MB/s eta 0:00:00
Building wheels for collected packages: xformers
Building editable for xformers (pyproject.toml): started
Building editable for xformers (pyproject.toml): still running...
Building editable for xformers (pyproject.toml): still running...
Building editable for xformers (pyproject.toml): finished with status 'done'
Created wheel for xformers: filename=xformers-0.0.32+0f0bb9d9.d20250720-0.editable-cp39-abi3-linux_x86_64.whl size=4555 sha256=fcf163d3d44eb927142ae8535131fdfb778d393ce3199bc3c0c68315b76e3e60
Stored in directory: /tmp/pip-ephem-wheel-cache-7jp5zrc3/wheels/26/5c/5b/eb71cc5219b117c3b97911df87c62bd31e78472fd30b8c0170
Successfully built xformers
Installing collected packages: nvidia-cusparselt-cu12, mpmath, triton, sympy, nvidia-nvtx-cu12, nvidia-nvjitlink-cu12, nvidia-nccl-cu12, nvidia-curand-cu12, nvidia-cufile-cu12, nvidia-cuda-runtime-cu12, nvidia-cuda-nvrtc-cu12, nvidia-cuda-cupti-cu12, nvidia-cublas-cu12, networkx, nvidia-cusparse-cu12, nvidia-cufft-cu12, nvidia-cudnn-cu12, nvidia-cusolver-cu12, torch, xformers

Successfully installed mpmath-1.3.0 networkx-3.4.2 nvidia-cublas-cu12-12.6.4.1 nvidia-cuda-cupti-cu12-12.6.80 nvidia-cuda-nvrtc-cu12-12.6.77 nvidia-cuda-runtime-cu12-12.6.77 nvidia-cudnn-cu12-9.5.1.17 nvidia-cufft-cu12-11.3.0.4 nvidia-cufile-cu12-1.11.1.6 nvidia-curand-cu12-10.3.7.77 nvidia-cusolver-cu12-11.7.1.2 nvidia-cusparse-cu12-12.5.4.2 nvidia-cusparselt-cu12-0.6.3 nvidia-nccl-cu12-2.26.2 nvidia-nvjitlink-cu12-12.6.85 nvidia-nvtx-cu12-12.6.77 sympy-1.14.0 torch-2.7.1 triton-3.3.1 xformers-0.0.32+0f0bb9d9.d20250720
Verifying NumPy and PyTorch...
NumPy: 2.2.6
PyTorch: 2.7.1+cu126
xformers version: 0.0.32+0f0bb9d9.d20250720
Starting WebUI...
fatal: No names found, cannot describe anything.
Python 3.10.18 (main, Jun 25 2025, 10:58:43) [GCC 11.4.0]
Version: 1.10.1
Commit hash: 82a973c04367123ae98bd9abdf80d9eda9b910e2
Installing torch and torchvision
Looking in indexes: https://pypi.org/simple, https://download.pytorch.org/whl/cu121
Collecting torch==2.1.2
Downloading https://download.pytorch.org/whl/cu121/torch-2.1.2%2Bcu121-cp310-cp310-linux_x86_64.whl (2200.7 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 2.2/2.2 GB 10.5 MB/s eta 0:00:00
Collecting torchvision==0.16.2
Downloading https://download.pytorch.org/whl/cu121/torchvision-0.16.2%2Bcu121-cp310-cp310-linux_x86_64.whl (6.8 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 6.8/6.8 MB 39.7 MB/s eta 0:00:00
Requirement already satisfied: filelock in /home/user/.pyenv/versions/3.10.18/lib/python3.10/site-packages (from torch==2.1.2) (3.18.0)
Requirement already satisfied: typing-extensions in /home/user/.pyenv/versions/3.10.18/lib/python3.10/site-packages (from torch==2.1.2) (4.14.0)
Requirement already satisfied: sympy in /home/user/.pyenv/versions/3.10.18/lib/python3.10/site-packages (from torch==2.1.2) (1.14.0)
Requirement already satisfied: networkx in /home/user/.pyenv/versions/3.10.18/lib/python3.10/site-packages (from torch==2.1.2) (3.4.2)
Requirement already satisfied: jinja2 in /home/user/.pyenv/versions/3.10.18/lib/python3.10/site-packages (from torch==2.1.2) (3.1.6)
Requirement already satisfied: fsspec in /home/user/.pyenv/versions/3.10.18/lib/python3.10/site-packages (from torch==2.1.2) (2025.3.0)
Collecting triton==2.1.0 (from torch==2.1.2)
Downloading https://download.pytorch.org/whl/triton-2.1.0-0-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.whl (89.2 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 89.2/89.2 MB 70.3 MB/s eta 0:00:00
Requirement already satisfied: numpy in /home/user/.pyenv/versions/3.10.18/lib/python3.10/site-packages (from torchvision==0.16.2) (2.2.6)
Requirement already satisfied: requests in /home/user/.pyenv/versions/3.10.18/lib/python3.10/site-packages (from torchvision==0.16.2) (2.32.4)
Requirement already satisfied: pillow!=8.3.*,>=5.3.0 in /home/user/.pyenv/versions/3.10.18/lib/python3.10/site-packages (from torchvision==0.16.2) (11.2.1)
Requirement already satisfied: MarkupSafe>=2.0 in /home/user/.pyenv/versions/3.10.18/lib/python3.10/site-packages (from jinja2->torch==2.1.2) (3.0.2)
Requirement already satisfied: charset_normalizer<4,>=2 in /home/user/.pyenv/versions/3.10.18/lib/python3.10/site-packages (from requests->torchvision==0.16.2) (3.4.2)
Requirement already satisfied: idna<4,>=2.5 in /home/user/.pyenv/versions/3.10.18/lib/python3.10/site-packages (from requests->torchvision==0.16.2) (3.10)
Requirement already satisfied: urllib3<3,>=1.21.1 in /home/user/.pyenv/versions/3.10.18/lib/python3.10/site-packages (from requests->torchvision==0.16.2) (2.5.0)
Requirement already satisfied: certifi>=2017.4.17 in /home/user/.pyenv/versions/3.10.18/lib/python3.10/site-packages (from requests->torchvision==0.16.2) (2025.6.15)
Requirement already satisfied: mpmath<1.4,>=1.1.0 in /home/user/.pyenv/versions/3.10.18/lib/python3.10/site-packages (from sympy->torch==2.1.2) (1.3.0)
Installing collected packages: triton, torch, torchvision
Attempting uninstall: triton
Found existing installation: triton 3.3.1
Uninstalling triton-3.3.1:
Successfully uninstalled triton-3.3.1
Attempting uninstall: torch
Found existing installation: torch 2.7.1
Uninstalling torch-2.7.1:
Successfully uninstalled torch-2.7.1

ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts.
xformers 0.0.32+0f0bb9d9.d20250720 requires torch>=2.7, but you have torch 2.1.2+cu121 which is incompatible.
Successfully installed torch-2.1.2+cu121 torchvision-0.16.2+cu121 triton-2.1.0
Installing clip
Installing open_clip
Cloning assets into /home/user/app/stable-diffusion-webui/repositories/stable-diffusion-webui-assets...
Cloning into '/home/user/app/stable-diffusion-webui/repositories/stable-diffusion-webui-assets'...
Cloning Stable Diffusion into /home/user/app/stable-diffusion-webui/repositories/stable-diffusion-stability-ai...
Cloning into '/home/user/app/stable-diffusion-webui/repositories/stable-diffusion-stability-ai'...
Cloning Stable Diffusion XL into /home/user/app/stable-diffusion-webui/repositories/generative-models...
Cloning into '/home/user/app/stable-diffusion-webui/repositories/generative-models'...
Cloning K-diffusion into /home/user/app/stable-diffusion-webui/repositories/k-diffusion...
Cloning into '/home/user/app/stable-diffusion-webui/repositories/k-diffusion'...
Cloning BLIP into /home/user/app/stable-diffusion-webui/repositories/BLIP...
Cloning into '/home/user/app/stable-diffusion-webui/repositories/BLIP'...
Installing requirements
Installing Deforum requirement: numexpr
Installing Deforum requirement: av
Installing Deforum requirement: pims
Installing Deforum requirement: imageio_ffmpeg
Installing Deforum requirement: rich
Installing Deforum requirement: gdown
Launching Web UI with arguments: --force-enable-xformers --ui-config-file /home/user/app/shared-ui-config.json --ui-settings-file /home/user/app/shared-config.json --disable-console-progressbars --enable-console-prompts --cors-allow-origins huggingface.co,hf.space --no-progressbar-hiding --api --skip-torch-cuda-test
/home/user/.pyenv/versions/3.10.18/lib/python3.10/site-packages/timm/models/layers/init.py:48: FutureWarning: Importing from timm.models.layers is deprecated, please import via timm.layers
warnings.warn(f"Importing from {name} is deprecated, please import via timm.layers", FutureWarning)
WARNING:xformers:WARNING[XFORMERS]: xFormers can't load C++/CUDA extensions. xFormers was built for:
PyTorch 2.7.1+cu126 with CUDA 1203 (you have 2.1.2+cu121)
Python 3.10.18 (you have 3.10.18)
Please reinstall xformers (see https://github.com/facebookresearch/xformers#installing-xformers)
Memory-efficient attention, SwiGLU, sparse and more won't be available.
Set XFORMERS_MORE_DETAILS=1 for more details
no module 'xformers'. Processing without...
no module 'xformers'. Processing without...
No module 'xformers'. Proceeding without it.
*** Cannot import xformers
Traceback (most recent call last):
File "/home/user/app/stable-diffusion-webui/modules/sd_hijack_optimizations.py", line 160, in
import xformers.ops
ModuleNotFoundError: No module named 'xformers.ops'; 'xformers' is not a package


Calculating sha256 for /home/user/app/stable-diffusion-webui/models/Stable-diffusion/ProtoGen_X3.4.safetensors: Running on local URL: http://0.0.0.0:7860

To create a public link, set share=True in launch().
Startup time: 156.5s (prepare environment: 146.6s, import torch: 4.3s, import gradio: 1.0s, setup paths: 0.9s, initialize shared: 0.3s, other imports: 0.6s, load scripts: 1.1s, create ui: 1.1s, gradio launch: 0.2s, add APIs: 0.3s).
44f90a09727ca8b62ea304e140546a0af96ba6edcb229c20c677aa4460449c21
Loading weights [44f90a0972] from /home/user/app/stable-diffusion-webui/models/Stable-diffusion/ProtoGen_X3.4.safetensors
Creating model from config: /home/user/app/stable-diffusion-webui/configs/v1-inference.yaml

vocab.json: 0%| | 0.00/961k [00:00<?, ?B/s]
vocab.json: 100%|β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ| 961k/961k [00:00<00:00, 37.6MB/s]

merges.txt: 0%| | 0.00/525k [00:00<?, ?B/s]
merges.txt: 100%|β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ| 525k/525k [00:00<00:00, 86.8MB/s]

special_tokens_map.json: 0%| | 0.00/389 [00:00<?, ?B/s]
special_tokens_map.json: 100%|β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ| 389/389 [00:00<00:00, 2.76MB/s]

tokenizer_config.json: 0%| | 0.00/905 [00:00<?, ?B/s]
tokenizer_config.json: 100%|β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ| 905/905 [00:00<00:00, 7.26MB/s]

config.json: 0%| | 0.00/4.52k [00:00<?, ?B/s]
config.json: 100%|β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ| 4.52k/4.52k [00:00<00:00, 24.7MB/s]
Applying attention optimization: xformers... done.
Model loaded in 23.4s (calculate hash: 19.8s, create model: 0.6s, apply weights to model: 2.4s, calculate empty prompt: 0.2s).

txt2img: a rock

0%| | 0/20 [00:00<?, ?it/s]
0%| | 0/20 [00:00<?, ?it/s]
*** Error completing request
*** Arguments: ('task(jb5e5cxbx5cfvcd)', <gradio.routes.Request object at 0x7f906a9cc220>, 'a rock', '', [], 1, 1, 7, 512, 512, False, 0.7, 2, 'Latent', 0, 0, 0, 'Use same checkpoint', 'Use same sampler', 'Use same scheduler', '', '', [], 0, 20, 'DPM++ 2M', 'Automatic', False, '', 0.8, -1, False, -1, 0, 0, 0, False, False, 'positive', 'comma', 0, False, False, 'start', '', '', 1, '', [], 0, '', [], 0, '', [], True, False, False, False, False, False, False, 0, False) {}
Traceback (most recent call last):
File "/home/user/app/stable-diffusion-webui/modules/call_queue.py", line 74, in f
res = list(func(*args, **kwargs))
File "/home/user/app/stable-diffusion-webui/modules/call_queue.py", line 53, in f
res = func(*args, **kwargs)
File "/home/user/app/stable-diffusion-webui/modules/call_queue.py", line 37, in f
res = func(*args, **kwargs)
File "/home/user/app/stable-diffusion-webui/modules/txt2img.py", line 109, in txt2img
processed = processing.process_images(p)
File "/home/user/app/stable-diffusion-webui/modules/processing.py", line 847, in process_images
res = process_images_inner(p)
File "/home/user/app/stable-diffusion-webui/modules/processing.py", line 988, in process_images_inner
samples_ddim = p.sample(conditioning=p.c, unconditional_conditioning=p.uc, seeds=p.seeds, subseeds=p.subseeds, subseed_strength=p.subseed_strength, prompts=p.prompts)
File "/home/user/app/stable-diffusion-webui/modules/processing.py", line 1346, in sample
samples = self.sampler.sample(self, x, conditioning, unconditional_conditioning, image_conditioning=self.txt2img_image_conditioning(x))
File "/home/user/app/stable-diffusion-webui/modules/sd_samplers_kdiffusion.py", line 230, in sample
samples = self.launch_sampling(steps, lambda: self.func(self.model_wrap_cfg, x, extra_args=self.sampler_extra_args, disable=False, callback=self.callback_state, **extra_params_kwargs))
File "/home/user/app/stable-diffusion-webui/modules/sd_samplers_common.py", line 272, in launch_sampling
return func()
File "/home/user/app/stable-diffusion-webui/modules/sd_samplers_kdiffusion.py", line 230, in
samples = self.launch_sampling(steps, lambda: self.func(self.model_wrap_cfg, x, extra_args=self.sampler_extra_args, disable=False, callback=self.callback_state, **extra_params_kwargs))
File "/home/user/.pyenv/versions/3.10.18/lib/python3.10/site-packages/torch/utils/_contextlib.py", line 115, in decorate_context
return func(*args, **kwargs)
File "/home/user/app/stable-diffusion-webui/repositories/k-diffusion/k_diffusion/sampling.py", line 594, in sample_dpmpp_2m
denoised = model(x, sigmas[i] * s_in, **extra_args)
File "/home/user/.pyenv/versions/3.10.18/lib/python3.10/site-packages/torch/nn/modules/module.py", line 1518, in _wrapped_call_impl
return self._call_impl(*args, **kwargs)
File "/home/user/.pyenv/versions/3.10.18/lib/python3.10/site-packages/torch/nn/modules/module.py", line 1527, in _call_impl
return forward_call(*args, **kwargs)
File "/home/user/app/stable-diffusion-webui/modules/sd_samplers_cfg_denoiser.py", line 249, in forward
x_out = self.inner_model(x_in, sigma_in, cond=make_condition_dict(cond_in, image_cond_in))
File "/home/user/.pyenv/versions/3.10.18/lib/python3.10/site-packages/torch/nn/modules/module.py", line 1518, in _wrapped_call_impl
return self._call_impl(*args, **kwargs)
File "/home/user/.pyenv/versions/3.10.18/lib/python3.10/site-packages/torch/nn/modules/module.py", line 1527, in _call_impl
return forward_call(*args, **kwargs)
File "/home/user/app/stable-diffusion-webui/repositories/k-diffusion/k_diffusion/external.py", line 112, in forward
eps = self.get_eps(input * c_in, self.sigma_to_t(sigma), **kwargs)
File "/home/user/app/stable-diffusion-webui/repositories/k-diffusion/k_diffusion/external.py", line 138, in get_eps
return self.inner_model.apply_model(*args, **kwargs)
File "/home/user/app/stable-diffusion-webui/modules/sd_hijack_utils.py", line 22, in
setattr(resolved_obj, func_path[-1], lambda *args, **kwargs: self(*args, **kwargs))
File "/home/user/app/stable-diffusion-webui/modules/sd_hijack_utils.py", line 34, in call
return self.__sub_func(self.__orig_func, *args, **kwargs)
File "/home/user/app/stable-diffusion-webui/modules/sd_hijack_unet.py", line 50, in apply_model
result = orig_func(self, x_noisy.to(devices.dtype_unet), t.to(devices.dtype_unet), cond, **kwargs)
File "/home/user/app/stable-diffusion-webui/modules/sd_hijack_utils.py", line 22, in
setattr(resolved_obj, func_path[-1], lambda *args, **kwargs: self(*args, **kwargs))
File "/home/user/app/stable-diffusion-webui/modules/sd_hijack_utils.py", line 36, in call
return self.__orig_func(*args, **kwargs)
File "/home/user/app/stable-diffusion-webui/repositories/stable-diffusion-stability-ai/ldm/models/diffusion/ddpm.py", line 858, in apply_model
x_recon = self.model(x_noisy, t, **cond)
File "/home/user/.pyenv/versions/3.10.18/lib/python3.10/site-packages/torch/nn/modules/module.py", line 1518, in _wrapped_call_impl
return self._call_impl(*args, **kwargs)
File "/home/user/.pyenv/versions/3.10.18/lib/python3.10/site-packages/torch/nn/modules/module.py", line 1527, in _call_impl
return forward_call(*args, **kwargs)
File "/home/user/app/stable-diffusion-webui/repositories/stable-diffusion-stability-ai/ldm/models/diffusion/ddpm.py", line 1335, in forward
out = self.diffusion_model(x, t, context=cc)
File "/home/user/.pyenv/versions/3.10.18/lib/python3.10/site-packages/torch/nn/modules/module.py", line 1518, in _wrapped_call_impl
return self._call_impl(*args, **kwargs)
File "/home/user/.pyenv/versions/3.10.18/lib/python3.10/site-packages/torch/nn/modules/module.py", line 1527, in _call_impl
return forward_call(*args, **kwargs)
File "/home/user/app/stable-diffusion-webui/modules/sd_unet.py", line 91, in UNetModel_forward
return original_forward(self, x, timesteps, context, *args, **kwargs)
File "/home/user/app/stable-diffusion-webui/repositories/stable-diffusion-stability-ai/ldm/modules/diffusionmodules/openaimodel.py", line 797, in forward
h = module(h, emb, context)
File "/home/user/.pyenv/versions/3.10.18/lib/python3.10/site-packages/torch/nn/modules/module.py", line 1518, in _wrapped_call_impl
return self._call_impl(*args, **kwargs)
File "/home/user/.pyenv/versions/3.10.18/lib/python3.10/site-packages/torch/nn/modules/module.py", line 1527, in _call_impl
return forward_call(*args, **kwargs)
File "/home/user/app/stable-diffusion-webui/repositories/stable-diffusion-stability-ai/ldm/modules/diffusionmodules/openaimodel.py", line 84, in forward
x = layer(x, context)
File "/home/user/.pyenv/versions/3.10.18/lib/python3.10/site-packages/torch/nn/modules/module.py", line 1518, in _wrapped_call_impl
return self._call_impl(*args, **kwargs)
File "/home/user/.pyenv/versions/3.10.18/lib/python3.10/site-packages/torch/nn/modules/module.py", line 1527, in _call_impl
return forward_call(*args, **kwargs)
File "/home/user/app/stable-diffusion-webui/modules/sd_hijack_utils.py", line 22, in
setattr(resolved_obj, func_path[-1], lambda *args, **kwargs: self(*args, **kwargs))
File "/home/user/app/stable-diffusion-webui/modules/sd_hijack_utils.py", line 34, in call
return self.__sub_func(self.__orig_func, *args, **kwargs)
File "/home/user/app/stable-diffusion-webui/modules/sd_hijack_unet.py", line 96, in spatial_transformer_forward
x = block(x, context=context[i])
File "/home/user/.pyenv/versions/3.10.18/lib/python3.10/site-packages/torch/nn/modules/module.py", line 1518, in _wrapped_call_impl
return self._call_impl(*args, **kwargs)
File "/home/user/.pyenv/versions/3.10.18/lib/python3.10/site-packages/torch/nn/modules/module.py", line 1527, in _call_impl
return forward_call(*args, **kwargs)
File "/home/user/app/stable-diffusion-webui/repositories/stable-diffusion-stability-ai/ldm/modules/attention.py", line 269, in forward
return checkpoint(self._forward, (x, context), self.parameters(), self.checkpoint)
File "/home/user/app/stable-diffusion-webui/repositories/stable-diffusion-stability-ai/ldm/modules/diffusionmodules/util.py", line 123, in checkpoint
return func(*inputs)
File "/home/user/app/stable-diffusion-webui/repositories/stable-diffusion-stability-ai/ldm/modules/attention.py", line 272, in _forward
x = self.attn1(self.norm1(x), context=context if self.disable_self_attn else None) + x
File "/home/user/.pyenv/versions/3.10.18/lib/python3.10/site-packages/torch/nn/modules/module.py", line 1518, in _wrapped_call_impl
return self._call_impl(*args, **kwargs)
File "/home/user/.pyenv/versions/3.10.18/lib/python3.10/site-packages/torch/nn/modules/module.py", line 1527, in _call_impl
return forward_call(*args, **kwargs)
File "/home/user/app/stable-diffusion-webui/modules/sd_hijack_optimizations.py", line 497, in xformers_attention_forward
out = xformers.ops.memory_efficient_attention(q, k, v, attn_bias=None, op=get_xformers_flash_attention_op(q, k, v))
NameError: name 'xformers' is not defined


Try this, I don't know if it will work.

pip uninstall -y torch torchvision xformers
pip install torch==2.7.1+cu126 torchvision==0.18.1+cu126 --extra-index-url https://download.pytorch.org/whl/cu126
pip install xformers==0.0.32+0f0bb9d9.d20250720 --extra-index-url https://download.pytorch.org/whl/cu126

pip install -U ninja cmake pybind11

===== Application Startup at 2025-07-21 01:19:49 =====

Checking Python Version
Python 3.10.18
Starting verbose diagnostic setup for stable-diffusion-webui...
Cloning Stable Diffusion WebUI repository from darkstorm2150...
Cloning into '/home/user/app/stable-diffusion-webui'...
Setting working directory to stable-diffusion-webui root folder...
Downloading environment patch script...
--2025-07-21 03:22:15-- https://github.com/camenduru/webui/raw/main/env_patch.py
Resolving github.com (github.com)... 140.82.114.3
Connecting to github.com (github.com)|140.82.114.3|:443... connected.
HTTP request sent, awaiting response... 302 Found
Location: https://raw.githubusercontent.com/camenduru/webui/main/env_patch.py [following]
--2025-07-21 03:22:15-- https://raw.githubusercontent.com/camenduru/webui/main/env_patch.py
Resolving raw.githubusercontent.com (raw.githubusercontent.com)... 185.199.111.133, 185.199.108.133, 185.199.109.133, ...
Connecting to raw.githubusercontent.com (raw.githubusercontent.com)|185.199.111.133|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 120 [text/plain]
Saving to: β€˜/home/user/app/env_patch.py’

 0K                                                       100% 4.36M=0s

2025-07-21 03:22:15 (4.36 MB/s) - β€˜/home/user/app/env_patch.py’ saved [120/120]

Fixing Gradio shadowRoot access in script.js for Hugging Face compatibility...
Enabling progress bars in UI for better user feedback...
Modifying webui.py to enable queuing for async processing...
Disabling queuing for input components to reduce latency...
Disabling queuing for token counter outputs...
Downloading header_patch.py to customize UI header banners...
--2025-07-21 03:22:15-- https://github.com/camenduru/webui/raw/main/header_patch.py
Resolving github.com (github.com)... 140.82.114.3
Connecting to github.com (github.com)|140.82.114.3|:443... connected.
HTTP request sent, awaiting response... 302 Found
Location: https://raw.githubusercontent.com/camenduru/webui/main/header_patch.py [following]
--2025-07-21 03:22:15-- https://raw.githubusercontent.com/camenduru/webui/main/header_patch.py
Resolving raw.githubusercontent.com (raw.githubusercontent.com)... 185.199.110.133, 185.199.109.133, 185.199.108.133, ...
Connecting to raw.githubusercontent.com (raw.githubusercontent.com)|185.199.110.133|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 5569 (5.4K) [text/plain]
Saving to: β€˜/home/user/app/header_patch.py’

 0K .....                                                 100% 26.4M=0s

2025-07-21 03:22:15 (26.4 MB/s) - β€˜/home/user/app/header_patch.py’ saved [5569/5569]

Injecting header_patch.py content into modules/ui.py under the demo section...
IS_SHARED_UI IS DISABLED: Setting up custom environment...
Installing run_n_times.py script for batch processing...
--2025-07-21 03:22:15-- https://gist.github.com/camenduru/9ec5f8141db9902e375967e93250860f/raw/d0bcf01786f20107c329c03f8968584ee67be12a/run_n_times.py
Resolving gist.github.com (gist.github.com)... 140.82.112.3
Connecting to gist.github.com (gist.github.com)|140.82.112.3|:443... connected.
HTTP request sent, awaiting response... 301 Moved Permanently
Location: https://gist.githubusercontent.com/camenduru/9ec5f8141db9902e375967e93250860f/raw/d0bcf01786f20107c329c03f8968584ee67be12a/run_n_times.py [following]
--2025-07-21 03:22:15-- https://gist.githubusercontent.com/camenduru/9ec5f8141db9902e375967e93250860f/raw/d0bcf01786f20107c329c03f8968584ee67be12a/run_n_times.py
Resolving gist.githubusercontent.com (gist.githubusercontent.com)... 185.199.109.133, 185.199.111.133, 185.199.108.133, ...
Connecting to gist.githubusercontent.com (gist.githubusercontent.com)|185.199.109.133|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 532 [text/plain]
Saving to: β€˜/home/user/app/stable-diffusion-webui/scripts/run_n_times.py’

 0K                                                       100% 38.7M=0s

2025-07-21 03:22:15 (38.7 MB/s) - β€˜/home/user/app/stable-diffusion-webui/scripts/run_n_times.py’ saved [532/532]

Installing image browser extension for managing outputs...
Cloning into '/home/user/app/stable-diffusion-webui/extensions/stable-diffusion-webui-images-browser'...
Installing Deforum animation extension...
Cloning into '/home/user/app/stable-diffusion-webui/extensions/deforum-for-automatic1111-webui'...
Downloading Protogen X3.4 Stable Diffusion model...
Installing build dependencies...
Collecting ninja
Downloading ninja-1.11.1.4-py3-none-manylinux_2_12_x86_64.manylinux2010_x86_64.whl.metadata (5.0 kB)
Requirement already satisfied: packaging in /home/user/.pyenv/versions/3.10.18/lib/python3.10/site-packages (25.0)
Collecting wheel
Downloading wheel-0.45.1-py3-none-any.whl.metadata (2.3 kB)
Downloading ninja-1.11.1.4-py3-none-manylinux_2_12_x86_64.manylinux2010_x86_64.whl (422 kB)
Downloading wheel-0.45.1-py3-none-any.whl (72 kB)
Installing collected packages: wheel, ninja

Successfully installed ninja-1.11.1.4 wheel-0.45.1
Get:1 http://archive.ubuntu.com/ubuntu jammy InRelease [270 kB]
Get:2 http://archive.ubuntu.com/ubuntu jammy-updates InRelease [128 kB]
Get:3 http://security.ubuntu.com/ubuntu jammy-security InRelease [129 kB]
Get:4 http://archive.ubuntu.com/ubuntu jammy-backports InRelease [127 kB]
Get:5 https://developer.download.nvidia.com/compute/cuda/repos/ubuntu2204/x86_64 InRelease [1581 B]
Get:6 http://archive.ubuntu.com/ubuntu jammy/restricted amd64 Packages [164 kB]
Get:7 http://archive.ubuntu.com/ubuntu jammy/main amd64 Packages [1792 kB]
Get:8 http://archive.ubuntu.com/ubuntu jammy/multiverse amd64 Packages [266 kB]
Get:9 http://archive.ubuntu.com/ubuntu jammy/universe amd64 Packages [17.5 MB]
Get:10 http://archive.ubuntu.com/ubuntu jammy-updates/restricted amd64 Packages [5139 kB]
Get:11 https://developer.download.nvidia.com/compute/cuda/repos/ubuntu2204/x86_64 Packages [1840 kB]
Get:12 http://archive.ubuntu.com/ubuntu jammy-updates/multiverse amd64 Packages [75.9 kB]
Get:13 http://archive.ubuntu.com/ubuntu jammy-updates/universe amd64 Packages [1572 kB]
Get:14 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 Packages [3461 kB]
Get:15 http://archive.ubuntu.com/ubuntu jammy-backports/main amd64 Packages [83.2 kB]
Get:16 http://archive.ubuntu.com/ubuntu jammy-backports/universe amd64 Packages [35.2 kB]
Get:17 http://security.ubuntu.com/ubuntu jammy-security/restricted amd64 Packages [4932 kB]
Get:18 http://security.ubuntu.com/ubuntu jammy-security/multiverse amd64 Packages [48.5 kB]
Get:19 http://security.ubuntu.com/ubuntu jammy-security/universe amd64 Packages [1267 kB]
Get:20 http://security.ubuntu.com/ubuntu jammy-security/main amd64 Packages [3148 kB]
Fetched 42.0 MB in 2s (18.2 MB/s)
Reading package lists...
Reading package lists...
Building dependency tree...
Reading state information...
build-essential is already the newest version (12.9ubuntu3).
cmake is already the newest version (3.22.1-1ubuntu1.22.04.2).
Suggested packages:
gettext-base git-daemon-run | git-daemon-sysvinit git-doc git-email git-gui
gitk gitweb git-cvs git-mediawiki git-svn
The following packages will be upgraded:
git
1 upgraded, 0 newly installed, 0 to remove and 81 not upgraded.
Need to get 3166 kB of archives.
After this operation, 4096 B disk space will be freed.
Get:1 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 git amd64 1:2.34.1-1ubuntu1.15 [3166 kB]
debconf: delaying package configuration, since apt-utils is not installed
Fetched 3166 kB in 0s (31.0 MB/s)
(Reading database ...
(Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
(Reading database ... 25%
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
(Reading database ... 55%
(Reading database ... 60%
(Reading database ... 65%
(Reading database ... 70%
(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 100%
(Reading database ... 31142 files and directories currently installed.)
Preparing to unpack .../git_1%3a2.34.1-1ubuntu1.15_amd64.deb ...
Unpacking git (1:2.34.1-1ubuntu1.15) over (1:2.34.1-1ubuntu1.12) ...
Setting up git (1:2.34.1-1ubuntu1.15) ...
Cloning xformers repo...
Cloning into '/home/user/app/xformers'...
Submodule 'third_party/composable_kernel_tiled' (https://github.com/ROCm/composable_kernel.git) registered for path 'third_party/composable_kernel_tiled'
Submodule 'third_party/cutlass' (https://github.com/NVIDIA/cutlass.git) registered for path 'third_party/cutlass'
Submodule 'third_party/flash-attention' (https://github.com/Dao-AILab/flash-attention.git) registered for path 'third_party/flash-attention'
Cloning into '/home/user/app/xformers/third_party/composable_kernel_tiled'...
Cloning into '/home/user/app/xformers/third_party/cutlass'...
Cloning into '/home/user/app/xformers/third_party/flash-attention'...
Submodule path 'third_party/composable_kernel_tiled': checked out '50fad035248b154cdfa4505cf5de7465ce146149'
Submodule path 'third_party/cutlass': checked out 'e9627ce55b42fd2599f58cd4396da9380954def0'
Submodule path 'third_party/flash-attention': checked out '3ba6f826b199ff68aa9e9139a46280160defa5cd'
Submodule 'csrc/composable_kernel' (https://github.com/ROCm/composable_kernel.git) registered for path 'third_party/flash-attention/csrc/composable_kernel'
Submodule 'csrc/cutlass' (https://github.com/NVIDIA/cutlass.git) registered for path 'third_party/flash-attention/csrc/cutlass'
Cloning into '/home/user/app/xformers/third_party/flash-attention/csrc/composable_kernel'...
Cloning into '/home/user/app/xformers/third_party/flash-attention/csrc/cutlass'...
Submodule path 'third_party/flash-attention/csrc/composable_kernel': checked out 'd58f2b8bd0c2adad65a731403673d545d8483acb'
Submodule path 'third_party/flash-attention/csrc/cutlass': checked out 'dc4817921edda44a549197ff3a9dcf5df0636e7b'
Obtaining file:///home/user/app/xformers
Installing build dependencies: started
Installing build dependencies: still running...
Installing build dependencies: finished with status 'done'
Checking if build backend supports build_editable: started
Checking if build backend supports build_editable: finished with status 'done'
Getting requirements to build editable: started
Getting requirements to build editable: finished with status 'done'
Preparing editable metadata (pyproject.toml): started
Preparing editable metadata (pyproject.toml): finished with status 'done'
Collecting torch>=2.7 (from xformers==0.0.32+0f0bb9d9.d20250721)
Downloading torch-2.7.1-cp310-cp310-manylinux_2_28_x86_64.whl.metadata (29 kB)
Requirement already satisfied: numpy in /home/user/.pyenv/versions/3.10.18/lib/python3.10/site-packages (from xformers==0.0.32+0f0bb9d9.d20250721) (2.2.6)
Requirement already satisfied: filelock in /home/user/.pyenv/versions/3.10.18/lib/python3.10/site-packages (from torch>=2.7->xformers==0.0.32+0f0bb9d9.d20250721) (3.18.0)
Requirement already satisfied: typing-extensions>=4.10.0 in /home/user/.pyenv/versions/3.10.18/lib/python3.10/site-packages (from torch>=2.7->xformers==0.0.32+0f0bb9d9.d20250721) (4.14.0)
Collecting sympy>=1.13.3 (from torch>=2.7->xformers==0.0.32+0f0bb9d9.d20250721)
Downloading sympy-1.14.0-py3-none-any.whl.metadata (12 kB)
Collecting networkx (from torch>=2.7->xformers==0.0.32+0f0bb9d9.d20250721)
Downloading networkx-3.4.2-py3-none-any.whl.metadata (6.3 kB)
Requirement already satisfied: jinja2 in /home/user/.pyenv/versions/3.10.18/lib/python3.10/site-packages (from torch>=2.7->xformers==0.0.32+0f0bb9d9.d20250721) (3.1.6)
Requirement already satisfied: fsspec in /home/user/.pyenv/versions/3.10.18/lib/python3.10/site-packages (from torch>=2.7->xformers==0.0.32+0f0bb9d9.d20250721) (2025.3.0)
Collecting nvidia-cuda-nvrtc-cu12==12.6.77 (from torch>=2.7->xformers==0.0.32+0f0bb9d9.d20250721)
Downloading nvidia_cuda_nvrtc_cu12-12.6.77-py3-none-manylinux2014_x86_64.whl.metadata (1.5 kB)
Collecting nvidia-cuda-runtime-cu12==12.6.77 (from torch>=2.7->xformers==0.0.32+0f0bb9d9.d20250721)
Downloading nvidia_cuda_runtime_cu12-12.6.77-py3-none-manylinux2014_x86_64.manylinux_2_17_x86_64.whl.metadata (1.5 kB)
Collecting nvidia-cuda-cupti-cu12==12.6.80 (from torch>=2.7->xformers==0.0.32+0f0bb9d9.d20250721)
Downloading nvidia_cuda_cupti_cu12-12.6.80-py3-none-manylinux2014_x86_64.manylinux_2_17_x86_64.whl.metadata (1.6 kB)
Collecting nvidia-cudnn-cu12==9.5.1.17 (from torch>=2.7->xformers==0.0.32+0f0bb9d9.d20250721)
Downloading nvidia_cudnn_cu12-9.5.1.17-py3-none-manylinux_2_28_x86_64.whl.metadata (1.6 kB)
Collecting nvidia-cublas-cu12==12.6.4.1 (from torch>=2.7->xformers==0.0.32+0f0bb9d9.d20250721)
Downloading nvidia_cublas_cu12-12.6.4.1-py3-none-manylinux2014_x86_64.manylinux_2_17_x86_64.whl.metadata (1.5 kB)
Collecting nvidia-cufft-cu12==11.3.0.4 (from torch>=2.7->xformers==0.0.32+0f0bb9d9.d20250721)
Downloading nvidia_cufft_cu12-11.3.0.4-py3-none-manylinux2014_x86_64.manylinux_2_17_x86_64.whl.metadata (1.5 kB)
Collecting nvidia-curand-cu12==10.3.7.77 (from torch>=2.7->xformers==0.0.32+0f0bb9d9.d20250721)
Downloading nvidia_curand_cu12-10.3.7.77-py3-none-manylinux2014_x86_64.manylinux_2_17_x86_64.whl.metadata (1.5 kB)
Collecting nvidia-cusolver-cu12==11.7.1.2 (from torch>=2.7->xformers==0.0.32+0f0bb9d9.d20250721)
Downloading nvidia_cusolver_cu12-11.7.1.2-py3-none-manylinux2014_x86_64.manylinux_2_17_x86_64.whl.metadata (1.6 kB)
Collecting nvidia-cusparse-cu12==12.5.4.2 (from torch>=2.7->xformers==0.0.32+0f0bb9d9.d20250721)
Downloading nvidia_cusparse_cu12-12.5.4.2-py3-none-manylinux2014_x86_64.manylinux_2_17_x86_64.whl.metadata (1.6 kB)
Collecting nvidia-cusparselt-cu12==0.6.3 (from torch>=2.7->xformers==0.0.32+0f0bb9d9.d20250721)
Downloading nvidia_cusparselt_cu12-0.6.3-py3-none-manylinux2014_x86_64.whl.metadata (6.8 kB)
Collecting nvidia-nccl-cu12==2.26.2 (from torch>=2.7->xformers==0.0.32+0f0bb9d9.d20250721)
Downloading nvidia_nccl_cu12-2.26.2-py3-none-manylinux2014_x86_64.manylinux_2_17_x86_64.whl.metadata (2.0 kB)
Collecting nvidia-nvtx-cu12==12.6.77 (from torch>=2.7->xformers==0.0.32+0f0bb9d9.d20250721)
Downloading nvidia_nvtx_cu12-12.6.77-py3-none-manylinux2014_x86_64.manylinux_2_17_x86_64.whl.metadata (1.6 kB)
Collecting nvidia-nvjitlink-cu12==12.6.85 (from torch>=2.7->xformers==0.0.32+0f0bb9d9.d20250721)
Downloading nvidia_nvjitlink_cu12-12.6.85-py3-none-manylinux2010_x86_64.manylinux_2_12_x86_64.whl.metadata (1.5 kB)
Collecting nvidia-cufile-cu12==1.11.1.6 (from torch>=2.7->xformers==0.0.32+0f0bb9d9.d20250721)
Downloading nvidia_cufile_cu12-1.11.1.6-py3-none-manylinux2014_x86_64.manylinux_2_17_x86_64.whl.metadata (1.5 kB)
Collecting triton==3.3.1 (from torch>=2.7->xformers==0.0.32+0f0bb9d9.d20250721)
Downloading triton-3.3.1-cp310-cp310-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl.metadata (1.5 kB)
Requirement already satisfied: setuptools>=40.8.0 in /home/user/.pyenv/versions/3.10.18/lib/python3.10/site-packages (from triton==3.3.1->torch>=2.7->xformers==0.0.32+0f0bb9d9.d20250721) (65.5.0)
Collecting mpmath<1.4,>=1.1.0 (from sympy>=1.13.3->torch>=2.7->xformers==0.0.32+0f0bb9d9.d20250721)
Downloading mpmath-1.3.0-py3-none-any.whl.metadata (8.6 kB)
Requirement already satisfied: MarkupSafe>=2.0 in /home/user/.pyenv/versions/3.10.18/lib/python3.10/site-packages (from jinja2->torch>=2.7->xformers==0.0.32+0f0bb9d9.d20250721) (3.0.2)
Downloading torch-2.7.1-cp310-cp310-manylinux_2_28_x86_64.whl (821.2 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 821.2/821.2 MB 140.7 MB/s eta 0:00:00
Downloading nvidia_cublas_cu12-12.6.4.1-py3-none-manylinux2014_x86_64.manylinux_2_17_x86_64.whl (393.1 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 393.1/393.1 MB 217.0 MB/s eta 0:00:00
Downloading nvidia_cuda_cupti_cu12-12.6.80-py3-none-manylinux2014_x86_64.manylinux_2_17_x86_64.whl (8.9 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 8.9/8.9 MB 412.3 MB/s eta 0:00:00
Downloading nvidia_cuda_nvrtc_cu12-12.6.77-py3-none-manylinux2014_x86_64.whl (23.7 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 23.7/23.7 MB 146.3 MB/s eta 0:00:00
Downloading nvidia_cuda_runtime_cu12-12.6.77-py3-none-manylinux2014_x86_64.manylinux_2_17_x86_64.whl (897 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 897.7/897.7 kB 671.1 MB/s eta 0:00:00
Downloading nvidia_cudnn_cu12-9.5.1.17-py3-none-manylinux_2_28_x86_64.whl (571.0 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 571.0/571.0 MB 227.6 MB/s eta 0:00:00
Downloading nvidia_cufft_cu12-11.3.0.4-py3-none-manylinux2014_x86_64.manylinux_2_17_x86_64.whl (200.2 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 200.2/200.2 MB 205.7 MB/s eta 0:00:00
Downloading nvidia_cufile_cu12-1.11.1.6-py3-none-manylinux2014_x86_64.manylinux_2_17_x86_64.whl (1.1 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.1/1.1 MB 685.6 MB/s eta 0:00:00
Downloading nvidia_curand_cu12-10.3.7.77-py3-none-manylinux2014_x86_64.manylinux_2_17_x86_64.whl (56.3 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 56.3/56.3 MB 165.0 MB/s eta 0:00:00
Downloading nvidia_cusolver_cu12-11.7.1.2-py3-none-manylinux2014_x86_64.manylinux_2_17_x86_64.whl (158.2 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 158.2/158.2 MB 173.8 MB/s eta 0:00:00
Downloading nvidia_cusparse_cu12-12.5.4.2-py3-none-manylinux2014_x86_64.manylinux_2_17_x86_64.whl (216.6 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 216.6/216.6 MB 164.3 MB/s eta 0:00:00
Downloading nvidia_cusparselt_cu12-0.6.3-py3-none-manylinux2014_x86_64.whl (156.8 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 156.8/156.8 MB 135.9 MB/s eta 0:00:00
Downloading nvidia_nccl_cu12-2.26.2-py3-none-manylinux2014_x86_64.manylinux_2_17_x86_64.whl (201.3 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 201.3/201.3 MB 168.8 MB/s eta 0:00:00
Downloading nvidia_nvjitlink_cu12-12.6.85-py3-none-manylinux2010_x86_64.manylinux_2_12_x86_64.whl (19.7 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 19.7/19.7 MB 229.4 MB/s eta 0:00:00
Downloading nvidia_nvtx_cu12-12.6.77-py3-none-manylinux2014_x86_64.manylinux_2_17_x86_64.whl (89 kB)
Downloading triton-3.3.1-cp310-cp310-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl (155.6 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 155.6/155.6 MB 157.8 MB/s eta 0:00:00
Downloading sympy-1.14.0-py3-none-any.whl (6.3 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 6.3/6.3 MB 386.9 MB/s eta 0:00:00
Downloading mpmath-1.3.0-py3-none-any.whl (536 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 536.2/536.2 kB 594.7 MB/s eta 0:00:00
Downloading networkx-3.4.2-py3-none-any.whl (1.7 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.7/1.7 MB 340.1 MB/s eta 0:00:00
Building wheels for collected packages: xformers
Building editable for xformers (pyproject.toml): started
Building editable for xformers (pyproject.toml): still running...
Building editable for xformers (pyproject.toml): still running...
Building editable for xformers (pyproject.toml): finished with status 'done'
Created wheel for xformers: filename=xformers-0.0.32+0f0bb9d9.d20250721-0.editable-cp39-abi3-linux_x86_64.whl size=4554 sha256=d8d2241c65f3427bc5809f18cef239d5a6ca070f9321d6913f768dc21b6ab098
Stored in directory: /tmp/pip-ephem-wheel-cache-o_fl7ljn/wheels/26/5c/5b/eb71cc5219b117c3b97911df87c62bd31e78472fd30b8c0170
Successfully built xformers
Installing collected packages: nvidia-cusparselt-cu12, mpmath, triton, sympy, nvidia-nvtx-cu12, nvidia-nvjitlink-cu12, nvidia-nccl-cu12, nvidia-curand-cu12, nvidia-cufile-cu12, nvidia-cuda-runtime-cu12, nvidia-cuda-nvrtc-cu12, nvidia-cuda-cupti-cu12, nvidia-cublas-cu12, networkx, nvidia-cusparse-cu12, nvidia-cufft-cu12, nvidia-cudnn-cu12, nvidia-cusolver-cu12, torch, xformers

Successfully installed mpmath-1.3.0 networkx-3.4.2 nvidia-cublas-cu12-12.6.4.1 nvidia-cuda-cupti-cu12-12.6.80 nvidia-cuda-nvrtc-cu12-12.6.77 nvidia-cuda-runtime-cu12-12.6.77 nvidia-cudnn-cu12-9.5.1.17 nvidia-cufft-cu12-11.3.0.4 nvidia-cufile-cu12-1.11.1.6 nvidia-curand-cu12-10.3.7.77 nvidia-cusolver-cu12-11.7.1.2 nvidia-cusparse-cu12-12.5.4.2 nvidia-cusparselt-cu12-0.6.3 nvidia-nccl-cu12-2.26.2 nvidia-nvjitlink-cu12-12.6.85 nvidia-nvtx-cu12-12.6.77 sympy-1.14.0 torch-2.7.1 triton-3.3.1 xformers-0.0.32+0f0bb9d9.d20250721
Verifying NumPy and PyTorch...
NumPy: 2.2.6
PyTorch: 2.7.1+cu126
xformers version: 0.0.32+0f0bb9d9.d20250721
Starting WebUI...
Found existing installation: torch 2.7.1
Uninstalling torch-2.7.1:
Successfully uninstalled torch-2.7.1
WARNING: Skipping torchvision as it is not installed.
Found existing installation: xformers 0.0.32+0f0bb9d9.d20250721
Uninstalling xformers-0.0.32+0f0bb9d9.d20250721:
Successfully uninstalled xformers-0.0.32+0f0bb9d9.d20250721
Looking in indexes: https://pypi.org/simple, https://download.pytorch.org/whl/cu126
Collecting torch==2.7.1+cu126
Downloading https://download.pytorch.org/whl/cu126/torch-2.7.1%2Bcu126-cp310-cp310-manylinux_2_28_x86_64.whl.metadata (29 kB)
ERROR: Ignored the following yanked versions: 0.1.6, 0.1.7, 0.1.8, 0.1.9, 0.2.0, 0.2.1, 0.2.2, 0.2.2.post2, 0.2.2.post3, 0.15.0
ERROR: Could not find a version that satisfies the requirement torchvision==0.18.1+cu126 (from versions: 0.1.6, 0.2.0, 0.12.0, 0.13.0, 0.13.1, 0.14.0, 0.14.1, 0.15.1, 0.15.2, 0.16.0, 0.16.1, 0.16.2, 0.17.0, 0.17.1, 0.17.2, 0.18.0, 0.18.1, 0.19.0, 0.19.1, 0.20.0, 0.20.1, 0.21.0, 0.21.0+cu126, 0.22.0, 0.22.0+cu126, 0.22.1, 0.22.1+cu126)
ERROR: No matching distribution found for torchvision==0.18.1+cu126
Looking in indexes: https://pypi.org/simple, https://download.pytorch.org/whl/cu126
ERROR: Could not find a version that satisfies the requirement xformers==0.0.32+0f0bb9d9.d20250720 (from versions: 0.0.1, 0.0.2, 0.0.3, 0.0.4, 0.0.5, 0.0.6, 0.0.7, 0.0.8, 0.0.9, 0.0.10, 0.0.11, 0.0.12, 0.0.13, 0.0.16rc424, 0.0.16rc425, 0.0.16, 0.0.17rc481, 0.0.17rc482, 0.0.17, 0.0.18, 0.0.19, 0.0.20, 0.0.21, 0.0.22, 0.0.22.post7, 0.0.23, 0.0.23.post1, 0.0.24, 0.0.25, 0.0.25.post1, 0.0.26.post1, 0.0.27, 0.0.27.post1, 0.0.27.post2, 0.0.28, 0.0.28.post1, 0.0.28.post2, 0.0.28.post3, 0.0.29, 0.0.29.post1, 0.0.29.post2, 0.0.29.post3, 0.0.30, 0.0.31, 0.0.31.post1, 0.0.32.dev1068, 0.0.32.dev1070)
ERROR: No matching distribution found for xformers==0.0.32+0f0bb9d9.d20250720
Requirement already satisfied: ninja in /home/user/.pyenv/versions/3.10.18/lib/python3.10/site-packages (1.11.1.4)
Collecting cmake
Downloading cmake-4.0.3-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (6.3 kB)
Collecting pybind11
Downloading pybind11-3.0.0-py3-none-any.whl.metadata (10.0 kB)
Downloading cmake-4.0.3-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (27.9 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 27.9/27.9 MB 286.0 MB/s eta 0:00:00
Downloading pybind11-3.0.0-py3-none-any.whl (292 kB)
Installing collected packages: pybind11, cmake

Successfully installed cmake-4.0.3 pybind11-3.0.0
fatal: No names found, cannot describe anything.
Python 3.10.18 (main, Jun 25 2025, 10:58:43) [GCC 11.4.0]
Version: 1.10.1
Commit hash: 82a973c04367123ae98bd9abdf80d9eda9b910e2
Installing torch and torchvision
Looking in indexes: https://pypi.org/simple, https://download.pytorch.org/whl/cu121
Collecting torch==2.1.2
Downloading https://download.pytorch.org/whl/cu121/torch-2.1.2%2Bcu121-cp310-cp310-linux_x86_64.whl (2200.7 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 2.2/2.2 GB 11.7 MB/s eta 0:00:00
Collecting torchvision==0.16.2
Downloading https://download.pytorch.org/whl/cu121/torchvision-0.16.2%2Bcu121-cp310-cp310-linux_x86_64.whl (6.8 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 6.8/6.8 MB 41.0 MB/s eta 0:00:00
Requirement already satisfied: filelock in /home/user/.pyenv/versions/3.10.18/lib/python3.10/site-packages (from torch==2.1.2) (3.18.0)
Requirement already satisfied: typing-extensions in /home/user/.pyenv/versions/3.10.18/lib/python3.10/site-packages (from torch==2.1.2) (4.14.0)
Requirement already satisfied: sympy in /home/user/.pyenv/versions/3.10.18/lib/python3.10/site-packages (from torch==2.1.2) (1.14.0)
Requirement already satisfied: networkx in /home/user/.pyenv/versions/3.10.18/lib/python3.10/site-packages (from torch==2.1.2) (3.4.2)
Requirement already satisfied: jinja2 in /home/user/.pyenv/versions/3.10.18/lib/python3.10/site-packages (from torch==2.1.2) (3.1.6)
Requirement already satisfied: fsspec in /home/user/.pyenv/versions/3.10.18/lib/python3.10/site-packages (from torch==2.1.2) (2025.3.0)
Collecting triton==2.1.0 (from torch==2.1.2)
Downloading https://download.pytorch.org/whl/triton-2.1.0-0-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.whl (89.2 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 89.2/89.2 MB 67.6 MB/s eta 0:00:00
Requirement already satisfied: numpy in /home/user/.pyenv/versions/3.10.18/lib/python3.10/site-packages (from torchvision==0.16.2) (2.2.6)
Requirement already satisfied: requests in /home/user/.pyenv/versions/3.10.18/lib/python3.10/site-packages (from torchvision==0.16.2) (2.32.4)
Requirement already satisfied: pillow!=8.3.*,>=5.3.0 in /home/user/.pyenv/versions/3.10.18/lib/python3.10/site-packages (from torchvision==0.16.2) (11.2.1)
Requirement already satisfied: MarkupSafe>=2.0 in /home/user/.pyenv/versions/3.10.18/lib/python3.10/site-packages (from jinja2->torch==2.1.2) (3.0.2)
Requirement already satisfied: charset_normalizer<4,>=2 in /home/user/.pyenv/versions/3.10.18/lib/python3.10/site-packages (from requests->torchvision==0.16.2) (3.4.2)
Requirement already satisfied: idna<4,>=2.5 in /home/user/.pyenv/versions/3.10.18/lib/python3.10/site-packages (from requests->torchvision==0.16.2) (3.10)
Requirement already satisfied: urllib3<3,>=1.21.1 in /home/user/.pyenv/versions/3.10.18/lib/python3.10/site-packages (from requests->torchvision==0.16.2) (2.5.0)
Requirement already satisfied: certifi>=2017.4.17 in /home/user/.pyenv/versions/3.10.18/lib/python3.10/site-packages (from requests->torchvision==0.16.2) (2025.6.15)
Requirement already satisfied: mpmath<1.4,>=1.1.0 in /home/user/.pyenv/versions/3.10.18/lib/python3.10/site-packages (from sympy->torch==2.1.2) (1.3.0)
Installing collected packages: triton, torch, torchvision
Attempting uninstall: triton
Found existing installation: triton 3.3.1
Uninstalling triton-3.3.1:
Successfully uninstalled triton-3.3.1

Successfully installed torch-2.1.2+cu121 torchvision-0.16.2+cu121 triton-2.1.0
Installing clip
Installing open_clip
Cloning assets into /home/user/app/stable-diffusion-webui/repositories/stable-diffusion-webui-assets...
Cloning into '/home/user/app/stable-diffusion-webui/repositories/stable-diffusion-webui-assets'...
Cloning Stable Diffusion into /home/user/app/stable-diffusion-webui/repositories/stable-diffusion-stability-ai...
Cloning into '/home/user/app/stable-diffusion-webui/repositories/stable-diffusion-stability-ai'...
Cloning Stable Diffusion XL into /home/user/app/stable-diffusion-webui/repositories/generative-models...
Cloning into '/home/user/app/stable-diffusion-webui/repositories/generative-models'...
Cloning K-diffusion into /home/user/app/stable-diffusion-webui/repositories/k-diffusion...
Cloning into '/home/user/app/stable-diffusion-webui/repositories/k-diffusion'...
Cloning BLIP into /home/user/app/stable-diffusion-webui/repositories/BLIP...
Cloning into '/home/user/app/stable-diffusion-webui/repositories/BLIP'...
Installing requirements
Installing Deforum requirement: numexpr
Installing Deforum requirement: av
Installing Deforum requirement: pims
Installing Deforum requirement: imageio_ffmpeg
Installing Deforum requirement: rich
Installing Deforum requirement: gdown
Launching Web UI with arguments: --force-enable-xformers --ui-config-file /home/user/app/shared-ui-config.json --ui-settings-file /home/user/app/shared-config.json --disable-console-progressbars --enable-console-prompts --cors-allow-origins huggingface.co,hf.space --no-progressbar-hiding --api --skip-torch-cuda-test
/home/user/.pyenv/versions/3.10.18/lib/python3.10/site-packages/timm/models/layers/init.py:48: FutureWarning: Importing from timm.models.layers is deprecated, please import via timm.layers
warnings.warn(f"Importing from {name} is deprecated, please import via timm.layers", FutureWarning)
no module 'xformers'. Processing without...
no module 'xformers'. Processing without...
No module 'xformers'. Proceeding without it.
*** Cannot import xformers
Traceback (most recent call last):
File "/home/user/app/stable-diffusion-webui/modules/sd_hijack_optimizations.py", line 160, in
import xformers.ops
ModuleNotFoundError: No module named 'xformers.ops'; 'xformers' is not a package


Calculating sha256 for /home/user/app/stable-diffusion-webui/models/Stable-diffusion/ProtoGen_X3.4.safetensors: Running on local URL: http://0.0.0.0:7860

To create a public link, set share=True in launch().
Startup time: 157.8s (prepare environment: 147.3s, import torch: 4.5s, import gradio: 1.1s, setup paths: 0.9s, initialize shared: 0.3s, other imports: 0.6s, load scripts: 1.2s, create ui: 1.2s, gradio launch: 0.2s, add APIs: 0.3s).
44f90a09727ca8b62ea304e140546a0af96ba6edcb229c20c677aa4460449c21
Loading weights [44f90a0972] from /home/user/app/stable-diffusion-webui/models/Stable-diffusion/ProtoGen_X3.4.safetensors
Creating model from config: /home/user/app/stable-diffusion-webui/configs/v1-inference.yaml

vocab.json: 0%| | 0.00/961k [00:00<?, ?B/s]
vocab.json: 100%|β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ| 961k/961k [00:00<00:00, 69.8MB/s]

merges.txt: 0%| | 0.00/525k [00:00<?, ?B/s]
merges.txt: 100%|β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ| 525k/525k [00:00<00:00, 24.6MB/s]

special_tokens_map.json: 0%| | 0.00/389 [00:00<?, ?B/s]
special_tokens_map.json: 100%|β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ| 389/389 [00:00<00:00, 2.38MB/s]

tokenizer_config.json: 0%| | 0.00/905 [00:00<?, ?B/s]
tokenizer_config.json: 100%|β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ| 905/905 [00:00<00:00, 4.81MB/s]

config.json: 0%| | 0.00/4.52k [00:00<?, ?B/s]
config.json: 100%|β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ| 4.52k/4.52k [00:00<00:00, 12.9MB/s]
Applying attention optimization: xformers... done.
Model loaded in 29.0s (calculate hash: 24.5s, load weights from disk: 0.4s, create model: 1.3s, apply weights to model: 2.4s, calculate empty prompt: 0.2s).
ERROR: Exception in ASGI application
Traceback (most recent call last):
File "/home/user/.pyenv/versions/3.10.18/lib/python3.10/site-packages/uvicorn/protocols/websockets/websockets_impl.py", line 244, in run_asgi
result = await self.app(self.scope, self.asgi_receive, self.asgi_send) # type: ignore[func-returns-value]
File "/home/user/.pyenv/versions/3.10.18/lib/python3.10/site-packages/uvicorn/middleware/proxy_headers.py", line 60, in call
return await self.app(scope, receive, send)
File "/home/user/.pyenv/versions/3.10.18/lib/python3.10/site-packages/fastapi/applications.py", line 273, in call
await super().call(scope, receive, send)
File "/home/user/.pyenv/versions/3.10.18/lib/python3.10/site-packages/starlette/applications.py", line 122, in call
await self.middleware_stack(scope, receive, send)
File "/home/user/.pyenv/versions/3.10.18/lib/python3.10/site-packages/starlette/middleware/errors.py", line 149, in call
await self.app(scope, receive, send)
File "/home/user/.pyenv/versions/3.10.18/lib/python3.10/site-packages/starlette/middleware/base.py", line 26, in call
await self.app(scope, receive, send)
File "/home/user/.pyenv/versions/3.10.18/lib/python3.10/site-packages/starlette/middleware/base.py", line 26, in call
await self.app(scope, receive, send)
File "/home/user/.pyenv/versions/3.10.18/lib/python3.10/site-packages/starlette/middleware/cors.py", line 76, in call
await self.app(scope, receive, send)
File "/home/user/.pyenv/versions/3.10.18/lib/python3.10/site-packages/starlette/middleware/gzip.py", line 26, in call
await self.app(scope, receive, send)
File "/home/user/.pyenv/versions/3.10.18/lib/python3.10/site-packages/starlette/middleware/exceptions.py", line 79, in call
raise exc
File "/home/user/.pyenv/versions/3.10.18/lib/python3.10/site-packages/starlette/middleware/exceptions.py", line 68, in call
await self.app(scope, receive, sender)
File "/home/user/.pyenv/versions/3.10.18/lib/python3.10/site-packages/fastapi/middleware/asyncexitstack.py", line 21, in call
raise e
File "/home/user/.pyenv/versions/3.10.18/lib/python3.10/site-packages/fastapi/middleware/asyncexitstack.py", line 18, in call
await self.app(scope, receive, send)
File "/home/user/.pyenv/versions/3.10.18/lib/python3.10/site-packages/starlette/routing.py", line 718, in call
await route.handle(scope, receive, send)
File "/home/user/.pyenv/versions/3.10.18/lib/python3.10/site-packages/starlette/routing.py", line 341, in handle
await self.app(scope, receive, send)
File "/home/user/.pyenv/versions/3.10.18/lib/python3.10/site-packages/starlette/routing.py", line 82, in app
await func(session)
File "/home/user/.pyenv/versions/3.10.18/lib/python3.10/site-packages/fastapi/routing.py", line 289, in app
await dependant.call(**values)
File "/home/user/.pyenv/versions/3.10.18/lib/python3.10/site-packages/gradio/routes.py", line 604, in join_queue
session_info = await asyncio.wait_for(
File "/home/user/.pyenv/versions/3.10.18/lib/python3.10/asyncio/tasks.py", line 445, in wait_for
return fut.result()
File "/home/user/.pyenv/versions/3.10.18/lib/python3.10/site-packages/starlette/websockets.py", line 133, in receive_json
self._raise_on_disconnect(message)
File "/home/user/.pyenv/versions/3.10.18/lib/python3.10/site-packages/starlette/websockets.py", line 105, in _raise_on_disconnect
raise WebSocketDisconnect(message["code"])
starlette.websockets.WebSocketDisconnect: 1001
ERROR: Exception in ASGI application
Traceback (most recent call last):
File "/home/user/.pyenv/versions/3.10.18/lib/python3.10/site-packages/uvicorn/protocols/websockets/websockets_impl.py", line 244, in run_asgi
result = await self.app(self.scope, self.asgi_receive, self.asgi_send) # type: ignore[func-returns-value]
File "/home/user/.pyenv/versions/3.10.18/lib/python3.10/site-packages/uvicorn/middleware/proxy_headers.py", line 60, in call
return await self.app(scope, receive, send)
File "/home/user/.pyenv/versions/3.10.18/lib/python3.10/site-packages/fastapi/applications.py", line 273, in call
await super().call(scope, receive, send)
File "/home/user/.pyenv/versions/3.10.18/lib/python3.10/site-packages/starlette/applications.py", line 122, in call
await self.middleware_stack(scope, receive, send)
File "/home/user/.pyenv/versions/3.10.18/lib/python3.10/site-packages/starlette/middleware/errors.py", line 149, in call
await self.app(scope, receive, send)
File "/home/user/.pyenv/versions/3.10.18/lib/python3.10/site-packages/starlette/middleware/base.py", line 26, in call
await self.app(scope, receive, send)
File "/home/user/.pyenv/versions/3.10.18/lib/python3.10/site-packages/starlette/middleware/base.py", line 26, in call
await self.app(scope, receive, send)
File "/home/user/.pyenv/versions/3.10.18/lib/python3.10/site-packages/starlette/middleware/cors.py", line 76, in call
await self.app(scope, receive, send)
File "/home/user/.pyenv/versions/3.10.18/lib/python3.10/site-packages/starlette/middleware/gzip.py", line 26, in call
await self.app(scope, receive, send)
File "/home/user/.pyenv/versions/3.10.18/lib/python3.10/site-packages/starlette/middleware/exceptions.py", line 79, in call
raise exc
File "/home/user/.pyenv/versions/3.10.18/lib/python3.10/site-packages/starlette/middleware/exceptions.py", line 68, in call
await self.app(scope, receive, sender)
File "/home/user/.pyenv/versions/3.10.18/lib/python3.10/site-packages/fastapi/middleware/asyncexitstack.py", line 21, in call
raise e
File "/home/user/.pyenv/versions/3.10.18/lib/python3.10/site-packages/fastapi/middleware/asyncexitstack.py", line 18, in call
await self.app(scope, receive, send)
File "/home/user/.pyenv/versions/3.10.18/lib/python3.10/site-packages/starlette/routing.py", line 718, in call
await route.handle(scope, receive, send)
File "/home/user/.pyenv/versions/3.10.18/lib/python3.10/site-packages/starlette/routing.py", line 341, in handle
await self.app(scope, receive, send)
File "/home/user/.pyenv/versions/3.10.18/lib/python3.10/site-packages/starlette/routing.py", line 82, in app
await func(session)
File "/home/user/.pyenv/versions/3.10.18/lib/python3.10/site-packages/fastapi/routing.py", line 289, in app
await dependant.call(**values)
File "/home/user/.pyenv/versions/3.10.18/lib/python3.10/site-packages/gradio/routes.py", line 604, in join_queue
session_info = await asyncio.wait_for(
File "/home/user/.pyenv/versions/3.10.18/lib/python3.10/asyncio/tasks.py", line 445, in wait_for
return fut.result()
File "/home/user/.pyenv/versions/3.10.18/lib/python3.10/site-packages/starlette/websockets.py", line 133, in receive_json
self._raise_on_disconnect(message)
File "/home/user/.pyenv/versions/3.10.18/lib/python3.10/site-packages/starlette/websockets.py", line 105, in _raise_on_disconnect
raise WebSocketDisconnect(message["code"])
starlette.websockets.WebSocketDisconnect: 1001
Traceback (most recent call last):
File "/home/user/.pyenv/versions/3.10.18/lib/python3.10/site-packages/gradio/routes.py", line 488, in run_predict
output = await app.get_blocks().process_api(
File "/home/user/.pyenv/versions/3.10.18/lib/python3.10/site-packages/gradio/blocks.py", line 1431, in process_api
result = await self.call_function(
File "/home/user/.pyenv/versions/3.10.18/lib/python3.10/site-packages/gradio/blocks.py", line 1103, in call_function
prediction = await anyio.to_thread.run_sync(
File "/home/user/.pyenv/versions/3.10.18/lib/python3.10/site-packages/anyio/to_thread.py", line 33, in run_sync
return await get_asynclib().run_sync_in_worker_thread(
File "/home/user/.pyenv/versions/3.10.18/lib/python3.10/site-packages/anyio/_backends/_asyncio.py", line 877, in run_sync_in_worker_thread
return await future
File "/home/user/.pyenv/versions/3.10.18/lib/python3.10/site-packages/anyio/_backends/_asyncio.py", line 807, in run
result = context.run(func, *args)
File "/home/user/.pyenv/versions/3.10.18/lib/python3.10/site-packages/gradio/utils.py", line 707, in wrapper
response = f(*args, **kwargs)
File "/home/user/app/stable-diffusion-webui/scripts/xyz_grid.py", line 473, in fill
axis = self.current_axis_options[axis_type]
TypeError: list indices must be integers or slices, not NoneType
Traceback (most recent call last):
File "/home/user/.pyenv/versions/3.10.18/lib/python3.10/site-packages/gradio/routes.py", line 488, in run_predict
output = await app.get_blocks().process_api(
File "/home/user/.pyenv/versions/3.10.18/lib/python3.10/site-packages/gradio/blocks.py", line 1431, in process_api
result = await self.call_function(
File "/home/user/.pyenv/versions/3.10.18/lib/python3.10/site-packages/gradio/blocks.py", line 1103, in call_function
prediction = await anyio.to_thread.run_sync(
File "/home/user/.pyenv/versions/3.10.18/lib/python3.10/site-packages/anyio/to_thread.py", line 33, in run_sync
return await get_asynclib().run_sync_in_worker_thread(
File "/home/user/.pyenv/versions/3.10.18/lib/python3.10/site-packages/anyio/_backends/_asyncio.py", line 877, in run_sync_in_worker_thread
return await future
File "/home/user/.pyenv/versions/3.10.18/lib/python3.10/site-packages/anyio/_backends/_asyncio.py", line 807, in run
result = context.run(func, *args)
File "/home/user/.pyenv/versions/3.10.18/lib/python3.10/site-packages/gradio/utils.py", line 707, in wrapper
response = f(*args, **kwargs)
File "/home/user/app/stable-diffusion-webui/scripts/xyz_grid.py", line 473, in fill
axis = self.current_axis_options[axis_type]
TypeError: list indices must be integers or slices, not NoneType

txt2img: a frog

0%| | 0/20 [00:00<?, ?it/s]
0%| | 0/20 [00:00<?, ?it/s]
*** Error completing request
*** Arguments: ('task(ayuf3sj0xx2sp4i)', <gradio.routes.Request object at 0x7f7528a7f6d0>, 'a frog', '', [], 1, 1, 7, 512, 512, False, 0.7, 2, 'Latent', 0, 0, 0, 'Use same checkpoint', 'Use same sampler', 'Use same scheduler', '', '', [], 0, 20, 'DPM++ 2M', 'Automatic', False, '', 0.8, -1, False, -1, 0, 0, 0, False, False, 'positive', 'comma', 0, False, False, 'start', '', '', 1, '', [], 0, '', [], 0, '', [], True, False, False, False, False, False, False, 0, False) {}
Traceback (most recent call last):
File "/home/user/app/stable-diffusion-webui/modules/call_queue.py", line 74, in f
res = list(func(*args, **kwargs))
File "/home/user/app/stable-diffusion-webui/modules/call_queue.py", line 53, in f
res = func(*args, **kwargs)
File "/home/user/app/stable-diffusion-webui/modules/call_queue.py", line 37, in f
res = func(*args, **kwargs)
File "/home/user/app/stable-diffusion-webui/modules/txt2img.py", line 109, in txt2img
processed = processing.process_images(p)
File "/home/user/app/stable-diffusion-webui/modules/processing.py", line 847, in process_images
res = process_images_inner(p)
File "/home/user/app/stable-diffusion-webui/modules/processing.py", line 988, in process_images_inner
samples_ddim = p.sample(conditioning=p.c, unconditional_conditioning=p.uc, seeds=p.seeds, subseeds=p.subseeds, subseed_strength=p.subseed_strength, prompts=p.prompts)
File "/home/user/app/stable-diffusion-webui/modules/processing.py", line 1346, in sample
samples = self.sampler.sample(self, x, conditioning, unconditional_conditioning, image_conditioning=self.txt2img_image_conditioning(x))
File "/home/user/app/stable-diffusion-webui/modules/sd_samplers_kdiffusion.py", line 230, in sample
samples = self.launch_sampling(steps, lambda: self.func(self.model_wrap_cfg, x, extra_args=self.sampler_extra_args, disable=False, callback=self.callback_state, **extra_params_kwargs))
File "/home/user/app/stable-diffusion-webui/modules/sd_samplers_common.py", line 272, in launch_sampling
return func()
File "/home/user/app/stable-diffusion-webui/modules/sd_samplers_kdiffusion.py", line 230, in
samples = self.launch_sampling(steps, lambda: self.func(self.model_wrap_cfg, x, extra_args=self.sampler_extra_args, disable=False, callback=self.callback_state, **extra_params_kwargs))
File "/home/user/.pyenv/versions/3.10.18/lib/python3.10/site-packages/torch/utils/_contextlib.py", line 115, in decorate_context
return func(*args, **kwargs)
File "/home/user/app/stable-diffusion-webui/repositories/k-diffusion/k_diffusion/sampling.py", line 594, in sample_dpmpp_2m
denoised = model(x, sigmas[i] * s_in, **extra_args)
File "/home/user/.pyenv/versions/3.10.18/lib/python3.10/site-packages/torch/nn/modules/module.py", line 1518, in _wrapped_call_impl
return self._call_impl(*args, **kwargs)
File "/home/user/.pyenv/versions/3.10.18/lib/python3.10/site-packages/torch/nn/modules/module.py", line 1527, in _call_impl
return forward_call(*args, **kwargs)
File "/home/user/app/stable-diffusion-webui/modules/sd_samplers_cfg_denoiser.py", line 249, in forward
x_out = self.inner_model(x_in, sigma_in, cond=make_condition_dict(cond_in, image_cond_in))
File "/home/user/.pyenv/versions/3.10.18/lib/python3.10/site-packages/torch/nn/modules/module.py", line 1518, in _wrapped_call_impl
return self._call_impl(*args, **kwargs)
File "/home/user/.pyenv/versions/3.10.18/lib/python3.10/site-packages/torch/nn/modules/module.py", line 1527, in _call_impl
return forward_call(*args, **kwargs)
File "/home/user/app/stable-diffusion-webui/repositories/k-diffusion/k_diffusion/external.py", line 112, in forward
eps = self.get_eps(input * c_in, self.sigma_to_t(sigma), **kwargs)
File "/home/user/app/stable-diffusion-webui/repositories/k-diffusion/k_diffusion/external.py", line 138, in get_eps
return self.inner_model.apply_model(*args, **kwargs)
File "/home/user/app/stable-diffusion-webui/modules/sd_hijack_utils.py", line 22, in
setattr(resolved_obj, func_path[-1], lambda *args, **kwargs: self(*args, **kwargs))
File "/home/user/app/stable-diffusion-webui/modules/sd_hijack_utils.py", line 34, in call
return self.__sub_func(self.__orig_func, *args, **kwargs)
File "/home/user/app/stable-diffusion-webui/modules/sd_hijack_unet.py", line 50, in apply_model
result = orig_func(self, x_noisy.to(devices.dtype_unet), t.to(devices.dtype_unet), cond, **kwargs)
File "/home/user/app/stable-diffusion-webui/modules/sd_hijack_utils.py", line 22, in
setattr(resolved_obj, func_path[-1], lambda *args, **kwargs: self(*args, **kwargs))
File "/home/user/app/stable-diffusion-webui/modules/sd_hijack_utils.py", line 36, in call
return self.__orig_func(*args, **kwargs)
File "/home/user/app/stable-diffusion-webui/repositories/stable-diffusion-stability-ai/ldm/models/diffusion/ddpm.py", line 858, in apply_model
x_recon = self.model(x_noisy, t, **cond)
File "/home/user/.pyenv/versions/3.10.18/lib/python3.10/site-packages/torch/nn/modules/module.py", line 1518, in _wrapped_call_impl
return self._call_impl(*args, **kwargs)
File "/home/user/.pyenv/versions/3.10.18/lib/python3.10/site-packages/torch/nn/modules/module.py", line 1527, in _call_impl
return forward_call(*args, **kwargs)
File "/home/user/app/stable-diffusion-webui/repositories/stable-diffusion-stability-ai/ldm/models/diffusion/ddpm.py", line 1335, in forward
out = self.diffusion_model(x, t, context=cc)
File "/home/user/.pyenv/versions/3.10.18/lib/python3.10/site-packages/torch/nn/modules/module.py", line 1518, in _wrapped_call_impl
return self._call_impl(*args, **kwargs)
File "/home/user/.pyenv/versions/3.10.18/lib/python3.10/site-packages/torch/nn/modules/module.py", line 1527, in _call_impl
return forward_call(*args, **kwargs)
File "/home/user/app/stable-diffusion-webui/modules/sd_unet.py", line 91, in UNetModel_forward
return original_forward(self, x, timesteps, context, *args, **kwargs)
File "/home/user/app/stable-diffusion-webui/repositories/stable-diffusion-stability-ai/ldm/modules/diffusionmodules/openaimodel.py", line 797, in forward
h = module(h, emb, context)
File "/home/user/.pyenv/versions/3.10.18/lib/python3.10/site-packages/torch/nn/modules/module.py", line 1518, in _wrapped_call_impl
return self._call_impl(*args, **kwargs)
File "/home/user/.pyenv/versions/3.10.18/lib/python3.10/site-packages/torch/nn/modules/module.py", line 1527, in _call_impl
return forward_call(*args, **kwargs)
File "/home/user/app/stable-diffusion-webui/repositories/stable-diffusion-stability-ai/ldm/modules/diffusionmodules/openaimodel.py", line 84, in forward
x = layer(x, context)
File "/home/user/.pyenv/versions/3.10.18/lib/python3.10/site-packages/torch/nn/modules/module.py", line 1518, in _wrapped_call_impl
return self._call_impl(*args, **kwargs)
File "/home/user/.pyenv/versions/3.10.18/lib/python3.10/site-packages/torch/nn/modules/module.py", line 1527, in _call_impl
return forward_call(*args, **kwargs)
File "/home/user/app/stable-diffusion-webui/modules/sd_hijack_utils.py", line 22, in
setattr(resolved_obj, func_path[-1], lambda *args, **kwargs: self(*args, **kwargs))
File "/home/user/app/stable-diffusion-webui/modules/sd_hijack_utils.py", line 34, in call
return self.__sub_func(self.__orig_func, *args, **kwargs)
File "/home/user/app/stable-diffusion-webui/modules/sd_hijack_unet.py", line 96, in spatial_transformer_forward
x = block(x, context=context[i])
File "/home/user/.pyenv/versions/3.10.18/lib/python3.10/site-packages/torch/nn/modules/module.py", line 1518, in _wrapped_call_impl
return self._call_impl(*args, **kwargs)
File "/home/user/.pyenv/versions/3.10.18/lib/python3.10/site-packages/torch/nn/modules/module.py", line 1527, in _call_impl
return forward_call(*args, **kwargs)
File "/home/user/app/stable-diffusion-webui/repositories/stable-diffusion-stability-ai/ldm/modules/attention.py", line 269, in forward
return checkpoint(self._forward, (x, context), self.parameters(), self.checkpoint)
File "/home/user/app/stable-diffusion-webui/repositories/stable-diffusion-stability-ai/ldm/modules/diffusionmodules/util.py", line 123, in checkpoint
return func(*inputs)
File "/home/user/app/stable-diffusion-webui/repositories/stable-diffusion-stability-ai/ldm/modules/attention.py", line 272, in _forward
x = self.attn1(self.norm1(x), context=context if self.disable_self_attn else None) + x
File "/home/user/.pyenv/versions/3.10.18/lib/python3.10/site-packages/torch/nn/modules/module.py", line 1518, in _wrapped_call_impl
return self._call_impl(*args, **kwargs)
File "/home/user/.pyenv/versions/3.10.18/lib/python3.10/site-packages/torch/nn/modules/module.py", line 1527, in _call_impl
return forward_call(*args, **kwargs)
File "/home/user/app/stable-diffusion-webui/modules/sd_hijack_optimizations.py", line 497, in xformers_attention_forward
out = xformers.ops.memory_efficient_attention(q, k, v, attn_bias=None, op=get_xformers_flash_attention_op(q, k, v))
NameError: name 'xformers' is not defined


the issue persist

Maybe you're forcibly enabling xformers even though it's not working, which is actually causing errors. Please remove --force-enable-xformers and check if it starts up correctly.

holyshit it worked lol :D, thanks a ton soiz1, I can fix the other one now!

πŸ˜πŸ‘Œ

soiz1 changed pull request status to closed

Sign up or log in to comment