当前位置:网站首页>Vs 2019 configuration tensorrt
Vs 2019 configuration tensorrt
2022-07-03 03:13:00 【AphilGuo】
To configure TensorRT
1、 download TensroRT: link :https://developer.nvidia.com/nvidia-tensorrt-8x-download
2、 Unzip the downloaded file , And will TensorRT Medium include File move to CUDA Under folder include in , And will TensortRT In the document lib Medium dll And lib The documents are placed in cuda Medium bin And lib\x64 In the folder
3、 install TensorRT, Install these four files separately
pip install tensorrt-8.2.5.1-cp37-none-win_amd64.whl
4、 download cudnn64_8.dll, And put the file in
C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v11.1\bin Under the table of contents
5、 Run code
import torch
import tensorrt as trt
print(trt.__version__)
print(torch.cuda.is_available())
6、 Run the example , Modify the designated place
7、 download cudnn:https://developer.nvidia.com/rdp/cudnn-download, Copy the files under the three folders to NVIDIA GPU Computing Toolkit Under the corresponding folder
8、 download zlibwapi.dll file , And put the file in system32 Under the folder , Running results
If there is a mistake , Please correct me. ( thank you )
边栏推荐
- PHP constructor with parameters - PHP constructor with a parameter
- Idea format code idea set shortcut key format code
- [leectode 2022.2.15] lucky numbers in the matrix
- Use of check boxes: select all, deselect all, and select some
- Andwhere multiple or query ORM conditions in yii2
- Solve high and send system Currenttimemillis Caton
- 用docker 連接mysql的過程
- Introduction to cron expression
- 用docker 连接mysql的过程
- I2C subsystem (II): I3C spec
猜你喜欢
[principles of multithreading and high concurrency: 1_cpu multi-level cache model]
vfork执行时出现Segmentation fault
Vs 2019 configure tensorrt to generate engine
敏捷认证(Professional Scrum Master)模拟练习题-2
TCP handshake three times and wave four times. Why does TCP need handshake three times and wave four times? TCP connection establishes a failure processing mechanism
[shutter] monitor the transparency gradient of the scrolling action control component (remove the blank of the top status bar | frame layout component | transparency component | monitor the scrolling
Sous - système I2C (IV): débogage I2C
Yiwen takes you to know ZigBee
[pyg] understand the messagepassing process, GCN demo details
C语言初阶-指针详解-庖丁解牛篇
随机推荐
Super easy to use logzero
Vs 2019 configure tensorrt to generate engine
Last update time of all sqlserver tables
Opengauss database development and debugging tool guide
Three.js本地环境搭建
The base value is too large (the error is marked as "08") [duplicate] - value too great for base (error token is'08') [duplicate]
Nasvit: neural architecture search of efficient visual converter with gradient conflict perception hypernetwork training
Practice of traffic recording and playback in vivo
Idea set method call ignore case
vfork执行时出现Segmentation fault
用docker 连接mysql的过程
ComponentScan和ComponentScans的区别
idea 加载不了应用市场解决办法(亲测)
Reset or clear NET MemoryStream - Reset or Clear . NET MemoryStream
The difference between componentscan and componentscans
Edit and preview in the back pipe to get the value writing method of the form
函数栈帧的创建与销毁
Réglez la hauteur et lancez le système. Currenttimemillis catton
VS 2019 配置tensorRT生成engine
@Accessors注解作用指定前缀遵守驼峰命名