Skip to content

v0.12.12

Latest

Choose a tag to compare

@github-actions github-actions released this 19 Nov 15:34

Added

  • ArrayHandler(dispatcher_restore_concurrent_bytes=...) (configurable via
    ocp.pathways.register_type_handlers) bounds per-worker staging memory when
    restoring jax.Arrays through a dispatcher (e.g. Pathways colocated Python)
    by restoring in memory-budgeted batches. It is off by default; colocated
    Python restores of host-offloaded arrays without it log a warning.

Changed

  • #v1 v1.training.Checkpointer now defaults save_decision_policy to
    ContinuousCheckpointingPolicy() alone (without InitialSavePolicy or
    PreemptionCheckpointingPolicy), and when save_decision_policy configures
    ContinuousCheckpointingPolicy(target_interval_steps=...) with no explicit
    preservation_policy, defaults preservation_policy to preserving all
    target_interval_steps checkpoints plus the latest 2 recovery checkpoints.
  • ContinuousCheckpointingPolicy raises ValueError for a negative
    minimum_interval_secs. EveryNSteps raises ValueError for a max_to_keep
    below 1.
  • Colocated Python dispatch: when the dispatched function's output is discarded
    (as in checkpoint saves), the dummy array that signals completion now keeps
    the device order of the input mesh if a single NamedSharding mesh covers
    all input devices, instead of sorting devices by id. On Pathways, upgrade
    Orbax in the workload and colocated-python-sidecar images together.
  • Colocated Python now raises an error naming the affected parameters, instead
    of a generic JAX error, when arrays on different device lists are saved or
    restored together (even if save or restore batching would split them across
    calls).

Fixed

  • Colocated Python no longer copies accelerator memory kinds (e.g.
    pinned_host for host-offloaded arrays) onto colocated CPU shardings, which
    broke saving and restoring such arrays.

Changed

  • Warn once when CheckpointManager or v1.training.Checkpointer skips a save
    because a newer checkpoint step already exists in the directory, and document
    how to roll back to an earlier step.