NVIDIA Jetson AGX Xavier Developer Kit 试用笔记

本文介绍了NVIDIA Jetson AGX Xavier Developer Kit的试用体验,包括其强大的硬件配置和主要功能。详述了Xavier的设置步骤,如安装SDK Manager,连接主机进行OS闪存。还提到了环境是定制的Ubuntu系统,内置CUDA和CuDNN,以及如何使用TensorFlow的虚拟环境。最后给出了Ubuntu主机上的Conda环境管理和注意事项,警告不要随意更新NVIDIA驱动和cudnn包。
部署运行你感兴趣的模型镜像

Showcase 使用到 NVIDIA Jetson AGX Xavier 开发套件。记录下开机使用过程,先上几张图片:  

                                    

                  

1.简介

NVIDIA Jetson AGX Xavier Developer Kit, 这款 10W-30W 的计算机模组能够提供每秒高达32万亿的运算,可广泛应用于深度学习和计算机视觉任务。

该开发套件由 NVIDIA JetPack 和 DeepStream SDK 以及 CUDA®,cuDNN 和 TensorRT 软件库提供支持,提供了立即开始使用所需的所有工具。而且由于它采用了全新的 NVIDIA Xavier 处理器,因此其性能比前代产品 NVIDIA Jetson TX2 提升了20倍以上,能效提高了10倍。

Jetson AGX Xavier 的主要功能:

● NVIDIA Carmel ARM v8.2 64位八核处理器

● 带64 Tensor Core的512GB NVIDIA Volta显卡,

● 双NVIDIA深度学习加速器引擎

● NVIDIA视觉加速器引擎

● 高清视频编解码器

● 128Gbps专用摄像头摄取

● 16通道PCIe Gen4扩展

● 256位内存接口,带宽为137 GB / s

● 16GB的256位LPDDR4x RAM

● 32GB的eMMC 5.1存储

 

2. Xavier Setup 

文档:Jetson AGX Xavier Developer Kit User Guide JetPack

官网文档很详细了,就是全英文一行行看起来略费时,现整理主要步骤如下:

  • 准备一台 Linux host 台式机,用来连接 Xavier.
  1. Ubuntu x64 V16.04 or V18.04 (64位)
  2. Internet 连接
  3. 至少23GB磁盘
  • 在 host Ubuntu 主机上 Install SDK manager(需要注册 NVIDIA 账号下载与使用 SDK Manager ) 

       NVIDIA SDK Manager(home page)      SDK Manager User Guide(more detailed)

步骤在下载页面底部:

   

  • 使用 Type-c 线连接 Xavier 和 host Ubuntu computer (按照说明书,使用 front USB-C 端口)
  • 给 Xavier 连接网线、HDMI 线连接显示器、鼠标/键盘
  • 给 Xavier 加电。需要将 Xavier 放到 recovery 模式,步骤如下:
  1. 长按 recovery 按钮,不要松开 (有三个按钮,是中间的那个。按钮旁有‘force recovery’小字)
  2. 长按 power 按钮,不要松开 (靠近front的那个。按钮旁有‘power’小字)
  3. 松开两个按钮
  • 运行 SDK manager installer。(OS flash后,到 Xavier 的屏幕上结束操作)

3.Xavier 几点说明

The environment is a customized Ubuntu. It has several power modes which have different computing capabilities with respective power ratings.

CUDA Toolkits and CuDNN are already installed with Jetpack. nvidia-smi does not work since it does not have the conventioned driver as many desktop do.

To use tensorflow, there is a virtual environment at ~/venv/tf-py36-gpu. You may want to do source ~/venv/tf-py36-gpu/bin/activate to enter the environment. Some essential packages are already installed, including numpy, tensorflow-gpu, jupyter, pillow, etc. Once the virtualenv is activated, you should be able to start a jupyter notebook. You will find there is a notebook under ~/msiot/Object-Detection-Demo. If everything works fine, the notebook should run with no problem.

Exit the environment by deactivate in terminal.

 

4.Ubuntu host 主机几点说明

Conda is installed on this ubuntu; thus, it is easier to manage python environments. Use conda env list to see available environments.

You can use tensorflow with gpu under tf-py36-gpu. Once you are in the environment, you should be able to check the gpu device with python ~/msiot/check_gpu.py. You should also be able to check the nvidia device with nvidia-smi outside the environment. Similar to the previous section, you should be able to run the notebook in ~/msiot/Object-Detection-Demo with no problem.

 

5.注意

When updating system packages with apt update && apt upgrade, take extra care with nvidia packages. DO NOT update nvidia drivers or cudnn packages unless you know what you are doing. If for some reason CUDA is not working properly, you should be able to fallback to the CUDA 10.0 by running the ~/msiot/install_cuda.sh script with super user priviledge.

 

参考链接:

1.https://blog.youkuaiyun.com/freewebsys/article/details/53485512

2.https://docs.nvidia.com/jetson/archives/jetpack-archived/jetpack-411/index.html

您可能感兴趣的与本文相关的镜像

PyTorch 2.5

PyTorch 2.5

PyTorch
Cuda

PyTorch 是一个开源的 Python 机器学习库,基于 Torch 库,底层由 C++ 实现,应用于人工智能领域,如计算机视觉和自然语言处理

评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值