TensorRT icon indicating copy to clipboard operation
TensorRT copied to clipboard

PyTorch/TorchScript/FX compiler for NVIDIA GPUs using TensorRT

Results 599 TensorRT issues
Sort by recently updated
recently updated
newest added

## โ“ Question ## What you have already tried ## Environment > Build information about Torch-TensorRT can be found by turning on debug messages - PyTorch Version (e.g., 1.0): -...

question

## Bug Description AttributeError: module \'torch_tensorrt\' has no attribute \'set_device\' ## To Reproduce ``` >>> import torch_tensorrt >>> torch_tensorrt.set_device(0) Traceback (most recent call last): File "", line 1, in AttributeError:...

bug

## Bug Description The input and src tensor can be on cpu but the index tensor is being casted to gpu:0 and this results in src and index tensor are...

bug

## Bug Description SDv1.5 generate black image with torch_tensorrt compile log on cmd: Lib\site-packages\diffusers\image_processor.py:97: RuntimeWarning: invalid value encountered in cast images = (images * 255).round().astype("uint8") Potential NSFW content was detected...

bug
bug: triaged [not a bug]

## โ“ Question I'm trying to compile a model with dynamic input shape but told that the `function torch._ops.aten.aten::_to_copy` is not currently supported: ```Traceback (most recent call last): File "/home/wh/generative_action/SynHSI/test_module.py",...

question

## Bug Description I met a bug when I use torch-tensorrt to quantize a YOLOv6 model into fp8_e4m3. I use the code in [vgg_fp8_code](https://github.com/pytorch/TensorRT/blob/main/examples/dynamo/vgg16_fp8_ptq.py) , but I met the bug...

bug

# 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....

component: api [Python]
component: runtime
cla signed
component: dynamo

## Bug Description ## To Reproduce The code comes from the official documentation๏ผš https://pytorch.org/TensorRT/user_guide/dynamic_shapes.html#custom-dynamic-shape-constraints ```python import torch import torch_tensorrt class MatMul(torch.nn.Module): def __init__(self): super().__init__() def forward(self, query, key): attn_weight =...

bug

## โ“ Question How do you save a unet model compiled Torch-TensorRT from Stable Diffusion XL? ## What you have already tried I've tried following the compilation instructions from the...

question

## Bug Description Stable Diffusion 1.5 fails to be compiled correctly using dynamo.compile. In early June (when I opened refitter-support branch), SD 1.5 could compile correctly, but after I did...

bug