Skip to content

Use helper functions for CheckpointManager operations.#4383

Open
copybara-service[bot] wants to merge 1 commit into
mainfrom
test_944311356
Open

Use helper functions for CheckpointManager operations.#4383
copybara-service[bot] wants to merge 1 commit into
mainfrom
test_944311356

Conversation

@copybara-service

Copy link
Copy Markdown
Contributor

Use helper functions for CheckpointManager operations.

Refactors code to interact with the CheckpointManager through dedicated helper functions instead of direct method calls. This is necessary because:

  • The underlying CheckpointManager operations (.wait_until_finished, .latest_step, .reached_preemption) have different semantics in v1 compared to v0.
  • We need to ensure the v0 emergency checkpointer functionality remains intact.

This abstraction layer isolates the core logic from the specific CheckpointManager version

@copybara-service copybara-service Bot force-pushed the test_944311356 branch 3 times, most recently from b5fcfc2 to df99772 Compare July 8, 2026 09:56
Refactors code to interact with the CheckpointManager through dedicated helper functions instead of direct method calls. This is necessary because:
- The underlying CheckpointManager operations (`.wait_until_finished`, `.latest_step`, `.reached_preemption`) have different semantics in v1 compared to v0.
- We need to ensure the v0 emergency checkpointer functionality remains intact.

This abstraction layer isolates the core logic from the specific CheckpointManager version

PiperOrigin-RevId: 944311356
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