There was an error while loading. Please reload this page.
1 parent c71d355 commit 917240dCopy full SHA for 917240d
1 file changed
kauldron/checkpoints/checkpointer.py
@@ -230,6 +230,7 @@ class Checkpointer(BaseCheckpointer):
230
never_save_step_zero: bool = False
231
lightweight_initialize: bool = False
232
cleanup_orphaned_snapshots: bool = False
233
+ enable_async_checkpointing: bool = True
234
fast: bool = True
235
create: bool = True
236
@@ -243,6 +244,7 @@ def _best_fn(metrics):
243
244
mgr_options = ocp.CheckpointManagerOptions(
245
save_interval_steps=self.save_interval_steps,
246
lightweight_initialize=self.lightweight_initialize,
247
+ enable_async_checkpointing=self.enable_async_checkpointing,
248
max_to_keep=(
249
self.max_to_keep if self.preservation_policy is None else None
250
),
0 commit comments