jetson nano with torch

Raspberry Pi, Jeston Nano


henrywu
Posts: 202
Joined: Sun Apr 17, 2022 4:57 pm

jetson nano with torch

Post by henrywu »

Ubuntu 20.04

Code: Select all

$jetson_release -v
WARNING: lavapipe is not a conformant vulkan implementation, testing use only.
 - NVIDIA Jetson Nano (Developer Kit Version)
   * Jetpack 4.6 [L4T 32.6.1]
   * NV Power Mode: MAXN - Type: 0
   * jetson_stats.service: active
 - Board info:
   * Type: Nano (Developer Kit Version)
   * SOC Family: tegra210 - ID:33
   * Module: P3448-0000 - Board: P3449-0000
   * Code Name: porg
   * Boardids: 3448
   * CUDA GPU architecture (ARCH_BIN): 5.3
   * Serial Number: 1423221107162
 - Libraries:
   * CUDA: 10.2.300
   * cuDNN: 8.2.1.32
   * TensorRT: 8.0.1.6
   * Visionworks: 1.6.0.501
   * OpenCV: 4.5.3 compiled CUDA: YES
   * VPI: ii libnvvpi1 1.1.15 arm64 NVIDIA Vision Programming Interface library
   * Vulkan: 1.2.141
 - jetson-stats:
   * Version 3.1.2
   * Works on Python 3.8.10
henrywu
Posts: 202
Joined: Sun Apr 17, 2022 4:57 pm

Re: jetson nano with torch

Post by henrywu »

Torch cannot detect GPU!

Code: Select all

$python
Python 3.8.10 (default, Mar 15 2022, 12:22:08) 
[GCC 9.4.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
import torch
torch.__version__
'1.11.0'
torch.cuda.is_available()
False
henrywu
Posts: 202
Joined: Sun Apr 17, 2022 4:57 pm

Re: jetson nano with torch

Post by henrywu »

Code: Select all

export PATH=/usr/local/cuda/bin/:$PATH
export LD_LIBRARY_PAT=/usr/local/cuda/lib64:${LD_LIBRARY_PATH}
export LD_PRELOAD=/usr/lib/aarch64-linux-gnu/libgomp.so.1:/usr/lib/aarch64-linux-gnu/libGLdispatch.so.0
henrywu
Posts: 202
Joined: Sun Apr 17, 2022 4:57 pm

Re: jetson nano with torch

Post by henrywu »

Ubuntu 18.04

Code: Select all

fuheng@fuheng-desktop:~$ jetson_release -v
 - NVIDIA Jetson Nano (Developer Kit Version)
   * Jetpack 4.6.2 [L4T 32.7.2]
   * NV Power Mode: MAXN - Type: 0
   * jetson_stats.service: active
 - Board info:
   * Type: Nano (Developer Kit Version)
   * SOC Family: tegra210 - ID:33
   * Module: P3448-0000 - Board: P3449-0000
   * Code Name: porg
   * Boardids: 3448
   * CUDA GPU architecture (ARCH_BIN): 5.3
   * Serial Number: 1423221107162
 - Libraries:
   * CUDA: 10.2.300
   * cuDNN: 8.2.1.32
   * TensorRT: 8.2.1.8
   * Visionworks: 1.6.0.501
   * OpenCV: 4.1.1 compiled CUDA: NO
   * VPI: ii libnvvpi1 1.2.3 arm64 NVIDIA Vision Programming Interface library
   * Vulkan: 1.2.70
 - jetson-stats:
   * Version 3.1.4
   * Works on Python 3.6.9
henrywu
Posts: 202
Joined: Sun Apr 17, 2022 4:57 pm

jtop

Post by henrywu »

screenshot in ubuntu 18.04

Attachments
Screenshot from 2022-06-05 08-36-21.png
Screenshot from 2022-06-05 08-36-21.png (89.52 KiB) Viewed 7254 times
Post Reply