Skip to content
ModelsThatRun

DEIMv2

Real-time DETR on distilled DINOv3 features, four sizes on COCO's 80 classes. Non-commercial since its 2026-08 relicense.

Size

Non-commercial for size s: code LicenseRef-DEIMv2, weights LicenseRef-DEIMv2. Measured on our RTX 4090: 27.4 ms median, 575 MiB VRAM peak. We scored it 50.6 box AP on COCO val2017. safetensors weights, 38 MB.

License

Non-commercial

Code
LicenseRef-DEIMv2checked 26 Oct 2026
Weights
LicenseRef-DEIMv2all sizes, checked 26 Oct 2026

The DEIMv2 License (since 2026-08-24) allows research, education, benchmarking and evaluation only; commercial use needs a separate license from Intellindust. Earlier copies were Apache-2.0.

On our RTX 4090, measured

27.4ms median

p90 27.8 ms, fp32, batch 1, 640x640

VRAM peak
575 MiB
Status
Runs as is
Environment, 27 Oct 2026

NVIDIA GeForce RTX 4090, driver 580.173.02, CUDA 12.4, torch 2.5.1+cu124, Python 3.11.11, Intellindust-AI-Lab/DEIMv2@f005f50ce565e63f6c298feccb51901a98c3d035. Baseline 848 MiB. 10 warm-up + 100 timed. Scope: predict(): pre-processing, forward pass and post-processing; input file decoded beforehand.

Accuracy

50.6box APmeasured

COCO val2017, box AP, 5,000 images, fp32, pycocotools==2.0.11 · 26 Oct 2026

Paper 50.9 COCO APREADME, model zoo table

Weights

safetensors

Size
38 MB
sha256
fe545b150766…867956
Download s weights

Same photos and one score threshold for every model of this task. Failures are marked.

Sizes

SizeLatencyVRAMAccuracyWeightsRunsLicense
s27.4 ms640x640575 MiB50.6 box AP, measured50.9 COCO AP paper38 MBAs isNon-commercial
m29.4 ms640x640646 MiB52.8 box AP, measured53 COCO AP paper70 MBAs isNon-commercial
l32.5 ms640x640707 MiB55.8 box AP, measured56 COCO AP paper125 MBAs isNon-commercial
x35.1 ms640x640808 MiB57.6 box AP, measured57.8 COCO AP paper196 MBAs isNon-commercial

From the authors

In their words, with their numbers. Ours are in the cards at the top of this page.

Paper

Real-Time Object Detection Meets DINOv3

Shihua Huang, Yongjie Hou, Longfei Liu, Xuanlong Yu, Xi Shen

arXiv 2509.20787, 25 Sept 2025

Abstract

Driven by the simple and effective Dense O2O, DEIM demonstrates faster convergence and enhanced performance. In this work, we extend it with DINOv3 features, resulting in DEIMv2. DEIMv2 spans eight model sizes from X to Atto, covering GPU, edge, and mobile deployment. For the X, L, M, and S variants, we adopt DINOv3-pretrained or distilled backbones and introduce a Spatial Tuning Adapter (STA), which efficiently converts DINOv3's single-scale output into multi-scale features and complements strong semantics with fine-grained details to enhance detection. For ultra-lightweight models (Nano, Pico, Femto, and Atto), we employ HGNetv2 with depth and width pruning to meet strict resource budgets. Together with a simplified decoder and an upgraded Dense O2O, this unified design enables DEIMv2 to achieve a superior performance-cost trade-off across diverse scenarios, establishing new state-of-the-art results. Notably, our largest model, DEIMv2-X, achieves 57.8 AP with only 50.3 million parameters, surpassing prior X-scale models that require over 60 million parameters for just 56.5 AP. On the compact side, DEIMv2-S is the first sub-10 million model (9.71 million) to exceed the 50 AP milestone on COCO, reaching 50.9 AP. Even the ultra-lightweight DEIMv2-Pico, with just 1.5 million parameters, delivers 38.5 AP, matching YOLOv10-Nano (2.3 million) with around 50 percent fewer parameters. Our code and pre-trained models are available at https://github.com/Intellindust-AI-Lab/DEIMv2

Alternatives

Model output
Input test photo
⇆
InputOutput