experiments
Run, queue, compare, promote, share, and clean up DVC experiments without confusing them with ordinary pipeline reproduction.
- License 许可
- Apache-2.0
- 最近更新
- 2026-09-03
- Stars
- ★ 351
- Forks
- 27
01 前言 Front Matter
- name
- experiments
- license
- Apache 2.0
- metadata
- { "disco-role": "operating" }
- description
- Run, queue, compare, promote, share, and clean up DVC experiments without confusing them with ordinary pipeline reproduction.
- disable-model-invocation
- true
02 资源文件 4
- 参考文档references/api-reference.md2.9 KB
- 参考文档references/troubleshooting.md5.7 KB
- 参考文档references/workflows.md7.5 KB
- 脚本scripts/inspect_experiments.py3.4 KB
03 SKILL.md 正文
DVC Experiments
Use this sub-skill when a user asks to run, queue, compare, apply, branch, push, pull, rename, remove, save, or clean DVC experiments with the dvc exp/dvc experiments command family or the public experiments API.
Route Here For
- Running experiments with
dvc exp run, including--name,--set-param,--queue,--run-all,--jobs,--temp,--copy-paths,--message, and--no-hydra. - Comparing and inspecting experiments with
dvc exp show,dvc exp diff,dvc exp list/ls, and the bundledscripts/inspect_experiments.pyhelper. - Promoting or restoring experiment results with
dvc exp apply,dvc exp branch, anddvc exp save. - Sharing and maintaining experiment refs with
dvc exp push,dvc exp pull,dvc exp rename,dvc exp remove/rm, anddvc exp clean.
Route Elsewhere
- Use
../data-and-pipelines/for creating stages,dvc.yaml, dependencies, outs, and normaldvc repropipeline design. - Use
../metrics-params-plots/for interpreting metrics, params, and plots beyond howdvc exp showsurfaces them. - Use
../remotes-and-cache/for configuring remotes, credentials, cache layout, and storage backends used byexp push/pull --remote.
Read Next
- Read
references/workflows.mdfor concrete run, queue, compare, promote, share, and cleanup recipes. - Read
references/api-reference.mdfordvc.api.exp_save()anddvc.api.exp_show()signatures, returns, and safe usage. - Read
references/troubleshooting.mdwhen experiments are hidden, stale, queued, failed, blocked by workspace state, missing copied files, or affected by Hydra/network boundaries. - Run
python scripts/inspect_experiments.py --helpto inspect experiments as JSON through the public API without network access by default.
Default Decision Pattern
- Confirm that the user already has a DVC project with a pipeline; if not, route to
data-and-pipelinesfirst. - Use
dvc exp runfor a one-off experiment that should execute now,dvc exp run --queuefor parameter sweeps or deferred execution, anddvc exp run --run-all -j <n>to execute queued experiments. - Use
dvc exp show --jsonor the bundled inspector for machine-readable comparison; usedvc exp difffor pairwise metric/param changes. - Use
dvc exp applyfor workspace inspection,dvc exp branchfor durable Git review, anddvc exp push/pullonly after remote and cache behavior are clear.
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).