MLX LM is an open-source Python package designed for running and fine-tuning large language models on Apple silicon using Apple's MLX framework. It enables developers to generate text, interact with conversational models, and customize LLMs locally on Mac computers. The package integrates with Hugging Face Hub, providing access to thousands of compatible models through simple commands. It supports model conversion, quantization, and uploading optimized models to Hugging Face. Users can perform low-rank and full-model fine-tuning, including training quantized models. Its Python API and command-line tools support streaming generation, configurable sampling, and interactive chat. Additional capabilities include distributed inference, prompt caching, and memory-efficient processing of long contexts.

Features

  • Apple Silicon-Optimized LLM Inference
  • Hugging Face Hub Model Integration
  • Low-Rank and Full-Model Fine-Tuning
  • Model Conversion and Quantization
  • Streaming Text Generation and Interactive Chat
  • Distributed Inference and Prompt Caching

Project Samples

Project Activity

See All Activity >

License

MIT License

Follow MLX LM

MLX LM Web Site

Other Useful Business Software
Ship Agents Faster Icon
Ship Agents Faster

Transform your applications and workflows into powerful agentic systems at global scale.

Gemini Enterprise Agent Platform lets you rapidly build, scale, govern and optimize production-ready agents grounded in your organization's data. The platform enables developers to build custom or pre-built agents for virtually any use case. New customers get $300 in free credits.
Start Free
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of MLX LM!

Additional Project Details

Programming Language

Python

Related Categories

Python Artificial Intelligence Software

Registered

3 days ago