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
{{ message }}
Repository navigation
question about how deepspeed overlapping the reduction of the gradients with backward computation #480
deepspeed doesn't use ddp directly. in pytorch, auto grad hook is used for comm & compute overlapping. what about deepspeed? l‘m looking forward to your reply!
@gongjingcs, in DeepSpeed we use similar hooks to overlap comm and compute. We see that overlapping generally helps with larger models with billions of parameters, but not so much with smaller models, so we have support for the overlap in DeepSpeed ZeRO for supporting larger models. You can enable it sing the overlap_comm flag in DeepSpeed Config:
Activity
samyam commentedon Oct 30, 2020
@gongjingcs, in DeepSpeed we use similar hooks to overlap comm and compute. We see that overlapping generally helps with larger models with billions of parameters, but not so much with smaller models, so we have support for the overlap in DeepSpeed ZeRO for supporting larger models. You can enable it sing the overlap_comm flag in DeepSpeed Config:
create branch for public release (#489)
xiexbing commentedon Sep 14, 2023
the software issue has been solved.