Closed wzgrx closed 8 months ago
adaptable does not involve backwards compatible, it seems, but I think no one in python realm understands what that means.
It seems that onnxruntime does not support cuda 12.1. So you can solve this as a temporary solution by installing ort_nightly_gpu and ort_nightly instead.
detail solution
detail solution
- open extensions\stable-diffusion-webui-wd14-tagger\requirements.txt file and comment out all of onnxruntime and save the file
- uninstall all onnxruntime-related entries
- pip install ort-nightly==1.17.0.dev20231102007
- pip install ort-nightly-gpu
Could not find a version that satisfies the requirement ort-nightly==1.17.0.dev20231102007 (from versions: none) *** ERROR: No matching distribution found for ort-nightly==1.17.0.dev20231102007
Cuda12.1 has achieved significant performance improvement and hopes to be adaptable
The above exception was the direct cause of the following exception:
Traceback (most recent call last): File "G:\Soft\stable-diffusion-webui\venv\lib\site-packages\gradio\routes.py", line 488, in run_predict output = await app.get_blocks().process_api( File "G:\Soft\stable-diffusion-webui\venv\lib\site-packages\gradio\blocks.py", line 1434, in process_api data = self.postprocess_data(fn_index, result["prediction"], state) File "G:\Soft\stable-diffusion-webui\venv\lib\site-packages\gradio\blocks.py", line 1297, in postprocess_data self.validate_outputs(fn_index, predictions) # type: ignore File "G:\Soft\stable-diffusion-webui\venv\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). Wanted outputs: [state, html, html, label, label, label, html] Received outputs: [None, "", "
Time taken:2.7 sec.
A: 0.49 GB,R: 0.53 GB, Sys: 1.5/6 GB (25.5%)