TRTorch v0.4.1 #651
narendasan
started this conversation in
Show and tell
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
TRTorch v0.4.1
Bug Fixes for Module Ignorelist for Partial Compilation,
trtorch.Device
, Version updates for PyTorch, TensorRT, cuDNNTarget Platform Changes
This is the first patch of TRTorch v0.4. It now targets by default PyTorch 1.9.1, TensorRT 8.0.3.4 and cuDNN 8.2.4.15 and CUDA 11.1. Older versions of PyTorch, TensorRT, cuDNN are still supported in the same manner as TRTorch v0.4.0
Module Ignorelist for Partial Compilation
There was an issue with the pass marking modules to be ignored during compilation where it unsafely assumed that methods are named
forward
all the way down the module tree. While this was fine for 1.8.0, with PyTorch 1.9.0, the TorchScript codegen changed slightly to sometimes use methods of other names for modules which reduce trivially to a functional api. This fix now will identify method calls as the recursion point and then use those method calls to select modules to recurse on. It will also check to verify existence of these modules and methods before recursing. Finally this pass was run by default even if the ignore list was empty causing issues for users not using the feature. Therefore this pass is now disabled unless explicitly enabledtrtorch.Device
Some of the constructors for
trtorch.Device
would not work or incorrectly configure the device. This patch will fix those issues.Dependencies
0.4.1 (2021-10-06)
Bug Fixes
Operators Supported
Operators Currently Supported Through Converters
Operators Currently Supported Through Evaluators
Device? device=None, bool? pin_memory=None) -> (Tensor)
Layout? layout=None, Device? device=None, bool? pin_memory=None) -> (Tensor)
Layout? layout=None, Device? device=None, bool? pin_memory=None) -> (Tensor)
This discussion was created from the release TRTorch v0.4.1.
Beta Was this translation helpful? Give feedback.
All reactions