Skip to content

Commit 065fa1a

Browse files
Fix Pydantic validation error for Vertex Tensorboard args
1 parent ac74931 commit 065fa1a

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

src/MaxText/configs/types.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Copyright 2023–2025 Google LLC
2-
#
2+
33
# Licensed under the Apache License, Version 2.0 (the "License");
44
# you may not use this file except in compliance with the License.
55
# You may obtain a copy of the License at
@@ -1302,8 +1302,8 @@ class Tensorboard(BaseModel):
13021302

13031303
enable_tensorboard: bool = Field(True, description="Enable Tensorboard logging.")
13041304
use_vertex_tensorboard: bool = Field(False, description="Set to True for GCE, False if running via XPK.")
1305-
vertex_tensorboard_project: str = Field("", description="GCP project for Vertex AI Tensorboard.")
1306-
vertex_tensorboard_region: str = Field("", description="Region for Vertex AI Tensorboard.")
1305+
vertex_tensorboard_project: Optional[str] = Field("", description="GCP project for Vertex AI Tensorboard.")
1306+
vertex_tensorboard_region: Optional[str] = Field("", description="Region for Vertex AI Tensorboard.")
13071307

13081308

13091309
class MultimodalGeneral(BaseModel):

0 commit comments

Comments
 (0)