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

problem with onnxruntime-gpu #190

Open
plomtb opened this issue Sep 29, 2021 · 3 comments
Open

problem with onnxruntime-gpu #190

plomtb opened this issue Sep 29, 2021 · 3 comments
Labels
help wanted Extra attention is needed

Comments

@plomtb
Copy link

plomtb commented Sep 29, 2021

Hi, I'm new to shiv. I want to create and distribute an application based on the windows onnxruntime-gpu. Is that possible?
I tried
shiv onnxruntime-gpu onnx numpy -o app.pyz --site-packages .tox\dev\Lib\site-packages. It can run my code, but there are problems using the gpu:

[E:onnxruntime:Default, provider_bridge_ort.cc:940 onnxruntime::ProviderLibrary::Get] LoadLibrary failed with error 126 "Module not found." when trying to load "C:\Users\user\.shiv\app4_aab9e7b430e1e6fc362601dd6923e56b8e956dcc76d880edcb2c463e72b4fcc6\site-packages\onnxruntime\capi\onnxruntime_providers_cuda.dll"

Is it possible to resolve that?
Thanks

@lorencarvalho
Copy link
Contributor

Hi @plomtb,

I definitely want to fully support Windows, however I must admit I haven't used a Windows machine in many years and I don't have ready access to one for testing/debugging (plus, I'm not very well versed).

Does the dll file that the error mentions actually exist? I'm unfortunately at a loss as to why this error would be occurring.

@lorencarvalho lorencarvalho added the help wanted Extra attention is needed label Oct 12, 2021
@illtellyoulater
Copy link

@plomtb I'm getting the same error you reported... Did you find anything about onnxruntime_providers_cuda.dll ?

@plomtb
Copy link
Author

plomtb commented Feb 7, 2022

Hi, sorry that I forgot to answer.
I think, in my case, the problem was missing dependencies. I wanted to build an environment, that includes everything. Since pip is not able to install cudnn,that did not work. So it was not really a shiv issue (for me). For my usecase, conda-pack seems more appropriate and I did not really try it further.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

3 participants