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

It's can't work,my CUDA is v12.1 #90

Open
xlibfly opened this issue Nov 29, 2023 · 14 comments
Open

It's can't work,my CUDA is v12.1 #90

xlibfly opened this issue Nov 29, 2023 · 14 comments

Comments

@xlibfly
Copy link

xlibfly commented Nov 29, 2023

Traceback (most recent call last):
File "D:\miaoshouai-sd-webui-v230222full\python\lib\site-packages\gradio\routes.py", line 488, in run_predict
output = await app.get_blocks().process_api(
File "D:\miaoshouai-sd-webui-v230222full\python\lib\site-packages\gradio\blocks.py", line 1434, in process_api
data = self.postprocess_data(fn_index, result["prediction"], state)
File "D:\miaoshouai-sd-webui-v230222full\python\lib\site-packages\gradio\blocks.py", line 1297, in postprocess_data
self.validate_outputs(fn_index, predictions) # type: ignore
File "D:\miaoshouai-sd-webui-v230222full\python\lib\site-packages\gradio\blocks.py", line 1272, in validate_outputs
raise ValueError(
ValueError: An event handler (on_interrogate_image_submit) didn't receive enough output values (needed: 7, received: 3).
提示:Python 运行时抛出了一个异常。请检查疑难解答页面。
Wanted outputs:
[state, html, html, label, label, label, html]
Received outputs:
[None, "", "

RuntimeError: D:\a_work\1\s\onnxruntime\python\onnxruntime_pybind_state.cc:743 onnxruntime::python::CreateExecutionProviderInstance CUDA_PATH is set but CUDA wasn't able to be loaded. Please install the correct version of CUDA and cuDNN as mentioned in the GPU requirements page (https://onnxruntime.ai/docs/execution-providers/CUDA-ExecutionProvider.html#requirements), make sure they're in the PATH, and that your GPU is supported.

Time taken: 1.1 sec.

A: 2.20 GB, R: 2.28 GB, Sys: 3.4/16 GB (21.4%)

"]
@xlibfly xlibfly changed the title It's can It's can't work,my CUDA is v12.1 Nov 29, 2023
@MinagiCN
Copy link

MinagiCN commented Dec 7, 2023

same here

@UnsleepingCat
Copy link

me too.

@s567901
Copy link

s567901 commented Dec 25, 2023

me too, torch: 2.1.1+cu121

@Zolilio
Copy link

Zolilio commented Feb 16, 2024

I have the same problem

@Zolilio
Copy link

Zolilio commented Feb 22, 2024

I've tried to used WD14 in the Data Editor extension (https://github.com/toshiaki1729/stable-diffusion-webui-dataset-tag-editor) and for some reason it works for me.

@Mike1932
Copy link

Mike1932 commented Mar 6, 2024

same, torch: 2.1.2+cu121

@Mike1932
Copy link

Mike1932 commented Mar 6, 2024

I've tried to used WD14 in the Data Editor extension (https://github.com/toshiaki1729/stable-diffusion-webui-dataset-tag-editor) and for some reason it works for me.

It still doesn’t work, showing the same error.

@nitinmukesh
Copy link

Same error. Any solution?

@COMFUCAS
Copy link

COMFUCAS commented May 3, 2024

cuda12.3-->12.1 same erro

@nitinmukesh
Copy link

Same error, no solution :(

@qooyvonne
Copy link

same here QQ

@qooyvonne
Copy link

By downloading this version https://github.com/67372a/stable-diffusion-webui-wd14-tagger
I solved my problem

@Mike1932
Copy link

After I removed the local CUDA Toolkit, Tagger ran successfully.

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

10 participants