Inference-optimisation tunes local LLM servers under a memory cap

The benchmark script flags loops, failed calls, and battery runs, and caps peak memory.

· added · Source: github.com

Inference-optimisation harness overview
256K prefill result
2.1x on Intel Arc B390 iGPU (297 to 628 tok/s)
Server compatibility
Any OpenAI-compatible server
Acceptance gates
Beat neighbouring controls, 3% max regression, needle check
Benchmark safeguards
Flags loops, failed requests, battery runs; memory watchdog
Usage options
SKILL.md with an agent, or ceiling.py and bench.py directly
github.com

The repository ships SKILL.md, reference guides, and a standard-library Python and bash harness for benchmarking any OpenAI-compatible server.

Builders can ask an agent to hill-climb decode and prefill for a local model under a memory cap or compute its theoretical max tok/s.

The harness only accepts changes that beat both neighbouring controls, regress nothing by more than 3%, and pass a long-context needle retrieval gate.

The benchmark script flags looping output, failed requests, and battery runs, and uses a watchdog to enforce a peak memory cap.

This matters to builders who run local LLM servers and want to tune decode, prefill, startup, or KV cache speed.

Point Claude Code or another agent at SKILL.md, or run ceiling.py and bench.py directly to measure your server's baseline.