Skip to main content

mlx-one black and orange logo

mlx-one

One stack. Native MLX. Built for Apple Silicon.

A unified, native MLX stack for language, vision-language, embeddings, audio-language, speech, segmentation and classification models on Apple Silicon.

Python 3.10+ Apache 2.0 License Apple Silicon PyPI version

Install | Quick Start | Web UI | Performance · VLM · Audio · OCR | Models | Architecture | APIs | Documentation

MLX-One is a native inference library built on Apple's MLX framework for Apple Silicon. It brings text generation, vision-language inference, audio, OCR, embeddings and segmentation into one extensible stack, with shared model loading, execution and developer tooling.

Install and run

MLX-One runs natively on Apple Silicon. Use macOS 15+ with Python 3.10+ and MLX 0.32.2. This README covers MLX-One 0.1.5.

python -m pip install --upgrade "mlx-one[server]"
mlx-one --version

Generate text with a pinned checkpoint:

from mlx_one import Engine

with Engine(model="openai-community/gpt2") as engine:
    print(engine.generate("The future of local AI is", max_tokens=64).text)

Create an image with MLX-One 0.1.5 and the vision extra. If 0.1.5 is still awaiting publication, install the release wheel locally or use a source checkout.

python -m pip install "mlx-one[server,vision]==0.1.5"
mlx-one image generate mflux-community/flux2-klein-4b-mflux-q4 \
  --prompt "A red fox in a snowy forest at dawn" \
  --width 512 --height 512 --steps 4 --seed 17 \
  --output ./fox.png

Start the HTTP server and open http://127.0.0.1:8888 for the bundled Web UI:

mlx-one serve LiquidAI/LFM2-350M --inference-mode reference_dense \
  --host 127.0.0.1 --port 8888 --alias lfm2-local

See Quick Start for the full setup and task examples.

Web UI

MLX-One Create Image mode showing a laptop with a miniature mountain village on its screen

The built-in Web UI includes chat and on-device image generation. This image was generated with FLUX.2 Klein 4B Q4 on an Apple M4.

The native image engine also accepts the published MOSS-Image-SFT Q4 bundle under mflux-community/moss-image-sft-mflux-q4. The MOSS path has passed synthetic Metal tests. Full-checkpoint image quality and performance are pending.

Why MLX-One?

  • Native model implementations: model math, safe checkpoint loading, tokenization and generation live inside MLX-One.
  • One developer interface: use Python, the CLI or HTTP for implemented tasks, with shared request lifecycle and evidence records.
  • Built for Apple Silicon: MLX, Metal and unified memory underpin execution; memory planning helps choose bounded workloads for a device.
  • Extensible architectures: configuration-driven registration and reusable components support language, vision, audio and retrieval families.
  • Custom Metal kernels: accelerate selected model operations on Apple Silicon, including attention, quantized projections and MoE routing.
  • Optional acceleration: MLXBoost provides an opt-in host-overhead optimization for eligible profiles, with explicit fallback and experimental status.

Hugging Face supplies configuration, tokenizer/processor assets and safe safetensors checkpoints. Native inference runs through MLX-One and Apple MLX.

Architecture

MLX-One interfaces, eight modalities, and the native runtime on Apple Silicon Macs

Click the diagram for full resolution. Apple Silicon Macs host inference. Android, iPhone, and iPad companion apps are planned clients of the Mac server. The 8–32 GB range describes device targets, with the 32 GB M4 Air as the measured baseline.

Native text requests can start in the Web UI, another HTTP client, the Python Engine, or the CLI.

Web UI / HTTP + SSE / Python Engine / CLI
                 ↓
Prepared prompt + identity + resolved execution plan
                 ↓
Reference execution or InferenceActor + BatchScheduler
                 ↓
Native model adapter → dense / paged / hybrid runner
                 ↓
CacheManager → ownership, prefix index, page arena, hybrid state
                 ↓
MLX + Metal + unified memory

The actor owns request state, sampling and cancellation. Cache reservations and memory-pressure telemetry govern admission; matching evidence gates optimized backend selection. Native model equations stay within family packages.

Native Model Coverage

Eight modalities in the current source tree, including image generation. The historical release cohort covers 45 native architecture types and 50 verified checkpoint profiles. The checkpoint list links to model weights and shows the supported workflows.

Checkpoint validation results.

Verified Checkpoint Workflows

The ten additional checkpoint profiles are listed below.

Checkpoint Task Verified behavior
google-t5/t5-small Text-to-text generation Native encoder-decoder, teacher-forced logits and bounded greedy translation
google/vit-base-patch16-224 Image classification Fixed 224×224 RGB input, trained labels, matching class logits and top-five results
hexgrad/Kokoro-82M Speech synthesis Native 24 kHz English speech with af_heart; reviewed audio and native ASR round trip
BAAI/bge-small-en-v1.5 Dense retrieval 384-D CLS embeddings with L2 normalization
BAAI/bge-m3 Multi-representation retrieval Dense vectors, learned sparse weights, ColBERT token vectors and hybrid scoring
sentence-transformers/paraphrase-multilingual-MiniLM-L12-v2 Multilingual embeddings 384-D masked mean vectors, preserving the publisher's unnormalized output; 128-token sentence limit
nomic-ai/nomic-embed-text-v1.5 Dense retrieval Role prefixes, normalized 768-D default and explicit Matryoshka dimensions 64/128/256/512/768
intfloat/multilingual-e5-small Multilingual retrieval 384-D masked mean plus L2 normalization, with query: / passage: prefixes
cross-encoder/ms-marco-MiniLM-L6-v2 Paired reranking Trained BERT pooler and scalar head, raw relevance logits and separate sigmoid scores
BAAI/bge-reranker-v2-m3 Paired reranking Native XLM-R classification head with source-logit and ranking checks

These workflows have pinned real-checkpoint and interface evidence. ViT's stricter hidden-state diagnostic remains failed; its supported scope is supervised classification. Kokoro supports the verified English voice, up to 510 phonemes and 30 seconds per utterance. Full limits, conversion requirements and retained diagnostics are in the linked validation results.

Release Record

0.1.2 was published on PyPI on 11 November 2026, including the ten additional workflows and all 45 architecture types in their documented scope. Both uploaded artifacts match the validated wheel and source archive; see the release record. The previous 0.1.1 release covers the original 40-type cohort. See the 0.1.1 release record.

Key Capabilities

Capability What is implemented
Text generation Cached causal decoding, seeded sampling, stop sequences, streaming, chat templates and T5 encoder-decoder generation
Multimodal inference Native image/text, speech, OCR and segmentation workflows within family-specific limits
Image generation Native text-to-image generation through the CLI and Web UI, with live progress and PNG download in the UI
Retrieval Dense embeddings, role-aware queries, Matryoshka dimensions, learned sparse vectors, ColBERT and BERT/XLM-R/Qwen3 reranking
Speech synthesis Native Kokoro acoustic and vocoder execution, optional English G2P and 24 kHz WAV output
Image classification Supervised ViT class predictions and zero-shot CLIP workflows
Developer access Context-managed Python engine, task CLI, local Web UI and HTTP/SSE serving
Inspection and planning Safe artifact inspection, hardware profiles and workload memory estimates
Training and evaluation Experimental LoRA/QLoRA SFT, dataset validation, adapter export and evidence tooling

Task availability varies by checkpoint and interface.

Version 0.1.4

Published on PyPI on 15 November 2026. This release refreshes the chat workspace, adds serving progress/timing logs, fixes GPT-OSS reasoning-only streams and recommends an 8192-token output budget with low reasoning effort when context allows. Explicit user limits are preserved. Native sampling and eligible GPT-OSS execution have bounded optimizations; sustained long-response speed remains variable. Full 128K HTTP/tool workflows are not qualified by these short-context measurements.

0.1.5 adds the native Web UI Create Image flow, cached-token reporting, the Qwen2.5 continuous-batching matrix and the verified SSD prefix restart. Paged KV performance, Q4/Q8 Gate D, Qwen3.5 MTP and MOSS-Image-SFT Q4 full-checkpoint validation remain under known limitations.

GitHub releases.

Install the published release:

python -m pip install --upgrade "mlx-one[server]==0.1.4"
mlx-one --version

Quick Start

Installation

Use Python 3.10+ on an Apple Silicon Mac running macOS 15+ for model execution.

Install or upgrade from PyPI.

python -m pip install --upgrade mlx-one

For the HTTP server, vision and OCR dependencies:

python -m pip install --upgrade "mlx-one[server,vision,ocr,kokoro]"
mlx-one --version

For development, run this from a source checkout.

python -m pip install -e '.[server,vision,kokoro]'

Load a text checkpoint and generate

The engine loads the model on entry and releases its resources on exit:

from mlx_one import Engine

with Engine(model="openai-community/gpt2") as engine:
    result = engine.generate("The future of local AI is", max_tokens=64)
    print(result.text)

A local snapshot path also works. Use revision to pin an immutable checkpoint and offline=True when all required assets are already cached.

Run the CLI

mlx-one doctor
mlx-one generate openai-community/gpt2 "The future of local AI is" \
  --max-tokens 64 --temperature 0.8 --top-p 0.95 --seed 0

Add --stream for incremental text or --offline for cached/local assets.

Run Task-Specific Models

mlx-one embed BAAI/bge-small-en-v1.5 'Paris is the capital of France.' --json-output

mlx-one rerank cross-encoder/ms-marco-MiniLM-L6-v2 'capital of France' \
  'Paris is the capital of France.' 'Bananas are yellow.' --json-output

mlx-one seq2seq google-t5/t5-small \
  'translate English to German: The house is wonderful.' --max-new-tokens 24

mlx-one classify-image google/vit-base-patch16-224 ./image.jpg --top-k 5 --json-output

mlx-one tts ./kokoro-native 'Hello, world.' --output ./speech.wav

Kokoro and BGE-M3 use safely converted local bundles. The retrieval and reranking example combines a dense encoder with a paired scorer using MLX-One APIs. Use the recorded immutable revisions when reproducing the validation results.

Start the HTTP server

python -m pip install "mlx-one[server]"
mlx-one serve LiquidAI/LFM2-350M --inference-mode reference_dense \
  --host 127.0.0.1 --port 8888 --alias lfm2-local

Open http://127.0.0.1:8888 for the bundled chat UI. The same process exposes OpenAI-compatible endpoints at /v1.

Model Performance

Selected native text-generation results on Apple M4 / 32 GB.

Model Precision Hardware TTFT (ms) Prefill tok/s Decode tok/s
openai-community/gpt2 FP32 Apple M4 / 32 GB 19.04 6722.29 118.04
Qwen/Qwen2.5-0.5B-Instruct Affine Q8 (group 64) Apple M4 / 32 GB 63.94 2001.96 83.48
Qwen/Qwen3-0.6B Affine Q8 (group 64) Apple M4 / 32 GB 100.39 1275.02 65.47
LiquidAI/LFM2-350M Affine Q4 (group 64) Apple M4 / 32 GB 40.24 3180.66 185.81
HuggingFaceTB/SmolLM2-1.7B-Instruct Affine Q4 (group 64) Apple M4 / 32 GB 333.28 384.06 55.69
meta-llama/Llama-3.2-1B-Instruct Affine Q4 (group 64) Apple M4 / 32 GB 341.58 374.73 65.36
Qwen/Qwen2.5-1.5B-Instruct Affine Q4 (group 64) Apple M4 / 32 GB 311.26 411.23 53.52
google/gemma-3-1b-it BF16 Apple M4 / 32 GB 189.47 675.56 32.17
microsoft/Phi-3-mini-4k-instruct Affine Q4 (group 64) Apple M4 / 32 GB 801.79 159.64 29.92

MLX-One text-model decode speed by nominal parameter size on Apple M4

The chart labels the historical cohort and separate standardized GPT-2 result. Standardized 128/128 runs, HTTP serving, VLM, audio, and OCR use separate protocols.

GPT-OSS native HTTP serving

Native HTTP tool-call performance on Apple M4 / 32 GB.

Model name Parameters Configured context (tokens) Quantization/precision Prefill tokens/sec Decode tokens/sec Native first-token time (ms) Peak MLX memory (GiB)
mlx-community/gpt-oss-20b-MXFP4-Q4 20B / 3.6B active 131,072 Mixed MXFP4 / affine Q4–Q8 75.95 18.96 2355.38 10.608

Native first-token time includes hidden analysis; the median first actionable tool delta arrived at 7.127 seconds, after argument validation. The configured 131,072-token context was not tested at its full length. Standardized direct-model 128/128 coverage remains unchanged.

The historical serving report does not record an immutable local checkpoint revision or MLX version; it cannot qualify the current pinned GPT-OSS targets.

Vision-Language Model Performance

Native vision-language results on Apple M4.

The image and prompt are pinned in the workload manifest.

Q4/Q8 denote the published checkpoint format; vision or projector modules may retain floating-point weights.

MLX-One VLM decode speed by nominal model size, with time to first token

VLM size-versus-speed scatter plot · VLM chart SVG

Model Precision Images Vision processing (ms) Prefill TPS Decode TPS TTFT (ms) Peak MLX memory (GiB) Scores
Qwen2-VL 2B Q4 1 6.05 279.68 67.28 1290.28 1.755 Scores
Qwen2.5-VL 3B Q4 1 6.05 215.86 41.19 1670.08 3.164 Scores
Qwen3.5 0.8B Q4 1 4.81 717.75 68.78 401.16 1.129 Scores
LFM2-VL 450M Q8 1 7.16 1739.05 154.33 169.97 1.163 Scores
LFM2.5-VL 3B Q4 1 7.37 300.73 52.01 942.38 2.801 Scores

High-resolution (1024 × 1024), four-image and OCR workloads remain separate. The HF image protocol is not pooled with the earlier synthetic-image protocol. See the pinned checkpoint inventory. Text-model measurements use different protocols.

Audio Model Performance

Historical native audio performance. Values below are validated measurements; “—” means unavailable. Recognition uses one pinned English LibriSpeech utterance (9.9 seconds, padded to 10); its WER is a single-clip check, not corpus accuracy. See the linked raw evidence.

Speech Recognition Performance

MLX-One speech recognition throughput by nominal model size, with single-clip WER and peak memory

ASR size-versus-throughput scatter plot · ASR chart SVG

Model Precision Audio (s) Latency (ms) RTF ↓ Audio sec/sec ↑ WER (%) Peak MLX (GiB) Scores
Whisper Tiny FP32 10.000 2144.869 0.214 4.662 4.167 0.485 Scores
Whisper Large v3 Turbo FP16 10.000 7666.962 0.767 1.304 4.167 2.694 Scores
Distil-Whisper Large v3 FP16 10.000 5433.400 0.543 1.840 0.000 2.596 Scores
Moonshine Tiny FP32 10.000 117.038 0.012 85.443 4.167 0.191 Scores
Moonshine Base FP32 10.000 153.511 0.015 65.142 12.500 0.423 Scores
Qwen3-ASR 0.6B Q8 / BF16 10.000 528.726 0.053 18.913 0.000 1.281 Scores
Qwen3-ASR 1.7B Q8 / BF16 10.000 1017.307 0.102 9.830 0.000 2.656 Scores
Parakeet TDT v2 FP32 10.000 169.265 0.017 59.079 0.000 2.383 Scores
Parakeet TDT v3 FP32 10.000 174.019 0.017 57.465 0.000 2.417 Scores
LFM2.5 Audio 1.5B Q4 / BF16 10.000 547.659 0.055 18.260 4.167 1.472 Scores

Forced Alignment Performance

Model Precision Audio (s) Latency (ms) Mean boundary error (ms) Peak MLX (GiB) Scores
Qwen3-ForcedAligner 0.6B Q8 / BF16 10.000 189.892 — 1.546 Scores

Speech Generation Performance

MLX-One speech generation throughput, with separate TTS and speech-to-speech workloads and the failed longer case

Speech generation chart SVG. Speech quality and alignment accuracy retain their documented limits.

Model Precision Task First audio (ms) Output (s) RTF ↓ Audio sec/sec ↑ Peak MLX (GiB) Scores
LFM2.5 Audio 1.5B Q4 / BF16 synthesize 328.986 12.320 0.312 3.207 1.850 Scores
LFM2.5 Audio 1.5B Q4 / BF16 speech-to-speech — — — — — Failed; WIP

Speech-to-speech: separate short-question workload

The short-question test used a 2.04-second clip.

Model First audio (ms) Output (s) RTF ↓ Audio sec/sec ↑ Peak MLX (GiB)
LFM2.5 Audio 1.5B Q4 426.127 15.360 0.349 2.867 2.016

Experimental speech-to-speech results.

Independent alignment boundary accuracy was not measured in this historical cohort; newer TIMIT timing checks used a separate workload. Q4 LFM speech-to-speech exceeded its output bound on this fixture; its sampled diagnostic also had unstable waveform amplitude. No speed is published for that failed task. TTS timings do not establish perceptual quality. Qwen ASR streaming reprocesses a bounded accumulated utterance; it is not a causal streaming encoder.

OCR Model Performance

Native page OCR on 100 images from the OmniAI OCR Benchmark dataset.

OCR throughput on 100 document images

Model Precision Completed Median latency (s) Pages/s Markdown-ref. CER ↓ Peak MLX (GiB) Truncated
TrOCR Base Printed FP32 Line crops required — — — — —
TrOCR Base Handwritten FP32 Line crops required — — — — —
GOT-OCR 2.0 Affine Q4 97/100 12.42 0.114 74.5% 1.673 56
Florence-2 Base FT FP16 97/100 6.60 0.197 78.3% 1.201 61
PaddleOCR-VL 1.5 Affine Q4 97/100 13.87 0.087 59.8% 1.560 53
LightOnOCR 2 1B BF16 97/100 31.53 0.032 67.7% 8.661 64
DeepSeek-OCR Affine Q4 97/100 13.59 0.076 51.2% 3.810 41

Formatting and reading order affect page CER. Failed requests count as empty predictions.

TrOCR requires annotated line crops, absent from this page dataset. PaddleOCR-VL uses direct page transcription; its separate layout pipeline is not included. No layout accuracy or JSON extraction score is claimed by this page test.

Handwriting: 10 line images

This test used ten lines from the handwritten_text_ocr dataset.

OCR throughput on 10 handwritten lines

Model Precision Completed Median latency (s) Images/s CER ↓ WER ↓ Peak MLX (GiB) Truncated
TrOCR Base Printed (printed baseline) FP32 10/10 0.27 3.608 80.6% 100.0% 1.488 0
TrOCR Base Handwritten FP32 10/10 0.21 4.670 4.4% 10.6% 1.488 0
GOT-OCR 2.0 Affine Q4 10/10 0.67 1.491 40.6% 94.7% 1.673 0
Florence-2 Base FT FP16 10/10 0.30 3.051 97.9% 143.6% 1.201 1
PaddleOCR-VL 1.5 Affine Q4 10/10 1.13 0.790 13.8% 43.6% 1.540 0
LightOnOCR 2 1B BF16 10/10 0.98 1.102 6.9% 33.0% 2.766 0
DeepSeek-OCR Affine Q4 10/10 6.68 0.150 24.7% 48.9% 3.810 0

TrOCR Printed is an out-of-domain baseline. Page models process the same cropped lines in their OCR mode; this small sample is not a general handwriting qualification. Handwriting timings are separate from the 100-page workload.

Additional Modality Performance

Native classification and extraction latency on Apple M4.

Task Workload Median (ms) p95 (ms)
DistilBERT SST-2 One text 14.95 17.58
BERT NER One text, SIMPLE aggregation 18.90 26.14
CLIP ViT-B/32 One image, two labels 80.19 89.68
Silero VAD One second of decoded mono 16 kHz audio 16.35 22.97

Retrieval and Segmentation

Modality Available performance evidence Remaining measurement gap
Embeddings and reranking Measured FP32 dense retrieval and paired reranking pipelines on M4 Timings depend on input lengths and batching
SAM3 segmentation and tracking Approximately 8.41 GB peak MLX allocation in controlled 32-frame single-object comparisons on M4 / 32 GB Isolated latency and throughput were outside the fixture scope

Supported Modalities and Models

The current source tree covers eight modalities. The table links to the pinned Hugging Face checkpoints used by the documented workflows. Check the catalog for required conversion, precision, and task-specific limits.

Modality Supported workflow Checkpoint sources
Text generation Completion, chat, and text-to-text generation. gpt2, Qwen2.5-0.5B-Instruct, Qwen3-0.6B, LFM2-350M, SmolLM2-1.7B-Instruct, gemma-3-1b-it, Phi-3-mini-4k-instruct, LFM2.5-24B-A2B-MLX-4bit, gpt-oss-20b-MXFP4-Q4, OpenELM-270M, Qwen1.5-MoE-A2.7B-4bit, t5-small
Vision-language Single-image and text inference. Qwen2-VL-2B-Instruct-4bit, Qwen2.5-VL-3B-Instruct-4bit, Qwen3.5-0.8B-4bit, LFM2-VL-450M-8bit
Audio & speech Transcription, alignment, voice activity detection, and speech generation. whisper-tiny, moonshine-tiny, Qwen3-ASR-0.6B-8bit, parakeet-tdt-0.6b-v3, Qwen3-ForcedAligner-0.6B-8bit, LFM2.5-Audio-1.5B-8bit, Silero VAD (upstream), Kokoro-82M
Embeddings & reranking Dense embeddings, sparse retrieval, ColBERT, and paired reranking. all-MiniLM-L6-v2, all-mpnet-base-v2, Qwen3-Embedding-0.6B, Qwen3-Reranker-0.6B, LFM2-ColBERT-350M, ms-marco-MiniLM-L6-v2, bge-small-en-v1.5, bge-m3, paraphrase-multilingual-MiniLM-L12-v2, bge-reranker-v2-m3, nomic-embed-text-v1.5, multilingual-e5-small
OCR & documents Line recognition and page transcription. trocr-base-printed, GOT-OCR2_0-4bit, Florence-2-base-ft, PaddleOCR-VL-1.5-4bit, LightOnOCR-2-1B, DeepSeek-OCR-4bit
Image & video segmentation SAM3 image prompts, video segmentation, and tracking. sam3
Classification & extraction Sentiment, named entities, and image classification. distilbert-base-uncased-finetuned-sst-2-english, bert-base-NER, clip-vit-base-patch32, vit-base-patch16-224
Image generation Text-to-image through the native engine and Web UI. Checkpoint-level qualification varies. FLUX.2 Klein 4B Q4, Z-Image Turbo Q4, MOSS-Image-SFT Q4

Additional native text paths include Llama 3.2 1B Instruct Q4 and Inkling 2 Mini Bare Speed. Inkling support here covers text generation.

The historical release cohort covers 45 architecture types and 50 verified checkpoint profiles across seven modalities. SAM3 uses the same checkpoint across four execution types. Image generation is tracked separately in the current source tree. Release catalog · Additional qualification results

Native Inference Engine and MLXBoost

mlx_one.Engine manages a native text model's lifecycle, synchronous generation, streaming, asynchronous submission, cooperative cancellation and cleanup. The existing generate() and stream_generate() functions remain available.

Dense reference execution is the default, with one active sequence. Block, paged, dense-batch and hybrid-batch paths have explicit capability and evidence requirements; source implementation does not establish production qualification.

MLXBoost ships inside mlx-one and requires explicit mlxboost_b1 opt-in; feature flags default off. fast_decode reduces eligible host overhead. The GPT-OSS MXFP4/Q4 recipe uses pinned expert dispatch, compiled activation and bounded prefill, selected with MLXBoostConfig(gptoss_mlx_lm=True) or --mlxboost-gptoss-mlx-lm. Unsupported configurations retain explicit fallback or strict errors. Optimizations remain profile-specific and experimental.

The 0.1.4 maintenance changes add native sampling improvements and conservative full-history decode attention. Sustained long responses still slow down.

MLX-Boost Performance Scorecard — experimental

Recorded achievements include the accepted Phase 0 native bridge and offline tooling, implemented Q4/Q8 GEMV kernels, and a correctness-tested MoE combine prototype. These implementation milestones do not establish model acceleration.

Selected operator measurements on Apple M4 / 32 GiB.

Implementation Verified measurement Status
Phase 0 AXPBY and F01–F04 infrastructure 123 acceptance tests; 180 numerical cases with zero error. FP16 [4096]: stock/native 262.0000/226.3125 µs and 258.8125/224.1035 µs in two runs Foundation accepted; demo remains experimental
G03 affine Q4 GEMV FP16/group 64, K×N=2048×2048: stock 61.845 µs, native 134.120 µs (0.4611×) UNQUALIFIED
G03 affine Q8 GEMV FP16/group 64, K×N=896×896: stock 22.047 µs, native 29.389 µs (0.7502×) UNQUALIFIED
Fused MoE combine prototype 17 focused tests pass; FP16 [1,4,2048]: stock 0.536458 ms, native 0.540542 ms; no speed win Operator rejected; model blocked

These operator measurements leave model acceleration unqualified. The optimizations remain opt-in. See the machine-readable MLXBoost scorecard.

Python, CLI and HTTP APIs

Stream text through the Python engine:

from mlx_one import Engine

with Engine(model="LiquidAI/LFM2-350M") as engine:
    for chunk in engine.stream("Name two advantages of MLX.", max_tokens=64):
        print(chunk.text, end="", flush=True)

Inspect a model without loading weights, or transcribe a local recording:

mlx-one inspect Qwen/Qwen2.5-1.5B
mlx-one transcribe openai/whisper-tiny recording.wav --language en

Audio files require FFmpeg. Send a chat request to the server started above:

curl http://127.0.0.1:8888/v1/chat/completions \
  -H 'Content-Type: application/json' \
  -d '{"model":"lfm2-local","messages":[{"role":"user","content":"Explain MLX briefly."}],"max_tokens":64}'

Task-specific HTTP routes use the same server authentication and model lifecycle:

Task Endpoint
Dense embeddings /v1/embeddings
Paired reranking /v1/rerank
T5 text-to-text generation /v1/tasks/text-to-text-generation
Supervised ViT classification /v1/tasks/image-classification
Kokoro speech generation /v1/tasks/speech-generation

Serve a complete local task bundle with mlx-one serve ./bundle --alias local.

Documentation

Contributing

To add a model, open a pull request against main. We aim to respond within 24 hours.

Contributions are welcome. Open an issue or pull request against main. Keep changes focused, include tests for behavior changes, and run the documentation and lint checks before opening a PR:

python scripts/release/check_documentation.py
python scripts/release/check_lint.py
python -m pytest --no-cov

CI is required on pull requests to main. Native-hardware and publication jobs are maintainer-triggered.

Security

Do not open a public issue for a security problem. Use GitHub's private vulnerability reporting at https://github.com/SSusantAchary/mlx-one/security/advisories/new. Include the affected version, a minimal reproduction, and logs with secrets removed. See SECURITY.md for the full policy.

Citation

If you use MLX-One in your work, please cite it as:

@software{mlx_one2026,
author = {Achary, S. Susant},
title  = {mlx-one: Unified Native MLX Stack for Apple Silicon},
year   = {2026},
url    = {https://github.com/SSusantAchary/mlx-one},
note   = {Version 0.1.5. Native GPU-accelerated machine learning workflows on Apple Silicon}
}

See CITATION.bib for the repository citation file.

License

MLX-One is released under the Apache License 2.0. Model checkpoints retain their separate terms.

Metadata

Release files for mlx-one 0.1.5

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for mlx-one 0.1.5
File Size Uploaded Provenance Actions
mlx_one-0.1.5.tar.gz 1.8 MB Without provenance Details for mlx_one-0.1.5.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for mlx-one 0.1.5
File Interpreter ABI Platform Actions
mlx_one-0.1.5-py3-none-any.whl Python 3 none any Details for mlx_one-0.1.5-py3-none-any.whl

Total release size: 3.9 MB

Release files / mlx_one-0.1.5.tar.gz

Download URL mlx_one-0.1.5.tar.gz
Size 1.8 MB
Tags Source
SHA-256 checksum
How to use checksums
372c1878bc1d4c30c79a6661be7ebb03377ca1f3b30fda5be9cf7df4308a4728
BLAKE2b-256 checksum
How to use checksums
b52437650801d86a20099f0b7ba9a309915236f609c7589482277c2ef3e07cc8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.11

Release files / mlx_one-0.1.5-py3-none-any.whl

Download URL mlx_one-0.1.5-py3-none-any.whl
Size 2.1 MB
Tags Python 3
SHA-256 checksum
How to use checksums
510c29ef9323ad5ee86addfe0b7265168b0ad6e1b9be4e670566775de395907c
BLAKE2b-256 checksum
How to use checksums
043386fe63d995c48e5e3676a7f2b27224f38d1ddc89945144c0fed0a797a702
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.11

Security for mlx-one 0.1.5

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page