Skip to content

FAIL : Failed to load library libonnxruntime_providers_cuda.so with error: libcublasLt.so.11: cannot open shared object file: No such file or directory #21684

@minmie

Description

@minmie

Describe the issue

when i inference with optimum.onnxruntime,an error occurred:

FAIL : Failed to load library libonnxruntime_providers_cuda.so with error: libcublasLt.so.11: cannot open shared object file: No such file or directory
652ee3ba21bc03c88c2fabd03ca5393

my env is as follow:
cuda 12.1
cudnn8
onnxruntime-gpu 1.16

and I found this doc(https://onnxruntime.ai/docs/execution-providers/CUDA-ExecutionProvider.html):
image

so I tried to update onnxruntime-gpu to 1.18.0, but the same error still occurred.

But when I updated the version of onnxruntime-gpu to 1.18.1, another error occurred, as follows:
FAIL : Failed to load library libonnxruntime_providers_cuda.so with error: libcudnn.so.9: cannot open shared object file: No such file or directory
cb85e4b2f35f9e91bd6dbb55e7eabb4

so, with cuda12.1 and cudnn8, which version of onnxruntime-gpu should i install?

To reproduce

pass

Urgency

not

Platform

Linux

OS Version

ubuntu 20.04.6 LTS

ONNX Runtime Installation

Released Package

ONNX Runtime Version or Commit ID

onnxruntime-gpu 1.18.0

ONNX Runtime API

Python

Architecture

X64

Execution Provider

CUDA

Execution Provider Library Version

cuda 12.1

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions