TensorRT
TensorRT copied to clipboard
PyTorch/TorchScript/FX compiler for NVIDIA GPUs using TensorRT
# Description Please include a summary of the change and which issue is fixed. Please also include relevant motivation and context. List any dependencies that are required for this change....
Adds a heuristic to torch-trt partitioning's segmentation to avoid materializing segments until we hit a dependency of that segment. This can significantly reduce the number of segments/engines in cases where...
## ❓ Question ## What you have already tried Hi, I am using the following to export a torch scripted model to Fp16 tensorrt which will then be used in...
**Is your feature request related to a problem? Please describe.** Currently Torch-TensorRT is relying on Partitioning to support Tuple/List grouped inputs, which means for some models with Tuple/List input/output, they...
Add a section to `_compiler.py` that wraps ScriptFunctions in Modules to compile the graph.
**Is your feature request related to a problem? Please describe.** I can't supply compile spec to trtorchc now. **Describe the solution you'd like** **Describe alternatives you've considered** **Additional context**
**Is your feature request related to a problem? Please describe.** A program can not be compiled with the "torch.inverse" operation.  **Describe the solution you'd like** Could you release this...
## Bug Description ERROR: [Torch-TensorRT] - Method requested cannot be compiled by Torch-TensorRT.TorchScript. Unsupported operators listed below: - aten::lstm.input(Tensor input, Tensor[] hx, Tensor[] params, bool has_biases, int num_layers, float dropout,...
## Bug Description Compiling model fails if `nn.PReLU` is used. It works fine with `nn.ReLU`. ## To Reproduce Just run this code ```python from torch import nn as nn from...
**Is your feature request related to a problem? Please describe.** Not related to a problem **Describe the solution you'd like** I have a model that has a Bilinear layer and...