Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

mlx-beam-vision

The towers that let mlx-beam see. Install it next to the engine (pip install mlx-beam[vision], or this package by name) and a checkpoint that ships a vision tower serves images: an image_url part with a data: URL in a chat request, the checkpoint's own processor renders the template, the tower encodes the image, and the engine's prefill takes the image's features in place of the placeholder tokens - beside text-only requests in the same batch, with the prefix cache keyed on the image's digest. Without this package the engine answers image input with a 400 that names the vision extra.

Towers vendored from mlx-vlm (MIT, see mlx_beam_vision/_vendor/VENDORED.md):

Family Models Notes
qwen3_vl Qwen3-VL, Qwen3.5, Qwen3.8 DeepStack applied: the tower's intermediate features are added after the text model's first layers; the text model's multimodal positions (MRoPE: time, height, width per image token) are built from the processor's grids and applied through prefill, cache and decoding
mistral3 Mistral Small 3.x (Pixtral tower) the image's rows are separate spans ([IMG_BREAK] between them)
gemma4 Gemma 4 E2B, E4B image only; audio is not served yet
gemma4_unified Gemma 4 12B and up encoder-free: the checkpoint's own patch embedder (after transformers' Gemma4UnifiedVisionEmbedder, no mlx-vlm part) in place of a tower; an image's tokens attend to each other both ways in the text model's sliding layers, which the engine's prefill masks and keeps in one call
muse_glimmer Muse Glimmer the projector's norm matches the text model's input norm
granite4_vision Granite Vision 4.1 AnyRes tiles, window Q-Former projectors; nothing at the embedding, every projector's features added ahead of its text layer

Not yet: audio and video input. A quantized tower, projector or adapter loads as such. An image above 32 megapixels is refused before it is decoded.

The package installs torch and torchvision: the processors transformers ships for these families (the template rendering and the image-to-patches step) are written on them. The towers themselves run on MLX; torch does no inference here.

Every family is exercised in the tests on a tiny random tower against a direct forward; the real towers and processors are validated on Apple silicon with the checkpoints themselves.

/health.vision reports the family, the tower, the processor and the feature cache (encoder outputs by image digest, bounded in bytes).

Metadata

Release files for mlx-beam-vision 0.1.0a10

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-beam-vision 0.1.0a10
File Size Uploaded Provenance Actions
mlx_beam_vision-0.1.0a10.tar.gz 62.7 kB With provenance Details for mlx_beam_vision-0.1.0a10.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for mlx-beam-vision 0.1.0a10
File Interpreter ABI Platform Actions
mlx_beam_vision-0.1.0a10-py3-none-any.whl Python 3 none any Details for mlx_beam_vision-0.1.0a10-py3-none-any.whl

Total release size: 130.9 kB

Release files / mlx_beam_vision-0.1.0a10.tar.gz

Download URL mlx_beam_vision-0.1.0a10.tar.gz
Size 62.7 kB
Tags Source
SHA-256 checksum
How to use checksums
2c8ce6deb484d4b86edc205526e1944eedeeeecdc6c040b6daf4cdd257462f15
BLAKE2b-256 checksum
How to use checksums
9bce3d12a081fa023c32979d014165e1db11c7a61a76d3372851bb3b0ba2138b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 4, 2026.

Transparency log

Release files / mlx_beam_vision-0.1.0a10-py3-none-any.whl

Download URL mlx_beam_vision-0.1.0a10-py3-none-any.whl
Size 68.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
7edf4597c74e467e1bb24d81309c02769397e1bc1083551bf3f0753f7332195a
BLAKE2b-256 checksum
How to use checksums
07f1c3e032e0188ff3a3a5597135dce0464cfdd76e318aa433d9f348614d4198
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 4, 2026.

Transparency log

Security for mlx-beam-vision 0.1.0a10

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.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for mlx_beam_vision-0.1.0a10.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 4, 2026.

Transparency log

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