Skip to content

Support torch distributed checkpointing for MFSDP v2 #5534

Closed
1 of 1 issue completed
Closed

Description

@wujingyue

Goal

Support saving and loading MFSDP v2 checkpoints using PyTorch Distributed Checkpoint (DCP).

Background

MFSDP v2 introduces a per-module fully_shard() path with sharded parameter, gradient, and optimizer state layouts. Checkpointing needs to preserve those layouts well enough to resume training correctly.

The initial target should be the PyTorch Distributed Checkpoint format. Support for Megatron-LM's torch_dist checkpoint format should be tracked separately and is likely lower ROI for now.

Non-goals

  • Support for Megatron-LM's torch_dist checkpoint format.
  • Checkpoint format conversion between DCP and torch_dist.

Related issues and PRs

The items below are for the existing Megatron-FSDP implementation rather than MFSDP v2. They are listed only as references for prior checkpointing issues, fixes, and test coverage.

Activity

  1. LucccaH commented on Aug 28, 2026

    @LucccaH

    Hi @ahmadki , just checking if there are any updates on the progress of this issue.

    We’d like to start evaluating mFSDP v2 in our training stack, but complete checkpoint save/load support is currently one of the main blockers, especially for reliably resuming existing training jobs.

    Do you have an updated status or a rough ETA for the checkpoint support? Thanks!

  2. assigned and unassigned on Sep 11, 2026
  3. added and removed on Sep 23, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions