AGENT SKILL

benchmark-authoring

Author and adapt VLMEvalKit benchmark datasets, TSV/video schemas, converters, dataset registration, prompts, and evaluators.

License 许可
Apache-2.0
最近更新
2026-09-03
Stars
★ 351
Forks
27

01 前言 Front Matter

name
benchmark-authoring
license
Apache 2.0
metadata
{ "disco-role": "operating" }
description
Author and adapt VLMEvalKit benchmark datasets, TSV/video schemas, converters, dataset registration, prompts, and evaluators.
disable-model-invocation
true

02 资源文件 5

03 SKILL.md 正文

VLMEvalKit Benchmark Authoring

Use this sub-skill when a task is about adding or adapting a VLMEvalKit benchmark, building a TSV or video metadata artifact, registering a dataset or video preset, implementing build_prompt / evaluate, or diagnosing dataset-construction failures.

Route first

  • Need to run a completed benchmark evaluation, resume predictions, scan API failures, or summarize outputs? Use evaluation.
  • Need to add model wrappers, API wrappers, custom model-side prompts, or LiteLLM/OpenAI-compatible model configuration? Use model-development.
  • Need to create benchmark data, a dataset class, a video preset, an evaluator, or a converter? Stay here.

Operating workflow

  1. Choose the authoring path.
    • One-off local TSV: put <DatasetName>.tsv under LMUData or use a --data-config JSON data entry.
    • Reusable in-package benchmark: implement or reuse an ImageBaseDataset, TextBaseDataset, VideoBaseDataset, or task-specific subclass such as ImageMCQDataset.
    • Video benchmark: add a preset in supported_video_datasets with exactly one of nframe or fps.
    • Conversion task: build a TSV/image tree first; do not start full model inference from this sub-skill.
  2. Author and validate the data artifact. Use data formats for TSV columns, multimodal fields, cache roots, and local validation probes.
  3. Implement the dataset contract. Use dataset API reference for load_data, prepare_tsv, dump_image, build_prompt, evaluate, registries, custom fallback behavior, and MCQ evaluation helpers.
  4. Write or adapt converters safely. Use converter patterns and the bundled LongDocURL TSV helper as the small, runnable pattern. Treat large downloads, archives, and Gradio browsers as optional/reference-only workflows.
  5. Dry-check before handoff. Prefer import/build/schema checks (build_dataset, column probes, tiny converter fixtures). Hand off any full evaluation command to evaluation.
  6. Troubleshoot from symptoms. Use troubleshooting for missing columns, broken image paths, unsupported-dataset fallback surprises, video frame-configuration errors, cache/download issues, and evaluator output problems.

Validation boundary

The production evidence for this skill covered source inspection and lightweight runtime checks around package imports, build_dataset, dataset registries, CLI help/listing, native LiteLLM/API pipeline tests, and a CUDA smoke probe. It did not verify live API calls, dataset downloads, Gradio services, or large model evaluations. Keep those as user-authorized optional steps.

04 同仓库更多 Skills

VectorSpaceLab
VectorSpaceLab/AREX-Skill

passnet-triton-opt

Make a single PassNet Triton kernel fast AND numerically faithful: performance model (when a replacement can win at all), block/grid/warp tuning, autotune policy, launch overhead, and per-op numeric recipes to pass the dtype baseline tolerances. Use when a pass matches and is correct but speedup below expected, or when correctness fails by small numeric margins.

★ 351
VectorSpaceLab
VectorSpaceLab/AREX-Skill

passnet-solve

END-TO-END playbook for solving one PassNet sample: analyze the computation graphs, decide the optimization strategy (what to fuse, what to replace, what to leave alone), drive the iteration loop, and maximize the sample score. This is the ENTRY skill — invoke it first for any PassNet optimization task; it tells you when to use passnet-pattern-fusion, passnet-triton-opt and passnet-feedback.

★ 351
VectorSpaceLab
VectorSpaceLab/AREX-Skill

passnet-skill

PassNet GPU kernel optimization via compiler passes. Design and implement Triton-based optimization passes, create pass files under ./pass_dir/, self-evaluate with pass_evaluator, and iterate to maximize GPU speedup.

★ 351
VectorSpaceLab
VectorSpaceLab/AREX-Skill

passnet-pattern-fusion

Author PassNet pass files: write patterns that actually MATCH the FX graph, pick fusion regions (which ops to absorb into one Triton kernel), and structure multi-pass submissions with the mandatory shared-dispatch architecture. Use when creating or fixing pattern()/replacement_args()/replacement_func() files, when a pass "failed to match", or when deciding how to fuse multiple kernels/ops.

★ 351
VectorSpaceLab
VectorSpaceLab/AREX-Skill

passnet-orchestrate

Round/batch planning and decision support for PassNet graph optimization. Use for multi-sample triage, worker allocation, eval-budget policy, and post-eval keep/revert decisions. For solving one concrete sample end to end, use passnet-solve as the entry skill; consult this skill only when you need broader planning or a specific decision gate.

★ 351
VectorSpaceLab
VectorSpaceLab/AREX-Skill

passnet-feedback

Fast, deterministic feedback for PassNet work: pre-flight pattern/match verification WITHOUT burning a GPU evaluation, per-node bottleneck analysis of a sample's graphs, and eval-log parsing into per-variant status + estimated score + failure classification. Use BEFORE every GPU evaluation (check_pattern), at the START of a sample (analyze_graph), and AFTER every evaluation (parse_eval_log).

★ 351