DeepSpeed
DeepSpeed copied to clipboard
When I load model and use deepspeed with ZERO stage 3, I have a problem with high cpu memory Usage
deepspeed: 0.9.2 transformers: 4.30.0.dev0 torch: 1.12.1+cuda11.6 server info: 8*A100 80G Memory: 500G
When load a model that has 15B parameters on single node(8*A100),the memory usage exceeds 500 GB and the process was killed, I have used the Zero stage 3.
how can I reduce the Memory Usage
you need zero.Init()
you need zero.Init()
yeap, but there is the other bug when use zero.init() #3156
Hi @ZJXNEFU. Could you provide a reproduce script so we can better investigate this issue? Thank you