Skip to content

Commit

Permalink
Pre-commit fix
Browse files Browse the repository at this point in the history
  • Loading branch information
kthui committed Dec 13, 2023
1 parent ef1546f commit d119601
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions build.py
Original file line number Diff line number Diff line change
Expand Up @@ -616,9 +616,7 @@ def pytorch_cmake_args(images):
if "pytorch" in images:
image = images["pytorch"]
else:
image = "nvcr.io/nvidia/pytorch:{}-py3".format(
FLAGS.upstream_container_version
)
image = "nvcr.io/nvidia/pytorch:{}-py3".format(FLAGS.upstream_container_version)
cargs = [
cmake_backend_arg("pytorch", "TRITON_PYTORCH_DOCKER_IMAGE", None, image),
]
Expand Down Expand Up @@ -651,7 +649,6 @@ def onnxruntime_cmake_args(images, library_paths):
)
)


if target_platform() == "windows":
if "base" in images:
cargs.append(
Expand Down Expand Up @@ -767,9 +764,7 @@ def tensorflow_cmake_args(images, library_paths):
FLAGS.upstream_container_version
)
extra_args = [
cmake_backend_arg(
backend_name, "TRITON_TENSORFLOW_DOCKER_IMAGE", None, image
)
cmake_backend_arg(backend_name, "TRITON_TENSORFLOW_DOCKER_IMAGE", None, image)
]
return extra_args

Expand Down

0 comments on commit d119601

Please sign in to comment.