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: tools/perf/README.md
+9Lines changed: 9 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -127,3 +127,12 @@ Eg:
127
127
--backends torch,torch_tensorrt,tensorrt \
128
128
--report "vgg_perf_bs1.txt"
129
129
```
130
+
131
+
### Example models
132
+
133
+
This tool benchmarks any pytorch model or torchscript module. As an example, we provide VGG16, Resnet50, EfficientNet-B0, VIT, HF-BERT models in `hub.py` that we internally test for performance.
134
+
The torchscript modules for these models can be generated by running
135
+
```
136
+
python hub.py
137
+
```
138
+
You can refer to `benchmark.sh` on how we run/benchmark these models.
0 commit comments