Skip to content

Commit 6ea06d9

Browse files
HolyWuperi044
authored andcommitted
Fix upsample converter not properly registered (#2683)
1 parent 2f8937f commit 6ea06d9

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2639,6 +2639,7 @@ def aten_ops_pad(
26392639
)
26402640

26412641

2642+
@dynamo_tensorrt_converter(torch.ops.aten.upsample_nearest2d.default)
26422643
@dynamo_tensorrt_converter(torch.ops.aten.upsample_nearest2d.vec)
26432644
def upsample_nearest2d(
26442645
ctx: ConversionContext,
@@ -2660,6 +2661,7 @@ def upsample_nearest2d(
26602661
)
26612662

26622663

2664+
@dynamo_tensorrt_converter(torch.ops.aten.upsample_bilinear2d.default)
26632665
@dynamo_tensorrt_converter(torch.ops.aten.upsample_bilinear2d.vec)
26642666
def upsample_bilinear2d(
26652667
ctx: ConversionContext,

0 commit comments

Comments
 (0)