medium10 pts · first answer countsgpu-computingfsdp
Gradient clipping with FSDP
With FSDP, calling torch.nn.utils.clip_grad_norm_(model.parameters(), 1.0) on each rank gives wrong results. Why?
Discussion 0
Join free to post in the discussion.
With FSDP, calling torch.nn.utils.clip_grad_norm_(model.parameters(), 1.0) on each rank gives wrong results. Why?
Join free to post in the discussion.