Skip to content

Use helper functions for CheckpointManager operations. - #4383

Merged
copybara-service[bot] merged 1 commit into
mainfrom
test_944311356
Jul 25, 2026
Merged

Use helper functions for CheckpointManager operations.#4383
copybara-service[bot] merged 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

@codecov

codecov Bot commented Jul 8, 2026

Copy link
Copy Markdown

@copybara-service
copybara-service Bot force-pushed the test_944311356 branch 4 times, most recently from df99772 to 952e375 Compare July 8, 2026 20:37
@copybara-service
copybara-service Bot force-pushed the test_944311356 branch 4 times, most recently from 7bc34ca to dd61f5e Compare July 23, 2026 02:57
@copybara-service
copybara-service Bot force-pushed the test_944311356 branch 3 times, most recently from 0086847 to f818c2e Compare July 25, 2026 08:34
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: 953793325
@copybara-service
copybara-service Bot merged commit e50e394 into main Jul 25, 2026
@copybara-service
copybara-service Bot deleted the test_944311356 branch July 25, 2026 09:15
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