Skip to content

Commit ca6ae8e

Browse files
committed
Update docstring and add release note
1 parent fc7cd52 commit ca6ae8e

File tree

2 files changed

+11
-1
lines changed

2 files changed

+11
-1
lines changed

cuda_pathfinder/cuda/pathfinder/_dynamic_libs/load_nvidia_dynamic_lib.py

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,12 @@ def load_nvidia_dynamic_lib(libname: str) -> LoadedDL:
8282
- Scan installed distributions (``site-packages``) to find libraries
8383
shipped in NVIDIA wheels.
8484
85-
2. **OS default mechanisms / Conda environments**
85+
2. **Conda environment**
86+
87+
- Detects if in a conda environment and searches for libraries in the expected locations within the conda
88+
environment.
89+
90+
3. **OS default mechanisms**
8691
8792
- Fall back to the native loader:
8893

cuda_pathfinder/docs/source/release/1.X.Y-notes.rst

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,3 +23,8 @@ Highlights
2323
- Improves stability in general and supports nvmath specifically
2424
- Proactive change to improve library loading consistency
2525
- Drops boilerplate docstrings for private functions
26+
27+
* Add conda search path prioritization for ``load_nvidia_dynamic_lib()`` (`PR #856 <https://github.com/NVIDIA/cuda-python/pull/856>`_)
28+
29+
- Enables loading libraries from conda environments before system paths
30+
- Handles version mismatches between the conda environment and the system CTK

0 commit comments

Comments
 (0)