You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
2025-05-01 version of cuda.bindings.path_finder (#578)
* Undo changes to the nvJitLink, nvrtc, nvvm bindings
* Undo changes under .github, specific to nvvm, manipulating LD_LIBRARY_PATH or PATH
* PARTIALLY_SUPPORTED_LIBNAMES_LINUX, PARTIALLY_SUPPORTED_LIBNAMES_WINDOWS
* Update EXPECTED_LIB_SYMBOLS for nvJitLink to cleanly support CTK versions 12.0, 12.1, 12.2
* Save result of factoring out load_dl_common.py, load_dl_linux.py, load_dl_windows.py with the help of Cursor.
* Fix an auto-generated docstring
* first round of Cursor refactoring (about 4 iterations until all tests passed), followed by ruff auto-fixes
* Revert "first round of Cursor refactoring (about 4 iterations until all tests passed), followed by ruff auto-fixes"
This reverts commit 001a6a2.
There were many GitHub Actions jobs that failed (all tests with 12.x):
https://github.com/NVIDIA/cuda-python/actions/runs/14677553387
This is not worth spending time debugging.
Especially because
* Cursor has been unresponsive for at least half an hour:
We're having trouble connecting to the model provider. This might be temporary - please try again in a moment.
* The refactored code does not seem easier to read.
* A couple trivial tweaks
* Prefix the public API (just two items) with underscores for now.
* Add SPDX-License-Identifier to all files under toolshed/ that don't have it already
* Add SPDX-License-Identifier under cuda_bindings/tests/
* Respond to "Do these need to be run as subprocesses?" review question (#578 (comment))
* Respond to "dead code?" review questions (e.g. #578 (comment))
* Respond to "Do we need to implement a cache separately ..." review question (#578 (comment))
* Remove cuDriverGetVersion() function for now.
* Move add_dll_directory() from load_dl_common.py to load_dl_windows.py (response to review question #578 (comment))
* Add SPDX-License-Identifier and # Forked from: URL in cuda_paths.py
* Add Add SPDX-License-Identifier and Original LICENSE in findlib.py
* Very first draft of README.md
* Update README.md, mostly as revised by perplexity, with various manual edits.
* Refork cuda_paths.py AS-IS: https://github.com/NVIDIA/numba-cuda/blob/8c9c9d0cb901c06774a9abea6d12b6a4b0287e5e/numba_cuda/numba/cuda/cuda_paths.py
* ruff format cuda_paths.py (NO manual changes)
* Add back _get_numba_CUDA_INCLUDE_PATH from 2279bda (i.e. cuda_paths.py as it was right before re-forking)
* Remove cuda_paths.py dependency on numba.cuda.cudadrv.runtime
* Add Forked from URLs, two SPDX-License-Identifier, Original Numba LICENSE
* Temporarily restore debug changes under .github/workflows, for expanded path_finder test coverage
* Restore cuda_path.py AS-IT-WAS at commit 2279bda
* Revert "Restore cuda_path.py AS-IT-WAS at commit 2279bda"
This reverts commit 1b88ec2.
* Force compute-sanitizer off unconditionally
* Revert "Force compute-sanitizer off unconditionally"
This reverts commit 2bc7ef6.
* Add timeout=10 seconds to test_path_finder.py subprocess.run() invocations.
* Increase test_path_finder.py subprocess.run() timeout to 30 seconds:
Under Windows, loading cublas or cusolver may exceed the 10 second timeout:
#578 (comment)
* Revert "Temporarily restore debug changes under .github/workflows, for expanded path_finder test coverage"
This reverts commit 47ad79f.
* Force compute-sanitizer off unconditionally
* Add: Note that the search is done on a per-library basis.
* Add Note for CUDA_HOME / CUDA_PATH
* Add 0. **Check if a library was loaded into the process already by some other means.**
* _find_dll_using_nvidia_bin_dirs(): reuse lib_searched_for in place of file_wild
* Systematically replace all relative imports with absolute imports.
* handle: int → ctypes.CDLL fix
* Make load_dl_windows.py abs_path_for_dynamic_library() implementation maximally robust.
* Change argument name → libname for self-consistency
* Systematically replace previously overlooked relative imports with absolute imports.
* Simplify code (also for self-consistency)
* Expand the 3. **System Installations** section with information produced by perplexity
* Pull out `**Environment variables**` into an added section, after manual inspection of cuda_paths.py. Minor additional edits.
* Revert "Force compute-sanitizer off unconditionally"
This reverts commit aeaf4f0.
* Move _path_finder/sys_path_find_sub_dirs.py → find_sub_dirs.py, use find_sub_dirs_all_sitepackages() from find_nvidia_dynamic_library.py
* WIP (search priority updated in README.md but not in code)
* Revert "WIP (search priority updated in README.md but not in code)"
This reverts commit bf9734c.
0 commit comments