Forewarm
Token-aware predictive autoscaling for LLM inference.
Forewarm reads vLLM serving metrics from Prometheus, learns the workload's own daily and weekly structure, and publishes a quantile forecast of near-future demand — so replicas can be warmed up before the load arrives instead of after a queue has already formed.
LLM pods cold-start in minutes (weights have to be loaded), which forces reactive autoscalers to keep a guessed, permanently inflated floor of always-on replicas. Forewarm exists to lower that floor safely.
Status
Early development — this release is a placeholder that reserves the name while the first working version is built in the open. There is no usable functionality yet; please do not depend on it.
Planned for the first real release (0.1.0):
- Prometheus ingestion of vLLM metrics (requests, prompt/generation tokens, queue depth)
- Zero-config model fitting on the cluster's own history, with an automatically selected champion benchmarked against a seasonal-naive baseline
- Quantile forecasts exposed as Prometheus metrics and via a gRPC KEDA external scaler
- A backtest CLI reporting forecast accuracy, SLO violation risk, and GPU dollars
Follow the work at https://github.com/Kazantsev-Alexey/forewarm
License
Apache-2.0
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 forewarm-0.0.1.tar.gz.
File metadata
- Download URL: forewarm-0.0.1.tar.gz
- Upload date:
- Size: 6.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/7.0.0 CPython/3.11.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
73faca91124e9131ae6283866055941568b78d34683936cef24a7ed67735042e
|
|
| MD5 |
f6ca7c944c07d5060f68b4958f1a4ac4
|
|
| BLAKE2b-256 |
fa9a220b962548cdfbc9fc7ae29b52637e0de213b1ea431a694539ee7240988f
|
File details
Details for the file forewarm-0.0.1-py3-none-any.whl.
File metadata
- Download URL: forewarm-0.0.1-py3-none-any.whl
- Upload date:
- Size: 6.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/7.0.0 CPython/3.11.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c8fcb447d6eecfa0575a3c15dbe5b118d98496e8e0fcadac7669a3ce0ac5907c
|
|
| MD5 |
1073dd2d5bdb12fcf3d6744dc2984941
|
|
| BLAKE2b-256 |
6a999359a2a5a307b54772aaa4dcd0a3a3f8e1a5a69e12aa4e034a4d38242596
|