Skip to content
ModelsThatRun

RT-DETRv2

RT-DETR with a bag of freebies: ResNet backbones from R18 to R101 on COCO's 80 classes, Apache-2.0.

Size

Commercial use OK for size r18: code Apache-2.0, weights Apache-2.0. Measured on our RTX 4090: 20.6 ms median, 692 MiB VRAM peak. We scored it 47.9 box AP on COCO val2017. PyTorch weights, 77 MB.

License

Commercial use OK

Code
Apache-2.0checked 17 Nov 2026
Weights
Apache-2.0all sizes, checked 17 Nov 2026

COCO-only checkpoint. The README links the weights from the authors' storage repository and gives them no separate license, so the RT-DETR repository's Apache-2.0 applies. The COCO+Objects365 checkpoints are left out.

On our RTX 4090, measured

20.6ms median

p90 21.0 ms, fp32, batch 1, 640x640

VRAM peak
692 MiB
Status
Runs as is

Phases of one call

Pre-processing
9.6 ms
Network
9.8 ms
Post-processing
0.6 ms

Split by our adapter over 20 calls, with a synchronize after each phase. The synchronizes stop the CPU and GPU from overlapping, so the phases don't add up to the median; the whole call took 19.8 ms there.

Environment, 22 Nov 2026

NVIDIA GeForce RTX 4090, driver 580.173.02, CUDA 13.0, torch 2.14.1+cu130, Python 3.12.9, lyuwenyu/RT-DETR@df2a96c8c3a098567a1149bf0248da6efe6d495d rtdetrv2_pytorch. Baseline 1032 MiB. 10 warm-up + 100 timed. Scope: predict(): pre-processing, forward pass and post-processing; input file decoded beforehand.

Reported217 FPST4, fp16, batch 1, TensorRT 8.5.1 or laterSource: README, model zoo table and its notes (rtdetrv2_pytorch)

Accuracy

47.9box APmeasured

COCO val2017, box AP, 5,000 images, fp32, pycocotools==2.0.11 · 17 Nov 2026

Paper 48.1 COCO APREADME, model zoo table (rtdetrv2_pytorch)

Weights

PyTorch

Size
77 MB
sha256
2ace52184b620204004509b72752ac7bfe64aadaf7fc1d076b18df8ab5a5c77e
Download r18 weights

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

Sizes

SizeLatencyVRAMAccuracyWeightsRunsLicense
r1820.6 ms640x640692 MiB47.9 box AP, measured48.1 COCO AP paper77 MBAs isCommercial OK
r3423.8 ms640x640734 MiB49.7 box AP, measured49.9 COCO AP paper120 MBAs isCommercial OK
r50-m26.2 ms640x640854 MiB51.7 box AP, measured51.9 COCO AP paper140 MBAs isCommercial OK
r5028.4 ms640x640855 MiB53.2 box AP, measured53.4 COCO AP paper165 MBAs isCommercial OK
r10136.5 ms640x6401.0 GiB54.1 box AP, measured54.3 COCO AP paper293 MBAs isCommercial OK

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 80%, tensor cores, TF32 7%, memory-bound 7%, CUDA cores, FP32 4%, host–device copies 2%.

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

CPU only

Measured by us with no GPU on an Intel(R) Core(TM) i7-10700K CPU @ 3.80GHz, 8 cores, 94.2 GiB of memory: the same official code with the GPU hidden, in fp32 on 8 threads. Before it was timed, its output on the timing input was checked against the GPU's. These numbers say what to expect without a GPU. They aren't compared with any GPU's, here or in the charts. How we measure on a CPU

SizeRuntimeLatency on the CPURAM peak
r18PyTorch2.14.1 · fp32 · 8 threads185 ms640x6401.0 GiB
r34PyTorch2.14.1 · fp32 · 8 threads234 ms640x6401.1 GiB
r50-mPyTorch2.14.1 · fp32 · 8 threads429 ms640x6401.3 GiB
r50PyTorch2.14.1 · fp32 · 8 threads494 ms640x6401.3 GiB
r101PyTorch2.14.1 · fp32 · 8 threads1337 ms640x6401.4 GiB

From the authors

Where to read their own account of it.

Alternatives

Changes

First published . Every model's changes

    • r18 re-measured · RTX 4090 · PyTorch fp32, 640x640: 20.3 → 20.6 ms
    • r34 re-measured · RTX 4090 · PyTorch fp32, 640x640: 23.3 → 23.8 ms
    • r50-m re-measured · RTX 4090 · PyTorch fp32, 640x640: 25.0 → 26.2 ms
    • r50 re-measured · RTX 4090 · PyTorch fp32, 640x640: 29.1 → 28.4 ms
    • r101 re-measured · RTX 4090 · PyTorch fp32, 640x640: 34.8 → 36.5 ms
    • Note: Every GPU row timed again with glibc's heap trimming off, which removes a slower level some processes settled at.
    • Added, with sizes r18, r34, r50-m, r50, and r101

Badge for a README

It says the model ran on our RTX 4090 and links to this page. It carries no number, so it never goes out of date.

ModelsThatRun: ran on RTX 4090
[![ModelsThatRun: ran on RTX 4090](https://modelsthatrun.dev/models/rt-detrv2/badge.svg)](https://modelsthatrun.dev/models/rt-detrv2/)

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

⇆
InputOutput