Skip to content

Commit d8ffb5c

Browse files
author
maxtext authors
committed
Merge pull request #1332 from AI-Hypercomputer:fix-vertex-ai-doc
PiperOrigin-RevId: 733367844
2 parents 61b5875 + ef0023c commit d8ffb5c

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

benchmarks/recipes/pw_long_running_recipe.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ def main() -> int:
9797
# flags or changes to the model config.
9898
model.tuning_params["use_vertex_tensorboard"] = True
9999
model.tuning_params["vertex_tensorboard_project"] = PROJECT
100-
model.tuning_params["vertex_tensorboard_location"] = REGION
100+
model.tuning_params["vertex_tensorboard_region"] = REGION
101101

102102
# Run workloads in the following slice configurations
103103
for num_slices in num_slices_list:

benchmarks/recipes/pw_mcjax_benchmark_recipe.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ def main() -> int:
107107
# flags or changes to the model config.
108108
model.tuning_params["use_vertex_tensorboard"] = True
109109
model.tuning_params["vertex_tensorboard_project"] = PROJECT
110-
model.tuning_params["vertex_tensorboard_location"] = REGION
110+
model.tuning_params["vertex_tensorboard_region"] = REGION
111111

112112
# Run workloads in the following slice configurations
113113
for num_slices in num_slices_list:

getting_started/Use_Vertex_AI_Tensorboard.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ Set `use_vertex_tensorboard=True` to upload logs in `config.tensorboard_dir` to
4646
run_name: "test-run"
4747
use_vertex_tensorboard: True
4848
vertex_tensorboard_project: "test-project" # or vertex_tensorboard_project: ""
49-
vertex_tensorboard_location: "us-central1"
49+
vertex_tensorboard_region: "us-central1"
5050
```
5151
The above configuration will try to create a Vertex AI Tensorboard instance named `test-project-tb-instance` and a Vertex AI Experiment named `test-run` in the `us-central1` region of `test-project`. If you set `vertex_tensorboard_project=""`, then the default project (`gcloud config get project`) set on the VM will be used to create the Vertex AI resources. It will only create these resources if they do not already exist. Also, the logs in `config.tensorboard_dir` will be uploaded to `test-project-tb-instance` Tensorboard instance and `test-run` Experiment in Vertex AI.
5252

@@ -56,5 +56,5 @@ The following configuration will not upload any log data collected in `config.te
5656
```
5757
use_vertex_tensorboard: False
5858
vertex_tensorboard_project: ""
59-
vertex_tensorboard_location: ""
59+
vertex_tensorboard_region: ""
6060
```

0 commit comments

Comments
 (0)