Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[CI][DOCKER] Fix cuda11 nvidia-docker support for non-Tesla gpus (apa…
…che#8163) Starting cuda11, libcuda can be linked to a version of libcuda in /usr/local/cuda/compact. The particular linked library does not work for non-Tesla GPUs, causing "no CUDA capable devices found" even though nvidia-smi shows available GPUs. This PR makes makes sure we always prioritize linking /usr/lib/x86_64-linux-gnu/libcuda.so.1 so the nvidia docker cuda11 images works for non-Tesla GPU envs.
- Loading branch information