当前位置:网站首页>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_0
b.cuDNN
dpkg -l libcudnn8
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 libcudnn8 8.3.2.49-1+cuda11.4 arm64 cuDNN runtime libraries
c.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 TensorRT
d.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 Library
2. 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 .
边栏推荐
- UTC, GPS time and Tai
- Time is fast, please do more meaningful things
- Vant Weapp SwipeCell设置多个按钮
- Redis-01.初识Redis
- [learning] database: several cases of index failure
- The “mode“ argument must be integer. Received an instance of Object
- 1. Create Oracle database manually
- Find the combination number acwing 887 Find combination number III
- Page type
- Winter messenger 2
猜你喜欢
1.手动创建Oracle数据库
Financial risk control practice -- feature derivation based on time series
Alibaba established the enterprise digital intelligence service company "Lingyang" to focus on enterprise digital growth
How to make water ripple effect? This wave of water ripple effect pulls full of retro feeling
vsCode创建自己的代码模板
Bash exercise 17 writing scripts to install the server side of FRP reverse proxy software
MySQL (UDF authorization)
Rehabilitation type force deduction brush question notes D1
Package webapp or H5 pages into apps
求组合数 AcWing 887. 求组合数 III
随机推荐
H5 embedded app adapts to dark mode
cgroup_ memcg
Vant Weapp SwipeCell設置多個按鈕
4.Oracle-重做日志文件管理
NVM Downloading npm version 6.7.0... Error
Bash exercise 17 writing scripts to install the server side of FRP reverse proxy software
vim
6-3 find the table length of the linked table
求组合数 AcWing 888. 求组合数 IV
MPLS experiment
【高德地图POI踩坑】AMap.PlaceSearch无法使用
How to make water ripple effect? This wave of water ripple effect pulls full of retro feeling
What is socket? Basic introduction to socket
Alibaba's new member "Lingyang" officially appeared, led by Peng Xinyu, Alibaba's vice president, and assembled a number of core department technical teams
Financial risk control practice -- feature derivation based on time series
SolidWorks template and design library are convenient for designers to call
LSA Type Explanation - detailed explanation of lsa-2 (type II LSA network LSA) and lsa-3 (type III LSA network Summary LSA)
Idea debug failed
3.Oracle-控制文件的管理
Find the combination number acwing 887 Find combination number III