-
-
Notifications
You must be signed in to change notification settings - Fork 14.7k
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
[Tracking] Handling multiple versions of CUDA libraries in the same closure #341650
Comments
This seems like a Hard Problem, and I'm not aware of any package managers that actually solve it. Is there a need to fix this? |
When I need to manually debug these kinds of issues, I use Is the thought that CUDA libraries are loading in a non-predictable fashion due to the use of |
That's my understanding. Other uses should be explicit in RUNPATH/RPATH. |
Oh! We were thinking of parsing LD_DEBUG but you're making a good point! FWIW there are more examples of using LD_AUDIT, e.g. in |
However, note that for this particular test we don't even have to interact with ld.so in any particular way, we just verify that the program does not crash when using two potentially conflicting modules |
Describe the bug
When multiple versions of CUDA libraries are in the same closure, the order they are discovered and loaded by different packages is unclear.
This is issue is meant to track progress toward documentation, tools, and tests to communicate and ensure that libraries are loaded in a predictable and deterministic fashion.
As an example (courtesy of @SomeoneSerge), we should have tests which ensure both of the following work:
Related Links
PRs
Issues
Notify maintainers
@NixOS/cuda-maintainers
Add a 👍 reaction to issues you find important.
The text was updated successfully, but these errors were encountered: