Skip to content

Commit

Permalink
Specify correct TF2 container tag
Browse files Browse the repository at this point in the history
  • Loading branch information
dzier committed Feb 27, 2021
1 parent 392de0b commit c7d7b00
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions build.py
Original file line number Diff line number Diff line change
Expand Up @@ -348,12 +348,8 @@ def tensorflow_cmake_args(ver, images):
if image_name in images:
image = images[image_name]
else:
if ver == 2:
image = 'nvcr.io/nvidia/tensorflow:{}-py3'.format(
FLAGS.upstream_container_version)
else:
image = 'nvcr.io/nvidia/tensorflow:{}-tf{}-py3'.format(
FLAGS.upstream_container_version, ver)
image = 'nvcr.io/nvidia/tensorflow:{}-tf{}-py3'.format(
FLAGS.upstream_container_version, ver)
return [
'-DTRITON_TENSORFLOW_VERSION={}'.format(ver),
'-DTRITON_TENSORFLOW_DOCKER_IMAGE={}'.format(image)
Expand Down

0 comments on commit c7d7b00

Please sign in to comment.