Fill out python -m numba -s
field for CUDA Libraries Test Output
(even if GPU is absent)
#9439
Labels
python -m numba -s
field for CUDA Libraries Test Output
(even if GPU is absent)
#9439
Feature request
When creating a
numba
environment in a Docker image or other build environment where the CUDA Toolkit libraries are present, but a GPU is absent like so......and running
python -m numba -s
. The information on CUDA Libraries detection is left out:However the "CUDA Libraries Test Output:" field...
numba/numba/misc/numba_sysinfo.py
Lines 611 to 612 in 3edb458
...merely calls
numba.cuda.cudadrv.libs
functiontest
:numba/numba/misc/numba_sysinfo.py
Line 16 in 3edb458
numba/numba/misc/numba_sysinfo.py
Lines 371 to 375 in 3edb458
Running this alone is ok:
python -c "from numba.cuda.cudadrv.libs import test; test()"
It appears this happens as Numba skips including this info if a GPU is not found
numba/numba/misc/numba_sysinfo.py
Line 336 in 3edb458
However it would be nice to include this information just to provide a sanity check that Numba can find the CUDA Toolkit libraries
The text was updated successfully, but these errors were encountered: