Built upon Megatron-Deepspeed and HuggingFace Trainer, EasyLLM has reorganized the code logic with a focus on usability. While enhancing usability, it also ensures training efficiency.
Install python requirements
pip install -r requirements.txt
other dependency
Pull deepspeed & add them to pythonpath
export PYTHONPATH=/path/to/DeepSpeed:$PYTHONPATH
Install package in development mode
pip install -e . -v
To optimize the model training performance in terms of time and space, EasyLLM supports Dynamic Checkpoint. Based on the input token size, it enables checkpointing for some layers. The configuration file settings are as follows:
This repository is released under the Apache-2.0 license.
We learned a lot from the following projects when developing EasyLLM.
Python
98.8%
Built upon Megatron-Deepspeed and HuggingFace Trainer, EasyLLM has reorganized the code logic with a focus on usability. While enhancing usability, it also ensures training efficiency.
Install python requirements
pip install -r requirements.txt
other dependency
Pull deepspeed & add them to pythonpath
export PYTHONPATH=/path/to/DeepSpeed:$PYTHONPATH
Install package in development mode
pip install -e . -v
To optimize the model training performance in terms of time and space, EasyLLM supports Dynamic Checkpoint. Based on the input token size, it enables checkpointing for some layers. The configuration file settings are as follows:
This repository is released under the Apache-2.0 license.
We learned a lot from the following projects when developing EasyLLM.
Python
98.8%