HolyWu

Results 9 issues of HolyWu

In https://github.com/xinntao/Real-ESRGAN/blob/master/docs/anime_video_model.md it says `This model can also be used for X1, X2, X3`. But simply changing the upscale argument of SRVGGNetCompact from 4 to 1, 2 or 3 will...

## Bug Description ``` DEBUG:torch_tensorrt.dynamo._compiler:Input graph: graph(): %linear_weight : [num_users=1] = get_attr[target=linear.weight] %linear_bias : [num_users=1] = get_attr[target=linear.bias] %x : [num_users=1] = placeholder[target=x] %view : [num_users=1] = call_function[target=torch.ops.aten.view.default](args = (%x, [2,...

bug

# Description - Add missing resize modes. - Fix `align_corners` handling. - Remove ops from `torch_enabled_decompositions`. Unfortunately the converter still won't be in use due to decomposition in PyTorch. See...

component: tests
component: lowering
component: conversion
component: converters
component: api [Python]
cla signed
component: dynamo

## Bug Description It works fine with static-shaped model, but fails to load with dynamic-shaped one. ``` DEBUG:torch_tensorrt.dynamo._compiler:Input graph: graph(): %arg0_1 : [num_users=1] = placeholder[target=arg0_1] %relu : [num_users=1] = call_function[target=torch.ops.aten.relu.default](args...

bug

# Description The last removed `aten.var_mean` doesn't have a converter, but it's a duplicate in the list, so I remove it as well. Partially #2665 ## Type of change -...

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

1. The [Resize](https://docs.nvidia.com/deeplearning/tensorrt/api/python_api/infer/Graph/Layers.html#iresizelayer) layer supports `NEAREST, LINEAR, CUBIC` resize modes, but only `NEAREST` and `LINEAR` are implemented. https://github.com/pytorch/TensorRT/blob/ad74a735056667726692c49a175a790647ef889e/py/torch_tensorrt/dynamo/conversion/impl/upsample.py#L36-L47 2. The `LINEAR` resize mode supports `linear (1D), bilinear (2D), trilinear (3D)`...

bug

## ❓ Question From the debug log below, it seems that the `aten.grid_sampler_2d` operator gets decomposed into several lower-level operators. But isn't there a corresponding [converter](https://github.com/pytorch/TensorRT/blob/9a100b6414bee175040bcaa275ecb71df54836e4/py/torch_tensorrt/dynamo/conversion/aten_ops_converters.py#L333-L358) which should be used?...

question

# Description Fix and enable C++ runtime on Windows. Fixes #2247 Fixes #2371 Fixes #2484 ## Type of change - New feature (non-breaking change which adds functionality) # Checklist: -...

component: tests
component: build system
component: api [Python]
cla signed
ciflow/binaries/all