Skip to content

"CUDA execution provider is not enabled in this build" issue (c# CUDA) #13542

@lxq306

Description

@lxq306

Hello, we got an exception "[ErrorCode:Fail] CUDA execution provider is not enabled in this build" when we new an OrtCUDAProviderOptions object using
OrtCUDAProviderOptions cudaProviderOptions = new OrtCUDAProviderOptions();
Do you have any advice for us? Really appreciate !!!

Platform
windows10

IDE
visual studio 2019

ONNX Runtime Installation
NuGet

ONNX Runtime Version or Commit ID
1.12.1

ONNX Runtime API
C#

Architecture
X64

Execution Provider
CUDA 11.4.4

CUDNN
cuDNN v8.6.0 (October 3rd, 2022), for CUDA 11.x

NOTES
libcudart 11.4.148
libcufft 10.5.2.100
libcurand 10.2.5.120
libcublas 11.6.5.2

Is this a quantized model?
Yes

Metadata

Metadata

Assignees

No one assigned

    Labels

    api:CSharpissues related to the C# APIep:CUDAissues related to the CUDA execution provider

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions