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
Hello. I'm currently experimenting with multi-GPU training using Hugging Face Accelerate and DeepSpeed.
As mentioned in the title, I compared DeepSpeed ZeRO Stage 0 with PyTorch DDP and found that DeepSpeed ZeRO Stage 0 had significantly lower memory usage.
Does anyone know why this is?
I will also leave the Accelerate config I used below.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hello. I'm currently experimenting with multi-GPU training using Hugging Face Accelerate and DeepSpeed.
As mentioned in the title, I compared DeepSpeed ZeRO Stage 0 with PyTorch DDP and found that DeepSpeed ZeRO Stage 0 had significantly lower memory usage.
Does anyone know why this is?
I will also leave the Accelerate config I used below.
config (deepspeed zero stage 0)
config (pytorch ddp)
Beta Was this translation helpful? Give feedback.
All reactions