Skip to content

Commit 5662ce1

Browse files
committed
Fix upsample converter not properly registered
1 parent 7f14221 commit 5662ce1

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
@@ -2509,6 +2509,7 @@ def aten_ops_pad(
25092509
)
25102510

25112511

2512+
@dynamo_tensorrt_converter(torch.ops.aten.upsample_nearest2d.default)
25122513
@dynamo_tensorrt_converter(torch.ops.aten.upsample_nearest2d.vec)
25132514
def upsample_nearest2d(
25142515
ctx: ConversionContext,
@@ -2530,6 +2531,7 @@ def upsample_nearest2d(
25302531
)
25312532

25322533

2534+
@dynamo_tensorrt_converter(torch.ops.aten.upsample_bilinear2d.default)
25332535
@dynamo_tensorrt_converter(torch.ops.aten.upsample_bilinear2d.vec)
25342536
def upsample_bilinear2d(
25352537
ctx: ConversionContext,

0 commit comments

Comments
 (0)