export CUDA_PATH=/usr/lib64/cuda export PATH=/usr/lib64/cuda/bin:$PATH # This line used to not be required but it somehow is with cuda 12.3. # We reported this as a bug to NVIDIA. For now, this seems like a viable # workaround. export NVCC_PREPEND_FLAGS='-ccbin /usr/lib64/cuda/bin'