CUDA_ERROR_INSUFFICIENT_DRIVER (error 35) when using ZLUDA with ONNX Runtime
zluda_trace logs (tarball/zip file)
no log file
Description
System Information: OS: Windows 10 GPU: AMD (using ZLUDA) ONNX Runtime version: v1.15 ZLUDA version:zluda-windows-8a7931b Problem Description:
I am trying to run ONNX Runtime with ZLUDA as the CUDA compatibility layer. However, when initializing the CUDA execution provider, ONNX Runtime fails with the following error: D:\ort\v1.15\onnxruntime\onnxruntime\core\providers\cuda\cuda_call.cc:121 onnxruntime::CudaCall D:\ort\v1.15\onnxruntime\onnxruntime\core\providers\cuda\cuda_call.cc:114 onnxruntime::CudaCall CUDA failure 35: CUDA driver version is insufficient for CUDA runtime version GPU=-97201624 hostname=DESKTOP-EGAFS6V file=D:\ort\v1.15\onnxruntime\onnxruntime\core\providers\cuda\cuda_execution_provider.cc line=238 expr=cudaSetDevice(info_.device_id) btw ORT need cudart64_110.dll, I keep the original file staying
Steps to reproduce
OrtCUDAProviderOptions cuda_options{}; cuda_options.device_id = device_id; sessionOptions.AppendExecutionProvider_CUDA(cuda_options); pSession = new Ort::Session(*pEnv, data, size, sessionOptions);
ZLUDA version
zluda-windows-8a7931b
Operating System
Win10
GPU
6500XT
Source: vosen/ZLUDA