Repository navigation
feat(goodput): use get_goodput_job_name in setup_checkpoint_logger - #5659
Open
KevinYenky wants to merge 1 commit into
Open
KevinYenky wants to merge 1 commit into
KevinYenky wants to merge 1 commit into
Conversation
There was a problem hiding this comment.
Code Review
This pull request updates the checkpoint logger setup to use the get_goodput_job_name helper function, which safely retrieves the goodput_job_name attribute from the configuration (falling back to run_name if not present). It also adds goodput configuration parameters to the RL post-training configuration (rl.yml), documents the optional nature of goodput_job_name in base.yml, and adds a unit test to verify the job name override behavior. There are no review comments, and I have no additional feedback to provide.
KevinYenky
force-pushed
the
feat/checkpoint-logger-goodput-job-name
branch
from
October 12, 2026 06:21
7cef4a9 to
de232e2
Compare
Codecov Report✅ All modified and coverable lines are covered by tests. 📢 Thoughts on this report? Let us know! |
KevinYenky
marked this pull request as ready for review
October 12, 2026 07:40
KevinYenky
requested review from
A9isha,
NuojCheng,
RissyRan,
SurbhiJainUSC,
abhinavclemson,
aireenmei,
bvandermoon,
darisoy,
dipannita08,
gagika,
gobbleturk,
hengtaoguo,
huytransformer,
igorts-git,
jiangjy1982,
khatwanimohit,
richjames0,
shralex,
shuningjin,
vipannalla and
xibinliu
as code owners
October 12, 2026 07:40
KevinYenky
force-pushed
the
feat/checkpoint-logger-goodput-job-name
branch
from
October 12, 2026 08:52
de232e2 to
5e9fb00
Compare
Signed-off-by: KevinYenky <kevin.yen@cienet.com>
KevinYenky
force-pushed
the
feat/checkpoint-logger-goodput-job-name
branch
from
October 13, 2026 01:50
ccd1679 to
1a86a59
Compare
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Follow-up to PR#5563 to ensure Orbax checkpoint cloud logs are routed to the same Goodput logger bucket (
goodput_<goodput_job_name>) whengoodput_job_nameis set.Key Changes
src/maxtext/common/checkpointing.py:setup_checkpoint_logger(config)to resolvejob_name = get_goodput_job_name(config)andlogger_name = f"goodput_{job_name}"instead of hardcodingconfig.run_name, so checkpoint Badput (UNPRODUCTIVE_CHECKPOINT_SAVE_TIME/UNPRODUCTIVE_CHECKPOINT_RESTORE_TIME) is logged to the per-workload bucket in multi-model E2E DAGs as well as production runs.src/maxtext/common/goodput.py:get_goodput_job_name(config)to safely fall back whengoodput_job_nameis absent on lightweight test mocks(getattr(config, "goodput_job_name", "") or config.run_name).src/maxtext/configs/base.yml&src/maxtext/configs/post_train/rl.yml:goodput_job_nameis optional/test-only and defaults torun_namefor production runs.tests/unit/goodput_utils_test.py:test_setup_checkpoint_logger_uses_goodput_job_name_override.Tests
pytest tests/unit/goodput_utils_test.py -k "setup_checkpoint_logger or goodput_job_name" -vChecklist
Before submitting this PR, please make sure (put X in square brackets):
gemini-reviewlabel.