Skip to main content

Crowd-sourced, peer-to-peer benchmarking and local inference pooling for open-source AI models.

Project description

shadowbench (core)

The Python sidecar that powers ShadowBench — hardware profiling, throughput prediction, and (later) the peer-to-peer inference pool. It runs standalone as a CLI and is embedded by the Tauri desktop app as a sidecar process.

See PROJECT_STRUCTURE.md for the package layout and DATAFLOW.md for the math each module implements.

Install (development)

uv sync --all-extras          # core + gpu + pool + dev deps
uv run shadowbench --help

CLI

shadowbench profile                       # detect hardware, print a HardwareProfile as JSON
shadowbench recommend --task coding \      # recommend a model + quant + runtime flags
    --profile intelligence
shadowbench bench --contribute             # measure real tokens/sec, append to the golden dataset
shadowbench serve                          # start the local OpenAI-compatible proxy (Phase 4)

Layout

Package Module
profiler/ Hardware detection + PCIe/compute stress kernel + GGUF parsing
predictor/ Dense/MoE throughput math, Config Coach, Requirement Discovery
pool/ mDNS discovery, TLS transport, OpenAI-compatible proxy (Phase 4)
orchestrator/ Model download + local engine process management (Phase 3)
storage/ SQLite datastore for predicted-vs-actual calibration (Phase 3)
calibration/ Ground-truth harness, accuracy report, opt-in telemetry sync
ipc/ JSON-RPC-over-stdio bridge for the Tauri frontend (Phase 3)
common/ Shared config, logging, typed errors, cross-module models

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

shadowbench-0.2.1.tar.gz (152.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

shadowbench-0.2.1-py3-none-any.whl (51.6 kB view details)

Uploaded Python 3

File details

Details for the file shadowbench-0.2.1.tar.gz.

File metadata

  • Download URL: shadowbench-0.2.1.tar.gz
  • Upload date:
  • Size: 152.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for shadowbench-0.2.1.tar.gz
Algorithm Hash digest
SHA256 1d827d7d308ad29f2974cefcf1d20820f97f9185b39d59a41bf75f95ad4b0102
MD5 ccd45473d1838969d9bbe691bd8bfab9
BLAKE2b-256 ecefda7028cf5b9b7d719e7974860a67f8eb5dc9d2e37fd632e826e653b40b1c

See more details on using hashes here.

Provenance

The following attestation bundles were made for shadowbench-0.2.1.tar.gz:

Publisher: publish.yml on Nidszxh/ShadowBench

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file shadowbench-0.2.1-py3-none-any.whl.

File metadata

  • Download URL: shadowbench-0.2.1-py3-none-any.whl
  • Upload date:
  • Size: 51.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for shadowbench-0.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 184f87226d30fa8b81e2916cf07f97c92d92025d64213f3144a3a802f6b5d63d
MD5 b9c27bec7aa7429e6ab190a1d152308a
BLAKE2b-256 f3017d1706ae68c4ea7025be5975b10175e2912b8fd2a5830f98b5fe8f1f9692

See more details on using hashes here.

Provenance

The following attestation bundles were made for shadowbench-0.2.1-py3-none-any.whl:

Publisher: publish.yml on Nidszxh/ShadowBench

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page