Skip to content

Commit 4b5fe2c

Browse files
Rayan Dasoriyacopybara-github
authored andcommitted
Upgrade google-cloud-aiplatform version
PiperOrigin-RevId: 773655271
1 parent 92e0c1b commit 4b5fe2c

39 files changed

Lines changed: 48 additions & 42 deletions

File tree

notebooks/community/model_garden/gke_model_ui_deployment_notebook_auto.ipynb

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
{
44
"cell_type": "code",
55
"execution_count": null,
6+
"id": "Pr9TgOcV9vAXeqGiyTaTI5kS",
67
"metadata": {
78
"cellView": "form",
89
"id": "Pr9TgOcV9vAXeqGiyTaTI5kS"
@@ -26,6 +27,7 @@
2627
},
2728
{
2829
"cell_type": "markdown",
30+
"id": "M1CpgYundFwz",
2931
"metadata": {
3032
"id": "M1CpgYundFwz"
3133
},
@@ -48,6 +50,7 @@
4850
},
4951
{
5052
"cell_type": "markdown",
53+
"id": "t2jj2XOgkS4F",
5154
"metadata": {
5255
"id": "t2jj2XOgkS4F"
5356
},
@@ -121,6 +124,7 @@
121124
{
122125
"cell_type": "code",
123126
"execution_count": null,
127+
"id": "XMf-T58TkDy1",
124128
"metadata": {
125129
"cellView": "form",
126130
"id": "XMf-T58TkDy1"
@@ -151,6 +155,7 @@
151155
{
152156
"cell_type": "code",
153157
"execution_count": null,
158+
"id": "IKGTaN84p8rX",
154159
"metadata": {
155160
"cellView": "form",
156161
"id": "IKGTaN84p8rX"
@@ -278,7 +283,7 @@
278283
" f\"kubectl exec -n {namespace} -t {pod_name} -- curl -s -X POST\"\n",
279284
" f' http://localhost:{pod_port}/generate -H \"Content-Type:'\n",
280285
" ' application/json\"'\n",
281-
" f\" -d '{json_data_escaped}' 2\u003e /dev/null\"\n",
286+
" f\" -d '{json_data_escaped}' 2> /dev/null\"\n",
282287
" )\n",
283288
"\n",
284289
" response_raw = _run_kubectl([\"bash\", \"-c\", curl_cmd])\n",
@@ -396,6 +401,7 @@
396401
},
397402
{
398403
"cell_type": "markdown",
404+
"id": "5b6ZM2K3fux0",
399405
"metadata": {
400406
"id": "5b6ZM2K3fux0"
401407
},
@@ -469,7 +475,7 @@
469475
"metadata": {
470476
"colab": {
471477
"name": "gke_model_ui_deployment_notebook_auto.ipynb",
472-
"provenance": []
478+
"toc_visible": true
473479
},
474480
"kernelspec": {
475481
"display_name": "Python 3",

notebooks/community/model_garden/model_garden_advanced_features.ipynb

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
"cell_type": "markdown",
3030
"id": "99c1c3fc2ca5",
3131
"metadata": {
32-
"id": "778cc1227be8"
32+
"id": "71a642b5575a"
3333
},
3434
"source": [
3535
"# Vertex AI Model Garden - Advanced Features\n",
@@ -120,7 +120,7 @@
120120
"id": "L3dqbxovo5t6",
121121
"metadata": {
122122
"cellView": "form",
123-
"id": "2b585189a670"
123+
"id": "86a3d4d4d3f5"
124124
},
125125
"outputs": [],
126126
"source": [
@@ -148,7 +148,7 @@
148148
"# Install and import the necessary packages\n",
149149
"! pip install -q openai google-auth requests\n",
150150
"\n",
151-
"! pip3 install --upgrade --quiet 'google-cloud-aiplatform>=1.93.1'\n",
151+
"! pip3 install --upgrade --quiet 'google-cloud-aiplatform>=1.97.0'\n",
152152
"\n",
153153
"! git clone https://github.com/GoogleCloudPlatform/vertex-ai-samples.git\n",
154154
"\n",

notebooks/community/model_garden/model_garden_axolotl_finetuning.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -231,7 +231,7 @@
231231
"import yaml\n",
232232
"from google.cloud import aiplatform\n",
233233
"\n",
234-
"! pip3 install --upgrade --quiet 'google-cloud-aiplatform>=1.93.1'\n",
234+
"! pip3 install --upgrade --quiet 'google-cloud-aiplatform>=1.97.0'\n",
235235
"\n",
236236
"common_util = importlib.import_module(\n",
237237
" \"vertex-ai-samples.community-content.vertex_model_garden.model_oss.notebook_util.common_util\"\n",

notebooks/community/model_garden/model_garden_axolotl_qwen3_finetuning.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -226,7 +226,7 @@
226226
"# @title Import utility packages for fine-tuning\n",
227227
"\n",
228228
"# Upgrade Vertex AI SDK.\n",
229-
"! pip3 install --upgrade --quiet 'google-cloud-aiplatform==1.93.1'\n",
229+
"! pip3 install --upgrade --quiet 'google-cloud-aiplatform==1.97.0'\n",
230230
"\n",
231231
"# Import the necessary packages.\n",
232232
"! rm -rf vertex-ai-samples && git clone https://github.com/GoogleCloudPlatform/vertex-ai-samples.git\n",

notebooks/community/model_garden/model_garden_deployment_tutorial.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@
107107
"# @markdown | a3-highgpu-8g | 8 NVIDIA_H100_80GB | us-central1, europe-west4, us-west1, asia-southeast1 |\n",
108108
"\n",
109109
"# Upgrade Vertex AI SDK.\n",
110-
"! pip3 install --upgrade --quiet 'google-cloud-aiplatform==1.93.1'\n",
110+
"! pip3 install --upgrade --quiet 'google-cloud-aiplatform==1.97.0'\n",
111111
"\n",
112112
"# Import the necessary packages\n",
113113
"import os\n",

notebooks/community/model_garden/model_garden_e5.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@
125125
"# Import the necessary packages\n",
126126
"\n",
127127
"# Upgrade Vertex AI SDK.\n",
128-
"! pip3 install --upgrade --quiet 'google-cloud-aiplatform==1.93.1'\n",
128+
"! pip3 install --upgrade --quiet 'google-cloud-aiplatform==1.97.0'\n",
129129
"! pip3 install --quiet torchvision\n",
130130
"\n",
131131
"import importlib\n",

notebooks/community/model_garden/model_garden_gemma2_deployment_on_vertex.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@
133133
"# @markdown | a3-highgpu-8g | 8 NVIDIA_H100_80GB | us-central1, europe-west4, us-west1, asia-southeast1 |\n",
134134
"\n",
135135
"# Upgrade Vertex AI SDK.\n",
136-
"! pip3 install --upgrade --quiet 'google-cloud-aiplatform==1.93.1'\n",
136+
"! pip3 install --upgrade --quiet 'google-cloud-aiplatform==1.97.0'\n",
137137
"\n",
138138
"import importlib\n",
139139
"import os\n",

notebooks/community/model_garden/model_garden_gemma3_deployment_on_vertex.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@
116116
"# @markdown | a3-highgpu-8g | 8 NVIDIA_H100_80GB | us-central1, europe-west4, us-west1, asia-southeast1 |\n",
117117
"\n",
118118
"# Upgrade Vertex AI SDK.\n",
119-
"! pip3 install --upgrade --quiet 'google-cloud-aiplatform==1.93.1'\n",
119+
"! pip3 install --upgrade --quiet 'google-cloud-aiplatform==1.97.0'\n",
120120
"\n",
121121
"# Import the necessary packages\n",
122122
"import importlib\n",

notebooks/community/model_garden/model_garden_hf_paligemma2_deployment.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@
118118
"# @markdown | a3-highgpu-8g | 8 NVIDIA_H100_80GB | us-central1, europe-west4, us-west1, asia-southeast1 |\n",
119119
"\n",
120120
"# Upgrade Vertex AI SDK.\n",
121-
"! pip3 install --upgrade --quiet 'google-cloud-aiplatform==1.93.1'\n",
121+
"! pip3 install --upgrade --quiet 'google-cloud-aiplatform==1.97.0'\n",
122122
"\n",
123123
"import importlib\n",
124124
"# Import the necessary packages\n",

notebooks/community/model_garden/model_garden_huggingface_tei_deployment.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@
106106
"\n",
107107
"REGION = \"\" # @param {type:\"string\"}\n",
108108
"\n",
109-
"! pip3 install --upgrade --quiet 'google-cloud-aiplatform==1.93.1'\n",
109+
"! pip3 install --upgrade --quiet 'google-cloud-aiplatform==1.97.0'\n",
110110
"! git clone https://github.com/GoogleCloudPlatform/vertex-ai-samples.git\n",
111111
"\n",
112112
"import importlib\n",

0 commit comments

Comments
 (0)