-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Open
Description
I was trying to fix an issue where training with FSDP on 2 GPUs hangs when saving the model at the end. While digging through the code, I accidentally discovered that setting offload_to_cpu to False makes everything work perfectly. Instead of modifying the library code directly, it would be great to have an option to configure this externally.
By the way, one really strange thing is that the training works fine the very first time after rebooting the computer, but from the second run onward, it always hangs
Metadata
Metadata
Assignees
Labels
No labels