[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M77ENAT8JBHZ8E321M0R7W9J":3,"skill-same:01M77ENAT8JBHZ8E321M0R7W9J":65},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":42,"commitSha":43,"skillDirectory":44,"forksCount":45,"repositoryHtmlUrl":46,"repositoryHomepageUrl":47,"ownerHtmlUrl":48,"ownerBlogUrl":6,"ownerDescription":49,"updatedAt":50,"install":51,"resources":64},"01M77ENAT8JBHZ8E321M0R7W9J","expflow-pipeline-hpo",null,"PDEBench competition workflow orchestration with expflow — three pipeline modes (full\u002Ffast\u002Fskip), distributed HPO, pruner integration, and ClearML HyperParameterOptimizer native mode.","Lord1Egypt\u002Fawesome-skill-forge","Lord1Egypt","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F99746359?v=4","01M7592YDNT0XK9WJ0T2MQVPDN","Mohamed Mounir Ali AL Keshita","01M75GRFNHC8VZNWEB8DKDE433",3,"MIT","https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fawesome-skill-forge\u002Fblob\u002Fmaster\u002Fcommunity\u002Fclawhub\u002Fe\u002Fexpflow-pipeline-hpo\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\r\nname: expflow-pipeline-hpo\r\ndescription: >\r\n  PDEBench competition workflow orchestration with expflow —\r\n  three pipeline modes (full\u002Ffast\u002Fskip), distributed HPO, pruner integration,\r\n  and ClearML HyperParameterOptimizer native mode.\r\ncategory: mlops\r\nauthor: Li Shen\r\nversion: 1.0.0\r\nmetadata:\r\n  hermes:\r\n    tags: [mlops, pde, hpo, clearml, optuna, pipeline, competition]\r\n    homepage: https:\u002F\u002Fgithub.com\u002Fdiamond2nv\u002Fexpflow\r\n    related_skills: [experiment-lifecycle-governance, clearml-metrics-logging-pattern, competition-task-intelligence]\r\n---\r\n\r\n# expflow PDEBench Pipeline & HPO\r\n\r\nOrchestrate experiment workflows for the AI4S PDE competition using expflow.\r\nThree modes for three competition phases.\r\n\r\n## Triggers\r\n\r\n- User says \"run HPO\", \"submit pipeline\", \"distributed experiment\"\r\n- User says \"competition sprint\" or \"fast iterate\"\r\n- User asks about automating the train→eval→submit loop\r\n- User mentions needing to find best hyperparams\r\n\r\n## Installation\r\n\r\n```bash\r\npip install \"expflow-pde[pipeline]\"\r\n```\r\n\r\n## Available Pipeline Modes\r\n\r\nThree pipeline modes, each mapped to a CLI command:\r\n\r\n### Mode A — Full (HPO → Train → Eval)\r\n\r\nFor the **exploration phase** of a competition task. Optuna finds best params\r\nvia distributed clearml-agent trials, trains with best, then evaluates.\r\n\r\n```bash\r\nexpflow pipeline submit-full train_task1.py \\\r\n    --queue default \\\r\n    --trials 50 --parallel 4 \\\r\n    --eval-script eval_task1.py \\\r\n    --metric seg_total --direction maximize\r\n```\r\n\r\nFlags used:\r\n- `--trials N`: total HPO trials\r\n- `--parallel M`: max concurrent trials (use GPU node count)\r\n- `--metric`: objective metric name prefixed `METRIC:` in script stdout\r\n- `--pruner hyperband|median|percentile`: early-stop poor trials\r\n- `--study-name`: Optuna study name (auto if omitted; persists to SQLite)\r\n- `--skip hpo --skip eval`: run train only within full skeleton\r\n\r\n### Mode B — Fast (Train → Eval)\r\n\r\nFor the **competition sprint** phase. You already know best params. Skip HPO,\r\nrun directly with fixed args.\r\n\r\n```bash\r\nexpflow pipeline submit train_task1.py \\\r\n    --queue default \\\r\n    --train-param lr=0.001 --train-param epochs=80 \\\r\n    --eval-script eval_task1.py \\\r\n    --eval-param sub_step=5\r\n```\r\n\r\nFlags:\r\n- `--skip eval`: train-only (just submit checkpoint)\r\n- `--train-param key=val`: injected as `--key=val` to training script\r\n- `--eval-param key=val`: injected as `--key=val` to eval script\r\n\r\n### Mode C — Flexible Skip\r\n\r\nOverride step inclusion on either mode:\r\n\r\n```bash\r\nexpflow pipeline submit-full train_task1.py \\\r\n    --skip hpo --skip eval          # = train only\r\nexpflow pipeline submit-full train_task1.py \\\r\n    --skip train --skip eval         # = HPO only\r\n```\r\n\r\n## HPO: Three Execution Modes\r\n\r\nHPO (`expflow optuna run`) has three backends:\r\n\r\n| Mode | Flag | Description | Best for |\r\n|------|------|-------------|----------|\r\n| Local | (default) | subprocess serial on CPU | ≤20 trials, quick test |\r\n| Distributed | `--distributed` | ask\u002Ftell + clearml Task clone| Multi-GPU, custom control|\r\n| Optimizer | `--optimizer -O` | Clearml `HyperParameterOptimizer` | Production, 50-200+ trials |\r\n\r\n### Key flags across all HPO modes:\r\n- `--pruner hyperband|median|percentile|none`: ASHA pruner saves ~40% GPU time\r\n- `--metric \u003Cname>`: reads `METRIC:\u003Cname>=\u003Cvalue>` from script stdout\r\n- `--direction maximize|minimize`\r\n- `--timeout \u003Cmin>`: safety cutoff\r\n\r\n## Script Requirements\r\n\r\nThe training\u002Feval script must:\r\n1. Accept hyperparams as `--key=value` CLI arguments\r\n2. Output `METRIC:\u003Cname>=\u003Cvalue>` to stdout for objective capture (local mode)\r\n3. Report clearml scalars for distributed\u002Foptimizer mode:\r\n   ```python\r\n   Task.current_task().report_scalar(\"Score\", \"seg_total\", value, iteration=epoch)\r\n   ```\r\n\r\n## Pitfalls\r\n\r\n- **Pruner needs `trial.report()` calls during training.** If the script only reports at the end, the pruner has nothing to prune on. Call `trial.report(val_loss, epoch)` at least every 10 epochs.\r\n- **HyperParameterOptimizer needs the metric name in `Title\u002FSeries` format.** If your metric is `seg_total`, it becomes `title=seg_total, series=seg_total`. If your clearml report_scalar is `report_scalar(\"Score\", \"seg_total\", v)`, pass `--metric Score\u002Fseg_total`.\r\n- **Clearml-agent must be running on GPU nodes** before submitting. Verify with `expflow clearml workers` or check Web UI.\r\n- **`_collect_one_trial` polls every 5s** — waits up to 60min per trial. If trials are expected to run longer, increase `timeout_minutes`.\r\n\r\n## Architecture Reference\r\n\r\nKey files in `expflow_pde\u002F`:\r\n- `hpo.py` — 3-mode HPO runner (local\u002Fdistributed\u002Foptimizer)\r\n- `pipeline.py` — ExperimentPipeline class (fast\u002Ffull modes)\r\n- `cli_pipeline.py` — `pipeline submit` + `pipeline submit-full`\r\n- `cli_optuna.py` — `optuna run` with all three backends\r\n\r\n## Related\r\n\r\n- `experiment-lifecycle-governance` — PIN, metrics registry, compare-scores, competition rules audit\r\n- `pde-experiment-hyperparameters` — PDEBench-specific hyperparameter reference\r\n- `multi-agent-distributed-experiment-workflow` — Hermes → OpenCode → clearml\r\n","# expflow PDEBench Pipeline & HPO\r\n\r\nOrchestrate experiment workflows for the AI4S PDE competition using expflow.\r\nThree modes for three competition phases.\r\n\r\n## Triggers\r\n\r\n- User says \"run HPO\", \"submit pipeline\", \"distributed experiment\"\r\n- User says \"competition sprint\" or \"fast iterate\"\r\n- User asks about automating the train→eval→submit loop\r\n- User mentions needing to find best hyperparams\r\n\r\n## Installation\r\n\r\n```bash\r\npip install \"expflow-pde[pipeline]\"\r\n```\r\n\r\n## Available Pipeline Modes\r\n\r\nThree pipeline modes, each mapped to a CLI command:\r\n\r\n### Mode A — Full (HPO → Train → Eval)\r\n\r\nFor the **exploration phase** of a competition task. Optuna finds best params\r\nvia distributed clearml-agent trials, trains with best, then evaluates.\r\n\r\n```bash\r\nexpflow pipeline submit-full train_task1.py \\\r\n    --queue default \\\r\n    --trials 50 --parallel 4 \\\r\n    --eval-script eval_task1.py \\\r\n    --metric seg_total --direction maximize\r\n```\r\n\r\nFlags used:\r\n- `--trials N`: total HPO trials\r\n- `--parallel M`: max concurrent trials (use GPU node count)\r\n- `--metric`: objective metric name prefixed `METRIC:` in script stdout\r\n- `--pruner hyperband|median|percentile`: early-stop poor trials\r\n- `--study-name`: Optuna study name (auto if omitted; persists to SQLite)\r\n- `--skip hpo --skip eval`: run train only within full skeleton\r\n\r\n### Mode B — Fast (Train → Eval)\r\n\r\nFor the **competition sprint** phase. You already know best params. Skip HPO,\r\nrun directly with fixed args.\r\n\r\n```bash\r\nexpflow pipeline submit train_task1.py \\\r\n    --queue default \\\r\n    --train-param lr=0.001 --train-param epochs=80 \\\r\n    --eval-script eval_task1.py \\\r\n    --eval-param sub_step=5\r\n```\r\n\r\nFlags:\r\n- `--skip eval`: train-only (just submit checkpoint)\r\n- `--train-param key=val`: injected as `--key=val` to training script\r\n- `--eval-param key=val`: injected as `--key=val` to eval script\r\n\r\n### Mode C — Flexible Skip\r\n\r\nOverride step inclusion on either mode:\r\n\r\n```bash\r\nexpflow pipeline submit-full train_task1.py \\\r\n    --skip hpo --skip eval          # = train only\r\nexpflow pipeline submit-full train_task1.py \\\r\n    --skip train --skip eval         # = HPO only\r\n```\r\n\r\n## HPO: Three Execution Modes\r\n\r\nHPO (`expflow optuna run`) has three backends:\r\n\r\n| Mode | Flag | Description | Best for |\r\n|------|------|-------------|----------|\r\n| Local | (default) | subprocess serial on CPU | ≤20 trials, quick test |\r\n| Distributed | `--distributed` | ask\u002Ftell + clearml Task clone| Multi-GPU, custom control|\r\n| Optimizer | `--optimizer -O` | Clearml `HyperParameterOptimizer` | Production, 50-200+ trials |\r\n\r\n### Key flags across all HPO modes:\r\n- `--pruner hyperband|median|percentile|none`: ASHA pruner saves ~40% GPU time\r\n- `--metric \u003Cname>`: reads `METRIC:\u003Cname>=\u003Cvalue>` from script stdout\r\n- `--direction maximize|minimize`\r\n- `--timeout \u003Cmin>`: safety cutoff\r\n\r\n## Script Requirements\r\n\r\nThe training\u002Feval script must:\r\n1. Accept hyperparams as `--key=value` CLI arguments\r\n2. Output `METRIC:\u003Cname>=\u003Cvalue>` to stdout for objective capture (local mode)\r\n3. Report clearml scalars for distributed\u002Foptimizer mode:\r\n   ```python\r\n   Task.current_task().report_scalar(\"Score\", \"seg_total\", value, iteration=epoch)\r\n   ```\r\n\r\n## Pitfalls\r\n\r\n- **Pruner needs `trial.report()` calls during training.** If the script only reports at the end, the pruner has nothing to prune on. Call `trial.report(val_loss, epoch)` at least every 10 epochs.\r\n- **HyperParameterOptimizer needs the metric name in `Title\u002FSeries` format.** If your metric is `seg_total`, it becomes `title=seg_total, series=seg_total`. If your clearml report_scalar is `report_scalar(\"Score\", \"seg_total\", v)`, pass `--metric Score\u002Fseg_total`.\r\n- **Clearml-agent must be running on GPU nodes** before submitting. Verify with `expflow clearml workers` or check Web UI.\r\n- **`_collect_one_trial` polls every 5s** — waits up to 60min per trial. If trials are expected to run longer, increase `timeout_minutes`.\r\n\r\n## Architecture Reference\r\n\r\nKey files in `expflow_pde\u002F`:\r\n- `hpo.py` — 3-mode HPO runner (local\u002Fdistributed\u002Foptimizer)\r\n- `pipeline.py` — ExperimentPipeline class (fast\u002Ffull modes)\r\n- `cli_pipeline.py` — `pipeline submit` + `pipeline submit-full`\r\n- `cli_optuna.py` — `optuna run` with all three backends\r\n\r\n## Related\r\n\r\n- `experiment-lifecycle-governance` — PIN, metrics registry, compare-scores, competition rules audit\r\n- `pde-experiment-hyperparameters` — PDEBench-specific hyperparameter reference\r\n- `multi-agent-distributed-experiment-workflow` — Hermes → OpenCode → clearml\r\n",{"name":5,"author":24,"version":25,"category":26,"metadata":27,"description":41},"Li Shen","1.0.0","mlops",{"hermes":28},{"tags":29,"homepage":36,"related_skills":37},[26,30,31,32,33,34,35],"pde","hpo","clearml","optuna","pipeline","competition","https:\u002F\u002Fgithub.com\u002Fdiamond2nv\u002Fexpflow",[38,39,40],"experiment-lifecycle-governance","clearml-metrics-logging-pattern","competition-task-intelligence","PDEBench competition workflow orchestration with expflow — three pipeline modes (full\u002Ffast\u002Fskip), distributed HPO, pruner integration, and ClearML HyperParameterOptimizer native mode.\n","master","4aa004da461d820f4ea5499e58eb8d196cf99016","community\u002Fclawhub\u002Fe\u002Fexpflow-pipeline-hpo",0,"https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fawesome-skill-forge","https:\u002F\u002Fskill-explorer-rho.vercel.app","https:\u002F\u002Fgithub.com\u002FLord1Egypt","Unbreakable. Unstoppable. Unmatched⚡.\r\n Speaker of machine tongues 🤖  | World-builder of decentralized dreams 🌐 | Defender of the digital realm🛡️.","2026-06-10 08:21:01",{"source":8,"skillName":5,"commands":52,"prompt":62,"zipAvailable":63},[53,56,59],{"tool":54,"command":55},"npx","npx skills add Lord1Egypt\u002Fawesome-skill-forge --skill expflow-pipeline-hpo",{"tool":57,"command":58},"bunx","bunx skills add Lord1Egypt\u002Fawesome-skill-forge --skill expflow-pipeline-hpo",{"tool":60,"command":61},"pnpm","pnpm dlx skills add Lord1Egypt\u002Fawesome-skill-forge --skill expflow-pipeline-hpo","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fawesome-skill-forge\u002Fblob\u002Fmaster\u002Fcommunity\u002Fclawhub\u002Fe\u002Fexpflow-pipeline-hpo\u002FSKILL.md",true,[],[66,73,80,87,94,101],{"skillNo":67,"name":68,"nameZh":6,"description":69,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":70,"categories":71,"keywords":72,"publishedAt":19},"01M785WKJB99G3STR1NF9NRTJW","youtube-content","YouTube transcripts to summaries, threads, blogs.","https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fawesome-skill-forge\u002Fblob\u002Fmaster\u002Fskills\u002Fyoutube-content\u002FSKILL.md",[],[],{"skillNo":74,"name":75,"nameZh":6,"description":76,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":77,"categories":78,"keywords":79,"publishedAt":19},"01M785WEFHB0G2S9YA6EPR3H0E","xurl","X\u002FTwitter via xurl CLI: post, search, DM, media, v2 API.","https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fawesome-skill-forge\u002Fblob\u002Fmaster\u002Fskills\u002Fxurl\u002FSKILL.md",[],[],{"skillNo":81,"name":82,"nameZh":6,"description":83,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":84,"categories":85,"keywords":86,"publishedAt":19},"01M785W98EDN4EFJXJPMQEHCRC","touchdesigner-mcp","Control a running TouchDesigner instance via twozero MCP — create operators, set parameters, wire connections, execute Python, build real-time visuals. 36 native tools.","https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fawesome-skill-forge\u002Fblob\u002Fmaster\u002Fskills\u002Ftouchdesigner-mcp\u002FSKILL.md",[],[],{"skillNo":88,"name":89,"nameZh":6,"description":90,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":91,"categories":92,"keywords":93,"publishedAt":19},"01M785W5S9FP3QBH2V191E025P","test-driven-development","TDD: enforce RED-GREEN-REFACTOR, tests before code.","https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fawesome-skill-forge\u002Fblob\u002Fmaster\u002Fskills\u002Ftest-driven-development\u002FSKILL.md",[],[],{"skillNo":95,"name":96,"nameZh":6,"description":97,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":98,"categories":99,"keywords":100,"publishedAt":19},"01M785W2AS08NSSH9YATCV6FJB","teams-meeting-pipeline","Operate the Teams meeting summary pipeline via Hermes CLI — summarize meetings, inspect pipeline status, replay jobs, manage Microsoft Graph subscriptions.","https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fawesome-skill-forge\u002Fblob\u002Fmaster\u002Fskills\u002Fteams-meeting-pipeline\u002FSKILL.md",[],[],{"skillNo":102,"name":103,"nameZh":6,"description":104,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":105,"categories":106,"keywords":107,"publishedAt":19},"01M785VXKW4T34BTP1SCHW1R7F","systematic-debugging","4-phase root cause debugging: understand bugs before fixing.","https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fawesome-skill-forge\u002Fblob\u002Fmaster\u002Fskills\u002Fsystematic-debugging\u002FSKILL.md",[],[]]