evaluation-and-projects
Plan InternLM-XComposer benchmark workflows and related project package usage without executing downloads, judge calls, services, or long inference.
- License 许可
- Apache-2.0
- 最近更新
- 2026-09-03
- Stars
- ★ 351
- Forks
- 27
01 前言 Front Matter
- name
- evaluation-and-projects
- license
- Apache 2.0
- metadata
- { "disco-role": "operating" }
- description
- Plan InternLM-XComposer benchmark workflows and related project package usage without executing downloads, judge calls, services, or long inference.
- disable-model-invocation
- true
02 资源文件 5
- 参考文档references/benchmark-workflows.md12.3 KB
- 参考文档references/data-conversion.md7.9 KB
- 参考文档references/related-projects.md10.7 KB
- 参考文档references/troubleshooting.md8.2 KB
- 脚本scripts/render_benchmark_plan.py29.2 KB
03 SKILL.md 正文
Evaluation And Projects
Use this sub-skill when the task is to plan, audit, or troubleshoot benchmark and related-project workflows for the InternLM-XComposer repository family without reopening the source checkout. It is intentionally non-executing: it preserves benchmark data layouts, command shapes, result files, submission expectations, and project-package routing, but it does not download benchmark data, launch models, call GPT/OpenAI judges, start services, or run long inference.
Route First
- Use this sub-skill for benchmark plans, dataset-layout checklists, result/submission file expectations, ShareGPT4V or DualFocus evaluation/converter planning, and benchmark troubleshooting.
- Route actual model loading, image/video chat, caption generation, quantized inference, or Gradio/LMDeploy usage to sibling
model-inferenceunless the request only asks for a non-executing ShareGPT4V/ShareCaptioner plan. - Route OmniLive audio/base/memory inference, online demo services, model layout checks, and live audio/video interaction to sibling
omnilive. Keep only OmniLive benchmark planning here. - Route supervised fine-tuning or adapter merging to sibling
finetuning. This sub-skill may mention ShareGPT4V installation and data layout, but not operate a training run. - Route IXC-2.5-Reward scoring, ranking, reward training, and reward benchmarks to sibling
reward-model. - If the user asks to execute a benchmark, first convert the request into a plan and explicitly ask for the needed external data, credentials, GPU/Slurm budget, and execution approval before any separate execution-oriented skill acts.
Required Inputs To Collect
Before producing a plan, identify:
- Model family or project package: current XComposer/VLMEvalKit, legacy 1.0/2.0 scripts, OmniLive, ShareGPT4V, or DualFocus.
- Benchmark or utility target: for example MME, MMBench, SEED, QBench, MMMU, MM-Vet, POPE, ChartQA, AI2D, MLVU, Video-MME, StreamingBench, MVBench, ShareGPT4V converter, or DualFocus converter.
- Intended action: plan only, layout audit, result conversion, submission packaging, or troubleshooting.
- Local resources: CUDA GPU count, Slurm availability, model/checkpoint path, dataset root, output root, and whether external judge/server submission is allowed.
- Blocking constraints: benchmark license/data access, GPT/OpenAI judge key, leaderboard account, large download budget, flash-attn/decord/Swift/ffmpeg dependencies, or model-weight license.
Operating Procedure
- Open
references/benchmark-workflows.mdfor benchmark routing and data/result expectations. - Open
references/related-projects.mdfor ShareGPT4V and DualFocus installation, package routing, evaluation families, Captioner usage, and Slurm/local distinctions. - Open
references/data-conversion.mdwhen the task involves JSONL, TSV, XLSX, answer-upload, or result-converter formats. - Open
references/troubleshooting.mdwhen a plan is blocked by missing data, CUDA/Slurm, GPT judges, submission servers, output shape errors, or hardcoded source-era paths. - Optionally run the bundled safe planner to render a checklist without executing any benchmark:
python scripts/render_benchmark_plan.py --list
python scripts/render_benchmark_plan.py --workflow xcomposer2-mme --model-path <model> --data-root <data> --output-root <outputs> --gpus 1
python scripts/render_benchmark_plan.py --workflow sharegpt4v-eval --checkpoint share4v-7b --gpus 8 --format markdown
python scripts/render_benchmark_plan.py --workflow omnilive-video-mme --data-root <video-root> --gpus 8 --check-paths
The helper uses only Python's standard library, prints commands/checklists as text, and performs optional path-existence probes only when --check-paths is supplied.
Non-Execution Boundaries
- Do not download benchmark datasets, model weights, playground archives, or official eval tools from this sub-skill.
- Do not call OpenAI/GPT judges for LLaVA-Bench, MM-Vet, MathVista answer extraction, or any other judged workflow.
- Do not submit to OpenCompass, EvalAI, QBench, SEED, or other external servers.
- Do not launch ShareGPT4V Gradio demos, OmniLive SRS/FastAPI/Gradio services, or long CUDA inference.
- Do not assume source checkout scripts are present. When a workflow came from source-era scripts or notebooks, use the distilled layout, command shape, result shape, and blockers recorded in the bundled references.
Output Expectations
A good response from this sub-skill names the chosen workflow, required data layout, GPU/Slurm and package requirements, non-executing command pattern, expected local result files, external submission/judge requirements, known blockers, and the sibling sub-skill to use if the user actually wants inference, service deployment, fine-tuning, or reward modeling.
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).