Skip to content
ModelsThatRun

LT-DETR

Lightly's LTDETRv2: a real-time DETR on EdgeCrafter ECViT backbones, three sizes on COCO's 80 classes, AGPL-3.0 or a paid Lightly license.

Size

Conditional for size s: code AGPL-3.0-only, weights AGPL-3.0-only. Measured on our RTX 4090: 30.4 ms median, 632 MiB VRAM peak. We scored it 51.0 box AP on COCO val2017. PyTorch weights, 40 MB.

License

Conditional

Code
AGPL-3.0-onlychecked 10 Nov 2026
Weights
AGPL-3.0-onlyall sizes, checked 10 Nov 2026

AGPL-3.0 for code and weights: Lightly's licensing page says AGPL-3.0 covers weights trained with LightlyTrain, and the notice stored in the checkpoint says commercial training and inference need Lightly's paid Commercial License. The ECViT backbone came from EdgeCrafter's Apache-2.0 release of 2026-03, before EdgeCrafter's non-commercial relicense on 2026-08-24. That backbone is distilled from a DINOv3 teacher and its code is modified from DINOv3; whether DINOv3's terms reach the weights isn't settled.

On our RTX 4090, measured

30.4ms median

p90 31.0 ms, fp16, batch 1, 640x640

VRAM peak
632 MiB
Status
Runs as is
Environment, 10 Nov 2026

NVIDIA GeForce RTX 4090, driver 580.173.02, CUDA 13.0, torch 2.14.1+cu130, Python 3.12.9, lightly-train==0.18.0. Baseline 789 MiB. 10 warm-up + 100 timed. Scope: predict(): pre-processing, forward pass and post-processing; input file decoded beforehand.

Reported5.4 msNVIDIA T4, TensorRT 10.13.3.9, FP16, batch size 1, 640x640 input; average latency. The docs don't say whether pre- or post-processing is inside the time.Source: LightlyTrain docs, Object Detection, Benchmark Results, COCO table (Latency (ms)) and the text above it (TensorRT 10.13.3.9, T4, batch size 1); FP16 from the page's opening paragraph. https://github.com/lightly-ai/lightly-train/blob/0d0ec65bea3ef952ae51f93440d9986333dc5b79/docs/source/object_detection.md

Accuracy

51.0box APmeasured

COCO val2017, box AP, 5,000 images, fp16, pycocotools==2.0.11 · 10 Nov 2026

Paper 50.7 COCO mAP50-95LightlyTrain docs, Object Detection, Benchmark Results table (Val mAP50:95, 640x640), https://github.com/lightly-ai/lightly-train/blob/0d0ec65bea3ef952ae51f93440d9986333dc5b79/docs/source/object_detection.md

Weights

PyTorch

Size
40 MB
sha256
f8aefe499be1579c55bfcb288f623399ea5f4efef0c5a5f00960663efeda4f49
Download s weights

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

Sizes

SizeLatencyVRAMAccuracyWeightsRunsLicense
s30.4 ms640x640632 MiB51.0 box AP, measured50.7 COCO mAP50-95 paper40 MBAs isConditional
m31.6 ms640x640704 MiB53.5 box AP, measured53.1 COCO mAP50-95 paper81 MBAs isConditional
l32.2 ms640x640768 MiB56.4 box AP, measured56 COCO mAP50-95 paper129 MBAs isConditional

Estimated on other GPUs

Estimate, not measured. Worked out from our RTX 4090 run and NVIDIA's spec sheets. Each kind of GPU work is scaled by that GPU's peak for it: tensor cores at the precision the kernels used, CUDA cores, or memory bandwidth. The CPU's part of each call is kept at what it took on our Intel Core i7-10700K. How we estimate

Where a call's time goes on our RTX 4090: CPU and kernel launches 86%, memory-bound 8%, tensor cores, FP16 (FP32 accumulate) 4%, host–device copies 2%.

GeForce (13)
GPUFitsLatency
GeForce RTX 5090Blackwell, 32 GB GDDR7Yes≈ 29–30 ms
GeForce RTX 5080Blackwell, 16 GB GDDR7Yes≈ 31 ms
GeForce RTX 5070 TiBlackwell, 16 GB GDDR7Yes≈ 31–32 ms
GeForce RTX 5070Blackwell, 12 GB GDDR7Yes≈ 31–34 ms
GeForce RTX 5060 Ti 16GBBlackwell, 16 GB GDDR7Yes≈ 32–37 ms
GeForce RTX 5060Blackwell, 8 GB GDDR7Yes≈ 33–38 ms
GeForce RTX 4080Ada Lovelace, 16 GB GDDR6XYes≈ 31–32 ms
GeForce RTX 4070 TiAda Lovelace, 12 GB GDDR6XYes≈ 31–34 ms
GeForce RTX 4070Ada Lovelace, 12 GB GDDR6XYes≈ 32–35 ms
GeForce RTX 3090Ampere, 24 GB GDDR6XYes≈ 31–32 ms
GeForce RTX 3080Ampere, 10 GB GDDR6XYes≈ 31–33 ms
GeForce RTX 3070 TiAmpere, 8 GB GDDR6XYes≈ 32–36 ms
GeForce RTX 3070Ampere, 8 GB GDDR6Yes≈ 32–37 ms
Workstation (4)
GPUFitsLatency
RTX PRO 6000 Blackwell Workstation EditionBlackwell, 96 GB GDDR7Yes≈ 29–30 ms
RTX PRO 6000 Blackwell Max-Q Workstation EditionBlackwell, 96 GB GDDR7Yes≈ 29–30 ms
RTX 6000 Ada GenerationAda Lovelace, 48 GB GDDR6Yes≈ 30 ms
RTX A6000Ampere, 48 GB GDDR6Yes≈ 31 ms
Data center (6)
GPUFitsLatency
B200 (HGX, one GPU)Blackwell, 180 GB HBM3EYes≈ 27–30 ms
H200 SXMHopper, 141 GB HBM3eYes≈ 27–30 ms
H100 SXMHopper, 80 GB HBM3Yes≈ 28–30 ms
A100 SXM 80GBAmpere, 80 GB HBM2eYes≈ 29–30 ms
L40SAda Lovelace, 48 GB GDDR6Yes≈ 30 ms
L4Ada Lovelace, 24 GB GDDR6Yes≈ 31–37 ms

From the authors

Where to read their own account of it.

Alternatives

Something wrong on this page, such as a license or a number? Email us.

⇆
InputOutput