RF-DETR Base (Roboflow, Apache-2.0), made smaller and
faster on CPU by Kenosis while keeping accuracy near the
original. 53.1 AP from a single 36.3 MB standard .onnx file. The same file runs on CPU in
both ONNX Runtime and OpenVINO. Calibrated on 128 COCO images, with no retraining.
COCO val2017, 4,800 images (val2017 minus the 200-image pool the 128 calibration images came
from; list in eval_images.json), pycocotools bbox AP50:95.
| model | ONNX Runtime | OpenVINO | size |
|---|---|---|---|
| Original | 53.32 | 53.32 | 115.1 MB |
| Kenosis | 53.12 | 53.05 | 36.3 MB |
Median time per image over 60 runs, on a CPU with AVX-VNNI.
| runtime | threads | Original | Kenosis |
|---|---|---|---|
| ONNX Runtime | 1 | 877 ms | 520 ms |
| ONNX Runtime | 4 | 304 ms | 210 ms |
| OpenVINO | 1 | 746 ms | 386 ms |
| OpenVINO | 4 | 215 ms | 112 ms |
from huggingface_hub import hf_hub_download
import numpy as np
import onnxruntime as ort
from PIL import Image
model_path = hf_hub_download("CoreEpoch/rfdetr-base-int8-onnx", "rfdetr_base_560_int8_kenosis.onnx")
sess = ort.InferenceSession(model_path, providers=["CPUExecutionProvider"])
img = Image.open("your_image.jpg").convert("RGB")
x = np.asarray(img.resize((560, 560), Image.Resampling.BILINEAR), np.float32) / 255.0
x = ((x - [0.485, 0.456, 0.406]) / [0.229, 0.224, 0.225]).transpose(2, 0, 1)[None]
dets, labels = sess.run(["dets", "labels"], {"input": x.astype(np.float32)})
scores = 1.0 / (1.0 + np.exp(-labels[0]))
q, c = divmod(int(scores.argmax()), scores.shape[1])
print(f"COCO category {c}, score {scores.max():.2f}, box {dets[0][q]}")
Input 1x3x560x560, RGB, /255 then ImageNet mean/std. Outputs dets [1,300,4] (normalized
cxcywh) and labels [1,300,91] (logits indexed by COCO category id). run_detect.py prints the
detections for one image; eval_coco.py reproduces the accuracy table.
rfdetr_base_560_int8_kenosis.onnx (36,320,485 B), SHA-256 CBD0830B1083FA30D6FBE48359665E59849C8933B92F0B949FE73C38053E2A37.
Apache-2.0 (base RF-DETR Base by Roboflow, Robinson et al., "RF-DETR: Neural Architecture
Search for Real-Time Detection Transformers", ICLR 2026, arXiv:2511.09554, retained). FP32 source exported with rfdetr 1.8.3
at 560x560, ONNX opset 17. The license covers these model files only; it grants no rights in
Kenosis, Core Epoch's quantizer, which remains proprietary.
Benchmarks and contact: coreepoch.dev/kenosis · contact@coreepoch.dev
Roboflow/rf-detr-base