|
Download README.md from DataDrivenAlex/inference-capacity-planner: direct link, hf CLI and curl.
- Browser
- Download file 1.42 kB
-
https://huggingface.co/spaces/DataDrivenAlex/inference-capacity-planner/resolve/main/README.md
- Command line
-
hf download hf://spaces/DataDrivenAlex/inference-capacity-planner/README.md
-
curl -L -o README.md https://huggingface.co/spaces/DataDrivenAlex/inference-capacity-planner/resolve/main/README.md
1.42 kB
| title: Inference Capacity Planner | |
| emoji: 🧮 | |
| colorFrom: indigo | |
| colorTo: blue | |
| sdk: static | |
| pinned: false | |
| # Inference Capacity Planner | |
| An interactive, browser-only planning aid for reasoning about token throughput, replica count, batching, queue pressure, approximate p95 latency and hourly infrastructure cost. | |
| ## What it does | |
| - Estimates offered token load from request rate and average prompt/completion sizes. | |
| - Compares demand with nominal aggregate tokens/second capacity. | |
| - Lets you adjust replicas, batch size, concurrency and an explicit per-replica hourly price. | |
| - Flags capacity overload and whether the rough latency estimate meets a chosen target. | |
| ## Run | |
| Open `index.html` in a browser. The page has no external dependencies or network calls. Check the Python reference calculation with `python -m unittest -v`. | |
| ## Important limits | |
| This is a transparent synthetic planning model, not a serving benchmark, autoscaler, model comparison, cloud quote or production SLO guarantee. Hardware-specific throughput, prefill/decode behavior, token distributions, batching scheduler, cold starts, failures, cache hits, network overhead and bursty arrivals are not modeled. Its queue and p95 values are deliberately rough heuristics; measure the selected model and deployment under representative traffic before making capacity decisions. The example hourly price is user-editable and is not a provider quote. | |