当前位置:网站首页>Orin installs CUDA environment
Orin installs CUDA environment
2022-07-05 06:43:00 【Enlaihe】
There are two ways to install CUDA Environmental Science
1. Command line mode
Finished in the machine Orin, Execute the following command :
a. sudo apt update
b. sudo apt upgrade
c. sudo apt install nvidia-jetpack -y
If the report is wrong , View version :/etc/apt/sources.list.d/nvidia-l4t-apt-source.list In file , The latest is 34.1

Change it to

After execution, you can install , If you use l4t_for_tegra The latest version , adopt flash.sh No error will be reported after brushing the machine .
a. CUDA Check if the installation is successful
nvcc -V
If you make a mistake , Need to put nvcc Add to environment variables .
The following indicates that the installation is correct :
nvcc: NVIDIA (R) Cuda compiler driver
Copyright (c) 2005-2021 NVIDIA Corporation
Built on Thu_Nov_11_23:44:05_PST_2021
Cuda compilation tools, release 11.4, V11.4.166
Build cuda_11.4.r11.4/compiler.30645359_0b.cuDNN
dpkg -l libcudnn8Display the following information :
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name Version Architecture Description
+++-==============-===================-============-======================
ii libcudnn8 8.3.2.49-1+cuda11.4 arm64 cuDNN runtime librariesc.TensorRT:
Display the following information :
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name Version Architecture Description
+++-==============-===================-============-=====================
ii tensorrt 8.4.0.11-1+cuda11.4 arm64 Meta package of TensorRTd.OpenCV:
Display the following information :
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name Version Architecture Description
+++-==============-===================-============-=======================
ii libopencv 4.5.4-8-g3e4c170df4 arm64 Open Computer Vision Library2. Use SDKmanager install
stay SDKmanager Download the required files
perform step1/2/3/4 that will do , Simple operation .
View the installed version :

TensorRT
TensorRT It's a high-performance deep learning reasoning (Inference) Optimizer , Can provide low latency for deep learning applications 、 High throughput deployment reasoning .TensorRT Can be used for very large data centers 、 Embedded platform or autopilot platform for reasoning acceleration . TensorRT Now we can support TensorFlow、Caffe、Mxnet、Pytorch And almost all the deep learning frameworks , take TensorRT and NVIDIA Of GPU Combine , Rapid and efficient deployment reasoning in almost all frameworks .
cuDNN
cuDNN It is used for deep neural network GPU Acceleration Library . It emphasizes performance 、 Ease of use and low memory overhead .NVIDIA cuDNN Can be integrated into a higher-level machine learning framework , Like Google's Tensorflow、 The popularity of the University of California, Berkeley caffe Software . Simple plug-in design allows developers to focus on designing and implementing neural network models , Instead of simply adjusting performance , At the same time, it can be in GPU To achieve high performance modern parallel computing .
CUDA
CUDA(ComputeUnified Device Architecture), It's the video card manufacturer NVIDIA The new computing platform . CUDA It's a kind of NVIDIA General parallel computing architecture , The architecture enables GPU Able to solve complex computing problems .
CUDA And cuDNN The relationship between
CUDA Think of it as a workbench , There are many tools on it , Like a hammer 、 Screwdrivers, etc .cuDNN Is based on CUDA Deep learning GPU Acceleration Library , With it, we can be in GPU Complete the calculation of deep learning . It's like a tool for work , For example, it's a wrench . however CUDA When I bought this workbench , No wrench . Want to be in CUDA Run deep neural network on , Just install cuDNN, It's like if you want to screw a nut, you have to buy a wrench back . Only in this way can GPU Do deep neural network work , Work faster than CPU Much faster .
边栏推荐
- CGroup CPU group source code analysis
- Vant Weapp SwipeCell设置多个按钮
- 2022-5-the fourth week daily
- Winter messenger 2
- What is socket? Basic introduction to socket
- Sum of two numbers, the numbers in the array are converted to decimal, added, and output inversely
- Alibaba's new member "Lingyang" officially appeared, led by Peng Xinyu, Alibaba's vice president, and assembled a number of core department technical teams
- Speedtree01 generator properties
- Inclusion exclusion principle acwing 890 Divisible number
- There are three kinds of SQL connections: internal connection, external connection and cross connection
猜你喜欢

Alibaba's new member "Lingyang" officially appeared, led by Peng Xinyu, Alibaba's vice president, and assembled a number of core department technical teams

Redis-01.初识Redis

Design specification for mobile folding screen

Instruction execution time

Inclusion exclusion principle acwing 890 Divisible number

5.Oracle-錶空間

Sorting out the latest Android interview points in 2022 to help you easily win the offer - attached is the summary of Android intermediate and advanced interview questions in 2022

‘mongoexport‘ 不是内部或外部命令,也不是可运行的程序 或批处理文件。

1. Create Oracle database manually

TCP's understanding of three handshakes and four waves
随机推荐
5. Oracle tablespace
Error: “MountVolume.SetUp failed for volume pvc 故障处理
2048项目实现
vsCode创建自己的代码模板
vim
在本地搭建一个微服务集群环境,学习自动化部署
Gauss Cancellation acwing 884. Solution d'un système d'équations Xor linéaires par élimination gaussienne
La redirection de l'applet Wechat ne déclenche pas onload
Mutual transformation between two-dimensional array and sparse array (sparse matrix)
P2575 master fight
Integer to 8-bit binary explanation (including positive and negative numbers) scope of application -127~+127
Database mysql all
VLAN experiment
Some classic recursion problems
namespace
7. Oracle table structure
[algorithm post interview] interview questions of a small factory
2022 winter vacation training game 5
[Chongqing Guangdong education] 1185t administrative leadership reference test of National Open University in autumn 2018
Rehabilitation type force deduction brush question notes D1