Is this a duplicate?
Area
cuda.pathfinder
Is your feature request related to a problem? Please describe.
This is a request for a behavior change.
Currently, when encountering a library that we haven't plumbed in support for, we fall back to doing a system search, which can be surprising / confusing.
For example, currently we have (Linux):
|
candidate_sonames.append(f"lib{libname}.so") |
Current behavior (note: cupti is not supported):
python -c 'from cuda import pathfinder; print(pathfinder.load_nvidia_dynamic_lib("cupti"))'
LoadedDL(abs_path='/usr/local/cuda/targets/sbsa-linux/lib/libcupti.so', was_already_loaded_from_elsewhere=False, _handle_uint=1073584928, found_via='system-search')
The request boils down to removing that line, which then leads to:
cuda.pathfinder._dynamic_libs.load_dl_common.DynamicLibNotFoundError: Failure finding "libcupti.so":
The situation is different under Windows. Figuring out all details for all situations (Linux, Windows, site-packages, conda, CUDA_HOME, system-search) needs more work.
Describe the solution you'd like
TBD
Describe alternatives you've considered
No response
Additional context
No response
Is this a duplicate?
Area
cuda.pathfinder
Is your feature request related to a problem? Please describe.
This is a request for a behavior change.
Currently, when encountering a library that we haven't plumbed in support for, we fall back to doing a system search, which can be surprising / confusing.
For example, currently we have (Linux):
cuda-python/cuda_pathfinder/cuda/pathfinder/_dynamic_libs/load_dl_linux.py
Line 130 in f3f4bcd
Current behavior (note:
cuptiis not supported):The request boils down to removing that line, which then leads to:
The situation is different under Windows. Figuring out all details for all situations (Linux, Windows, site-packages, conda, CUDA_HOME, system-search) needs more work.
Describe the solution you'd like
TBD
Describe alternatives you've considered
No response
Additional context
No response