problem with onnxruntime-gpu
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 1.9k
- Forks
- 114
- PR merge metrics
- No merged PRs in 30d
Description
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
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the reported shiv command and the Windows error loading onnxruntime\capi\onnxruntime_providers_cuda.dll. Trace how the generated app.pyz packages and extracts site-packages, then determine whether the CUDA provider can load in this setup. Done means documenting or implementing a verified resolution for Windows onnxruntime-gpu support.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- build-system, cli
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100