aevyra-forge is an autonomous vLLM deployment optimizer — give it a model, a GPU, and a workload trace and it tunes your serving config overnight with a full audit trail of every experiment.
What's included in v0.1.0
Core loop
Orchestrator— autonomous tune loop: propose → boot vLLM → bench → keep/revert, repeatForgeConfig— budget knobs:max_experiments,max_hours,max_dollars,accuracy_floor,dry_run- Layer escalation:
config → quant → kernel(quant/kernel stubs return gracefully when reached) - Convergence detection and periodic re-exploration from global best
- Resume interrupted runs (
aevyra-forge tune resume) — all state read from disk, no args needed
Recipe
VLLMConfig— 14 tunable serving args covering batching, caching, parallelism, and prefillQuantRecipe— Layer 2 schema (method, kv_cache_quant, calibration_dataset) — scaffolded for v0.2Recipe.diff()— human-readable change summary between any two recipes- Unique recipe IDs derived from config hash; full lineage via
parent_idandgeneration
Benchmarking
bench.py— concurrent workload replay against live vLLM; returns throughput, P50/P99 latency, TTFT, TPOT, and accuracy- Dry-run mode with synthetic bench results for pipeline testing without a GPU
Workload
workload_from_jsonl— load real traffic traces (prompt + expected_output_tokens per line)workload_synthetic/workload_shared_prefix/workload_concurrent_synthetic— generators for testing and dry-runs
Playbook
- Bundled
playbook.mdwith T4/A10/A100/H100 heuristics, safe search space, and forbidden combinations --playbookflag for custom playbooksaevyra-forge playbook show|validate
Persistence
ForgeStore/ForgeRun— run directory layout withconfig.json,experiments.jsonl,experiments.json,experiments.tsv,best_recipe.yaml- Interrupted runs detected automatically;
resumerestores full state from disk
CLI
aevyra-forge tune— start a new runaevyra-forge tune resume— resume latest interrupted runaevyra-forge report <dir>— human-readable TSV summaryaevyra-forge report <dir> --format json— machine-readable JSON for dashboards and toolingaevyra-forge doctor— pre-flight checks: GPU, vLLM, API keysaevyra-forge playbook show|validate
LLM backends
Anthropic (default), OpenAI, OpenRouter, Together AI, Groq, Ollama, and any OpenAI-compatible endpoint via the provider/model flag format.
Docs
Full documentation at aevyra.mintlify.app/forge/introduction
Install
pip install aevyra-forge