EXPERIMENT 001 · FINDING THE CLIFFin progress · numbers land when measured

EXPERIMENT 001

Finding the cliff: the best serving settings sit just short of out-of-memory

An agent screened SGLang's settings down to the few that matter. System 3 then found the best configuration in [__] trials, against [__] for a grid, on the same GPUs at the same budget.

EXP001
REV0.1
RUN[run-id]
COMMIT[sha]
HW[n× GPU]
MODEL[name]
BUDGET[__] GPU-h
CHECKEDV. Picheny
1 · DIAGNOSEWhere throughput and tokens per joule are lost on stock settings, measured on every trial.
2 · OPTIMIZEAgent screens the settings; System 3 picks each next test.
3 · ACTBest config applied, plus the region of good ones with confidence.
4 · LEARNCaveats, what surprised us, and Experiment 002.

The screening funnel

Planned shape. Final counts come from the measured run.

settings exposed by SGLang
~31 knobs
agent screening
3–5 dimensions
System 3
20–30 trials × ~10 min
best
config + region

The cliff

Fig. 2 Throughput against memory fraction. Past the edge the server runs out of memory (hatched). ILLUSTRATIVE

Best result found against tests run: three arms, same budget

Fig. 3 The comparison the launch rests on: stock settings, the agent alone, grid search, and the agent plus System 3, which stops when the expected gain falls below run-to-run noise. ILLUSTRATIVE · shape only

Caveats

  • Run-to-run noise on time to first token was 15–20%; each point is the median of [n] repeats.
  • One model on one machine. Experiment 002 repeats it on a second.
  • Power is measured at the wall. Power is GPU board power, not wall power.corr. D.A. [date] · errata #0

Corrections are struck through once and signed, never erased.

Reproduce it

PERSON

pip install secondmind
sm tune sglang --model <yours> --budget 25

AGENT · paste into Claude Code, Codex or Cursor

Add the secondmind MCP server and tune my SGLang deployment for tokens per joule. Budget: 25 trials. Stop when the gain is inside noise.

The hosted API runs System 3; your GPUs run the tests. Raw trials, configs and baselines: /notebook/001.json

sha256 [9f2c…e41a]
$ curl -s secondmind.ai/notebook/001.json | sha256sum