Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Hello guys, there some issue with onnxruntime, please help me #34

Open
Tendor37 opened this issue Feb 22, 2024 · 0 comments
Open

Hello guys, there some issue with onnxruntime, please help me #34

Tendor37 opened this issue Feb 22, 2024 · 0 comments

Comments

@Tendor37
Copy link

venv "C:\stable-diffusion-webui-directml\venv\Scripts\Python.exe"
NVIDIA driver was found.
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: 601f7e3704707d09ca88241e663a763a2493b11a
no module 'xformers'. Processing without...
no module 'xformers'. Processing without...
No module 'xformers'. Proceeding without it.
C:\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 from pytorch_lightning.utilities instead.
rank_zero_deprecation(
Installing onnxruntime-gpu
Traceback (most recent call last):
File "C:\stable-diffusion-webui-directml\launch.py", line 48, in
main()
File "C:\stable-diffusion-webui-directml\launch.py", line 39, in main
prepare_environment()
File "C:\stable-diffusion-webui-directml\modules\launch_utils.py", line 636, in prepare_environment
run_pip("install onnxruntime-gpu", "onnxruntime-gpu")
File "C:\stable-diffusion-webui-directml\modules\launch_utils.py", line 150, in run_pip
return run(
File "C:\stable-diffusion-webui-directml\modules\launch_utils.py", line 122, in run
raise RuntimeError("\n".join(error_bits))
RuntimeError: Couldn't install onnxruntime-gpu.
Command: "C:\stable-diffusion-webui-directml\venv\Scripts\python.exe" -m pip install onnxruntime-gpu --prefer-binary
Error code: 1
stdout: Collecting onnxruntime-gpu
Using cached onnxruntime_gpu-1.17.0-cp310-cp310-win_amd64.whl.metadata (4.3 kB)
Requirement already satisfied: coloredlogs in c:\stable-diffusion-webui-directml\venv\lib\site-packages (from onnxruntime-gpu) (15.0.1)
Requirement already satisfied: flatbuffers in c:\stable-diffusion-webui-directml\venv\lib\site-packages (from onnxruntime-gpu) (23.5.26)
Requirement already satisfied: numpy>=1.21.6 in c:\stable-diffusion-webui-directml\venv\lib\site-packages (from onnxruntime-gpu) (1.23.5)
Requirement already satisfied: packaging in c:\stable-diffusion-webui-directml\venv\lib\site-packages (from onnxruntime-gpu) (23.2)
Requirement already satisfied: protobuf in c:\stable-diffusion-webui-directml\venv\lib\site-packages (from onnxruntime-gpu) (3.20.3)
Requirement already satisfied: sympy in c:\stable-diffusion-webui-directml\venv\lib\site-packages (from onnxruntime-gpu) (1.12)
Requirement already satisfied: humanfriendly>=9.1 in c:\stable-diffusion-webui-directml\venv\lib\site-packages (from coloredlogs->onnxruntime-gpu) (10.0)
Requirement already satisfied: mpmath>=0.19 in c:\stable-diffusion-webui-directml\venv\lib\site-packages (from sympy->onnxruntime-gpu) (1.3.0)
Requirement already satisfied: pyreadline3 in c:\stable-diffusion-webui-directml\venv\lib\site-packages (from humanfriendly>=9.1->coloredlogs->onnxruntime-gpu) (3.4.1)
Using cached onnxruntime_gpu-1.17.0-cp310-cp310-win_amd64.whl (148.6 MB)
Installing collected packages: onnxruntime-gpu

stderr: ERROR: Could not install packages due to an OSError: [WinError 5] : 'C:\stable-diffusion-webui-directml\venv\Lib\site-packages\onnxruntime\capi\onnxruntime_providers_shared.dll'
Check the permissions


i already given the permissions to all users, and it didn't work

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant