halilakin
halilakin
I think fundamentally I am unable to make two controls work with ZeRO3. (1) The ability to bundle multiple parameters together and kick off a single all_gather for it. My...
Thanks for the quick response @tohtana. I've stopped using leaf module for now until I fully understand all the knobs and finish reading the code. I will update the thread...
In my experience and setup, I found FSDP to be approximately 10% faster than ZeRO. This appears to be because FSDP consolidates parameters from an entire layer into a single...
Thanks @tohtana. Let me test the leaf module thoroughly in combination with other flags today and update the thread.
I was able to resolve the fragmented all_gathers by using the leaf module feature, by setting it before the initialization of DeepSpeed so that the hooks only attach to the...
I am having trouble explaining the rest of the efficiency gap. FSDP trace is very easy to reason for me. There are exactly 6 all gathers during the forward pass,...
I was able to get ZeRO to 95% of the MFU I got with FSDP for my network, primarily by using leaf nodes and setting the zero3 parameters better. The...
Thanks for the help @GuanhuaWang!
Oh, gotcha. Thanks @lukeyeager Any plans of implementing this in future? Would be very nice.
What is the solution to this issue ("Unable to find file ****",...) ? I have downloaded the master branch and rebuilt cquery but still getting the same issue.