Skip to main content
A recipe is the complete deployment specification Forge searches over. Every experiment produces exactly one recipe; the best one is written to best_recipe.yaml at the end of a run.

Structure

Layers

Layer 1 — Config (config:) is the primary search space in v0. Forge tunes vLLM serving arguments that control batching, memory, and caching behaviour. These have the highest leverage per experiment because they require no recompilation. Layer 2 — Quantization (quant:) is scaffolded but not yet implemented. In v0.2+ Forge will tune INT4/FP8/INT8 methods and KV cache precision jointly with Layer 1. Layer 3 — Kernel synthesis (kernels:) hooks into AutoKernel for custom op synthesis. Planned for v0.3+.

Key VLLMConfig fields

Lineage

Each recipe records its parent_id and generation. This lets Forge detect convergence, build a diff between any two recipes, and render a clean audit trail.