Borrowing it
Nothing to install: this file belongs to maoxx241/vllm-ascend-workspace. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/maoxx241/vllm-ascend-workspace/main/.agents/skills/vllm-ascend-benchmark/SKILL.mdgit clone --depth 1 https://github.com/maoxx241/vllm-ascend-workspaceWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/maoxx241/vllm-ascend-workspace/vllm-ascend-benchmark)<a href="https://agentmods.dev/skills/maoxx241/vllm-ascend-workspace/vllm-ascend-benchmark"><img src="https://agentmods.dev/badge/skills/maoxx241/vllm-ascend-workspace/vllm-ascend-benchmark/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/maoxx241/vllm-ascend-workspace/vllm-ascend-benchmark"><img src="https://agentmods.dev/badge/skills/maoxx241/vllm-ascend-workspace/vllm-ascend-benchmark.svg" alt="Reviewed on agentmods" width="80" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00077 | $0.04197 |
| Opus 5 | $0.00039 | $0.02099 |
| Sonnet 5 | $0.00015 | $0.00839 |
| Haiku 4.5 | $0.00008 | $0.00420 |
Grade A, and why
vllm-ascend-benchmark scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 8d ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 243 lines — stays where its author put it; the contents beside it link to each section on GitHub.
vLLM Ascend Benchmark
Run vllm bench serve on a ready session-managed remote container and produce structured performance results. Supports single-run and multi-run (warm-service) modes.
Remote substrate rule: use .remote-dev remote tools for ad hoc remote
read/edit/bash/search/patch work around benchmark setup or result inspection.
Use this skill for the domain benchmark workflow and keep its scripts as the
compatibility backend for managed VAWS sessions.
Use this skill when
- the user asks to run a performance benchmark / throughput test in a managed session
- the user asks to compare performance before and after a code change
- the user asks to verify there is no performance regression for a PR or commit
Do not use this skill when
- the task is accuracy testing (aisbench domain)
- the task is running a full nightly CI matrix
- the task is offline / batch inference
- the user only wants to start or stop a service without benchmarking (use
vllm-ascend-serving) - no session exists yet for the target (use
session-managementfirst)
Critical rules
- Benchmark parameters are assembled by the agent based on user intent and executed through the scripts below. The agent must not construct raw
vllm bench servecommands and run them directly on the remote. - User intent takes priority over nightly configs. Nightly YAML files under
vllm-ascend/tests/e2e/nightly/single_node/models/configs/are a reference source for discovering how to configure a given model or feature (MTP, graph mode, TP count, etc.), not an execution template to run verbatim. - Nightly configs are used as a fallback only when the user specifies a model but provides no other parameters.
- Benchmarking is session-only.
bench_run.pytakes an optional--session-id <id>/--session-file <path>; when both are omitted, the session is auto-resolved from the nearest.vaws-local/current-session.jsonworktree binding (cwd upward), so running from inside a session worktree needs zero target arguments. If no binding is found, the command fails fast with instructions to pass--session-idor create a session withsession-management'ssession_create.py. - After benchmarking, the service is automatically stopped. No residual processes should remain. Cleanup stops only that session's service.
- If service startup returns a non-ready result after launching a PID, benchmark cleanup still calls
serve_stop.py --forcefor the same session. - Progress goes to
stderras__VAWS_BENCHMARK_PROGRESS__=<json>. Final result goes tostdoutas JSON. - Keep local benchmark state under
.vaws-local/sessions/<session-id>/benchmark/; results are written to.vaws-local/sessions/<session-id>/benchmark/runs/. - Multi-state comparisons (baseline vs PR vs modified) are a first-class workflow: use
bench_compare.py, which checks out each git ref in the container, benchmarks every state with identical serve/bench args, and reports TPOT/throughput deltas. Do not hand-write a bespoke comparison script — put reusable model/service configurations into a named preset underpresets/instead (see below). The old bespoke.agents/scripts/dsv4_flash_benchmark.pywas deleted;presets/dsv4-flash.jsoncarries its DSV4 Flash configuration, with the two loader args adapted (enable_multithread_loadas a JSON boolean; the old--safetensors-load-strategy prefetchwas dropped in favor of multithreaded loading — the flag still exists at the pinned vllm ref 967c5c3b, so this is a deliberate replacement, not an upstream removal — verified on real A3 hardware). Notebench_compare.pyruns back-to-back iterations with no inter-run sleep (the old script slept 15s between rounds), so absolute numbers are not directly comparable to historical bespoke-script results. - Native-input gate.
bench_compare.pyaligns source only and never rebuilds compiled custom ops. After each state's checkout and optional--remote-patch-fileapplication, it fingerprints the effective in-containercsrc/cmake/requirements inputs and compares the digest against the first state's. A mismatch fails the run with an explanation. An unavailable digest also fails closed. Pass--allow-stale-nativeonly to explicitly downgrade either condition to a loud warning plusnative_input_changed: trueornative_input_unverified: true. - Partial results are never lost. Each completed state is persisted under the session's
benchmark/runs/dir as it finishes; on any failure the error JSON still carriespartial_states(completed labels) andresult_paths. - Never hand-roll stale-process cleanup. A past bespoke cleanup SIGTERM'd a session's dedicated sshd (
Exiting on signal 15), dropped the container SSH port, and forced a rebuild. Use--stale-cleanup(backed bysafe_stale_cleanup), which only reaps vLLMEngineCore/Workerchildren by name, skips PID 1, excludes anything matchingsshd/vaws, and kills explicit pids only (never a process group). - Backend is overridable. The default is chat (
--backend openai-chat --endpoint /v1/chat/completions). For completion-style models (e.g. DSV4) pass--bench-args --backend openai --endpoint /v1/completions ...and the default is not injected.
What ships with it
9 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
- presets/dsv4-flash.json 2.8 KB
- references/acceptance.md 3.5 KB
- references/behavior.md 6.5 KB
- references/command-recipes.md 6.6 KB
- scripts/_common.py 45 KB runs code
- scripts/bench_compare.py 30 KB runs code
- scripts/bench_run.py 12 KB runs code
- tests/fixtures/vllm_bench_serve_result.json 1.6 KB
- tests/test_bench_scripts.py 30 KB runs code
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 8d ago Changed · +80 lines fadf8c717851
- 12d ago First seen · 163 lines · 77 tokens per session scan A 7c026a13ae49
vllm-ascend-benchmark is a skill published in the GitHub repository maoxx241/vllm-ascend-workspace (36 stars, last pushed 7d ago), licensed MIT. It adds 77 tokens to every session and 4,197 once invoked, about $0.0004 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
Other skills, from other repositories
systematic-debugging
Use when encountering any bug, test failure, or unexpected behavior, before proposing fixes.
local-ai-agents
Build local-first AI agents that run entirely on a developer workstation with Microsoft Foundry Local and Qwen function-calling models. Covers Small Language Models (SLMs), the OpenAI-compatible local endpoint, sandboxed local tools, local RAG with Chroma, local MCP servers, hybrid cloud/local routing, and the…
next-cache-components-adoption
Turn on Cache Components in a Next.js app and resolve the blocking routes it surfaces. Use when the user wants to enable, adopt, or migrate to Cache Components, flip the cacheComponents flag, work through a flood of blocking-prerender / instant validation errors, run the cache-components-instant-false codemod, or…
insight-error-page
Write or audit an insight-kind error page for the Next.js dev overlay. Use when creating a new errors/ .mdx page, auditing an existing one, or checking that a page matches the framework fix cards. Covers page structure, title alignment, FixCard cards with Copy prompt button, code snippets, terminology verification…
next-cache-components-optimizer
Drive a Next.js route to instant navigation by setting up an agentic loop, under Cache Components / PPR, on initial load (hard navigation) and client-side navigation (soft navigation). Encode the goal as a failing @next/playwright instant() e2e and work it to green, one verified route at a time; the shipped test then…
next-partial-prefetching-adoption
Turn on Partial Prefetching in a Next.js app and work through the insights it surfaces. Use when the user wants to enable or adopt Partial Prefetching, flip the partialPrefetching flag, opt routes in with export const prefetch = 'partial', audit Link prefetch={true} behavior, preserve existing prefetched UI with…