Stop Shipping LLM Settings That Only Win on Paper - Rohan Pandey & Balaji Varadarajan, DigitalOcean

Loading slides…

Read the talk

Stop Shipping LLM Settings That Only Win on Paper

DigitalOcean’s tuning agent tests vLLM recipes on inference hardware and measures how many tokens the server can deliver within its latency targets. Two completed studies show what a winning configuration changed and why the metric matters.

From a talk by Rohan Pandey and Balaji Varadarajan

At a glance

Ideas worth remembering

  • Read a winning recipe alongside the workload that selected it. Input and output token lengths determine the mix of work per request, and goodput counts the throughput that meets the latency targets.

  • Keep the metric attached to the gain. GPT-OSS improved goodput by 17.5% over its first configuration in a 50-trial study. DeepSeek’s best trial doubled token throughput and cut the delay between successive tokens by almost half.

Four workloads define the test

The demo opens on a Droplet with a GPT-OSS model already loaded. What traffic will exercise it? The starting recipe defines four workloads — short chat, long chat, retrieval-augmented generation (RAG) and batch classification. Each has an input sequence length (ISL) and an output sequence length (OSL), both measured in tokens. Read the pair together to see how much text the server must process for a request and how much it must generate in reply.

Those lengths are adjustable. A short prompt followed by a long reply gives the server a different mix of work from a long input followed by a short classification. The starting YAML thus fixes two things for the experiment. It gives the tuner an initial serving configuration and describes the traffic under which a change will be judged.

2:082:13
Suggest correction

This note stays in this page until you copy or download it. Nothing is submitted; reloading clears the draft.

2:08 · section reference included

Launching a study with a trial budget

What does the agent need to turn that YAML into a run? With the weights on the Droplet, the launch command points to their location, activates a virtual environment and runs tuner.py. The script takes a study name, the starting YAML file, the hardware it will run on and the number of trials to perform. The example requests 24 trials. That last argument tells the search when to stop.

These runs take long enough that Pandey switches to completed studies to show the results. He recalls roughly four or five hours for GPT-OSS and a couple of hours for the other model. Each completed report comes from a run with its own trial budget.

2:032:53
Suggest correction

This note stays in this page until you copy or download it. Nothing is submitted; reloading clears the draft.

2:53 · section reference included

GPT-OSS gained 17.5% over its starting recipe

The completed GPT-OSS study ran 50 trials. Its HTML report identifies the best trial in that field. The companion YAML records the serving parameters for the selected configuration, so an engineer can use the winning recipe without reconstructing it from the trial history.

Pandey points out one selected value, 256, without naming its YAML key. The comparison applies to the recipe as a whole. Measured by generated tokens that counted toward goodput, the winning configuration improved on the first configuration by 17.5%.

3:594:06
Suggest correction

This note stays in this page until you copy or download it. Nothing is submitted; reloading clears the draft.

3:56 · section reference included

DeepSeek’s ninth trial improved throughput and token timing

The second report covers a DeepSeek R1 Distill model. The ninth of nine trials scored best. What changed for the server and for someone reading a streamed response?

  • Token throughput doubled. The server generated twice as many tokens per unit of time in the reported comparison.
  • Inter-token latency fell by almost half. Once generation was underway, the wait between successive tokens was roughly half as long.

At the end of either study, the HTML report shows how each trial went and the YAML gives an engineer the settings to run again. That distinction matters for a close result. DigitalOcean’s recording description gives an example from its four studies in which an apparent 4% gain turned out to be run-to-run noise. The same description identifies the team’s work in progress: extending the agent to disaggregated serving, where prefill processes the prompt and decode generates successive tokens on separate serving resources.

4:494:51
Suggest correction

This note stays in this page until you copy or download it. Nothing is submitted; reloading clears the draft.

4:49 · section reference included

Transcript download
Full transcript

Loading transcript…