foundation-model-stack / fms-fsdp

🚀 Efficiently (pre)training foundation models with native PyTorch features, including FSDP for training and SDPA implementation of Flash attention v2.
https://pytorch.org/docs/stable/fsdp.html
Apache License 2.0
116 stars 18 forks source link

add no_shard option #41

Closed lchu-ibm closed 3 months ago

lchu-ibm commented 3 months ago

Add no_shard (ddp) option as we started using this repo for smaller models.