Can't load CUDA on .NET project #23810
Labels
api:CSharp
issues related to the C# API
ep:CUDA
issues related to the CUDA execution provider
.NET
Pull requests that update .net code
Describe the issue
I'm installed Microsoft.ML.OnnxRuntime.Gpu and Microsoft.ML.OnnxRuntime.Gpu.Windows via NuGet.
Yet when trying using below code to initalize session:
Then it raised:
To reproduce
No exactlly
Urgency
No response
Platform
Windows
OS Version
Windows 11 24H2
ONNX Runtime Installation
Released Package
ONNX Runtime Version or Commit ID
1.20.1
ONNX Runtime API
C#
Architecture
X64
Execution Provider
CUDA
Execution Provider Library Version
CUDA 12.8,CUDNN 9.7,TensorRT 10.8.0.43
The text was updated successfully, but these errors were encountered: