Skip to content

Commit 6f3c5a4

Browse files
Fix model_config_path in pyconfig.py.
PiperOrigin-RevId: 897298939
1 parent b659081 commit 6f3c5a4

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/maxtext/configs/pyconfig.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -321,7 +321,7 @@ def initialize_pydantic(argv: list[str], **kwargs) -> MaxTextConfig:
321321
if not os.path.isfile(model_config_path):
322322
# Fallback to the default location within package
323323
dir_path = os.path.dirname(os.path.realpath(__file__))
324-
model_config_path = os.path.join(dir_path, "configs", "models", f"{model_name}.yml")
324+
model_config_path = os.path.join(dir_path, "models", f"{model_name}.yml")
325325

326326
if os.path.exists(model_config_path):
327327
model_loaded_cfg = omegaconf.OmegaConf.load(model_config_path)

0 commit comments

Comments
 (0)