mlx icon indicating copy to clipboard operation
mlx copied to clipboard

FSDP saving state improvement

Open nastya236 opened this issue 7 months ago • 4 comments

Currently in FSDP skips intermediate reconstruction of tree. This results in the following issues:

  • grouping for the parameters might be non-deterministic -> loaded state might be incorrect
  • state tight to the number of groups -- so to the size of the communication, which is wrong design

While current strategy works deterministically if everything is fixed from run to run, however improvement is needed.

nastya236 avatar Apr 12 '26 14:04 nastya236

I would like to work on this.

coder-jayp avatar Apr 13 '26 16:04 coder-jayp

Go for it!

nastya236 avatar Apr 13 '26 17:04 nastya236

Hi @nastya236, was checking open issues I might contribute to, noticed this one is solved by #3768!

Maalvi14 avatar Oct 17 '26 15:10 Maalvi14

Thank you for the notice, indeed, we should close this issue!

nastya236 avatar Oct 18 '26 08:10 nastya236