Downloads · 30 days
0
SceneWorks/lens-turbo-mlx
lens-turbo-mlx is a text-to-image model from SceneWorks. Use it when you need an image from a text prompt. It is set up for mlx-gen. The card lists the license as mit.
Native-MLX, pre-quantized re-host of microsoft/Lens-Turbo for on-device Apple-Silicon inference via mlx-gen's mlx-gen-lens provider (SceneWorks). The heavy components are packed offline so a tier loads directly with n…
Downloads · 30 days
0
Access
Public
Updated Jul 1, 2026
Repo size
84.3 GB
Likes
0
Public
Click a slice to open those files.
.safetensors84.9 GB · 100%
From the Hugging Face model README
Native-MLX, pre-quantized re-host of microsoft/Lens-Turbo
for on-device Apple-Silicon inference via mlx-gen's
mlx-gen-lens provider (SceneWorks). The heavy components are packed offline so a tier loads
directly with no dense transient and no in-app quantization (epic 8506, sc-8763).
Each subdirectory is a full, self-contained turnkey snapshot (the diffusers multi-component tree —
transformer/, text_encoder/, vae/, tokenizer/, scheduler/, model_index.json):
| Tier | Dir | What is packed |
|---|---|---|
| Q4 (default) | q4/ | DiT + gpt-oss encoder MoE experts → MLX group-64 affine 4-bit |
| Q8 | q8/ | DiT + gpt-oss encoder MoE experts → MLX group-64 affine 8-bit |
| bf16 | bf16/ | dense mirror of the source (no quantization) |
Two components are quantized (matching the load-time .quantize scope):
img_in/txt_in/proj_out + every block's fused-QKV attention projections
(img_qkv/txt_qkv/to_out.0/to_add_out) and SwiGLU MLPs. The timestep embedder, AdaLN
modulations, and all norms stay full precision.experts.{gate_up,down}_proj.{weight,scales,biases}). The
router / attention / embeddings / norms stay dense.The VAE (the shared Flux.2 decoder) always runs f32 and is shipped dense in every tier.
The pack is byte-identical to what the load-time quantizer produces (bf16 cast, group 64), verified
in-repo (mlx-gen-lens convert/quant byte-identity tests) and by an on-device render gate.
MIT, inherited from microsoft/Lens-Turbo. This is a format re-host; all model weights and credit
belong to the original authors (Microsoft Research).