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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1d827d7d308ad29f2974cefcf1d20820f97f9185b39d59a41bf75f95ad4b0102
|
|
| MD5 |
ccd45473d1838969d9bbe691bd8bfab9
|
|
| BLAKE2b-256 |
ecefda7028cf5b9b7d719e7974860a67f8eb5dc9d2e37fd632e826e653b40b1c
|
Provenance
The following attestation bundles were made for shadowbench-0.2.1.tar.gz:
Publisher:
publish.yml on Nidszxh/ShadowBench
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
shadowbench-0.2.1.tar.gz -
Subject digest:
1d827d7d308ad29f2974cefcf1d20820f97f9185b39d59a41bf75f95ad4b0102 - Sigstore transparency entry: 2079322346
- Sigstore integration time:
-
Permalink:
Nidszxh/ShadowBench@268c1bc84a3e3d0662351d7be9f793722188b6d1 -
Branch / Tag:
refs/tags/v0.2.1 - Owner: https://github.com/Nidszxh
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@268c1bc84a3e3d0662351d7be9f793722188b6d1 -
Trigger Event:
push
-
Statement type:
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
184f87226d30fa8b81e2916cf07f97c92d92025d64213f3144a3a802f6b5d63d
|
|
| MD5 |
b9c27bec7aa7429e6ab190a1d152308a
|
|
| BLAKE2b-256 |
f3017d1706ae68c4ea7025be5975b10175e2912b8fd2a5830f98b5fe8f1f9692
|
Provenance
The following attestation bundles were made for shadowbench-0.2.1-py3-none-any.whl:
Publisher:
publish.yml on Nidszxh/ShadowBench
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
shadowbench-0.2.1-py3-none-any.whl -
Subject digest:
184f87226d30fa8b81e2916cf07f97c92d92025d64213f3144a3a802f6b5d63d - Sigstore transparency entry: 2079322692
- Sigstore integration time:
-
Permalink:
Nidszxh/ShadowBench@268c1bc84a3e3d0662351d7be9f793722188b6d1 -
Branch / Tag:
refs/tags/v0.2.1 - Owner: https://github.com/Nidszxh
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@268c1bc84a3e3d0662351d7be9f793722188b6d1 -
Trigger Event:
push
-
Statement type: