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无法使用CUDAExecutionProvider #1227

Open
zhaoe333 opened this issue Jun 25, 2024 · 1 comment
Open

onnxruntime无法使用CUDAExecutionProvider #1227

zhaoe333 opened this issue Jun 25, 2024 · 1 comment

Comments

@zhaoe333
Copy link

zhaoe333 commented Jun 25, 2024

使用dockerfile build后的镜像 onnxruntime无法使用CUDAExecutionProvider。
其他模型训练都可以正常使用gpu。docker启动指令docker run --gpus all --runtime nvidia。

直接在服务器上使用conda安装后使用没有问题。

补充:cuda11.8 requirements中已添加onnxruntime-gpu

@ChasonJiang
Copy link

先卸载onnxruntime,再装onnxruntime-gpu

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants