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 91d1fb7 commit 5efd156Copy full SHA for 5efd156
checkpoint/orbax/checkpoint/_src/testing/benchmarks/checkpoint_manager_benchmark.py
@@ -22,6 +22,7 @@
22
import numpy as np
23
from orbax.checkpoint import args as args_lib
24
from orbax.checkpoint import checkpoint_manager
25
+from orbax.checkpoint import multihost
26
from orbax.checkpoint import utils
27
from orbax.checkpoint._src.testing.benchmarks.core import core as benchmarks_core
28
from orbax.checkpoint._src.testing.benchmarks.core import metric as metric_lib
@@ -55,6 +56,7 @@ def test_fn(
55
56
options = context.options
57
assert isinstance(options, CheckpointManagerBenchmarkOptions)
58
59
+
60
cm_options = checkpoint_manager.CheckpointManagerOptions(
61
save_interval_steps=options.save_interval_steps,
62
max_to_keep=options.max_to_keep,
0 commit comments