Skip to content

Commit 8204907

Browse files
Merge pull request #2990 from AI-Hypercomputer:mattdavidow_log_config_once
PiperOrigin-RevId: 859657642
2 parents 40b8f0c + ea71ea5 commit 8204907

1 file changed

Lines changed: 0 additions & 6 deletions

File tree

src/MaxText/pyconfig.py

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -201,12 +201,6 @@ def initialize(argv: list[str], **kwargs) -> HyperParameters:
201201
"""Initializes the configuration by loading YAML files, and applying CLI, env, and kwarg overrides."""
202202
pydantic_config = initialize_pydantic(argv, **kwargs)
203203
config = HyperParameters(pydantic_config)
204-
205-
if config.log_config:
206-
for k, v in sorted(config.get_keys().items()):
207-
if k != "hf_access_token":
208-
logger.info("Config param %s: %s", k, v)
209-
210204
return config
211205

212206

0 commit comments

Comments
 (0)