LMFlow
the six Ws · specification
OptimalScale, a research group, develops LMFlow.
An extensible open-source toolkit for continuous pretraining, instruction tuning, and alignment tuning of large foundation models.
Runs on user-managed GPU infrastructure, installed as a Python package from GitHub.
Released in 2023 alongside its accompanying research paper, still maintained in 2026.
Lets teams with limited compute personalize and finetune large models using techniques like LoRA and the memory-efficient LISA method.
Built on PyTorch and Hugging Face Transformers, and supports FlashAttention-1 and FlashAttention-2.
Open-source (Apache-2.0 license) on GitHub, self-hosted training, no data leaves the user's own compute environment.