deepspeedai / deepspeedai/DeepSpeed
When I load model and use deepspeed with ZERO stage 3, I have a problem with high cpu memory Usage
Open
@HeyangQin is already working on this.
Since Jun 16, 2023.
training
- Dominant language
- Python
- Stars
- 43.1k
- Forks
- 5k
- Avg merge
- 4d 15h
- Merged PRs (30d)
- 112
Description
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
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.