Hi,
I was facing a problem regarding the install of cuda compatible torch. I followed the usual procedure in PyTorch for Jetson.
However, each time I get False when running torch.cuda.is_available()
I tried different torch and torchvision versions each time respecting the compatibility matrix, but still doesn’t work.
Now i ran few other commands and I’m not sure if the my current cuda is 11.4 or 12.1:
nvcc --version
nvcc: NVIDIA (R) Cuda compiler driver
Copyright (c) 2005-2022 NVIDIA Corporation
Built on Sun_Oct_23_22:16:07_PDT_2022
Cuda compilation tools, release 11.4, V11.4.315
Build cuda_11.4.r11.4/compiler.31964100_0
orin_nano@nano-desktop:/$ jetson_release -v
Software part of jetson-stats 4.2.3 - (c) 2023, Raffaello Bonghi
Model: NVIDIA Orin NX Developer Kit - Jetpack 5.1.1 [L4T 35.3.1]
NV Power Mode[0]: MAXN
Serial Number: [XXX Show with: jetson_release -s XXX]
Hardware:
- 699-level Part Number: 699-13767-0000-300 K.1
- P-Number: p3767-0000
- Module: NVIDIA Jetson Orin NX (16GB ram)
- SoC: tegra23x
- CUDA Arch BIN: 8.7
- Codename: P3768
Platform: - Machine: aarch64
- System: Linux
- Distribution: Ubuntu 20.04 focal
- Release: 5.10.104-tegra
- Python: 3.8.10
jtop: - Version: 4.2.3
- Service: Active
Libraries: - CUDA: 12.1.66
- cuDNN: 8.6.0.166
- TensorRT: 5.1.1
- VPI: 2.2.7
- Vulkan: 1.3.204
- OpenCV: 4.5.4 - with CUDA: NO
Maybe it is the source of my problem. how to correct it ? or do I have to reflash it using SDK manager ?