Skip to content

torchft 0.3.0

Choose a tag to compare

@d4l3k d4l3k released this 03 Nov 21:15
· 7 commits to main since this release

Breaking changes

  • ProcessGroup.configure() was removed (#359). Use set_rank_info() + get_reconfigure_handle() + reconfigure(ReconfigureOptions), or reconfigure_with_store() when not using a Manager. Subclasses that only override configure() will never commit steps.
  • Upgrade the lighthouse and all replicas together. A 0.3.0 manager talking to a 0.2.0 lighthouse or peer receives empty reconfigure handles and retries forever.
  • Python 3.9 is no longer supported (requires-python >=3.10). 0.2.0 already failed to import on 3.9.
  • Log fields renamed: errors_logger field quorum_id -> uuid; process group names torchft_quorum_{id}_rank_{n} -> torchft_{uuid}_rank_{n}.
  • ProcessGroupDummy.configure_count renamed to reconfigure_count.

Notable changes

  • Manager supports native torch process group reconfiguration (torch >= 2.14) (#359).
  • The DDP comm hook returns a completed future when allreduce fails instead of asserting (#369).
  • _ManagedWork.wait honors its timeout (#363).
  • Docs moved to https://meta-pytorch.org/torchft/.

Tested against torch 2.15.0.

Full Changelog: v0.2.0...v0.3.0