ghost
ghost copied to clipboard
Anaconda
I have tried to use sberswap on anaconda with gpu and I found this issue! any suggestion?
Traceback (most recent call last):
File "inference.py", line 8, in
File "/usr/local/lib/python3.8/site-packages/onnxruntime/capi/_pybind_state.py", line 9, in
The version of pytorch and torchvision used in the requirements.txt file are built for Cuda 10. Your machine doesn't have this version of Cuda installed (it's probably using 11.). Either upgrade the packages to those which match your version of Cuda or downgrade your version of Cuda to 10.
You need to match the versions of pytorch, mxnet and onnxruntime-gpu to your CUDA. If you are using CUDA 10, you can follow requirements.txt. For CUDA 11.2 you can try the following versions: onnxruntime-gpu==1.8.0 mxnet-cu112==1.9.1