ยง2024-12-05

  1. Verify CUDA Installation
(PYTHON-3.10.15) alexlai@JetsonOrinNano:~/build$ nvidia-smi
Thu Dec  5 04:44:53 2024       
+---------------------------------------------------------------------------------------+
| NVIDIA-SMI 540.4.0                Driver Version: 540.4.0      CUDA Version: 12.6     |
|-----------------------------------------+----------------------+----------------------+
| GPU  Name                 Persistence-M | Bus-Id        Disp.A | Volatile Uncorr. ECC |
| Fan  Temp   Perf          Pwr:Usage/Cap |         Memory-Usage | GPU-Util  Compute M. |
|                                         |                      |               MIG M. |
|=========================================+======================+======================|
|   0  Orin (nvgpu)                  N/A  | N/A              N/A |                  N/A |
| N/A   N/A  N/A               N/A /  N/A | Not Supported        |     N/A          N/A |
|                                         |                      |                  N/A |
+-----------------------------------------+----------------------+----------------------+
                                                                                         
+---------------------------------------------------------------------------------------+
| Processes:                                                                            |
|  GPU   GI   CI        PID   Type   Process name                            GPU Memory |
|        ID   ID                                                             Usage      |
|=======================================================================================|
|  No running processes found                                                           |
+---------------------------------------------------------------------------------------+
(PYTHON-3.10.15) alexlai@JetsonOrinNano:~/build$ cat /proc/driver/nvidia/version
NVRM version: NVIDIA UNIX Open Kernel Module for aarch64  540.4.0  Release Build  (buildbrain@mobile-u64-5441-d8000)  Thu Sep 12 21:22:07 PDT 2024
GCC version:  collect2: error: ld returned 1 exit status
(PYTHON-3.10.15) alexlai@JetsonOrinNano:~/build$ cat /etc/nv_tegra_release.
cat: /etc/nv_tegra_release.: No such file or directory
(PYTHON-3.10.15) alexlai@JetsonOrinNano:~/build$ nvcc --version
-bash: nvcc: command not found

Then

$ nvcc --version
nvcc: NVIDIA (R) Cuda compiler driver
Copyright (c) 2005-2021 NVIDIA Corporation
Built on Thu_Nov_18_09:45:25_PST_2021
Cuda compilation tools, release 11.5, V11.5.119
Build cuda_11.5.r11.5/compiler.30672275_0