Skip to content

Commit c7d7b00

Browse files
committed
Specify correct TF2 container tag
1 parent 392de0b commit c7d7b00

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

build.py

+2-6
Original file line numberDiff line numberDiff line change
@@ -348,12 +348,8 @@ def tensorflow_cmake_args(ver, images):
348348
if image_name in images:
349349
image = images[image_name]
350350
else:
351-
if ver == 2:
352-
image = 'nvcr.io/nvidia/tensorflow:{}-py3'.format(
353-
FLAGS.upstream_container_version)
354-
else:
355-
image = 'nvcr.io/nvidia/tensorflow:{}-tf{}-py3'.format(
356-
FLAGS.upstream_container_version, ver)
351+
image = 'nvcr.io/nvidia/tensorflow:{}-tf{}-py3'.format(
352+
FLAGS.upstream_container_version, ver)
357353
return [
358354
'-DTRITON_TENSORFLOW_VERSION={}'.format(ver),
359355
'-DTRITON_TENSORFLOW_DOCKER_IMAGE={}'.format(image)

0 commit comments

Comments
 (0)