[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M78X20QYT1VF76AJ2DZ2ZZ20":3,"skill-same:01M78X20QYT1VF76AJ2DZ2ZZ20":48},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":15,"categories":16,"keywords":17,"publishedAt":18,"linkOnly":19,"markdownContent":20,"markdownBody":21,"frontMatter":22,"refName":28,"commitSha":29,"skillDirectory":30,"forksCount":31,"repositoryHtmlUrl":32,"repositoryHomepageUrl":6,"ownerHtmlUrl":33,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":34,"install":35,"resources":47},"01M78X20QYT1VF76AJ2DZ2ZZ20","distributed-training",null,"Use FedML for centralized training, cross-cloud training, LLM training recipes, data\u002Fmodel loading, and FedMLRunner-based training workflows.","VectorSpaceLab\u002FAREX-Skill","VectorSpaceLab","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F180637102?v=4","01M7538C5WPSJGWF7KHR4EFZ9F","01M7538C6R2GFP53NPXTCZNBRT",351,"Apache-2.0","https:\u002F\u002Fgithub.com\u002FVectorSpaceLab\u002FAREX-Skill\u002Fblob\u002Fmain\u002Fskills\u002Frepositories\u002Frepo-skills\u002Ffedml\u002Fsub-skills\u002Fdistributed-training\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: distributed-training\ndescription: \"Use FedML for centralized training, cross-cloud training, LLM\n  training recipes, data\u002Fmodel loading, and FedMLRunner-based training\n  workflows.\"\ndisable-model-invocation: true\nmetadata:\n  disco-role: operating\n  parent_skill: \"fedml\"\nlicense: Apache 2.0\n---\n\n# FedML Distributed Training\n\nUse this sub-skill for non-FL training workflows: centralized single-process training, cross-cloud client\u002Fserver training, launch-driven training jobs, LLM training scripts, `fedml.init`, `fedml.data.load`, `fedml.model.create`, and `FedMLRunner`.\n\n## Do not use this for\n\n- Federated simulation\u002Fcross-silo algorithm design: use `..\u002Ffederated-learning\u002FSKILL.md`.\n- Package building or platform launch mechanics: combine with `..\u002Flaunch-and-packaging\u002FSKILL.md`.\n- Model-serving endpoints: use `..\u002Fmodel-serving\u002FSKILL.md`.\n\n## Training route selection\n\n1. **Centralized\u002Flocal training** — use this when a user wants a normal Python training entry point under FedML.\n2. **Cross-cloud training** — use this with `launch-and-packaging` when client\u002Fserver code is packaged for the platform.\n3. **LLM training** — use this for `python\u002Fexamples\u002Ftrain\u002Fllm_train` patterns; expect optional extras, GPUs, and model\u002Fdata access.\n4. **Remote training job** — inspect training code here, then launch with `launch-and-packaging`.\n\n## Core API pattern\n\nThe canonical local training shape is:\n\n```python\nimport fedml\n\nargs = fedml.load_arguments(training_type=\"simulation\", comm_backend=\"sp\")\nargs = fedml.init(args)\ndevice = fedml.device.get_device(args)\ndataset, output_dim = fedml.data.load(args)\nmodel = fedml.model.create(args, output_dim)\nrunner = fedml.FedMLRunner(args, device, dataset, model)\nrunner.run()\n```\n\nAdapt the `training_type`, backend, dataset, model, trainer, and aggregator to the selected example.\n\n## Evidence anchors\n\n- `python\u002Fexamples\u002Fcentralized\u002F` — centralized training examples.\n- `python\u002Fexamples\u002Fcross_cloud\u002F` — cross-cloud client\u002Fserver package patterns.\n- `python\u002Fexamples\u002Ftrain\u002Fllm_train\u002F` — LLM scripts, job YAML, bootstrap, DDP and DeepSpeed variants.\n- `python\u002Ffedml\u002Frunner.py` — `FedMLRunner` orchestration.\n- `python\u002Ffedml\u002Fdata\u002F` and `python\u002Ffedml\u002Fmodel\u002F` — data\u002Fmodel factory surfaces.\n\n## Backend and safety checks\n\n- Read `..\u002F..\u002Freferences\u002Fbackend-matrix.md` before selecting CUDA, DDP, DeepSpeed, or dataset-heavy examples.\n- Use CPU\u002Fsmall-data checks first when the user asks for a quick smoke test.\n- LLM training is not a quick validation route; it may require large downloads, optional extras, GPUs, and remote launch configuration.\n- Multiprocessing-heavy entry points should be guarded with `if __name__ == \"__main__\":`.\n- Dataset loaders may download data. Clarify network\u002Fcache constraints before running examples.\n\n## Common combinations\n\n- Need to package a training job: read this sub-skill for code shape, then `..\u002Flaunch-and-packaging\u002FSKILL.md` for YAML\u002Fpackage\u002Flaunch.\n- Need centralized training only: stay here and avoid remote platform commands.\n- Need federated learning: switch to `..\u002Ffederated-learning\u002FSKILL.md` unless the task is only about a shared model\u002Fdata loader.\n\n## Exit criteria\n\nA distributed-training task is complete when the training mode, backend, data\u002Fmodel path, launch-vs-local decision, and any GPU\u002Fnetwork requirements are explicit, and the user has either runnable commands\u002Fcode or a documented blocker.\n","# FedML Distributed Training\n\nUse this sub-skill for non-FL training workflows: centralized single-process training, cross-cloud client\u002Fserver training, launch-driven training jobs, LLM training scripts, `fedml.init`, `fedml.data.load`, `fedml.model.create`, and `FedMLRunner`.\n\n## Do not use this for\n\n- Federated simulation\u002Fcross-silo algorithm design: use `..\u002Ffederated-learning\u002FSKILL.md`.\n- Package building or platform launch mechanics: combine with `..\u002Flaunch-and-packaging\u002FSKILL.md`.\n- Model-serving endpoints: use `..\u002Fmodel-serving\u002FSKILL.md`.\n\n## Training route selection\n\n1. **Centralized\u002Flocal training** — use this when a user wants a normal Python training entry point under FedML.\n2. **Cross-cloud training** — use this with `launch-and-packaging` when client\u002Fserver code is packaged for the platform.\n3. **LLM training** — use this for `python\u002Fexamples\u002Ftrain\u002Fllm_train` patterns; expect optional extras, GPUs, and model\u002Fdata access.\n4. **Remote training job** — inspect training code here, then launch with `launch-and-packaging`.\n\n## Core API pattern\n\nThe canonical local training shape is:\n\n```python\nimport fedml\n\nargs = fedml.load_arguments(training_type=\"simulation\", comm_backend=\"sp\")\nargs = fedml.init(args)\ndevice = fedml.device.get_device(args)\ndataset, output_dim = fedml.data.load(args)\nmodel = fedml.model.create(args, output_dim)\nrunner = fedml.FedMLRunner(args, device, dataset, model)\nrunner.run()\n```\n\nAdapt the `training_type`, backend, dataset, model, trainer, and aggregator to the selected example.\n\n## Evidence anchors\n\n- `python\u002Fexamples\u002Fcentralized\u002F` — centralized training examples.\n- `python\u002Fexamples\u002Fcross_cloud\u002F` — cross-cloud client\u002Fserver package patterns.\n- `python\u002Fexamples\u002Ftrain\u002Fllm_train\u002F` — LLM scripts, job YAML, bootstrap, DDP and DeepSpeed variants.\n- `python\u002Ffedml\u002Frunner.py` — `FedMLRunner` orchestration.\n- `python\u002Ffedml\u002Fdata\u002F` and `python\u002Ffedml\u002Fmodel\u002F` — data\u002Fmodel factory surfaces.\n\n## Backend and safety checks\n\n- Read `..\u002F..\u002Freferences\u002Fbackend-matrix.md` before selecting CUDA, DDP, DeepSpeed, or dataset-heavy examples.\n- Use CPU\u002Fsmall-data checks first when the user asks for a quick smoke test.\n- LLM training is not a quick validation route; it may require large downloads, optional extras, GPUs, and remote launch configuration.\n- Multiprocessing-heavy entry points should be guarded with `if __name__ == \"__main__\":`.\n- Dataset loaders may download data. Clarify network\u002Fcache constraints before running examples.\n\n## Common combinations\n\n- Need to package a training job: read this sub-skill for code shape, then `..\u002Flaunch-and-packaging\u002FSKILL.md` for YAML\u002Fpackage\u002Flaunch.\n- Need centralized training only: stay here and avoid remote platform commands.\n- Need federated learning: switch to `..\u002Ffederated-learning\u002FSKILL.md` unless the task is only about a shared model\u002Fdata loader.\n\n## Exit criteria\n\nA distributed-training task is complete when the training mode, backend, data\u002Fmodel path, launch-vs-local decision, and any GPU\u002Fnetwork requirements are explicit, and the user has either runnable commands\u002Fcode or a documented blocker.\n",{"name":5,"license":23,"metadata":24,"description":7,"disable-model-invocation":27},"Apache 2.0",{"disco-role":25,"parent_skill":26},"operating","fedml",true,"main","ac3fe1afa80fb9a09775ecfb2b6cc3ba850a2db6","skills\u002Frepositories\u002Frepo-skills\u002Ffedml\u002Fsub-skills\u002Fdistributed-training",27,"https:\u002F\u002Fgithub.com\u002FVectorSpaceLab\u002FAREX-Skill","https:\u002F\u002Fgithub.com\u002FVectorSpaceLab","2026-09-03 10:25:21",{"source":8,"skillName":5,"commands":36,"prompt":46,"zipAvailable":27},[37,40,43],{"tool":38,"command":39},"npx","npx skills add VectorSpaceLab\u002FAREX-Skill --skill distributed-training",{"tool":41,"command":42},"bunx","bunx skills add VectorSpaceLab\u002FAREX-Skill --skill distributed-training",{"tool":44,"command":45},"pnpm","pnpm dlx skills add VectorSpaceLab\u002FAREX-Skill --skill distributed-training","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FVectorSpaceLab\u002FAREX-Skill\u002Fblob\u002Fmain\u002Fskills\u002Frepositories\u002Frepo-skills\u002Ffedml\u002Fsub-skills\u002Fdistributed-training\u002FSKILL.md",[],[49,56,63,70,77,84],{"skillNo":50,"name":51,"nameZh":6,"description":52,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":53,"categories":54,"keywords":55,"publishedAt":18},"01M799NYSH1R3RVAHSM2D88Y84","passnet-triton-opt","Make a single PassNet Triton kernel fast AND numerically faithful: performance model (when a replacement can win at all), block\u002Fgrid\u002Fwarp 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.","https:\u002F\u002Fgithub.com\u002FVectorSpaceLab\u002FAREX-Skill\u002Fblob\u002Fmain\u002Fskills\u002Ftask-oriented\u002FPassNet\u002Fskills\u002Fpassnet-triton-opt\u002FSKILL.md",[],[],{"skillNo":57,"name":58,"nameZh":6,"description":59,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":60,"categories":61,"keywords":62,"publishedAt":18},"01M799NS5APEC0N1FZ7XZVW6BN","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.","https:\u002F\u002Fgithub.com\u002FVectorSpaceLab\u002FAREX-Skill\u002Fblob\u002Fmain\u002Fskills\u002Ftask-oriented\u002FPassNet\u002Fskills\u002Fpassnet-solve\u002FSKILL.md",[],[],{"skillNo":64,"name":65,"nameZh":6,"description":66,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":67,"categories":68,"keywords":69,"publishedAt":18},"01M799NNY9BKSM21V5R7QVTBJX","passnet-skill","PassNet GPU kernel optimization via compiler passes. Design and implement Triton-based optimization passes, create pass files under .\u002Fpass_dir\u002F, self-evaluate with pass_evaluator, and iterate to maximize GPU speedup.","https:\u002F\u002Fgithub.com\u002FVectorSpaceLab\u002FAREX-Skill\u002Fblob\u002Fmain\u002Fskills\u002Ftask-oriented\u002FPassNet\u002Fskills\u002Fpassnet-skill\u002FSKILL.md",[],[],{"skillNo":71,"name":72,"nameZh":6,"description":73,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":74,"categories":75,"keywords":76,"publishedAt":18},"01M799NHH6NP7Z1RK77KGXAN6S","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()\u002Freplacement_args()\u002Freplacement_func() files, when a pass \"failed to match\", or when deciding how to fuse multiple kernels\u002Fops.","https:\u002F\u002Fgithub.com\u002FVectorSpaceLab\u002FAREX-Skill\u002Fblob\u002Fmain\u002Fskills\u002Ftask-oriented\u002FPassNet\u002Fskills\u002Fpassnet-pattern-fusion\u002FSKILL.md",[],[],{"skillNo":78,"name":79,"nameZh":6,"description":80,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":81,"categories":82,"keywords":83,"publishedAt":18},"01M799ND2J4WNC2PGAZ0A06NDF","passnet-orchestrate","Round\u002Fbatch planning and decision support for PassNet graph optimization. Use for multi-sample triage, worker allocation, eval-budget policy, and post-eval keep\u002Frevert 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.","https:\u002F\u002Fgithub.com\u002FVectorSpaceLab\u002FAREX-Skill\u002Fblob\u002Fmain\u002Fskills\u002Ftask-oriented\u002FPassNet\u002Fskills\u002Fpassnet-orchestrate\u002FSKILL.md",[],[],{"skillNo":85,"name":86,"nameZh":6,"description":87,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":88,"categories":89,"keywords":90,"publishedAt":18},"01M799N8SBTMY02ZDG2AZF5ZWE","passnet-feedback","Fast, deterministic feedback for PassNet work: pre-flight pattern\u002Fmatch 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).","https:\u002F\u002Fgithub.com\u002FVectorSpaceLab\u002FAREX-Skill\u002Fblob\u002Fmain\u002Fskills\u002Ftask-oriented\u002FPassNet\u002Fskills\u002Fpassnet-feedback\u002FSKILL.md",[],[]]