File tree Expand file tree Collapse file tree 1 file changed +9
-6
lines changed Expand file tree Collapse file tree 1 file changed +9
-6
lines changed Original file line number Diff line number Diff line change @@ -670,13 +670,16 @@ def onnxruntime_cmake_args(images, library_paths):
670670 ]
671671
672672 # TRITON_ENABLE_GPU is already set for all backends in backend_cmake_args()
673- # TODO: TPRD-334 TensorRT extension is not currently supported by our manylinux build
674- if FLAGS .enable_gpu and target_platform () != "rhel" :
675- cargs .append (
676- cmake_backend_enable (
677- "onnxruntime" , "TRITON_ENABLE_ONNXRUNTIME_TENSORRT" , True
673+ if FLAGS .enable_gpu :
674+ # TODO: TPRD-712 TensorRT is not currently supported by our RHEL build for SBSA.
675+ if target_platform () != "rhel" or (
676+ target_platform () == "rhel" and target_machine () == "x86_64"
677+ ):
678+ cargs .append (
679+ cmake_backend_enable (
680+ "onnxruntime" , "TRITON_ENABLE_ONNXRUNTIME_TENSORRT" , True
681+ )
678682 )
679- )
680683
681684 if target_platform () == "windows" :
682685 if "base" in images :
You can’t perform that action at this time.
0 commit comments