You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When ScatterMoE is used together with FSDP, HF Accelerate will call FSDP's clip_grad_norm, see here, which does not know how to properly compute the grad norms for ScatterMoE shards.
We need to be able to hook in some logic to handle the grad norm properly.
The text was updated successfully, but these errors were encountered:
When ScatterMoE is used together with FSDP, HF Accelerate will call FSDP's
clip_grad_norm
, see here, which does not know how to properly compute the grad norms for ScatterMoE shards.We need to be able to hook in some logic to handle the grad norm properly.
The text was updated successfully, but these errors were encountered: