Skip to content
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

support torch2trt() conversion for TensorRt 8.0; #581

Open
wants to merge 13 commits into
base: master
Choose a base branch
from

Conversation

aRibra
Copy link

@aRibra aRibra commented Jun 30, 2021

  • support torch2trt() conversion for TensorRT 8.0;
  • fix unit tests for TensorRT 8.0;
  • fixed Warning: Encountered known unsupported method torch.Tensor.__imod__ when using imod [ x %= y ];
  • fix tensorrt 8.0 api incompatibility in convert_interpolate_trt8() for choosing resize type trt.ResizeCoordinateTransformation.ALIGN_CORNERS.

Unit tests output

NUM_TESTS: 313
NUM_SUCCESSFUL_CONVERSION: 313
NUM_FAILED_CONVERSION: 0
NUM_ABOVE_TOLERANCE: 1

System info

PyTorch 1.9.0+cu111
Cuda 11.1
TensorRT 8.0.0.3
Platform Ubuntu 18.04.1 kernel 5.4.0-77-generic
GPU RTX 3090

@aRibra
Copy link
Author

aRibra commented Jul 14, 2021

Update

Unit tests output after commit 1886d25

NUM_TESTS: 313
NUM_SUCCESSFUL_CONVERSION: 313
NUM_FAILED_CONVERSION: 0
NUM_ABOVE_TOLERANCE: 1

@jaybdub jaybdub mentioned this pull request Jul 19, 2021
@aRibra
Copy link
Author

aRibra commented Sep 20, 2021

Commit 4d4cb7e
Applied changes from chitoku@8b9fb46

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.

None yet

2 participants