Downloads · 30 days
27
18% of all-time downloads
KaedeTai/VisionPsy-Nano-460M-Flash-MLX
VisionPsy-Nano-460M-Flash-MLX is a image-text-to-text model from KaedeTai. Use it for the image-text-to-text task on the model card, and read the license before you ship it in a product. It is set up for mlx. The card lists the license as apache-2.0.
MLX port of qvac/VisionPsy-Nano-460M-Flash — the latency-optimized sibling of VisionPsy-Nano-460M — converted to run natively on Apple Silicon.
Downloads · 30 days
27
18% of all-time downloads
All-time downloads
146
Public
Parameters
507M
1 GB on disk
Likes
1
Public
Click a slice to open those files.
.safetensors1 GB · 100%
From the Hugging Face model README
MLX port of qvac/VisionPsy-Nano-460M-Flash — the latency-optimized sibling of VisionPsy-Nano-460M — converted to run natively on Apple Silicon.
Measured across 7 images x 5 prompts, 64 max new tokens, greedy decode:
| Metric | Standard | Flash |
|---|---|---|
| Avg decode tok/s | 99 | 152 |
| Median decode tok/s | 90 | 157 |
| Avg peak GPU memory | 2.64 GB | 2.64 GB |
| Load time | ~0.4 s | ~0.7 s |
Per-prompt-type medians (Flash):
| Prompt type | Median tok/s | Example |
|---|---|---|
| Describe (EN, 1 sentence) | 198.5 | "A man in a white lab coat with the name 'De WARON' on it stands behind a desk..." |
| What text appears? | 96.9 | "De Wooning" |
| Count objects/people | 61.4 | "1" |
| Main subject | 170.1 | "The main subject is a man wearing a white lab coat with the name 'De Woon' and a logo on it." |
| Describe (ZH) | 221.2 | "这是一...話是柯尼特, 黃色胸部..." |
Flash gets the biggest speedups on text-heavy images (receipts: ~295 tok/s, neon text: ~244 tok/s) where fewer visual tokens still capture the content.
Layout matches mlx-vlm conventions. Until mlx-vlm adds a visionpsy_nano handler, load via the MLX port at KaedeTai/mlx-video @ visionpsy-mlx-port:
from huggingface_hub import snapshot_download
from mlx_video.models.visionpsy_nano import load_visionpsy_nano
from mlx_video.models.visionpsy_nano.processor import load_processor
from PIL import Image
path = snapshot_download("KaedeTai/VisionPsy-Nano-460M-Flash-MLX")
model, cfg = load_visionpsy_nano(path)
proc = load_processor(path, cfg=cfg)
img = Image.open("photo.jpg").convert("RGB")
batch = proc("Describe this image in one sentence.", image=img)
tokens = list(model.generate(
batch["input_ids"],
pixel_values=batch["pixel_values"],
image_token_id=batch["image_token_id"],
max_new_tokens=64,
eos_token_id=proc.tokenizer.eos_token_id,
))
print(proc.decode(tokens, skip_special_tokens=True))