Lightning-AI/pytorch-lightning

Update deepspeed activation checkpointing docs

開放

#17,621 建立於 2023年5月12日

 (1 則留言) (0 個反應) (0 位負責人)Python (3,233 個分叉)batch import
docshelp wantedstrategy: deepspeed

倉庫指標

星標
 (26,687 顆星)
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

貢獻者指南