OptimalScale/LMFlow
A Python toolkit for fine-tuning and inference of large language models.
- 8.5kstars
- 818forks
- 77open issues
- updated 3mo ago
LMFlow star history
-2 this week
About LMFlow
LMFlow is a free, open-source machine learning tool by OptimalScale, written mainly in Python. A Python toolkit for fine-tuning and inference of large language models. It has 8.5k GitHub stars and 818 forks, and was last updated 3mo ago. It's released under the Apache-2.0 license, a standard open-source license. According to the project, it runs on a regular CPU without a GPU.
Similar free tools
transformers170k stars · Provides state-of-the-art machine learning models for text, vision, audio, and multimodal tasks.
LlamaFactory76k stars · Unified platform for fine-tuning 100+ large language models with CLI and Web UI.
pytorch-image-models37k stars · A collection of PyTorch image models for training and inference.
pytorch106k stars · Provides GPU-accelerated tensor computation and dynamic neural networks for deep learning.
pytorch-lightning31k stars · Scales AI model training across GPUs with minimal code changes.
keras64k stars · Build and train deep learning models easily with Keras 3.
LMFlow FAQ
Can I use LMFlow commercially?
Yes. Apache-2.0 is a permissive license: commercial use is allowed as long as you keep the license notice. This is a plain-English summary, not legal advice.
Is LMFlow free?
Yes. LMFlow is open source and free to use. It's released under the Apache-2.0 license, a standard open-source license.
Does LMFlow run on a Mac?
The project doesn't say. Check its installation guide before you start.
Does LMFlow need a GPU?
No. According to the project, LMFlow runs on a regular CPU.
Is LMFlow still maintained?
It was last updated 3mo ago. Check recent issues on GitHub to judge how active it is.
How hard is LMFlow to set up?
Hard: typically 1–3 hours, using build from source.
What are alternatives to LMFlow?
Similar free, open-source tools include transformers, LlamaFactory, pytorch-image-models, pytorch.
Related topics
Maintain LMFlow? Add a FreeAIRepo badge to your README
[](https://www.freeairepo.com/repo/OptimalScale/LMFlow)