Skip to content

Commit 5efd156

Browse files
author
Orbax Authors
committed
Add a presubmit benchmark for CheckpointManager using Pathways.
PiperOrigin-RevId: 825533145
1 parent 91d1fb7 commit 5efd156

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

checkpoint/orbax/checkpoint/_src/testing/benchmarks/checkpoint_manager_benchmark.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@
2222
import numpy as np
2323
from orbax.checkpoint import args as args_lib
2424
from orbax.checkpoint import checkpoint_manager
25+
from orbax.checkpoint import multihost
2526
from orbax.checkpoint import utils
2627
from orbax.checkpoint._src.testing.benchmarks.core import core as benchmarks_core
2728
from orbax.checkpoint._src.testing.benchmarks.core import metric as metric_lib
@@ -55,6 +56,7 @@ def test_fn(
5556
options = context.options
5657
assert isinstance(options, CheckpointManagerBenchmarkOptions)
5758

59+
5860
cm_options = checkpoint_manager.CheckpointManagerOptions(
5961
save_interval_steps=options.save_interval_steps,
6062
max_to_keep=options.max_to_keep,

0 commit comments

Comments
 (0)