Skip to content
Back to skills

Benchmark Validation

ASecurity

"Validate LightLLM with repo-native benchmarks, regressions, static

  • 247 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added September 8, 2026
devopsapibackendperformance

Works with

  • api

Security analysis

A100/100

Pro scans all 3 files and shows the line behind each finding

Scanned September 8, 2026

npx -y skills add VectorSpaceLab/AREX-Skill --skill benchmark-validation --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Benchmark Validation?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Benchmark Validation
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/vectorspacelab-benchmark-validation/badge)](https://www.skillsdirectory.com/skills/vectorspacelab-benchmark-validation)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: benchmark-validation
description: "Validate LightLLM with repo-native benchmarks, regressions, static
  inference, and smoke flows."
metadata:
  disco-role: operating
disable-model-invocation: true
license: Apache 2.0
---

# benchmark-validation

Use this sub-skill when the user wants to benchmark LightLLM, compare
throughput or latency, replay a regression scenario, or interpret one of the
repo-native accuracy and performance scripts.

## Covers

- Service benchmarks for throughput, QPS, and multi-turn latency.
- Static inference benchmarks for text and vision models.
- Prompt-cache and PD-related benchmark flows.
- Accuracy / regression / scenario scripts under `test/acc`.
- Log and result-file conventions for repeatable benchmark runs.

## Does not cover

- How to start the server topology itself.
- How to choose a model family or backend.
- Endpoint payload details beyond the smoke request used to warm up a run.

## Read first

- [references/benchmark-catalog.md](references/benchmark-catalog.md)
- [references/troubleshooting.md](references/troubleshooting.md)
- [../../references/troubleshooting.md](../../references/troubleshooting.md)
- [../../references/api-reference.md](../../references/api-reference.md)

## Use this route when the user says

- “benchmark LightLLM”
- “measure QPS or latency”
- “run the prompt-cache test”
- “validate the model with the repo benchmark scripts”
- “compare a performance run or regression result”

## Minimal working sequence

1. Confirm the service or deployment route is already up.
2. Choose the smallest benchmark that matches the user’s question.
3. Run a local smoke request before a larger benchmark or scenario script.
4. Record inputs, model path, endpoint, and log directory before collecting
   results.
5. Decide whether the benchmark is throughput-focused, multi-turn, or
   accuracy/regression-focused.

## Decision points

- Use service QPS and latency scripts for serving performance.
- Use static inference scripts for model-side inference timing.
- Use prompt-cache scripts when the user cares about cache reuse.
- Use `test/acc` scripts when the task is regression or scenario validation.
- Keep profiler control in the serving route unless the benchmark itself needs
  profiler coordination.

## Related helpers

- `../../scripts/request_smoke.py` is the small local request used before a
  larger benchmark.
- `../../scripts/inspect_api_surface.py` helps map the benchmark target to the
  right endpoint family.

## Troubleshooting highlights

- The benchmark can start before the service is actually ready.
- `lm_eval` and similar tools may slow down if caches are missing or online
  downloads are allowed unexpectedly.
- Model/tokenizer mismatches often show up as benchmark setup failures rather
  than bad performance numbers.
- A benchmark against the wrong endpoint family gives misleading latency or
  throughput numbers.
- Proxy leakage can make localhost benchmark traffic fail in confusing ways.

## Review standard

This sub-skill is complete when a future agent can:

- pick the correct benchmark family,
- understand the expected logs and summary files,
- run a local smoke before the larger benchmark,
- and explain a suspicious result without reopening the source repository.

Files in this skill

  • SKILL.md3.2 KB
  • references/benchmark-catalog.md3.8 KB
  • references/troubleshooting.md2.4 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.