【Jetson AGX Xavier】安装Pytorch的若干方法(ing)

nvidia@nvidia-desktop:~$ jetson_release 
 - NVIDIA Jetson AGX Xavier [16GB]
   * Jetpack 4.5.1 [L4T 32.5.1]
   * NV Power Mode: MODE_30W_ALL - Type: 3
   * jetson_stats.service: active
 - Libraries:
   * CUDA: 10.2.89
   * cuDNN: 8.0.0.180
   * TensorRT: 7.1.3.0
   * Visionworks: 1.6.0.501
   * OpenCV: 4.1.1 compiled CUDA: NO
   * VPI: ii libnvvpi1 1.0.15 arm64 NVIDIA Vision Programming Interface library
   * Vulkan: 1.2.70

【方法一】

https://elinux.org/Jetson_Zoo#PyTorch_.28Caffe2.29


# Python 3.6 (download pip wheel from above)
$ sudo apt-get install libopenblas-base libopenmpi-dev python3-pip
$ pip3 install Cython
$ pip3 install torch-1.7.0-cp36-cp36m-linux_aarch64.whl

验证一下:

nvidia@nvidia-desktop:~$ python3
Python 3.6.9 (default, Jan 26 2021, 15:33:00) 
[GCC 8.4.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import torch
>>> torch

>>> torch.__version__
'1.7.0'
>>> torch.cuda.is_available()
True

【方法2】

https://ngc.nvidia.com/catalog/containers/nvidia:l4t-pytorch

【Jetson AGX Xavier】安装Pytorch的若干方法(ing)_第1张图片

你可能感兴趣的:(xavier,深度学习,pytorch,xavier)