Skip to main content

willitrun

PyPI version Python versions License: MIT CI

Find the best models for your device

Given a device and task category, willitrun ranks what runs best. Real benchmarks first, scaled estimates as fallback.

willitrun inverse mode demo

Check if a specific model runs on your device

Pick any model by name, HuggingFace ID, or local file. Get a verdict, speed estimate, and memory breakdown instantly.

willitrun model check demo

  • Real data first: 1 039 measured benchmarks across NVIDIA Jetson, Apple Silicon, desktop GPUs, and more.
  • Inverse query: given a device, rank the best-performing models for a task category.
  • Edge to cloud: Jetson, Apple Silicon, desktop GPUs, SBCs.
  • Vision + LLMs: exact benchmark lookup with FLOPs/memory-based estimation as fallback.
  • MoE-aware: distinguishes total vs active parameters for memory and speed estimation.
  • CLI-first: fast, scriptable, offline-capable once the DB is installed.

Quick Start

pipx install willitrun   # recommended: isolated install
willitrun                # interactive mode

Or with pip:

pip install willitrun
willitrun

Install extras for local file profiling:

pip install willitrun[profiling,onnx]   # PyTorch / ONNX parsing

Supported model inputs

  • Model name from DB (yolov8n, resnet50, ...)
  • HuggingFace model ID
  • Local PyTorch / ONNX file

How it works

Estimation

  • Tier 1 (lookup): exact model + device match from the SQLite benchmark DB.
  • Tier 2 (estimate): FLOPs/TFLOPS scaling with memory fit check and 20% overhead. MoE models use active parameters for speed and total parameters for memory.

Results from real measurements always rank above estimates. Tier 2 results are clearly labelled.

Data pipeline

  • Raw (immutable cache): ingest scripts store HTTP responses in data/raw/{source}/ with configurable TTL.
  • Normalized: scripts parse raw data into JSONL at data/normalized/{source}.jsonl using the BenchmarkRecord schema (willitrun/pipeline/schema.py).
  • Serving: make build_db validates, deduplicates by source priority, and writes data/benchmarks.db. The packaged copy in willitrun/data/ is refreshed before each release.

Commands

willitrun                                      # interactive mode
willitrun <model> --device <device>            # model check
willitrun --device <device> --task <category>  # best models for device
willitrun --list-devices
willitrun --list-models
willitrun <model> --device <device> --json

Pipeline (data contributors):

make fetch       # run all ingests (respects cache TTL)
make build_db    # normalized -> SQLite + metadata
make status      # coverage summary + gaps
make wheel       # rebuild DB, sync into package, build wheel

Contributing data

  1. Add benchmarks: append JSON lines to data/normalized/<source>.jsonl following BenchmarkRecord.
  2. Add devices/models: edit data/devices.yaml / data/models.yaml.
  3. Rebuild: make build_db.
  4. Run tests: pytest.
  5. Open a PR with the updated normalized file(s), DB, and metadata.

Development

pip install -e ".[dev]"
make build_db
pytest

Limitations

  • Tier 2 estimates rely on available reference benchmarks; uncommon model/device combos may show wider ranges.
  • Ingest scripts need network access; cached raw files avoid re-fetching within TTL.

Roadmap

  • More benchmark data (community PRs welcome!)
  • Web frontend for shareability
  • Training memory estimation
  • Multi-GPU / model parallelism awareness
  • Auto-detect local hardware

License

MIT

Metadata

Release files for willitrun 0.1.9

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

Source distribution (sdist)

Source distribution for willitrun 0.1.9
File Size Uploaded Provenance Actions
willitrun-0.1.9.tar.gz 630.6 kB Without provenance Details for willitrun-0.1.9.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for willitrun 0.1.9
File Interpreter ABI Platform Actions
willitrun-0.1.9-py3-none-any.whl Python 3 none any Details for willitrun-0.1.9-py3-none-any.whl

Total release size: 754.7 kB

Release files / willitrun-0.1.9.tar.gz

Download URL willitrun-0.1.9.tar.gz
Size 630.6 kB
Tags Source
SHA-256 checksum
How to use checksums
1abd065e8d032fd2048527cbb7154f0c66daa5fd9b45b38e2a9d5fc6d6b70ccb
BLAKE2b-256 checksum
How to use checksums
059a2aa6e0b531138a8e558a25fc72c03e219e6a225841d9f1a4361783bc6f74
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.11.11

Release files / willitrun-0.1.9-py3-none-any.whl

Download URL willitrun-0.1.9-py3-none-any.whl
Size 124.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
808f8251eb6a6c9ce9e6622ca287b47d4d19ce866885671cf18bd1da6c404497
BLAKE2b-256 checksum
How to use checksums
1791c442fe5112d42dec812e982231c263960869f11ebad5de7ad8009f48be22
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.11.11

Security for willitrun 0.1.9

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.

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