mlx
mlx copied to clipboard
FSDP saving state improvement
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.
I would like to work on this.
Go for it!
Hi @nastya236, was checking open issues I might contribute to, noticed this one is solved by #3768!
Thank you for the notice, indeed, we should close this issue!