skywork-r1v
Route Skywork-R1V3 local inference, R1V4 API batch testing, and benchmark reproduction workflows to the right bundled sub-skill.
- License 许可
- MIT
- 最近更新
- 2026-09-03
- Stars
- ★ 351
- Forks
- 27
01 前言 Front Matter
- name
- skywork-r1v
- license
- MIT
- metadata
- { "disco-role": "operating" }
- description
- Route Skywork-R1V3 local inference, R1V4 API batch testing, and benchmark reproduction workflows to the right bundled sub-skill.
- disable-model-invocation
- true
02 资源文件 5
- 参考文档references/model-and-backend-overview.md2.6 KB
- 参考文档references/repo-provenance.md1.8 KB
- 参考文档references/repo-routing-metadata.json560 B
- 参考文档references/troubleshooting.md3.8 KB
- 脚本scripts/validate_skill_runtime.py4.7 KB
03 SKILL.md 正文
Skywork-R1V
Use this repo skill when a user asks about the Skywork multimodal reasoning repository, especially Skywork-R1V3 local inference, Skywork R1V4 API batch testing, or evaluation reproduction with VLMEvalKit, EMMA-mini, and MMK12.
This root skill is a router. It keeps the fast path short and sends detailed commands, parameters, and failure handling to the sub-skill that owns the workflow.
First choices
- Need local Transformers or vLLM inference for Skywork-R1V3? Go to
sub-skills/local-inference/. - Need R1V4 batch request payloads, response parsing, or result summaries? Go to
sub-skills/r1v4-api-testing/. - Need Skywork evaluation reproduction, benchmark launch commands, or score post-processing? Go to
sub-skills/evaluation-reproduction/.
What this skill covers
- Skywork-R1V3 local inference command construction and image-patch reasoning.
- Skywork R1V4 API batch testing and tagged response parsing.
- VLMEvalKit, EMMA-mini, and MMK12 evaluation reproduction.
- Safe helper scripts for command building, schema checks, parsing, and output inspection.
What this skill does not do
- It does not load the 38B model, launch vLLM, or run the heavy evaluation suites by itself.
- It does not make live API calls, download checkpoints, or request credentials unless the chosen sub-skill says so.
- It does not replace the need for a prepared CUDA/GPU runtime when the user is actually running local inference.
Minimal setup and sanity check
There is no single top-level Python package to install for this repository. For the bundled helper scripts, use a normal Python environment and install only the small helper stack when needed:
python -m pip install requests tqdm flask pillow pyyaml pandas openpyxl
python scripts/validate_skill_runtime.py --root .
Install CUDA, vLLM, Transformers, model weights, datasets, or judge/API clients only when the chosen sub-skill explicitly requires them for a real run.
Quick routing signals
Local inference
Use local-inference when the request mentions:
Skywork/Skywork-R1V3-38Binference_with_transformers.pyinference_with_vllm.pysplit_model,tensor_parallel_size,flash-attn,trust_remote_code- multi-image prompts, image patch counts, or CUDA OOM while serving the model
Read:
sub-skills/local-inference/references/workflows.mdsub-skills/local-inference/references/api-and-parameters.mdsub-skills/local-inference/references/troubleshooting.md
Run:
sub-skills/local-inference/scripts/build_inference_command.pysub-skills/local-inference/scripts/check_image_grid.py
R1V4 API testing
Use r1v4-api-testing when the request mentions:
r1v4-liteorr1v4-vl-planner-litebatch_nonstream.py,batch_stream.py, or planner variantstest_cases.jsonl,<think>,<tool_call>,<observation>,<answer>tags- result JSONL summaries, MIME types, or a safe batch payload preview
Read:
sub-skills/r1v4-api-testing/references/api-batch-workflows.mdsub-skills/r1v4-api-testing/references/data-formats.mdsub-skills/r1v4-api-testing/references/result-analysis.mdsub-skills/r1v4-api-testing/references/troubleshooting.md
Run:
sub-skills/r1v4-api-testing/scripts/validate_cases.pysub-skills/r1v4-api-testing/scripts/build_api_payload.pysub-skills/r1v4-api-testing/scripts/parse_r1v4_response.pysub-skills/r1v4-api-testing/scripts/summarize_results.py
Evaluation reproduction
Use evaluation-reproduction when the request mentions:
eval/README.md- VLMEvalKit launch or benchmark scripts
- EMMA-mini generation and scoring
- MMK12 generation or judge scoring
MMMU,LogicVista,PhyX,r1v3-alpha,USE_COT, or a served OpenAI-compatible model
Read:
sub-skills/evaluation-reproduction/references/vlmevalkit.mdsub-skills/evaluation-reproduction/references/emma-mmk12.mdsub-skills/evaluation-reproduction/references/data-and-results.mdsub-skills/evaluation-reproduction/references/troubleshooting.md
Run:
sub-skills/evaluation-reproduction/scripts/build_eval_commands.pysub-skills/evaluation-reproduction/scripts/score_boxed_answers.pysub-skills/evaluation-reproduction/scripts/check_eval_outputs.py
Helper scripts at the root
scripts/validate_skill_runtime.pychecks that the generated tree still has the expected router layout and does not contain obvious path leaks.
Maintenance note
When you need to check whether this skill still matches the current repository state, read references/repo-provenance.md first. That file records the source commit and evidence paths used to build the skill.
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).