Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add on_commit_callback to put the responsibility of renaming the directories on the users of the serialization library. This will also fix the GCS atomic rename issue where the users can write a success file when the commit is successful and check the existence of that file before deserialization. #2328

Merged
merged 1 commit into from
Jul 26, 2022

Conversation

copybara-service[bot]
Copy link

@copybara-service copybara-service bot commented Jul 24, 2022

Add on_commit_callback to put the responsibility of renaming the directories on the users of the serialization library. This will also fix the GCS atomic rename issue where the users can write a success file when the commit is successful and check the existence of that file before deserialization.

@codecov-commenter
Copy link

Codecov Report

Merging #2328 (b89b0a8) into main (6e71622) will decrease coverage by 0.03%.
The diff coverage is 40.00%.

@@            Coverage Diff             @@
##             main    #2328      +/-   ##
==========================================
- Coverage   74.83%   74.80%   -0.04%     
==========================================
  Files          61       61              
  Lines        5460     5465       +5     
==========================================
+ Hits         4086     4088       +2     
- Misses       1374     1377       +3     
Impacted Files Coverage Δ
flax/training/checkpoints.py 80.83% <40.00%> (-0.87%) ⬇️

Help us with your feedback. Take ten seconds to tell us how you rate us.

@copybara-service copybara-service bot changed the title Add on_commit_callback Add on_commit_callback to put the responsibility of renaming the directories on the users of the serialization library. This will also fix the GCS atomic rename issue where the users can write a success file when the commit is successful and check the existence of that file before deserialization. Jul 26, 2022
@copybara-service copybara-service bot force-pushed the test_462953638 branch 3 times, most recently from 78ac6a3 to db2f02b Compare July 26, 2022 02:41
…rectories on the users of the serialization library. This will also fix the GCS atomic rename issue where the users can write a success file when the commit is successful and check the existence of that file before deserialization.

PiperOrigin-RevId: 463238200
@copybara-service copybara-service bot merged commit d6de016 into main Jul 26, 2022
@copybara-service copybara-service bot deleted the test_462953638 branch July 26, 2022 03:12
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.

2 participants