-
Notifications
You must be signed in to change notification settings - Fork 363
Add SSD - TRTorch demo #165
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Signed-off-by: Shashank Verma <[email protected]>
- Change adds a TRTorch demo notebook for SSD Objection Detection model. - Observing ~100x speedup with TRTorch/TRT as compared to without it, as tested on a Tesla V100 32GB Signed-off-by: Shashank Verma <[email protected]>
- Renames the SSD TRTorch demo - Cleans up the parent directory Signed-off-by: Shashank Verma <[email protected]>
- Fixes broken link for lenet notebook - Adds link for ssd demo notebook Signed-off-by: Shashank Verma <[email protected]>
57321e1
to
ea10df5
Compare
Change adds the ssd demo notebook in index.rst so it is added to the TRTorch website as well. Signed-off-by: Shashank Verma <[email protected]>
f6b88e4
to
e07c121
Compare
Thanks. |
- Increases the number of iterations to run the benchmark for. - Adds batch average time calculation for traced Torchscript model. - Fixes minor typo Signed-off-by: Shashank Verma <[email protected]>
- Module needs to compile with the same batch-size it is intended to be used with - Change also addresses review comments Signed-off-by: Shashank Verma <[email protected]>
Change does the following: - Compile the module with the same batch-size it is intended to be tested on - Earlier, the Torchscript compile TS traced module was getting evaluated in place of script module. Change fixes this. Signed-off-by: Shashank Verma <[email protected]>
@narendasan I addressed the above review comments in the latest commit. Does it look good to go? |
Added visualization of pre-TRTorch results as well. This will enable performance comparision too in addition to speedup. Signed-off-by: Shashank Verma <[email protected]>
Have you hit an error importing the trtorch package in the jupyter notebook? for some reason I get errors specifically in Jupyter but can run the program outside it? |
- ave --> avg - Notebook was run on a V100-16GB Signed-off-by: Shashank Verma <[email protected]>
e7076f9
to
ddef6f8
Compare
|
I was able to run this notebook end to end with the following sequence:
LGTM! |
Cool, I was able to run it, not sure what the issue was |
Description
Adds a TRTorch demo notebook for SSD300 Objection Detection model.
It includes inference speedup comparison between models with/without
TRTorch-TRT.
Type of change
Checklist:
make html
in docsrc)