ml-explore/mlx-lm

Run LLMs with MLX

View on GitHub ↗Jump to charts ↓Open shareable report

Summary Information

Updated 39 minutes ago
Added to GitGenius on September 9th, 2026
Created on March 11th, 2025
Open Issues & Pull Requests: 227 (+0)
GitHub issues: Enabled
Number of forks: 1,036
Total Stargazers: 6,984 (+0)
Total Subscribers: 51 (+0)

Repository Insights (GitGenius)

Median issue/PR response: 19.7 hours
Mean response time: 20.5 days
90th percentile: 54.7 days
Tracked items: 534

How this project is maintained

Around half of the issues opened in the past year never receive a reply. 99% of open issues come from outside the core team, so the backlog reflects real-world use rather than internal planning. 37% of tracked open issues have had no activity in three months. Only 10% of issues opened in the past year have been closed. Three people close 78% of everything that gets resolved.

Charts & Analytics

Fetching additional details & charts...

Issue Activity (beta)

Open issues: 151
New in 7 days: 7
Closed in 7 days: 17
Avg open age: 139 days
Stale 30+ days: 100
Stale 90+ days: 49

Recent activity

Opened in 7 days: 5
Closed in 7 days: 17
Comments in 7 days: 2
Events in 7 days: 10

Top labels

  • enhancement (14)
  • bug (10)
  • wontfix (2)
  • good first issue (1)

Detailed Description

MLX LM is a Python package for running and fine-tuning large language models on Apple silicon using the MLX framework.

The tool addresses the challenge of deploying and customizing LLMs efficiently on Apple hardware. It integrates with Hugging Face Hub to provide access to thousands of pre-trained models through a single command, eliminating the need to manually download and configure models. The package handles model quantization to reduce memory requirements and supports both low-rank and full model fine-tuning, including fine-tuning of already-quantized models. It provides distributed inference and fine-tuning capabilities through MLX's distributed module, enabling efficient use of multi-GPU Apple systems.

Developers working on Apple silicon who need to run or adapt existing LLMs should consider this tool. It suits projects ranging from simple text generation and interactive chat applications to more complex workflows involving model quantization and fine-tuning. The command-line interface makes it accessible for quick experimentation, while the Python API supports programmatic use cases including batch generation and streaming responses. Custom sampling behavior is supported through pluggable sampler and logits processor functions.

The project maintains active development with regular updates to support new model architectures and improvements to the quantization pipeline. Contributors regularly add examples demonstrating both basic and advanced usage patterns. The codebase receives ongoing refinement to the distributed training infrastructure and sampling utilities. Documentation is kept current with new capabilities, and the project actively engages with the community through the MLX Community organization on Hugging Face.