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
- 参考文档references/converter-patterns.md7.6 KB
- 参考文档references/data-formats.md7.3 KB
- 参考文档references/dataset-api-reference.md10.3 KB
- 参考文档references/troubleshooting.md8.1 KB
- 脚本scripts/build_longdocurl_tsv.py8.1 KB
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
- Choose the authoring path.
- One-off local TSV: put
<DatasetName>.tsvunderLMUDataor use a--data-configJSON data entry. - Reusable in-package benchmark: implement or reuse an
ImageBaseDataset,TextBaseDataset,VideoBaseDataset, or task-specific subclass such asImageMCQDataset. - Video benchmark: add a preset in
supported_video_datasetswith exactly one ofnframeorfps. - Conversion task: build a TSV/image tree first; do not start full model inference from this sub-skill.
- One-off local TSV: put
- Author and validate the data artifact. Use data formats for TSV columns, multimodal fields, cache roots, and local validation probes.
- 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. - 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.
- Dry-check before handoff. Prefer import/build/schema checks (
build_dataset, column probes, tiny converter fixtures). Hand off any full evaluation command to evaluation. - 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
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.
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.
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.
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.
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.
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).