Install Megatron-LM-FL#

You can install Megatron-LM-FL through one of the following methods:

Install from source#

git clone https://github.com/flagos-ai/Megatron-LM-FL.git
cd Megatron-LM-FL
git checkout <tag number>
pip install . --no-build-isolation --root-user-action=ignore

For an end-to-end training workflow using Megatron-LM-FL, TransformerEngine-FL, and FlagScale, see End-to-End Use Case.