Skip to content

Commit 1c1d553

Browse files
SujeethJineshcopybara-github
authored andcommitted
Update Sidecar README.
PiperOrigin-RevId: 745873792
1 parent c269d19 commit 1c1d553

1 file changed

Lines changed: 5 additions & 10 deletions

File tree

pathwaysutils/sidecar/README.md

Lines changed: 5 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,7 @@ export JAX_VERSION=0.5.3
164164
docker build --build-arg JAX_VERSION=${JAX_VERSION} -t ${LOCAL_IMAGE_NAME} .
165165
```
166166

167-
Now you can upload the image to Google Artifact Registry.
167+
Now you can upload the image to Google Artifact Registry. If you do not have an Artifact Registry repository, please follow the instructions [here](https://cloud.google.com/artifact-registry/docs/repositories/create-repos) to create one.
168168

169169
```bash
170170
export REGION=us # Your Region
@@ -186,6 +186,8 @@ Modify your Kubernetes deployment YAML file to use your colocated python sidecar
186186

187187
For example, if using 2 v4-16 TPUs, use the following yaml. This example is modified from [pathways-job](https://github.com/google/pathways-job/blob/main/config/samples/colocated_python_example_pathwaysjob.yaml).
188188

189+
If you do not have an existing GCS Bucket, instructions to create one are [here](https://cloud.google.com/storage/docs/creating-buckets).
190+
189191
```yaml
190192
apiVersion: pathways-job.pathways.domain/v1
191193
kind: PathwaysJob
@@ -200,7 +202,7 @@ spec:
200202
- type: ct4p-hightpu-4t
201203
topology: 2x2x2
202204
numSlices: 2
203-
pathwaysDir: "gs://<test-bucket>/tmp" #This bucket needs to be created in advance.
205+
pathwaysDir: "gs://<test-bucket>/tmp" # This bucket needs to be created in advance.
204206
controller:
205207
# Pod template for training, default mode.
206208
deploymentMode: default
@@ -209,14 +211,7 @@ spec:
209211
spec:
210212
containers:
211213
- name: main
212-
env:
213-
- name: XCLOUD_ENVIRONMENT
214-
value: GCP
215-
- name: JAX_PLATFORMS
216-
value: proxy
217-
- name: JAX_BACKEND_TARGET
218-
value: grpc://pathways-colocatedpython-trial-pathways-head-0-0.pathways-colocatedpython-trial:29000
219-
image: python:3.13
214+
image: python:3.12
220215
imagePullPolicy: Always
221216
command:
222217
- /bin/sh

0 commit comments

Comments
 (0)