Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions python/tvm/relay/op/contrib/tensorrt.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,10 +38,10 @@ def is_supported_trt_dtype(args):
ret: bool
True if supported, False if not.
"""
if any([x.checked_type.dtype in supported_types for x in args]):
if not all([x.checked_type.dtype in supported_types for x in args]):
logger.info("Only float32 and float16 inputs are supported for TensorRT BYOC.")
return True
return False
return False
return True


def is_tensorrt_runtime_enabled():
Expand Down