当前位置:网站首页>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 )
边栏推荐
- docker安装mysql
- I2C 子系统(二):I3C spec
- open file in 'w' mode: IOError: [Errno 2] No such file or directory
- On the adjacency matrix and adjacency table of graph storage
- [principles of multithreading and high concurrency: 1_cpu multi-level cache model]
- Vs Code configure virtual environment
- Vs 2019 configuration du moteur de génération de tensorrt
- I2C subsystem (I): I2C spec
- Thunderbolt Chrome extension caused the data returned by the server JS parsing page data exception
- Force deduction ----- the minimum path cost in the grid
猜你喜欢
Distributed transaction
Kubernetes family container housekeeper pod online Q & A?
用docker 连接mysql的过程
[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
Thunderbolt Chrome extension caused the data returned by the server JS parsing page data exception
Spark on yarn resource optimization ideas notes
C语言初阶-指针详解-庖丁解牛篇
MySQL Real combat 45 [SQL query and Update Execution Process]
[principles of multithreading and high concurrency: 1_cpu multi-level cache model]
Deep reinforcement learning for intelligent transportation systems: a survey paper reading notes
随机推荐
Last update time of all sqlserver tables
Segmentation fault occurs during VFORK execution
BigVision代码
Why does thread crash not cause JVM crash
Le processus de connexion mysql avec docker
分布式事务
用docker 连接mysql的过程
Process the dataset and use labelencoder to convert all IDs to start from 0
敏捷认证(Professional Scrum Master)模拟练习题
Vs 2019 configuration du moteur de génération de tensorrt
Andwhere multiple or query ORM conditions in yii2
Agile certification (professional scrum Master) simulation exercises
JS finds all the parent nodes or child nodes under a node according to the tree structure
Nasvit: neural architecture search of efficient visual converter with gradient conflict perception hypernetwork training
MySql实战45讲【索引】
Chart. JS multitooltip tag - chart js multiTooltip labels
I2C 子系統(四):I2C debug
Do you really understand relays?
模糊查詢時報錯Parameter index out of range (1 > number of parameters, which is 0)
Basic information of Promethus (I)