Skip to content

Commit a2e51ff

Browse files
committed
test
1 parent 48af4fd commit a2e51ff

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

py/torch_tensorrt/dynamo/runtime/_TorchTensorRTModule.py

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -325,12 +325,6 @@ def forward(self, *inputs: Any) -> torch.Tensor | Tuple[torch.Tensor, ...]:
325325
for i in inputs
326326
]
327327

328-
for input_tensor in input_tensors:
329-
if not isinstance(input_tensor, torch.Tensor):
330-
raise ValueError(
331-
f"lan added Unsupported input type: {type(input_tensor)}"
332-
)
333-
334328
outputs: List[torch.Tensor] = torch.ops.tensorrt.execute_engine(
335329
list(input_tensors), self.engine
336330
)

0 commit comments

Comments
 (0)