AGENT SKILL

automation-pipelines

Build and debug ClearML automation workflows with PipelineController, PipelineDecorator, HPO, schedulers, triggers, and clearml-param-search.

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

01 前言 Front Matter

name
automation-pipelines
license
Apache 2.0
metadata
{ "disco-role": "operating" }
description
Build and debug ClearML automation workflows with PipelineController, PipelineDecorator, HPO, schedulers, triggers, and clearml-param-search.
disable-model-invocation
true

02 资源文件 6

03 SKILL.md 正文

ClearML Automation Pipelines

Use this sub-skill when an agent needs to create or troubleshoot ClearML automation workflows: pipeline DAGs, decorated function pipelines, hyperparameter search, recurring schedules, event triggers, and automation controller/service tasks.

Read First

  • API reference lists the verified automation classes, important signatures, search-space classes, scheduler/trigger calls, and decision notes.
  • Workflow recipes shows function pipelines, task pipelines, local debugging, HPO, scheduler, and trigger patterns.
  • HPO CLI reference explains clearml-param-search flags and JSON payloads, plus offline validation with hpo_search_space_check.py.
  • Troubleshooting covers parent references, parameter overrides, queues/agents, caching, objective metric matching, JSON errors, and recurring time validation.
  • Pipeline skeleton generator writes minimal PipelineDecorator or PipelineController starter files without contacting a ClearML server.

Route Boundaries

  • Use this sub-skill for PipelineController, PipelineDecorator, HyperParameterOptimizer, TaskScheduler, TriggerScheduler, and the clearml-param-search CLI.
  • For logging inside step code with Task.init, Logger.report_scalar, text, images, tables, or artifacts, route to ../experiment-tracking/SKILL.md.
  • For Dataset, StorageManager, dataset lineage, or object storage assets passed through pipelines, route to ../data-storage/SKILL.md.
  • For direct clearml-task packaging, enqueueing, or command-line task launches outside HPO/pipeline orchestration, route to ../remote-execution-cli/SKILL.md.
  • For HTTP routers, Task.get_http_router(), web services, or endpoint deployment, route to ../routers-services/SKILL.md.

Automation Decision Path

  1. Choose PipelineDecorator when the user has ordinary Python functions and wants pipeline steps created from function calls.
  2. Choose PipelineController.add_function_step() when the user wants explicit DAG nodes from Python functions, named return artifacts, parameter references, callbacks, retries, or queue overrides.
  3. Choose PipelineController.add_step() when the user already has ClearML Tasks to clone and connect into a DAG.
  4. Choose HyperParameterOptimizer or clearml-param-search when the user has a base task/script and wants to clone it across parameter ranges using an objective scalar.
  5. Choose TaskScheduler for recurring cron-like launches and TriggerScheduler for model, dataset, or task events.

Safety And Execution Notes

  • Draft pipeline/HPO/scheduler code without running it unless the user explicitly has a configured ClearML server, credentials, queues, and safe execution target.
  • Prefer local debugging paths first: PipelineDecorator.debug_pipeline(), PipelineDecorator.run_locally(), PipelineController.start_locally(), or HPO --local where appropriate.
  • Treat remote queue names as deployment choices: pipeline controller defaults to a services queue, while step execution and HPO jobs usually need worker queues.
  • Keep pipeline step imports inside the step function when they are required remotely; ClearML can infer per-step packages from imports used in function 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