optimalscale/lmflow

An Extensible Toolkit for Finetuning and Inference of Large Foundation Models. Large Models for All.

View on GitHub ↗Jump to charts ↓Open shareable report

Summary Information

Updated 30 minutes ago
Added to GitGenius on September 7th, 2026
Created on March 27th, 2023
Open Issues & Pull Requests: 88 (+0)
GitHub issues: Enabled
Number of forks: 824
Total Stargazers: 8,487 (+0)
Total Subscribers: 66 (+0)

Repository Insights (GitGenius)

Median issue/PR response: 13.0 hours
Mean response time: 22.1 days
90th percentile: 34.0 days
Tracked items: 22

How this project is maintained

96% of open issues come from outside the core team, so the backlog reflects real-world use rather than internal planning. Three people close 57% of everything that gets resolved.

Charts & Analytics

Fetching additional details & charts...

Issue Activity (beta)

Open issues: 24
New in 7 days: 0
Closed in 7 days: 0
Avg open age: 546 days
Stale 30+ days: 23
Stale 90+ days: 21

Recent activity

Opened in 7 days: 0
Closed in 7 days: 0
Comments in 7 days: 0
Events in 7 days: 0

Top labels

  • pending (4)
  • enhancement (1)
  • good first issue (1)
  • offload (1)

Most active issues this week

No issue events were indexed in the last 7 days.

Detailed Description

LMFlow is an extensible toolkit for finetuning and inference of large language models.

The toolkit addresses the challenge of adapting pretrained foundation models to specific tasks and domains. It provides a unified interface for finetuning workflows, supporting multiple optimization strategies including custom optimizers and techniques like low-rank adaptation. The approach emphasizes accessibility by offering preset conversation templates for popular models and streamlined APIs that reduce the complexity of working with large models.

Teams should adopt LMFlow when they need flexible finetuning capabilities without being locked into a single approach. It suits projects ranging from instruction-following model development to domain-specific adaptation, particularly where teams want to experiment with different optimization methods or work with models like Llama and Phi. The toolkit's support for conversation templates and custom optimizers makes it valuable for those building conversational systems or exploring training variations.

The project maintains active development with significant architectural changes, including a major refactor introducing full Accelerate support and streamlining of core components. Support for emerging model families such as hybrid-head parallel architectures demonstrates responsiveness to new developments in the field. The codebase includes experimental features and ongoing expansion of optimization options, indicating iterative enhancement of training capabilities. Documentation is maintained across multiple languages, reflecting effort to serve a global developer community.