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
13 changes: 6 additions & 7 deletions build.py
Original file line number Diff line number Diff line change
Expand Up @@ -711,7 +711,7 @@ def onnxruntime_cmake_args(images, library_paths):
"onnxruntime",
"TRITON_BUILD_CONTAINER_VERSION",
None,
FLAGS.triton_container_version,
FLAGS.upstream_container_version,
)
)

Expand Down Expand Up @@ -2880,12 +2880,11 @@ def enable_all():
# backends, repo-agents, and caches if a repo-tag is not given
# explicitly. For release branches we use the release branch as
# the default, otherwise we use 'main'.
default_repo_tag = "main"
cver = FLAGS.upstream_container_version
if cver is None:
cver = FLAGS.triton_container_version
if not cver.endswith("dev"):
default_repo_tag = "r" + cver
default_repo_tag = (
"main"
if FLAGS.triton_container_version.endswith("dev")
else "r" + FLAGS.triton_container_version
)
log("default repo-tag: {}".format(default_repo_tag))

# For other versions use the TRITON_VERSION_MAP unless explicitly
Expand Down
Loading