Skip to content

Commit 218c7ff

Browse files
lyglstFlax Authors
authored andcommitted
add storage backend type in saving telemetry.
PiperOrigin-RevId: 918536510
1 parent 8485ec3 commit 218c7ff

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

flax/training/checkpoints.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -497,8 +497,9 @@ def _save_commit(
497497
ocp.utils.record_saved_duration(ckpt_start_time)
498498
if async_manager:
499499
jax.monitoring.record_event_duration_secs(
500-
'/jax/checkpoint/write/async/total_duration_secs',
501-
time.time() - ckpt_start_time,
500+
'/jax/checkpoint/write/async/total_duration_secs',
501+
time.time() - ckpt_start_time,
502+
storage_type='unknown',
502503
)
503504

504505

0 commit comments

Comments
 (0)