Skip to main content

rfdetr-ghost

rfdetr-ghost is a drop-in performance optimization layer for RF-DETR.

The goal is simple: make RF-DETR significantly faster without requiring users to change their code or learn new APIs.

Users replace:

from rfdetr import ...

with:

from rfdetr_ghost import ...

Everything else stays the same — models, APIs, training/inference code, and workflow.

Under the hood, Ghost patches and replaces performance-critical paths with custom fused CUDA/Triton kernels and other GPU-level optimizations, targeting things like kernel launch overhead, memory movement, and inefficient intermediate operations.

Core idea

One import change. Same API. Faster execution.

The project targets up to ~5× speedup (80% less execution time) on supported workloads, with actual gains depending on the GPU, model, batch size, and operation.

The deeper goal is to demonstrate that significant low-level GPU optimization can be packaged behind a familiar high-level API — allowing existing RF-DETR users to benefit from optimized kernels out of the box, with zero migration effort.

Project positioning

RF-DETR: Python API → GPU

RF-DETR Ghost: Same Python API → Ghost optimization layer → custom fused kernels → GPU

Ghost is inspired by the idea of being invisible to the application but highly visible in the benchmark.

Metadata

Release files for rfdetr-ghost 0.0.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for rfdetr-ghost 0.0.1
File Size Uploaded
rfdetr_ghost-0.0.1.tar.gz 6.3 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for rfdetr-ghost 0.0.1
File Interpreter ABI Platform
rfdetr_ghost-0.0.1-py3-none-any.whl Python 3 none any Details

Total release size: 13.4 kB

Release files / rfdetr_ghost-0.0.1.tar.gz

Download URL rfdetr_ghost-0.0.1.tar.gz
Size 6.3 kB
Tags Source
SHA-256 checksum
How to use checksums
0dc74d2916da421062ba3521c8e3a868d41b2bc8f360f8f3914ed690bb1c1a89
BLAKE2b-256 checksum
How to use checksums
fe2287083d2c3ac3a32714cc2ab6828274e3a349469d7e155a0f8823f597cf02
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Aug 28, 2026.

Transparency log

Release files / rfdetr_ghost-0.0.1-py3-none-any.whl

Download URL rfdetr_ghost-0.0.1-py3-none-any.whl
Size 7.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
a439f71a8cb153bd15168accff1c5b4aa3f4561fba63934a7b6908563ce40042
BLAKE2b-256 checksum
How to use checksums
2d3e707eefe3fa44abe21e608243fc3ee005e79d83a4e657f4fdccc4ceee353c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Aug 28, 2026.

Transparency log

Release history Release notifications | RSS feed

0.0.2

2 release files

This release

0.0.1 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page