Lightning-AI/pytorch-lightning
在 GitHub 查看Update deepspeed activation checkpointing docs
Open
#17,621 创建于 2023年5月12日
docshelp wantedstrategy: deepspeed
仓库指标
- Star
- (26,687 star)
- PR 合并指标
- (平均合并 9天 15小时) (30 天内合并 3 个 PR)
描述
📚 Documentation
In your documentation, you refer to the function deepspeed.checkpointing.checkpoint, but it looks like it does not exist (anymore?). Can you update that section?
While we're at it, can you provide a more common use-case as an example? The guide warns against wrapping an entire model, but having a pretrained language model from transformers is probably the most common use case. What if someone is just using GPT-2 or T5 with no further mathematical layers? What should get wrapped then?
cc @borda @awaelchli