MLX Community Projects #654
Replies: 59 comments 20 replies
-
|
Text generation: mlx-tuning-fork |
Beta Was this translation helpful? Give feedback.
-
|
text generation: https://github.com/mzbac/mlx-moe-models |
Beta Was this translation helpful? Give feedback.
-
|
An implementation of Reinforcement Learning algorithms in MLX based in the Implementations from CleanRL. Still WIP because it’s missing a benchmark and some other minor things, but the implementations work correctly. |
Beta Was this translation helpful? Give feedback.
-
|
mlx-models. Currently supporting vision models by loading/converting from PyTorch checkpoints. Will later add support for text and audio models as well. |
Beta Was this translation helpful? Give feedback.
-
|
Hi I would love to add chat-with-mlx. It is a Chat UI + RAG Implementation on MLX. I wIll add more features later on (more advanced RAG pipeline + multimodal) |
Beta Was this translation helpful? Give feedback.
-
|
I have an example of training a simple language model using BitLinear instead of nn.Linear. It's a port of Karpathy's minGPT to MLX along with a custom implementation of a BitLinear module. https://github.com/adhulipa/mlx-mingpt I noticed this collection already has the far more meatier |
Beta Was this translation helpful? Give feedback.
-
|
Transformer Lab https://github.com/transformerlab/transformerlab-app is an LLM research platform that allows you to run, train, perform RAG, and evaluate LLMs through a GUI. |
Beta Was this translation helpful? Give feedback.
-
|
MLX RAG with GGUF Models: https://github.com/Jaykef/mlx-rag-gguf The code here builds on https://github.com/vegaluisjose/mlx-rag, it has been optimized to support RAG-based inferencing for .gguf models. I am using BAAI/bge-small-en for the embedding model, TinyLlama-1.1B-Chat-v1.0-GGUF as base model and the custom vector database script for indexing texts in a pdf file. Inference speeds can go up to ~413 tokens/sec for prompts and ~36 tokens/sec for generation on my 8G M2 Air. |
Beta Was this translation helpful? Give feedback.
-
|
@Jaykef Very cool, thanks for sharing |
Beta Was this translation helpful? Give feedback.
-
|
Vision: MLX3D A library for deep learning with 3D data using mlx. |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
|
JSON schema decoding (allowing function calling, including an OpenAI-compatible server with tools) using MLX: https://github.com/otriscon/llm-structured-output |
Beta Was this translation helpful? Give feedback.
-
|
Hello for text generation part, I'm happy to share with you that I've proposed and contributed to the integration of MLX with LibreChat.ai. So now you can use your local LLM powered by MLX through a fancy interface privately, enjoy! :D See danny-avila/LibreChat#2580 If in the future the community proposes an API servers supporting also multimodality, transcription, image generation for example, I will add them into LibreChat ;) It could be great also to have and LLM API supporting /models endpoint and multiple models simultaneously :D |
Beta Was this translation helpful? Give feedback.
-
|
Hello, mlx community, we are happy to share with you that we have contributed the first strong sub-4 bit LLM model zoo for MLX community.
The modern LLM families include Llama3/2, Phi-3, Mistral, 01-Yi, and Qwen. A mlx-style inference toolkit is also shared for the local web chatting.
We are an active team here, supporting the better low-bit community on the local platform. Enjoy! |
Beta Was this translation helpful? Give feedback.
-
|
mlx_micrograd - mlx port of Karpathy's micrograd - a tiny scalar-valued autograd engine with a small PyTorch-like neural network library on top. Installationpip install mlx_microgradExample usageExample showing a number of possible supported operations: from mlx_micrograd.engine import Value
a = Value(-4.0)
b = Value(2.0)
c = a + b
d = a * b + b**3
c += c + 1
c += 1 + c + (-a)
d += d * 2 + (b + a).relu()
d += 3 * d + (b - a).relu()
e = c - d
f = e**2
g = f / 2.0
g += 10.0 / f
print(f'{g.data}') # prints array(24.7041, dtype=float32), the outcome of this forward pass
g.backward()
print(f'{a.grad}') # prints array(138.834, dtype=float32), i.e. the numerical value of dg/da
print(f'{b.grad}') # prints array(645.577, dtype=float32), i.e. the numerical value of dg/db
|
Beta Was this translation helpful? Give feedback.
-
|
mlx-code: Local Claude Code-style agent via mlx-lm It's a local Claude Code style coding agent built on Current features:
This is very early / first-pass code, basically a minimal proof-of-concept to see how far a simple local agent can go. |
Beta Was this translation helpful? Give feedback.
-
|
I've been maintaining Awesome MLX — a curated list of 80+ MLX community projects, organized by category (inference, training, audio, vision, Swift, etc.) with a Quick Start guide and model recommendations by RAM size. Anyone can add their project via a simple issue form. PRs welcome too! |
Beta Was this translation helpful? Give feedback.
-
|
MOLA: multi-LoRA inference server for MLX. One base model stays loaded, adapters route per request, no reloads. 8 adapters on Qwen3.5-9B, M5 Max 64GB: 732 tok/s same-adapter, 555 tok/s mixed at c64 (~24% overhead). Uses mx.gather_mm for batched multi-adapter decode. Still alpha, needs a small mlx-lm patch (script included). OpenAI-compatible API. |
Beta Was this translation helpful? Give feedback.
-
|
mlx-serve — OpenAI-compatible inference server that manages text, vision, embeddings, TTS, and STT models through a single endpoint, loading one at a time to stay within unified memory limits.
Thanks to the MLX team for the foundation libraries that make this possible. |
Beta Was this translation helpful? Give feedback.
-
|
Looks like the "Deep Dive Into AI With MLX PyTorch" has moved to a different location (a link you have in the top post is broken): |
Beta Was this translation helpful? Give feedback.
-
|
mlx-node is an inference and training library that exposes Node.js APIs. It also includes an experimental WebGPU backend: https://mlx.void.app |
Beta Was this translation helpful? Give feedback.
-
|
I would like to share a small early-beta sparse primitives package for MLX, called mlx-sparse It is an attempt at an MLX-native sparse array package for Apple Silicon. It provides Python-facing sparse array containers, with the performance-critical parts implemented as MLX primitives using C++, CPU backends, and Metal kernels. It is still an early beta, but I hope it can be useful for people experimenting with sparse linear algebra, graph-like workloads, scientific computing, and sparse model components in MLX. Feedback, issues, and any contributions are very welcome! Edit: it also supports some linalg operations. More in the docs. |
Beta Was this translation helpful? Give feedback.
-
|
Two MLX diffusion tools for Apple Silicon, both drop into mflux:
|
Beta Was this translation helpful? Give feedback.
-
|
llm-swarm-router — LLM server mesh router for oMLX/Ollama/LM Studio/vLLM; OpenAI + Anthropic Messages on :11400 (macOS menubar + home-lab routing): https://github.com/matthewdcage/llm-swarm-router |
Beta Was this translation helpful? Give feedback.
-
These are all meant to be runnable on personal mac mini or macbooks. |
Beta Was this translation helpful? Give feedback.
-
|
Benchmarking / Misc: mlx-chronos - A benchmark suite and community leaderboard for MLX inference engines on Apple Silicon, with TTFT, throughput, RAM, thermal metadata, and reproducible JSON submissions. Leaderboard: https://igurss.github.io/mlx-chronos |
Beta Was this translation helpful? Give feedback.
-
|
MLX Diffuser: Train from scratch, fine-tune, or run inference for diffusion & flow models - for image, video, and discrete modalities. |
Beta Was this translation helpful? Give feedback.
-
|
Hi! I'd love to have this added to the list:
More details in the Show & Tell thread #3732. Thanks! |
Beta Was this translation helpful? Give feedback.
-
|
mlx-serve — native Zig inference server for Apple Silicon, no Python. Runs MLX-format models and exposes OpenAI-compatible and Anthropic-compatible HTTP APIs out of the box, so the same Highlights:
MIT, Apple-Silicon only. Site: ddalcu.github.io/mlx-serve |
Beta Was this translation helpful? Give feedback.
-
|
atlas — measured-cost quantization for MLX: profiles per-block KL sensitivity, then solves (bit-width, group-size) allocation exactly for any RAM budget. Benchmarked vs uniform MLX and llama.cpp K-quants. https://github.com/Matth21/atlas |
Beta Was this translation helpful? Give feedback.


Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Let's collect some cool MLX integrations and community lead projects here for visibility!
If you have a project you would like to feature, leave a comment, and we will add it. If the project is build with MLX Swift, add it to the MLX Swift Community Project page.
Text Generation
Vision
Speech and Audio
Multi-modal
Misc
Educational
picoGPT.Beta Was this translation helpful? Give feedback.
All reactions