Refactor the logic to find CUDA libraries - use try...catch for each library#3575
Merged
khalatepradnya merged 1 commit intoNVIDIA:test-publishingfrom Nov 4, 2025
Merged
Conversation
1tnguyen
approved these changes
Nov 4, 2025
library. Signed-off-by: Pradnya Khalate <pkhalate@nvidia.com>
fdbba69 to
86821c3
Compare
khalatepradnya
added a commit
that referenced
this pull request
Nov 7, 2025
* fix python package install logic * Using unified package for `nvidia-curand` * Add CUDA 13 .so files to the version check (#3569) * Use python packages throughout (#3571) * Refactor the logic to find CUDA libraries - use `try...catch` for each library. (#3575) * Attempt to fix metapackage_validation_conda: be explicit about conda channel, fix an issue with torch on cu13 (#3576) * [CI] Run Jupyter notebooks in their own virtual environment (#3577) * Swap order: cublas depends on cublaslt, e.g. cublasLtGetEnvironmentMode * Install `python3-venv` * Also preinstall pip * Remove verbose warnings * fixing the label for sigma * Addtional packages installed in docker image * Use cu12 packages for CUDA 12 * remove unused torch package * remove import torch * Restore docs page * removing the warning and torch geometric import * Update the auto-generated README file to write 13.0.2 instead of 13.0.0 --------- Signed-off-by: Mitchell <mitch_dz@hotmail.com> Signed-off-by: Pradnya Khalate <pkhalate@nvidia.com> Signed-off-by: Thien Nguyen <thiennguyen@nvidia.com> Signed-off-by: Pradnya Khalate <148914294+khalatepradnya@users.noreply.github.com> Signed-off-by: Sachin Pisal <spisal@nvidia.com> Co-authored-by: Mitchell <mitch_dz@hotmail.com> Co-authored-by: Thien Nguyen <58006629+1tnguyen@users.noreply.github.com> Co-authored-by: Thien Nguyen <thiennguyen@nvidia.com> Co-authored-by: Sachin Pisal <spisal@nvidia.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR refactors the initialization logic in
python/cudaq/__init__.py, focusing on how CUDA library paths are configured and how imports are organized.