Skip to content
RED SAGSkills
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?

Choose one answer

Discussion 0

Join free to post in the discussion.

Related questions