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

提示加载onnxruntime_providers_tensorrt.dll错误 #12

Open
cslvfeng opened this issue Apr 2, 2023 · 6 comments
Open

提示加载onnxruntime_providers_tensorrt.dll错误 #12

cslvfeng opened this issue Apr 2, 2023 · 6 comments

Comments

@cslvfeng
Copy link

cslvfeng commented Apr 2, 2023

image

@spaciousmind
Copy link

nevermind, I think this is the same issue as was here: #5
I fixed it by following the instructions at the bottom

  1. Open cmd
  2. cd /d (path to webui)\venv\Scripts\
  3. activate.bat
  4. python -m pip install -U pip
  5. pip install onnxruntime --upgrade onnxruntime==1.14

@ifimcyx
Copy link

ifimcyx commented Apr 7, 2023

我用的整合包,也是这个错误,你解决了吗

@2blackbar
Copy link

this onnxruntime pip solve doesnt work, throws out errors, this should be fixed so it doesnt happen when you install fresh

huangjieqi added a commit to huangjieqi/stable-diffusion-webui-rembg that referenced this issue Apr 18, 2023
- Add automatic uninstallation and installation of the correct version of third-party libraries to fix it AUTOMATIC1111#5 AUTOMATIC1111#12
- After repair, third-party one click integration packages can also be used
- At present, this solution can only be used, and the code is written with the assistance of GPT4
@dykomenko dykomenko mentioned this issue May 17, 2023
@RMiTiG
Copy link

RMiTiG commented May 30, 2023

nevermind, I think this is the same issue as was here: #5 I fixed it by following the instructions at the bottom

  1. Open cmd
  2. cd /d (path to webui)\venv\Scripts\
  3. activate.bat
  4. python -m pip install -U pip
  5. pip install onnxruntime --upgrade onnxruntime==1.14

We also need to choose the appropriate onnxruntime version.
Check your cuda version: nvcc -V
Choose onnxruntime according to your cuda version on this site

@TheWorldIsOur
Copy link

how to even to this precisly? i need a more precise tutorial please

@CycloneRing
Copy link

CycloneRing commented Nov 1, 2023

this happens for me on version 1.16.1

Name: onnxruntime
Version: 1.16.1
Summary: ONNX Runtime is a runtime accelerator for Machine Learning models
Home-page: https://onnxruntime.ai
Author: Microsoft Corporation
Author-email: [email protected]
License: MIT License
Location: c:\stablediffusion\system\python\lib\site-packages
Requires: coloredlogs, flatbuffers, numpy, packaging, protobuf, sympy
Required-by: rembg

However I get result in WebUI

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

7 participants