
▲ 1 r/cpp
RF-DETR C++ is a production-grade TensorRT inference engine for RF-DETR
Built a C++ inference library for RF-DETR, Roboflow's transformer-based object detection model. The library runs the full pipeline in C++: a fused CUDA kernel for preprocessing, async H2D transfers via pinned memory, and CUDA Graph capture for low-overhead inference dispatch.
This release covers both object detection and instance segmentation. Segmentation masks are decoded on the GPU through a custom kernel that upsamples and thresholds all detections in parallel.
u/fapa64 — 4 hours ago