Skip to content

Isolate Orbax v0 emergency checkpointing. - #4382

Merged
copybara-service[bot] merged 1 commit into
mainfrom
test_944311352
Jul 23, 2026
Merged

Isolate Orbax v0 emergency checkpointing.#4382
copybara-service[bot] merged 1 commit into
mainfrom
test_944311352

Conversation

@copybara-service

Copy link
Copy Markdown
Contributor

Isolate Orbax v0 emergency checkpointing.

This change moves the Orbax v0 emergency and replicator checkpoint manager implementations, along with their helper functions, into a new file emergency_checkpointing.py. This allows the main checkpointing.py to focus on Orbax v1, while still providing backward compatibility for the v0 emergency managers through aliases and dispatch functions.

@codecov

codecov Bot commented Jul 8, 2026

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 64.21053% with 34 lines in your changes missing coverage. Please review.

Files with missing lines Patch % Lines
src/maxtext/common/emergency_checkpointing.py 56.57% 32 Missing and 1 partial ⚠️
src/maxtext/utils/train_utils.py 66.66% 1 Missing ⚠️

📢 Thoughts on this report? Let us know!

@copybara-service
copybara-service Bot force-pushed the test_944311352 branch 3 times, most recently from 8a28041 to 05b860c Compare July 16, 2026 16:35
This change moves the Orbax v0 emergency and replicator checkpoint manager implementations, along with their helper functions, into a new file `emergency_checkpointing.py`. This allows the main `checkpointing.py` to focus on Orbax v1, while still providing backward compatibility for the v0 emergency managers through aliases and dispatch functions.

PiperOrigin-RevId: 952439143
@copybara-service
copybara-service Bot merged commit c6085b4 into main Jul 23, 2026
4 checks passed
@copybara-service
copybara-service Bot deleted the test_944311352 branch July 23, 2026 01:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant