We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 33f4e66 commit c07b69cCopy full SHA for c07b69c
keras/src/callbacks/orbax_checkpoint.py
@@ -468,10 +468,7 @@ def wait_until_finished(self):
468
checkpoints if there might be pending save operations.
469
"""
470
# Wait for any async operations to complete
471
- while self.checkpointer.is_saving_in_progress():
472
- import time
473
-
474
- time.sleep(0.1)
+ self.checkpointer.wait()
475
476
def _restore_model_state_from_full_tree(self, state_tree, model=None):
477
"""Restore model state from full state tree (V1 format)."""
0 commit comments