Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

onnxruntime cuda support fix dlopen path #357656

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Pleune
Copy link
Contributor

@Pleune Pleune commented Nov 20, 2024

onnxruntime loads some libraries at runtime with dlopen, and needs to know where in the nix store to look for them.

Without this patch, when running onnxruntime (such as importing the python module), the error "FAIL : Failed to load library libonnxruntime_providers_shared.so with error: libonnxruntime_providers_shared.so: cannot open shared object file: No such file or directory" could be seen when cudaSupport is enabled.

Add a 👍 reaction to pull requests you find important.

onnxruntime loads some libraries at runtime with dlopen, and needs to
know where in the nix store to look for them.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant