Skip to content

Commit ac3a2c1

Browse files
raytomatowangkuiyi
authored andcommitted
Use latest master image for colocated python sidecar.
GitOrigin-RevId: 9935b9f37b9ee79641762e4e38369c328f6679d0
1 parent 412ccca commit ac3a2c1

1 file changed

Lines changed: 5 additions & 2 deletions

File tree

axlearn/cloud/gcp/pathways_utils.py

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,9 @@
6767
_PATHWAYS_SERVER_IMAGE = (
6868
f"us-docker.pkg.dev/cloud-tpu-v2-images/pathways/server:{_PATHWAYS_IMAGE_TAG}"
6969
)
70+
# The colocated python sidecar is independent of the axlearn codebase.
71+
# No need to rebuild for every job launch.
72+
_COLOCATED_SIDECAR_IMAGE_TAG = "master-20260409"
7073

7174
# With Jax >= 0.8.2, colocated images are the same as the standard
7275
# TODO(samuel-andersen): Rewrite pathways_utils.py to remove references to
@@ -113,9 +116,9 @@
113116

114117

115118
def get_colocated_python_image(image_id: str) -> str:
116-
path, tag = image_id.rsplit(":", maxsplit=1)
119+
path, _ = image_id.rsplit(":", maxsplit=1)
117120
repo, _ = path.rsplit("/", maxsplit=1)
118-
return f"{repo}/{_COLOCATED_PYTHON_SIDECAR_NAME}:{tag}"
121+
return f"{repo}/{_COLOCATED_PYTHON_SIDECAR_NAME}:{_COLOCATED_SIDECAR_IMAGE_TAG}"
119122

120123

121124
def parse_xla_flag_value(value: str) -> Union[int, bool, str]:

0 commit comments

Comments
 (0)