Skip to content

Failed to load library libonnxruntime_providers_cuda.so I am getting the following erro #19616

@pradeepkc11

Description

@pradeepkc11

Describe the issue

2024-02-23 12:12:19.240097373 [E:onnxruntime:Default, provider_bridge_ort.cc:1546 TryGetProviderInfo_CUDA] /onnxruntime_src/onnxruntime/core/session/provider_bridge_ort.cc:1209 onnxruntime::Provider& onnxruntime::ProviderLibrary::Get() [ONNXRuntimeError] : 1 : FAIL : Failed to load library libonnxruntime_providers_cuda.so with error: libcudnn.so.8: cannot open shared object file: No such file or directory
I have installed GPU with CUDA 12.2 and when i run my model with onnxruntime i am getting this issue

To reproduce

try to solve the issue and steps to solve it

Urgency

No response

Platform

Other / Unknown

OS Version

Ubuntu 22.04

ONNX Runtime Installation

Released Package

ONNX Runtime Version or Commit ID

1.17.0

ONNX Runtime API

Python

Architecture

X64

Execution Provider

CUDA

Execution Provider Library Version

CPU

Metadata

Metadata

Assignees

Labels

ep: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