Skip to content

Add Resnet50 - TRTorch demo #168

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

Merged
merged 8 commits into from
Aug 26, 2020
Merged

Add Resnet50 - TRTorch demo #168

merged 8 commits into from
Aug 26, 2020

Conversation

mengdih
Copy link
Contributor

@mengdih mengdih commented Aug 9, 2020

Description

Adds a TRTorch demo notebook for ResNet-50 model.
It includes inference speedup comparison between models with/without
TRTorch-TRT.

Type of change

  • New feature (non-breaking change which adds functionality)
  • This change requires a documentation update

Checklist:

  • My code follows the style guidelines of this project
  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas and hacks
  • I have made corresponding changes to the documentation and have regenerated the documentation (make html in docsrc)
  • I have added tests to verify my fix or my feature
  • New and existing unit tests pass locally with my changes

mengdih and others added 3 commits August 7, 2020 15:59
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
Copy link
Collaborator

Seems like there is a duplicate empty file.

@narendasan
Copy link
Collaborator

LGTM!

@narendasan narendasan merged commit d06108f into pytorch:master Aug 26, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants