【ONNX】onnxruntime-gpu无法使用gpu问题(CUDA适配)

这篇博客关注OnnxRuntime 1.9.0的CUDA版本兼容性,确认了至少支持CUDA 11.0,并提供了CUDA-onnxruntime链接。建议关注CUDA和CuDNN版本匹配,以及从源代码构建ORT与不同EP的方法指南。
摘要由CSDN通过智能技术生成

No worries. Then please check your CUDA and CuDNN versions. They must be compatible to each other. Here is the link which might be helpful: CUDA - onnxruntime For ONNXRuntime 1.9.0 package, I think it was built by CUDA 11.4. Ideally it should support 11.x with the minimum required driver version... I will confirm with the team which CUDA version the minimum required is for ORT 1.9.0 and let you know (as below). 

Update:
ORT 1.9.0 support support CUDA 11.0+. (1.9.0 release note also mentioned it) CUDA - onnxruntime The matrix here will be updated soon. Thanks.

BTW, if you are looking for a way to build ORT from source with CUDA EP, here is the tutorial: Build with different EPs - onnxruntime.

来源:Onnxruntime-gpu always runs on CPU and never on GPU, [Roberta] · Issue #9292 · microsoft/onnxruntime (github.com)

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值