Skip to main content

roast-fast

Blazing-fast app review clustering. 1 lakh reviews in under 20 seconds.

Built on ONNX + FAISS. Auto-detects GPU. Falls back to CPU.

Install

pip install roast-fast          # CPU
pip install "roast-fast[gpu]"   # GPU (CUDA)

Usage

from roast_fast import process_reviews

result = process_reviews("reviews.csv")

print(result["stats"])
# {total_reviews: 100000, total_time_s: 17.9, throughput_rps: 5580, ...}

for cluster in result["clusters"][:5]:
    print(cluster["size"], cluster["sample_reviews"][0])

Benchmark (A100-SXM4 MIG)

Reviews Time Throughput
1,000 0.8s 1,250 rev/s
10,000 2.1s 4,762 rev/s
100,000 17.9s 5,580 rev/s

Metadata

Release files for roast-fast 0.1.0

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

Built distribution (wheel)

Table of built distributions (wheels) for roast-fast 0.1.0
File Interpreter ABI Platform Actions
roast_fast-0.1.0-py3-none-any.whl Python 3 none any Details for roast_fast-0.1.0-py3-none-any.whl

Release files / roast_fast-0.1.0-py3-none-any.whl

Download URL roast_fast-0.1.0-py3-none-any.whl
Size 15.7 MB
Tags Python 3
SHA-256 checksum
How to use checksums
de43b9aa02a5d68f83f1e4a8c0c6699e4d9cafe69964107bc643f00edef3e33b
BLAKE2b-256 checksum
How to use checksums
319decfdd27fd19615b962a2a60372c9a93b5cac01f6bf9a76c192ede82bea2c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.11.11

Security for roast-fast 0.1.0

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.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.1.0 This release

1 release file No provenance

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