yolos-tiny
Will it run on your hardware?
Pick your GPU memory - see which quantizations fit, and the cheapest card for the rest
Need an exact figure for your context length? Use the VRAM calculator.
Run it locally
Copy-paste - running in under a minute
vllm serve hustvl/yolos-tinyNew to this? Start with Ollama · serve to many users with vLLM.
Deep dive
Notes, sources, and the full write-up
yolos-tiny is an open-weight object detection model published by hustvl on Hugging Face in April 2022, with 10M parameters under the apache-2.0 license.
Among the 25 object detection models in this directory it ranks 14th by monthly Hugging Face downloads, and it is the smallest of them.
HardwareLink to this section
Unquantized FP16 weights take about 1 GB; 8-bit brings that to ~1 GB and 4-bit (Q4_K_M) to ~1 GB, before activations and any context or image buffers. At this size it runs on almost any recent GPU, on Apple Silicon, and usable on a modern CPU. Check exact numbers for your card with the VRAM calculator.
Similar object detection modelsLink to this section
- table-transformer-structure-recognition - 30M, 1,034,056 downloads/month
- yolos-small - 30M, 757,304 downloads/month
- table-transformer-detection - 30M, 306,489 downloads/month
- rtdetr_v2_r18vd - 20M, 175,575 downloads/month
- table-transformer-structure-recognition-v1.1-all - 30M, 125,976 downloads/month
PopularityLink to this section
yolos-tiny was downloaded 97,148 times on Hugging Face in the last month (12,153,861 all-time) and has 282 likes.
Run it locallyLink to this section
Weights and usage instructions are on the hustvl/yolos-tiny model card; it loads with Hugging Face Transformers.
Local runtimes that fit this model:
- transformers - the reference Python library most model cards target
PaperLink to this section
From the community
What users are saying
“How to train yolos model on custom dataset, and how to get file's like config.json, model.safetensors, pytorchmodel.bin, preprocessorconfig.json etc”
“from transformers import YolosImageProcessor, YolosForObjectDetection ImportError: cannot import name 'YolosImageProcessor' from 'transformers'”
“Hi, Yes, check out demo notebooks here: https://github.com/NielsRogge/Transformers-Tutorials/tree/master/YOLOS”
Frequently asked
Quick answers to common questions
How much VRAM does yolos-tiny need?
yolos-tiny with 10M parameters needs approximately 1 GB at Q4_K_M quantization. Use our VRAM calculator for an exact estimate.
Is yolos-tiny better than other hustvl models?
yolos-tiny has 10M parameters - a strong choice for object-detection.
What license is yolos-tiny under?
yolos-tiny is released under the apache-2.0 license, making it suitable for most commercial and personal projects.
What hardware runs yolos-tiny well?
With 10M parameters, yolos-tiny is small enough for most consumer GPUs, Apple Silicon Macs, and many CPUs. Check our hardware directory for specific recommendations.
What is the best quantization for yolos-tiny?
Q4_K_M is the recommended sweet spot - ~98% of FP16 quality at ~27% of the size. Q5_K_M (~1 GB) is an option if you have spare VRAM. Use our VRAM calculator to compare.
What models compete with yolos-tiny?
yolos-tiny competes with other models in its class. Browse our model directory for comparisons, benchmarks, and community reviews to find the best fit.
Nearby options
Similar models and compatible hardware by spec