Skip to content

Refactor the logic to find CUDA libraries - use try...catch for each library#3575

Merged
khalatepradnya merged 1 commit intoNVIDIA:test-publishingfrom
khalatepradnya:clean-up-init
Nov 4, 2025
Merged

Refactor the logic to find CUDA libraries - use try...catch for each library#3575
khalatepradnya merged 1 commit intoNVIDIA:test-publishingfrom
khalatepradnya:clean-up-init

Conversation

@khalatepradnya
Copy link
Collaborator

This PR refactors the initialization logic in python/cudaq/__init__.py, focusing on how CUDA library paths are configured and how imports are organized.

  library.

Signed-off-by: Pradnya Khalate <pkhalate@nvidia.com>
@khalatepradnya khalatepradnya merged commit db285ea into NVIDIA:test-publishing Nov 4, 2025
4 checks passed
@khalatepradnya khalatepradnya deleted the clean-up-init branch November 4, 2025 23:27
github-actions bot pushed a commit that referenced this pull request Nov 4, 2025
github-actions bot pushed a commit that referenced this pull request Nov 5, 2025
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>
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