DEIM-L is the more accurate detector: 57.8 vs 55.4 mAP@50-95 against YOLOX-L on an RTX 5070 Ti in PyTorch, a 2.4-point lead. YOLOX-L answers with speed, running 56.58% faster at 42.8 vs 18.6 FPS in PyTorch. DEIM-L also holds the smaller memory footprint at 245 vs 307 MB peak VRAM. The speed order flips on TensorRT FP32, so pick by deployment target.
DEIM-L (31.24M parameters, Apache-2.0) and YOLOX-L (54.21M, Apache-2.0) are both evaluated at 640 px input on COCO val2017. Both have verified rows on desktop GPU, Jetson Orin, and Raspberry Pi 5, so this comparison covers the targets where the answer changes.
| Metric | DEIM-L | YOLOX-L |
|---|---|---|
| mAP@50-95 | 5783.0 | 5542.0 |
| mAP@50 | 7555.0 | 7302.0 |
| mAP small | 4515.0 | 3904.0 |
| FPS (mean) | 18.6 | 42.8 |
| Total ms/image | 53.76 | 23.34 |
| Inference ms | 46.27 | 13.91 |
| Peak VRAM (MB) | 245 | 307 |
| Params (M) | 31.2 | 54.2 |
| GFLOPs | 91.0 | 78.0 |
| Input size | 640 | 640 |
| License | Apache-2.0 | Apache-2.0 |
Accuracy
mAP is shown in percent form. DEIM-L measures 57.8 mAP@50-95 to YOLOX-L's 55.4, and the gap is stable across runtimes. The largest single difference is on small objects: 45.2 vs 39.0 mAP_small, a 15.67% relative gap. If your scenes are dominated by small instances, that row weighs the comparison toward DEIM-L.
Speed
On the RTX 5070 Ti, YOLOX-L is 56.58% faster in PyTorch (42.8 vs 18.6 FPS). That lead does not hold under conversion. On ONNX Runtime the two match at 50.6 vs 50.5 FPS, and on TensorRT FP32 DEIM-L leads 75.7 vs 61.8 FPS.
The speed verdict does not travel. YOLOX-L wins in desktop PyTorch, but DEIM-L is faster on TensorRT FP32, and on Raspberry Pi 5 both run at 0.4 FPS. Benchmark on your own runtime before choosing.
- DEIM-L license
- Apache-2.0
- YOLOX-L license
- Apache-2.0
- DEIM-L release
- 2024-12-05
- YOLOX-L release
- 2021-07-18
- Evaluated weights
- LibreYOLO retrained checkpoints
When to pick which
Pick DEIM-L when accuracy leads the requirement, especially on small objects, when TensorRT is the target runtime, and when peak VRAM matters at 245 vs 307 MB. Pick YOLOX-L for desktop PyTorch throughput, where it runs 56.58% faster. Both ship under Apache-2.0, so licensing does not force the choice.
Try both with LibreYOLO
# pip install libreyolo
from libreyolo import LibreYOLO
deim = LibreYOLO("LibreDEIMl.pt") # 31.24M params, 57.8 mAP@50-95
yolox = LibreYOLO("LibreYOLOXl.pt") # 54.21M params, 55.4 mAP@50-95
results = deim("image.jpg")
Every number on this page comes from the verified dataset: same 500-image COCO val2017 slice, conf 0.001, IoU 0.6, max 300 detections, pycocotools mAP, identical protocol across all hardware and runtimes. The full protocol is on the methodology page. To rerun this comparison with your own filters, open compare. Accuracy is measured on LibreYOLO retrained checkpoints; other weight sources can yield different values.
