Skip to content
STIRUP

TECHNOLOGY INTELLIGENCE

Understand what's next.

Inference-Optimisation-Skill Agent Performance Metrics and Benchmarks

Performance metrics for the inference-optimisation-skill agent include throughput, memory usage, and task-specific capabilities, with benchmarks showing practical targets of 88–97 tok/s and prefill testing reaching 628 tok/s.

Share
AI-generated conceptual illustration accompanying: Inference-Optimisation-Skill Agent Performance Metrics and Benchmarks
AI-generated editorial illustration of the article topic; not a photograph, product screenshot or measured result.

Performance Metrics and Benchmarks

The performance metrics and benchmarks for the inference-optimisation-skill agent focus on throughput, memory usage, and task-specific capabilities. According to github.com, a ceiling calculation indicated that achieving 100 tokens per second (tok/s) for one user required two useful speculative drafts. github.com noted that the model's draft head accepts approximately 14% at depth 2, leading to a practical target of 88–97 tok/s. During prefill testing at 256K, the system reached 628 tok/s, against a ceiling of approximately 670–684 tok/s, as reported in github.com. The benchmark suite, outlined in github.com, includes startup and short-prompt time-to-first-token (TTFT), decode performance (c1 and cN), cold prefill at various lengths, long-context needle retrieval, and peak memory with a cap watchdog. Additional tools like queue.sh, described in github.com, enable serialized, detachable run queues for interleaving control and candidate runs. github.com highlights that driver residency on unified-memory GPUs is tracked, though not visible to cgroups.

Installation and Usage Instructions

To install the inference-optimisation-skill agent, first clone the repository using git clone https://github.com/sybil-solutions/inference-optimisation-skill. Next, create the directory ~/.claude/skills if it does not exist, and copy the contents of inference-optimisation-skill/skills/inference-optimisation into it. Once installed, users can issue commands such as "hill-climb decode and prefill for the model on :8000 under a 40 GiB cap" to the agent for specific tasks. For other agents, instructions are provided in skills/inference-optimisation/SKILL.md or PROMPT.md as the task prompt.

For a quick start without an agent, users can run scripts directly. For example, python3 $S/scripts/ceiling.py $S/examples/ceiling-ornith-b390.json calculates ceilings, and python3 $S/scripts/bench.py run configs/base.json --long 131072 performs a benchmark run. The principles emphasized in the documentation include measuring real tokens, real prompt lengths, and real memory usage, including GPU residency on unified memory. As noted in the source, "If you don't know the maximum, you can't tell whether 53 tok/s is great or bad, or whether '100 tok/s' is possible."

Key Principles and Methodology

The inference-optimisation agent skill focuses on hill-climbing the speed of a local LLM server across various hardware and quantization configurations. A key principle is the systematic documentation of what did not work, as noted in the PLAN.md file, which emphasizes learning from failures rather than just successes. Each optimization attempt requires detailed documentation, including hardware specifications, model type, quantization level, engine version, performance metrics before and after, measurement methodology, and a link to raw data. This ensures transparency and reproducibility. The skill enables the agent to compute performance limits upfront, allowing early identification of targets that exceed physical constraints. Results from past hill-climbs have been distilled into this skill, providing a foundation for further optimization. The methodology relies on rigorous testing and iterative refinement, with all claims attributed to the source evidence.

Sources and reporting notes

Based on published source material. No independent hands-on testing is claimed.

Read more