fms-fsdp

(โ˜… 288)

๐Ÿš€ Efficiently (pre)training foundation models with native PyTorch features, including FSDP for training and SDPA implementation of Flash attention v2.

  • .gitignore
  • .isort.cfg
  • code-of-conduct.md
  • fms_to_hf_llama.py
  • fms_to_hf_mamba.py
  • LICENSE
  • main_training_llama.py
  • main_training_mamba.py
  • README.md
  • requirements-speculator.txt
  • requirements.txt
  • setup.py
  • test-requirements.txt

# Installation Guide

1. Get the code
git clone https://github.com/foundation-model-stack/fms-fsdp

Downloads the entire project code from GitHub to your computer.

cd fms-fsdp

Moves into the project folder you just downloaded.

2. Python

Easy Recommended
Prerequisites
  • Git Needed to download the project code from GitHub.
  • Python 3 On Windows, be sure to check 'Add Python to PATH' during installation.
pip install -r requirements.txt

Installs the Python libraries listed in requirements.txt (or similar).

โœ… If it runs without errors and prints output in the terminal, it worked.

Pulled directly from this repo's README.

// repository documentation