Skip to content

Commit 67fa1f1

Browse files
authored
docs: Update references to containers and notebook samples. (#890)
fixes #838 #678
1 parent 578e06d commit 67fa1f1

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

README.rst

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ Overview
8080
~~~~~~~~
8181
This section provides a brief overview of the Vertex SDK for Python. You can also reference the notebooks in `vertex-ai-samples`_ for examples.
8282

83-
.. _vertex-ai-samples: https://github.com/GoogleCloudPlatform/ai-platform-samples/tree/master/ai-platform-unified/notebooks/unofficial/sdk
83+
.. _vertex-ai-samples: https://github.com/GoogleCloudPlatform/vertex-ai-samples/tree/main/notebooks/community/sdk
8484

8585
Importing
8686
^^^^^^^^^
@@ -201,9 +201,9 @@ It must write the model artifact to the environment variable populated by the tr
201201
job = aiplatform.CustomTrainingJob(
202202
display_name="my-training-job",
203203
script_path="training_script.py",
204-
container_uri="gcr.io/cloud-aiplatform/training/tf-cpu.2-2:latest",
204+
container_uri="us-docker.pkg.dev/vertex-ai/training/tf-cpu.2-2:latest",
205205
requirements=["gcsfs==0.7.1"],
206-
model_serving_container_image_uri="gcr.io/cloud-aiplatform/prediction/tf2-cpu.2-2:latest",
206+
model_serving_container_image_uri="us-docker.pkg.dev/vertex-ai/prediction/tf2-cpu.2-2:latest",
207207
)
208208
209209
model = job.run(my_dataset,
@@ -266,7 +266,7 @@ To upload a model:
266266
model = aiplatform.Model.upload(
267267
display_name='my-model',
268268
artifact_uri="gs://python/to/my/model/dir",
269-
serving_container_image_uri="gcr.io/cloud-aiplatform/prediction/tf2-cpu.2-2:latest",
269+
serving_container_image_uri="us-docker.pkg.dev/vertex-ai/prediction/tf2-cpu.2-2:latest",
270270
)
271271
272272
To get a model:

0 commit comments

Comments
 (0)