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.0a11

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.0a11
File Size Uploaded Provenance Actions
mlx_beam_vision-0.1.0a11.tar.gz 77.0 kB With provenance Details for mlx_beam_vision-0.1.0a11.tar.gz

Built distribution (wheel)

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

Total release size: 149.6 kB

Release files / mlx_beam_vision-0.1.0a11.tar.gz

Download URL mlx_beam_vision-0.1.0a11.tar.gz
Size 77.0 kB
Tags Source
SHA-256 checksum
How to use checksums
23f73524f26e1ec3d5faa4d1eb14305a5780c23c79ec95efea71655e7855e018
BLAKE2b-256 checksum
How to use checksums
e9689d108e82aa859e99526f49605b20692688bc7d577d48228f1bf28f4d1d80
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 11, 2026.

Transparency log

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

Download URL mlx_beam_vision-0.1.0a11-py3-none-any.whl
Size 72.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
e11f0c8ec47b3c81570ef2edcda9233369ec6c243709693ed3aed1ab7c5bf31d
BLAKE2b-256 checksum
How to use checksums
9b6d343c518ca1aea0fbdae03c0e966a382b5e9de125a4b9e85a14c86d403902
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 11, 2026.

Transparency log

Security for mlx-beam-vision 0.1.0a11

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.0a11.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 11, 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