Downloads · 30 days
0
musk12/apple-fastvlm-vision-encoder-1024
apple-fastvlm-vision-encoder-1024 is a image feature extraction model from musk12. Use it for the image feature extraction task on the model card, and read the license before you ship it in a product. The card lists the license as mit.
ONNX vision encoders for FastVLM image preprocessing and embedding extraction, provided in three precision variants so you can trade off accuracy, speed, and file size for your deployment.
Downloads · 30 days
0
Access
Public
Updated Jul 2, 2026
Repo size
892 MB
Likes
0
Public
Click a slice to open those files.
.onnx892 MB · 100%
From the Hugging Face model README
ONNX vision encoders for FastVLM image preprocessing and embedding extraction, provided in three precision variants so you can trade off accuracy, speed, and file size for your deployment.
| File | Precision | Size | Notes |
|---|---|---|---|
vision_encoder_fp32.onnx | FP32 | 508 MB | Full precision, highest numerical fidelity |
vision_encoder_safe_fp16.onnx | FP16 | 255 MB | Good balance of accuracy and size |
vision_encoder_int8.onnx | INT8 | 129 MB | Smallest and fastest, best for constrained CPU deployment |
Use whichever variant best fits your accuracy/performance needs for image embedding generation in FastVLM-style CPU pipelines.
import onnxruntime as ort
# Swap in whichever variant you need
session = ort.InferenceSession("vision_encoder_fp32.onnx")
# feed in your preprocessed image tensor and run inference
Derived from apple/FastVLM-0.5B.