You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/guides/applications/big-data/ai-inferencing-with-tensorrt-and-pytorch/index.md
+10-10Lines changed: 10 additions & 10 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -148,17 +148,17 @@ Set up and use a Python Virtual Environment (venv) so that you can isolate Pytho
148
148
149
149
### Install PyTorch and TensorRT
150
150
151
-
1. While using your virtual environment, install PyTorch, TensorRT, and dependencies. These are the primary AI libraries needed to run your inference workloads.
151
+
While using your virtual environment, install PyTorch, TensorRT, and dependencies. These are the primary AI libraries needed to run your inference workloads.
## Create a Benchmark Using the ResNet50 Inference Model
161
+
## Test and Benchmark the ResNet50 Inference Model
162
162
163
163
Create and run a Python script using a pre-trained ResNet50 computer vision model. Running this script tests to make sure the environment is configured correctly while providing a way to evaluate GPU performance using a real-world example. This example script is a foundation that can be adapted for other inference model architectures.
164
164
@@ -236,7 +236,7 @@ Create and run a Python script using a pre-trained ResNet50 computer vision mode
236
236
Average inference time: 0.0025 seconds
237
237
```
238
238
239
-
We recommend timing how long it takes to run the model 20 times, and then divide by 20 to get the average time per inference. This should give you an idea of how quickly your GPU can process input using this model.
239
+
It is recommended to time how long it takes to run the model 20 times, and then divide by 20 to get the average time per inference. This should give you an idea of how quickly your GPU can process input using this model.
0 commit comments