Replies: 6 comments 22 replies
-
Same here. Unable to use the new version. After the install, it fails to launch and gives the following error: no module 'xformers'. Processing without... |
Beta Was this translation helpful? Give feedback.
-
I saw the suggestions from post here So I ran a command to:
I launch webui-user.bat and with It gives an error saying it can't use torch on CPU, add skip torch CUDA test argument. So I add that: Upon launching again, it gives following error:
|
Beta Was this translation helpful? Give feedback.
-
|
Beta Was this translation helpful? Give feedback.
-
@lshqqytiger
To create a public link, set
---` The web UI is loaded up but has "Error" all over the toolbox and then try to generate some images it takes an hour or so, idk |
Beta Was this translation helpful? Give feedback.
-
Errors produced when using --use-cpu-torch for reference:
|
Beta Was this translation helpful? Give feedback.
-
updated my working SD after 3 weeks afk, got error " "ModuleNotFoundError: No module named 'optimum'". I have removed the whole venv folder, as suggested. Now this :( :
|
Beta Was this translation helpful? Give feedback.
-
Already up to date.
The filename, directory name, or volume label syntax is incorrect.
The filename, directory name, or volume label syntax is incorrect.
venv "\stable-diffusion-webui-directml\venv\Scripts\Python.exe"
fatal: No names found, cannot describe anything.
Python 3.10.6 (tags/v3.10.6:9c7b4bd, Aug 1 2022, 21:53:49) [MSC v.1932 64 bit (AMD64)]
Version: 1.7.0
Commit hash: 7da1d6b
no module 'xformers'. Processing without...
no module 'xformers'. Processing without...
No module 'xformers'. Proceeding without it.
\stable-diffusion-webui-directml\venv\lib\site-packages\pytorch_lightning\utilities\distributed.py:258: LightningDeprecationWarning:
pytorch_lightning.utilities.distributed.rank_zero_only
has been deprecated in v1.8.1 and will be removed in v2.0.0. You can import it frompytorch_lightning.utilities
instead.rank_zero_deprecation(
Faceswaplab : Use GPU requirements
Checking faceswaplab requirements
Install onnxruntime-gpu>=1.15.0
Installing sd-webui-faceswaplab requirement: onnxruntime-gpu>=1.15.0
Couldn't install sd-webui-faceswaplab requirement: onnxruntime-gpu>=1.15.0.
Command: "\stable-diffusion-webui-directml\venv\Scripts\python.exe" -m pip install onnxruntime-gpu>=1.15.0 --prefer-binary
Error code: 1
stderr: ERROR: Could not install packages due to an OSError: [WinError 5] Access is denied: '\stable-diffusion-webui-directml\venv\Lib\site-packages\onnxruntime\capi\onnxruntime_providers_shared.dll'
Check the permissions.
[notice] A new release of pip available: 22.2.1 -> 24.0
[notice] To update, run: *\stable-diffusion-webui-directml\venv\Scripts\python.exe -m pip install --upgrade pip
Warning: Failed to install onnxruntime-gpu>=1.15.0, faceswaplab may not work. Try to restart server or install dependencies manually.
FaceswapLab install failed Couldn't install sd-webui-faceswaplab requirement: onnxruntime-gpu>=1.15.0.
Command: "*\stable-diffusion-webui-directml\venv\Scripts\python.exe" -m pip install onnxruntime-gpu>=1.15.0 --prefer-binary
Error code: 1
stderr: ERROR: Could not install packages due to an OSError: [WinError 5] Access is denied: 'C:\Art Software\Stable Diffusion WebUI (AI ART)\stable-diffusion-webui-directml\venv\Lib\site-packages\onnxruntime\capi\onnxruntime_providers_shared.dll'
Check the permissions.
[notice] A new release of pip available: 22.2.1 -> 24.0
[notice] To update, run: *\stable-diffusion-webui-directml\venv\Scripts\python.exe -m pip install --upgrade pip
You can try to install dependencies manually by activating venv and installing requirements.txt or requirements-gpu.txt
You are up to date with the most recent release.
Launching Web UI with arguments: --disable-nan-check --update-check --use-directml --medvram --no-half --api --autolaunch --theme dark --use-cpu CLIP BLIP interrogate --disable-safe-unpickle
Traceback (most recent call last):
File "\stable-diffusion-webui-directml\launch.py", line 48, in
main()
File "\stable-diffusion-webui-directml\launch.py", line 44, in main
start()
File "\stable-diffusion-webui-directml\modules\launch_utils.py", line 676, in start
import webui
File "\stable-diffusion-webui-directml\webui.py", line 13, in
initialize.imports()
File "\stable-diffusion-webui-directml\modules\initialize.py", line 34, in imports
shared_init.initialize()
File "\stable-diffusion-webui-directml\modules\shared_init.py", line 28, in initialize
directml_do_hijack()
File "\stable-diffusion-webui-directml\modules\dml_init_.py", line 69, in directml_do_hijack
import modules.dml.hijack # pylint: disable=unused-import
File "\stable-diffusion-webui-directml\modules\dml\hijack_init_.py", line 1, in
import modules.dml.hijack.kdiffusion
File "*\stable-diffusion-webui-directml\modules\dml\hijack\kdiffusion.py", line 61, in
@devices.inference_context()
AttributeError: module 'modules.devices' has no attribute 'inference_context'
Press any key to continue . . .
Beta Was this translation helpful? Give feedback.
All reactions