Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
PR #20288: cuda_root_path: Find cuda libraries when installed with co…
…nda packages Imported from GitHub PR #20288 This fix emerged when looking in solving jax-ml/jax#24604 . In a nutshell, the official cuda package for conda (both in the `conda-forge` and `nvidia` conda channels) install the CUDA libraries in a different location with respect to PyPI packages, so the logic to find them needs to be augmented to be able to find the CUDA libraries when installed from conda packages. I did not tested this with a tensorflow build, but probably this will also help in solving tensorflow/tensorflow#56927 . xref: conda-forge/tensorflow-feedstock#408 xref: conda-forge/jaxlib-feedstock#288 Copybara import of the project: -- a2ce85c by Silvio Traversaro <[email protected]>: cuda_root_path: Find cuda libraries when installed with conda packages Merging this change closes #20288 FUTURE_COPYBARA_INTEGRATE_REVIEW=#20288 from traversaro:fixloadcudaconda a2ce85c PiperOrigin-RevId: 717411600
- Loading branch information