Skip to content

Fix train_rl.py post restructure#3215

Merged
copybara-service[bot] merged 1 commit intomainfrom
anisha-rl-refactor-fix
Feb 23, 2026
Merged

Fix train_rl.py post restructure#3215
copybara-service[bot] merged 1 commit intomainfrom
anisha-rl-refactor-fix

Conversation

@A9isha
Copy link
Copy Markdown
Collaborator

@A9isha A9isha commented Feb 23, 2026

Description

Bring back some missing changes since the restructure

If the change fixes a bug or a Github issue, please include a link, e.g.,:
FIXES: b/486274740

Tests

Ran train_rl.py locally on a v5p-8

python3 -m src.maxtext.trainers.post_train.rl.train_rl src/maxtext/configs/post_train/rl.yml   model_name=llama3.1-8b   tokenizer_path=meta-llama/Llama-3.1-8B-
Instruct   load_parameters_path=/path/to/checkpoint   run_name=maz-8b-$RANDOM   base_output_directory=/path/to/gcs/location   hf_access_token=$HF_TOKEN dataset_name=gsm8k steps=4

Checklist

Before submitting this PR, please make sure (put X in square brackets):

  • I have performed a self-review of my code. For an optional AI review, add the gemini-review label.
  • I have necessary comments in my code, particularly in hard-to-understand areas.
  • I have run end-to-end tests tests and provided workload links above if applicable.
  • I have made or will make corresponding changes to the doc if needed, including adding new documentation pages to the relevant Table of Contents (toctree directive) as explained in our documentation.

@codecov
Copy link
Copy Markdown

codecov Bot commented Feb 23, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@copybara-service copybara-service Bot merged commit 2ade63f into main Feb 23, 2026
46 of 48 checks passed
@copybara-service copybara-service Bot deleted the anisha-rl-refactor-fix branch February 23, 2026 19:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants