Skip to content

Add tutorial for RL GRPO gemma4-e4b on v6e 4x8#4427

Merged
copybara-service[bot] merged 1 commit into
mainfrom
davidsotomora/gemma4-grpo-tutorial
Jul 23, 2026
Merged

Add tutorial for RL GRPO gemma4-e4b on v6e 4x8#4427
copybara-service[bot] merged 1 commit into
mainfrom
davidsotomora/gemma4-grpo-tutorial

Conversation

@dasoto

@dasoto dasoto commented Jul 10, 2026

Copy link
Copy Markdown
Collaborator

Description

Adding tutorial for RL GRPO gemma-4-e4b on v6e 4x8 cluster using xpk.

Tests

Please describe how you tested this change, and include any instructions and/or
commands to reproduce.

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

codecov Bot commented Jul 10, 2026

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 0% with 2 lines in your changes missing coverage. Please review.

Files with missing lines Patch % Lines
...rc/maxtext/checkpoint_conversion/to_huggingface.py 0.00% 2 Missing ⚠️

📢 Thoughts on this report? Let us know!

Comment thread src/maxtext/examples/chat_templates/openmathinstruct2_rl.json
Comment thread scripts/run_gemma4_e4b_hf_to_maxtext.sh Outdated
Comment thread scripts/run_gemma4_e4b_maxtext_to_hf.sh Outdated
@dasoto
dasoto force-pushed the davidsotomora/gemma4-grpo-tutorial branch 2 times, most recently from 735aea3 to 5e3dbef Compare July 17, 2026 17:23
@dasoto
dasoto force-pushed the davidsotomora/gemma4-grpo-tutorial branch from 5e3dbef to 98306de Compare July 17, 2026 17:54
@dasoto
dasoto requested a review from A9isha July 22, 2026 17:56

@A9isha A9isha left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks David!

@A9isha
A9isha marked this pull request as ready for review July 22, 2026 23:04
@gemini-code-assist

Copy link
Copy Markdown

Caution

The consumer version of Gemini Code Assist on GitHub has been sunset. All code review activity has officially ceased.

Comment thread src/maxtext/trainers/post_train/rl/scripts/run_gemma4_e4b_rl.sh
@copybara-service
copybara-service Bot merged commit f2971e3 into main Jul 23, 2026
110 of 111 checks passed
@copybara-service
copybara-service Bot deleted the davidsotomora/gemma4-grpo-tutorial branch July 23, 2026 18:18
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.

3 participants