AGX Xavier NVCC

Hi all, I didn’t install the CUDA while flashing AGX Xavier, after flash process I installed it using:
$ sudo apt-get update
$ sudo apt-get install nvidia-cuda
It installed CUDA 11.4 but nvcc --version is not working also print(torch.cuda.is_available()) returns false. Can you help me to solve the problem?

Thx in advance

Hi,

Regarding nvcc, please add the following environment variable and try it again.

$ export PATH=/usr/local/cuda-11.4/bin:$PATH
$ export LD_LIBRARY_PATH=/usr/local/cuda-11.4/lib64:$LD_LIBRARY_PATH

For PyTorch, please install our prebuilt to get the CUDA support.
You can find it in the below link:

Thanks.