comfyui-reactor-node icon indicating copy to clipboard operation
comfyui-reactor-node copied to clipboard

onnxruntime依赖更新需求

Open shenwang2 opened this issue 1 year ago • 4 comments

Feature description

目前onnxruntime这个python环境只支持cuda11.8,可否更新一下支持更高版本

shenwang2 avatar Dec 18 '23 08:12 shenwang2

This is the official requirements for onnxruntime-gpu https://onnxruntime.ai/docs/execution-providers/CUDA-ExecutionProvider.html#requirements

We should wait for the official support of newest CUDA Or you can try to build ORT by yourself with version of CUDA you need https://github.com/Gourieff/comfyui-reactor-node/issues/119#issuecomment-1841350868

Gourieff avatar Dec 18 '23 14:12 Gourieff

I had the same problem and with a pip list I noticed that onnxruntime was at version 0.15, by updating it to version 0.16 I no longer had any problems... I think you need to bring onnx, onnxruntime-gpu and onnxruntime to the latest version and the problems will not they show up...I use cuda at version 121

motolo avatar Dec 22 '23 16:12 motolo

Try -Uninstall existed " python_embeded\python.exe -m pip uninstall onnx onnxruntime onnxruntime-gpu"

  • Install this version "python_embeded\python.exe -m pip install onnxruntime-gpu==1.14.0 onnxruntime==1.14.0 onnx==1.14.0"

MMoneer avatar Dec 26 '23 04:12 MMoneer

I found a solution for myself:

  1. uninstall everything with the following command in the comfyUI main directory: python_embeded\python.exe -m pip uninstall onnx onnxruntime onnxruntime-gpu

Then install the following versions: python_embeded\python.exe -m pip install onnxruntime-gpu==1.16.3 onnxruntime==1.16.3 onnx==1.14.0

I can't guarantee whether this will work for you and I don't know what else it could have an impact on. If you do that, it is your own risk.

Best regards, Murphy

murphylanga avatar Dec 30 '23 21:12 murphylanga