Skip to content

Consolidate to_hf step#4032

Open
YixuanWang-99 wants to merge 1 commit into
mainfrom
yixuannwang-consolidate-to_hf
Open

Consolidate to_hf step#4032
YixuanWang-99 wants to merge 1 commit into
mainfrom
yixuannwang-consolidate-to_hf

Conversation

@YixuanWang-99
Copy link
Copy Markdown
Collaborator

@YixuanWang-99 YixuanWang-99 commented Jun 1, 2026

Description

Consolidating the checkpoint conversion back to HF.

Tests

Test command: bash tests/end_to_end/tpu/gemma3/4b/test_gemma3_to_hf.sh pre-20260529T195819 gs://runner-maxtext-logs/gemma3-4b/train/pre-20260529T195819/checkpoints/4/items

The converted HF ckpt is stored in: gs://runner-maxtext-logs/gemma3-4b/to_huggingface/unscanned/pre-20260529T195819/

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 Jun 1, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

Comment thread tests/end_to_end/tpu/gemma3/4b/test_gemma3_to_hf.sh Outdated
Comment thread tests/end_to_end/tpu/gemma3/4b/test_gemma3_to_hf.sh Outdated
Comment thread tests/end_to_end/tpu/gemma3/4b/test_gemma3_to_hf.sh Outdated
Comment thread tests/end_to_end/tpu/gemma3/4b/test_gemma3_to_hf.sh Outdated
Comment thread tests/end_to_end/tpu/gemma3/4b/test_gemma3_to_hf.sh Outdated
Comment thread tests/end_to_end/tpu/gemma3/4b/test_gemma3_to_hf.sh
Comment thread tests/end_to_end/tpu/gemma3/4b/test_gemma3_to_hf.sh Outdated
@YixuanWang-99 YixuanWang-99 force-pushed the yixuannwang-consolidate-to_hf branch from c74a267 to 9d79644 Compare June 1, 2026 19:56
Comment thread tests/end_to_end/tpu/gemma3/4b/test_gemma3_sft.sh Outdated
@YixuanWang-99 YixuanWang-99 force-pushed the yixuannwang-consolidate-to_hf branch from 9d79644 to 8718c74 Compare June 1, 2026 22:41
@YixuanWang-99 YixuanWang-99 force-pushed the yixuannwang-consolidate-to_hf branch from 8718c74 to 88a9259 Compare June 1, 2026 22:55
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