DeepSpeed icon indicating copy to clipboard operation
DeepSpeed copied to clipboard

[REQUEST]can deepspeed support hybrid shard

Open QingruiSun opened this issue 3 years ago • 2 comments

pytorch fsdp support hybrid shard which and reduce communication across machine, does deepspeed has similar config. Thanks!

QingruiSun avatar Jun 09 '23 04:06 QingruiSun

Please check out recently released ZeRO++ -- communication efficient ZeRO.

samadejacobs avatar Jul 05 '23 00:07 samadejacobs

Hi @samadejacobs, it seems that the newly released ZeRO++ is enabled only when using stage 3? In FSDP there's also a mode named "_HYBRID_SHARD_ZERO2" which is the same strategy but for stage 2 which doesn't seem to be supported in ZeRO++. I tried activating it via the config but it seemed to make no difference. Any help or pointers would be appreciated thanks!

najeeb5 avatar Aug 21 '23 14:08 najeeb5