Skip to main content

rfdetr-ghost


rfdetr-ghost: A drop-in performance optimization layer for RF-DETR

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.2

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.2
File Size Uploaded
rfdetr_ghost-0.0.2.tar.gz 6.3 kB Details

Built distribution (wheel)

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

Total release size: 13.5 kB

Release files / rfdetr_ghost-0.0.2.tar.gz

Download URL rfdetr_ghost-0.0.2.tar.gz
Size 6.3 kB
Tags Source
SHA-256 checksum
How to use checksums
032d1002229cc77982defa13e6fe39569311fcbd715d8a3a919596e6d69c03b7
BLAKE2b-256 checksum
How to use checksums
930fba39577b6fc1f529fea39970471af5169cfcabd307f44c420d3604d4c693
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.2-py3-none-any.whl

Download URL rfdetr_ghost-0.0.2-py3-none-any.whl
Size 7.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
c57804af5c225e64d1765edc7e28ef04645c18ccf14e6bd62b83a642e1c4f9f3
BLAKE2b-256 checksum
How to use checksums
2853b246146afd15c42f073e0ab4501cacc2bcc543f97bd9045ae15eb5ecf01f
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

This release

0.0.2 This release

2 release files

0.0.1

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