Benchmark and compare recipes
A benchmark runs a recipe on a GPU configuration. It gives two things:
- A proof: the benchmark ran the whole series of workloads of its model setup without a crash and passed its answer check. A recipe serves requests only with a proof on that GPU configuration and driver. A proof on similar GPUs counts too: same maker, compute generation and memory to the gigabyte. A measure does not: a figure belongs to the exact GPU that measured it.
- Measures: its speed at Max and at Low, a lower GPU clock, over NVLink or PCIe.
A benchmark measures at Max.
When the GPU model has a low clock, a second session measures it at Low: its clock is then locked to that frequency.
Either session proves the recipe.
Its measures count at its own level, Max or Low.
When one level is missing, a figure can be estimated from the other and is marked ≈.
An administrator can queue a Low session with Measure Low in a recipe’s My cookbook detail, or through the API: POST /api/recipes/:id/low-session.
It runs as soon as its GPUs are free.
The recipe needs no proof first: GPUs held below full power by a cap can prove it at Low.
A benchmark never picks an objective: it measures every objective its task offers.
Text generation has three load profiles: balanced, decode-heavy and long documents.
The series follows the model setup. It holds the workloads that measure its task’s objectives, except those the model setup’s context cannot hold. Long documents needs a context of at least 32k tokens, and a model setup that reads images adds an image workload. Under 512 tokens of context, nothing can be measured or proved. Your cluster, a volunteer and the GPU.Kitchen hub run the same series.
Three crashes in seven days withdraw a proof on your cluster, and crashes on two clusters withdraw it on the hub for everyone. An engine that runs out of GPU memory counts as a crash when the other programs on its GPUs left it the memory it requires. The model setups that ran that recipe switch to the next best proven one; a model setup set to Never, or one with no other proven recipe, stops. A recipe still proven under another driver branch keeps running, on the nodes of that branch only. Administrators see each switch or stop in Needs attention on the dashboard.
A quality evaluation measures answers with a selected evaluation suite. Quality belongs to the model setup: two recipes of the same model setup answer the same way, and only their speed differs.
Benchmarking a public model requires a linked GPU Kitchen account. If needed, use the account-link action in the app before starting a measurement. Private-model benchmarks can run without a linked account and stay local. You can still prepare and compare recipes before connecting an account.
Measure one recipe
Section titled “Measure one recipe”- Open the recipe from Production → Recipes.
- Review its model, engine, GPU requirement and parameters.
- Select Benchmark.
- Follow the work in Test Kitchen → Benchmarks.
- Return to the recipe’s Benchmark Results when it finishes.
A recipe needs a proof before it can serve requests. A queued benchmark still needs compatible GPUs and permission to run during that period.
A recipe that should run on your GPUs but has no proof there offers Benchmark. It says so when a benchmark of the same model on the same number of GPUs already runs elsewhere.
Read the GPU configuration and workload beside each result. The results panel can show VRAM %: the median share of the GPU’s usable memory used at the peak. Compare results for the same task and a comparable workload. Memory use, latency and throughput answer different questions; choose the measurements that matter for your traffic.
The memory a recipe uses
Section titled “The memory a recipe uses”The recipe page shows its memory in its Model setup section.
- GPU requirement gives the GPUs it needs and the memory per GPU, for example
2× Ampere (RTX 30) GPU, 22 GB+. Beside it, GPU Kitchen says where the memory figure comes from: its budget for an engine held to one (below), set by its author for a recipe with its own image, else forecast. - Measured memory gives what its benchmarks saw on its fullest GPU, for example
VRAM 21.6 GB · 90 % of a 3090 · KV cache 74 %. The percentage is that peak as a share of the usable memory of the GPU it names: its memory less what is reserved on it. The KV cache figure is how full its cache got. Before a benchmark has read a GPU, it says Memory not measured. My cookbook shows the same figures on a deployment’s Runs with line.
GPU Kitchen counts the memory of the recipe’s own engine, not what other programs hold on the same GPU.
Some drivers cannot tell an engine’s memory apart, for example under WSL2.
GPU Kitchen then counts the whole GPU’s use, which is never less, and says so: VRAM 23.1 GB · 96 % of a 4090 (whole GPU).
It offers a recipe only to GPUs with enough usable memory for its requirement.
Some engines can be held to a memory size, such as vLLM or SGLang. Such an engine runs as on a GPU of the size its recipe is made for. By default, that is the whole usable memory of the GPU it runs on. A GPU of 24 GB whose display takes 4 GB therefore runs as its 20 GB sister. A VRAM budget, in GB per GPU, makes the recipe for a smaller GPU. It is one of the recipe’s settings in the Recipe Builder. Use one only for two needs. The first is a smaller GPU of the same family: an RTX 3080 of 12 GB, tried on an RTX 3090 of 24 GB. The second is a GPU that also runs the display, which takes about 4 GB. The budget is one of the values the GPU offers. These are the memory sizes its family was sold with, smaller than its own, and each of those sizes less 4 GB. On an RTX 3090 that is 4, 6, 8, 10, 12, 16 or 20 GB. Any other value is refused: « The VRAM budget, 22.5 GB per GPU, is not one this GPU offers. Choose one of: 4, 6, 8, 10, 12, 16, 20 GB, or none for the whole GPU. ».
The engine’s own memory setting, such as vLLM’s --gpu-memory-utilization, is one of the recipe’s parameters, under its own name.
It is the share of the GPU the engine gives itself for its weights, activations and KV cache.
Set it as you would on the GPU the recipe is made for. Without a value, the engine’s own default applies, 0.9 for vLLM.
GPU Kitchen passes the engine the value that gives it the same memory on the larger GPU it runs on.
On an RTX 3090 of 24 GB, a recipe made for 16 GB at 0.9 runs with --gpu-memory-utilization 0.6: 14.4 GB, as on a 16 GB GPU.
When the template’s VRAM per GPU is below the GPU’s, the Recipe Builder marks that parameter with ⚠: « This value is adjusted when the recipe runs, so the engine behaves as on a 16 GB GPU. ».
What the engine takes beside, such as its CUDA context and the links between GPUs, must fit in the rest. It grows with the number of GPUs.
A recipe proven on a large GPU can therefore be benchmarked, and proven, on a smaller one that offers its budget. It serves there only once it is proven there.
A template can fix the budget and the engine’s memory setting or explore several values; another value is another recipe.
A budget over what a GPU offers is refused there, at benchmark and in service.
For example: « The VRAM budget, 30 GB per GPU, is over the 24 GB this GPU offers. ».
Until a node reports a GPU’s real memory, such an engine does not start there either: « The GPU’s memory is unknown, so the engine cannot be held to its VRAM budget. ».
A template whose extra flags set the engine’s memory setting is refused: set it as a parameter, which GPU Kitchen adjusts.
For a recipe without a budget, and for any other engine, the requirement is read for each GPU configuration.
It is the forecast until a proof on that configuration measures it, then the highest memory its proofs there measured.
An engine fills the room it is given, so what it took on one GPU says nothing of another.
A recipe that uses little of the memory it reserves wastes memory. On a finished benchmark and on the recipe page, under 85 % GPU Kitchen says so: « This recipe uses only 62 % of the VRAM it reserves. ». Under 70 %, the benchmark gives no proof, and names the two ways out. Serve more requests at once or a longer context, or take the value below that the GPU offers. For example: « No proof: this recipe uses only 20 % of the VRAM it reserves. Serve at least 14 requests at once, use a longer context, or choose the 8 GB cap. ». Either is another recipe: prepare it in the Recipe Builder. A benchmark whose engine held more than its budget, or than the whole GPU, gives no proof either: « No proof: the engine held 21.4 GB on a GPU, over this recipe’s budget of 20 GB. ». Its measures stay. What the engine took beside its share did not fit in the rest. The fix depends on the engine, such as a lower memory setting or a shorter context.
Max parallel requests is the number of requests a recipe serves at once. It is one of its settings, 4 unless its template sets another number. Its forecast memory and its benchmark’s highest load use that number, and the API proxy never lets more requests through at once. A recipe meant for Batch jobs or Per watt usually needs more: fix a higher value or explore several in the Recipe Builder.
Explore parameter choices
Section titled “Explore parameter choices”Open Test Kitchen → Recipe Builder and select New template. Each choice appears once the one before is made: the model, from your library or No model — custom image; the GPU configuration; the engine, From library or Custom image; the objective; then the name. Select Create template to create it. All the steps are on the page from the start. A step waits, folded and greyed, until the one before it is filled. It opens by itself then. A choice that no longer fits folds it again. In the model and engine lists, the whole line is the Use button.
Pick the GPU configuration by its GPU model, its number of GPUs and NVLink. Each list offers only what your nodes can form with the other choices. NVLink is not part of the recipe, which also runs without it. With NVLink or Without keeps the template’s benchmarks on nodes whose GPUs are linked or not; Any takes either. With an engine of the catalog, VRAM per GPU is the memory the template allows on each GPU. It starts at Whole GPU, the GPU’s usable memory. Lower it to one of the values the GPU offers to prepare a recipe for a smaller GPU. For example, 10 GB of a 24 GB GPU. The template’s recipes are then held to it. A combination that needs more is never created: its cell in the grid is hatched and gives the reason. For example: « The VRAM budget, 14 GB per GPU, is over the template’s 10 GB. ». The benchmarks still run on the configuration’s real GPUs.
The template’s setup stays fixed after creation. To try another model, engine or GPU setup, duplicate the template and change the copy before creating it. The copy starts without the original’s benchmark history or queue.
Inside the template, choose the parameter values to explore. Each combination represents a recipe. Use the exploration grid or table to select a combination and inspect its results. The current recipe’s action bar applies to that selection.
The engine frame lists engines by logo and name, then the versions that serve the configuration’s GPUs.
It offers only the engines the model runs on, and says how many of the engines enabled here that is.
Custom image replaces the engine with an image of your own.
Its template asks for the number of GPUs, the minimum VRAM per GPU, optionally a compute capability, and Max concurrent requests.
The number of GPUs and the VRAM are part of the recipe: two templates that differ only by them make two recipes, so a measure on 4 GPUs never lands on the recipe for 2.
A text-generation image also names its Generation route, completions or chat. The route is part of the recipe too.
A template can declare a RAM tier per node (GB): the system RAM its recipes need, as close as possible to what they really use. Some engines keep a cache in RAM that grows with traffic. If yours does, enter RAM cache, at most (GB), the largest size your options let it reach. You write the options that hold the cache to that size. GPU Kitchen does not compute them. The tier is part of the recipe, so two tiers make two recipes. Leave it empty to use the RAM the benchmarks measure. A tiered recipe needs its tier, not its measured peak, when GPU Kitchen places it. A benchmark proves nothing when the RAM it held plus the largest cache goes past the tier. It names both figures: for example, 398 GB of system RAM needed against 256 GB declared. A benchmark never sends the same conversation twice, so it cannot fill such a cache: the check counts it for you.
An image from a registry that only your own network can reach never reaches the hub. Its results stay on your cluster. To share a recipe, publish its image on a public registry.
Queue the combinations you want to measure, then follow Benchmark queue. When the page is too narrow, Benchmark queue folds into a thin column. The column shows the number of benchmarks left and a play or pause button. Click the column to open it again. Click its title to fold it. Once you have opened it, it stays open. After the measurements finish, compare the results and keep the recipe that meets your needs. Use its run action when you are ready to serve it.
Understand the queue
Section titled “Understand the queue”Test Kitchen → Benchmarks separates Waiting, Running, Error and Done.
- Waiting groups work by template. Open the template name to inspect its recipes.
- Running shows active benchmarks and their instances.
- Error shows failed work with the reason and available diagnostics.
- Done shows recent benchmarks that ran to their end: whether their correctness check passed, and whether the hub has them.
A queue says Nothing waiting, or Blocked with its cause, such as a clock cap the GPU cannot use. The same verdict places each waiting benchmark and explains it.
A queue set to Community offers its benchmarks to a free volunteer with the exact GPU configuration. A benchmark kept here for lack of a volunteer is offered again about once a minute. One identical to a benchmark already running in the community waits instead of running twice: « Already running elsewhere. ». While the community runs a benchmark, Running lists it with Community in place of its node, and Cancel stops it. A basket says In progress for it, and the count on Benchmarks in the menu includes it.
Queue controls let you run, pause or stop work. Read their effect before applying them to every queue. Completed measurements live on recipe and template pages; this page follows the work in progress.
Compare results in a basket and a chart
Section titled “Compare results in a basket and a chart”A basket keeps the recipes and result series you want to compare. Add them from a recipe, a template, a benchmark result or a hub recipe page, community series included, then open Test Kitchen → Basket. Paste ID adds a recipe by its share code. A hub recipe measured nowhere enters as an entry marked Not measured, with its GPU requirement and no GPU model: a recipe names no GPU, only a measure does. Benchmark measures it.
- You can keep several named baskets; the active one receives what you add.
- Benchmark measures the selected entries again; Copy to… moves a selection to another basket.
- Make a chart opens Test Kitchen → Charts with the active basket’s results, ready to export as an image.
- Benchmark works on a selection or on the whole basket.
- A basket exports to a JSON file, and importing one creates a new basket.
Check answer quality
Section titled “Check answer quality”A recipe’s panel in Recipes shows its model setup’s quality, suite by suite; Evaluate runs the suites that apply. A cell’s panel on the GPU.Kitchen hub tab shows the same quality: everyone’s evaluations count the same. Use Test Kitchen → Evals to follow the separate evaluation queue and compare quality. Its comparison has one row per model setup and precision class, and one column per suite: quality belongs to the model setup, not to one recipe. Its Recent tab contains completed evaluations.
Compare the same suite and its recorded version. An absent score means the recipe has not supplied that result; it does not mean a score of zero.
Finally, watch the recipe under real traffic. Model measurements explain production, pressure and service quality. Usage helps locate the periods that need attention.
