Page 1 of 1

jetson nano with torch

Posted: Mon May 30, 2022 5:11 pm
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

Re: jetson nano with torch

Posted: Mon May 30, 2022 5:12 pm
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

Re: jetson nano with torch

Posted: Tue May 31, 2022 8:54 pm
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

Re: jetson nano with torch

Posted: Thu Jun 02, 2022 7:12 pm
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

jtop

Posted: Sun Jun 05, 2022 8:37 am
by henrywu

screenshot in ubuntu 18.04