clearml
Route ClearML Python SDK tasks across experiment tracking, data/versioned storage, remote execution CLIs, automation pipelines, HPO, schedulers, routers, and services.
- License 许可
- Apache-2.0
- 最近更新
- 2026-09-03
- Stars
- ★ 351
- Forks
- 27
01 前言 Front Matter
- name
- clearml
- license
- Apache 2.0
- metadata
- { "disco-role": "operating" }
- description
- Route ClearML Python SDK tasks across experiment tracking, data/versioned storage, remote execution CLIs, automation pipelines, HPO, schedulers, routers, and services.
- disable-model-invocation
- true
02 资源文件 5
- 参考文档references/package-overview.md3.6 KB
- 参考文档references/repo-provenance.md1.5 KB
- 参考文档references/repo-routing-metadata.json457 B
- 参考文档references/troubleshooting.md3.7 KB
- 脚本scripts/clearml_environment_check.py4.9 KB
03 SKILL.md 正文
ClearML Repo Skill
Use this skill when a user asks how to use, configure, script, or troubleshoot the ClearML Python SDK. ClearML is an experiment tracking, data management, remote execution, automation, and MLOps SDK exposed through Python APIs and command-line tools.
This root skill is a router. Read the focused sub-skill that matches the user's workflow, then use the linked references and scripts inside that sub-skill.
Fast Routing
| User task | Read |
|---|---|
| Add ClearML to a training or evaluation script; log metrics, plots, artifacts, configs, models, or offline sessions | sub-skills/experiment-tracking/SKILL.md |
Create, sync, version, retrieve, or troubleshoot datasets, storage URIs, clearml-data, Dataset, StorageManager, or HyperDataset/DataView |
sub-skills/data-storage/SKILL.md |
Configure ClearML, build clearml-task commands, launch code on agents, clone/enqueue tasks, import offline sessions, or debug queues |
sub-skills/remote-execution-cli/SKILL.md |
Build pipelines, HPO jobs, schedulers, triggers, controller tasks, or validate clearml-param-search JSON |
sub-skills/automation-pipelines/SKILL.md |
Use HTTP routers, local proxies, endpoint telemetry, service tasks, or optional clearml[router] dependencies |
sub-skills/routers-services/SKILL.md |
Package Entry Points
ClearML exposes these common imports:
from clearml import Task, TaskTypes, Logger, Dataset, StorageManager
from clearml import InputModel, OutputModel, Model
from clearml import PipelineController, PipelineDecorator
from clearml.automation import HyperParameterOptimizer, TaskScheduler, TriggerScheduler
The package installs these user-facing CLIs:
clearml-initfor writing a local ClearML configuration file.clearml-debugfor diagnostic configuration and token checks.clearml-taskfor creating or launching remote tasks onclearml-agentqueues.clearml-datafor dataset creation, sync, upload, finalize, verify, list, and retrieval.clearml-param-searchfor command-line hyperparameter search over a task or script.
Installation And Optional Extras
Use the base package for tracking, datasets, CLIs, storage manager basics, and automation APIs:
pip install clearml
Install optional extras only for the workflow that needs them:
clearml[s3]for S3 object storage integration.clearml[gs]for Google Cloud Storage integration.clearml[azure]for Azure Blob Storage integration.clearml[router]for HTTP router/proxy support through FastAPI, Uvicorn, and HTTPX.
Use scripts/clearml_environment_check.py for a read-only import, CLI, optional-extra, and credential-signal check. The script reports only whether secrets/configuration signals are present; it must not print secret values.
Configuration And Credentials
Most live ClearML workflows need:
- A reachable ClearML server or hosted workspace.
- Credentials from
clearml-init, a ClearML configuration file, or environment variables such asCLEARML_API_HOST,CLEARML_API_ACCESS_KEY, andCLEARML_API_SECRET_KEY. - A
clearml-agentpolling the selected queue for remote execution, pipeline steps, HPO jobs, services, and schedulers. - Storage credentials or configured provider defaults when using S3, Google Cloud Storage, Azure, or shared filesystem destinations.
For code that must run without credentials or network access, use the experiment-tracking sub-skill's offline mode pattern and later import the offline session when a server is available.
Safety Defaults For Agents
- Prefer generating code, command plans, validation output, and checklists before running live ClearML operations.
- Do not run commands that create tasks, upload data, enqueue jobs, deploy routers, or start services unless the user explicitly wants side effects against a ClearML server.
- Do not echo API keys, secret keys, tokens, or credential file contents.
- Treat examples that require external datasets, queues, GPU frameworks, cloud credentials, or a running ClearML server as evidence, not as safe smoke tests.
- Use bundled scripts in this skill tree rather than relying on the original repository checkout.
Root References
references/package-overview.mdsummarizes ClearML imports, CLIs, optional extras, configuration, and workflow selection.references/troubleshooting.mdcovers cross-cutting install/import, credentials, server, queue, storage, optional extras, and privacy failures.references/repo-provenance.mdrecords the source snapshot and evidence paths used to create this skill.references/repo-routing-metadata.jsonis structured metadata consumed by the managed repo-skills-router import process.
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).