Skip to content

fix cuda path finding in image - #10

Merged
johnwaalsh merged 3 commits into
mainfrom
fix-cuda-provider-libpath
Aug 25, 2026
Merged

fix cuda path finding in image#10
johnwaalsh merged 3 commits into
mainfrom
fix-cuda-provider-libpath

Conversation

@johnwaalsh

@johnwaalsh johnwaalsh commented Aug 24, 2026

Copy link
Copy Markdown
Member

Fixes onnxruntime silently falling back to CPU.

The nvidia-* pip wheels install CUDA/cuDNN libraries under site-packages/nvidia/*/lib, which the dynamic linker doesn't search. This change manually registers those directories with ldconfig at build time.

@johnwaalsh johnwaalsh self-assigned this Aug 24, 2026
@johnwaalsh
johnwaalsh requested a review from joefutrelle August 25, 2026 14:26
@joefutrelle

Copy link
Copy Markdown
Contributor

LGTM, just make sure to remove the temporary CICD mod and we're good to go.

@johnwaalsh
johnwaalsh merged commit 782c833 into main Aug 25, 2026
6 checks passed
@johnwaalsh
johnwaalsh deleted the fix-cuda-provider-libpath branch August 25, 2026 14:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants