Skip to content

Commit dde535e

Browse files
authored
Fix upsample converter not properly registered (#2683)
1 parent a428269 commit dde535e

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

py/torch_tensorrt/dynamo/conversion/aten_ops_converters.py

+2
Original file line numberDiff line numberDiff line change
@@ -2623,6 +2623,7 @@ def aten_ops_pad(
26232623
)
26242624

26252625

2626+
@dynamo_tensorrt_converter(torch.ops.aten.upsample_nearest2d.default)
26262627
@dynamo_tensorrt_converter(torch.ops.aten.upsample_nearest2d.vec)
26272628
def upsample_nearest2d(
26282629
ctx: ConversionContext,
@@ -2644,6 +2645,7 @@ def upsample_nearest2d(
26442645
)
26452646

26462647

2648+
@dynamo_tensorrt_converter(torch.ops.aten.upsample_bilinear2d.default)
26472649
@dynamo_tensorrt_converter(torch.ops.aten.upsample_bilinear2d.vec)
26482650
def upsample_bilinear2d(
26492651
ctx: ConversionContext,

0 commit comments

Comments
 (0)