[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7FCWCTJDKXNKRHEWN7MSSES":3,"skill-same:01M7FCWCTJDKXNKRHEWN7MSSES":67},{"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":28,"commitSha":29,"skillDirectory":30,"forksCount":31,"repositoryHtmlUrl":32,"repositoryHomepageUrl":6,"ownerHtmlUrl":33,"ownerBlogUrl":6,"ownerDescription":34,"updatedAt":35,"install":36,"resources":48},"01M7FCWCTJDKXNKRHEWN7MSSES","training-and-checkpoints",null,"Operate TurboDiffusion rCM\u002FSLA training setup, dry-run command construction, checkpoint conversion, model merge, quantized export, and data\u002Fcheckpoint layout validation.","lza6\u002FArmor-piercing-system-prompts","lza6","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F128880206?v=4","01M7EB3K7WPX5T28EJ2NVHE6EG","Chinese-tingfeng","01M7EB3K97E1KQ16QWKJMFNGX8",11,"Apache-2.0","https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F06-前端与设计\u002Fturbo-diffusion\u002Fsub-skills\u002Ftraining-and-checkpoints\u002FSKILL.md",[],[],"2026-11-16 10:05:34",false,"---\nname: training-and-checkpoints\ndescription: \"Operate TurboDiffusion rCM\u002FSLA training setup, dry-run command\n  construction, checkpoint conversion, model merge, quantized export, and\n  data\u002Fcheckpoint layout validation.\"\ndisable-model-invocation: true\nmetadata:\n  disco-role: operating\nlicense: Apache 2.0\n---\n\n# TurboDiffusion Training And Checkpoints\n\nUse this sub-skill when the task is about TurboDiffusion rCM\u002FSLA training setup, debug-only training command construction, Distributed Checkpoint (DCP) versus PyTorch `.pth` formats, merging SLA\u002FrCM updates, converting sharded safetensors, or exporting modified\u002Fquantized Wan checkpoints.\n\nDo **not** run full training or model conversion by default. Full training, dataset synthesis, checkpoint quantization, and inference-format conversion are GPU\u002Fmodel\u002Fdata heavy and remain skip-expensive unless the user explicitly authorizes them and provides checkpoints, data, credentials policy, and backend readiness.\n\n## Route first\n\n- Use [references\u002Ftraining-and-data.md](references\u002Ftraining-and-data.md) for rCM\u002FSLA training prerequisites, debug\u002Fdry-run planning, data shard layout, checkpoint roots, and WANDB\u002Fenvironment decisions.\n- Use [references\u002Fcheckpoint-workflows.md](references\u002Fcheckpoint-workflows.md) for DCP-to-`.pth`, `.pth`-to-DCP, merge arithmetic, safetensors conversion, and `modify_model` export semantics.\n- Use [references\u002Fcli-reference.md](references\u002Fcli-reference.md) for safe command templates and supported flags for public training\u002Fcheckpoint utilities.\n- Use [references\u002Ftroubleshooting.md](references\u002Ftroubleshooting.md) when a user reports DCP\u002FPTH confusion, missing roots\u002Fshards, training extras, WANDB issues, mismatched model names, or quantization\u002FSLA failures.\n\n## Bundled safe helpers\n\nThese helpers only build commands or run a tiny CPU tensor arithmetic check; they do not download, train, execute model inference, or require the original checkout.\n\n- [scripts\u002Fbuild_training_dryrun_command.py](scripts\u002Fbuild_training_dryrun_command.py): render a `torchrun ... -m scripts.train --dryrun` command with explicit config\u002Fcheckpoint\u002Fdata overrides.\n- [scripts\u002Fbuild_modify_model_command.py](scripts\u002Fbuild_modify_model_command.py): render a `modify_model.py` checkpoint export\u002Fquantization command for Wan2.1\u002FWan2.2 model profiles.\n- [scripts\u002Fbuild_safetensors_to_pth_command.py](scripts\u002Fbuild_safetensors_to_pth_command.py): render a sharded safetensors-to-`.pth` command with optional key prefixing.\n- [scripts\u002Ftiny_merge_models_check.py](scripts\u002Ftiny_merge_models_check.py): create temporary tiny tensors and verify the source merge formula `base + w * (diff_target - diff_base)` on CPU.\n\n## Operating rules\n\n1. Start with layout validation: checkpoint root, teacher DCP, VAE, text encoder, negative embedding, output root, and WebDataset shard pattern.\n2. For training requests, prefer a dry-run\u002Fconfig-composition command first. Explain that actual training needs CUDA\u002Fmulti-GPU readiness, training extras, model\u002Fdata files, and a WANDB\u002Foffline logging decision.\n3. For DCP conversion, distinguish direction: `.pth` teacher checkpoint must be converted to DCP before FSDP training; saved training DCP directories can later be converted back to `.pth`.\n4. For model merge, warn that mismatched shapes\u002Fkeys are not fatal in the source utility but require manual key-coverage inspection before treating the output as good.\n5. For quantized export, ensure the source checkpoint is already in the expected rCM\u002FSLA state-dict shape, choose a valid Wan model name, and align `--quant_linear` with later inference\u002Fserving commands.\n6. For source-layout use, mention the public package quirk: top-level imports such as `rcm`, `imaginaire`, `SLA`, `ops`, `scripts`, and `modify_model` often require setting `PYTHONPATH` to the package source directory.\n\n## Cross-skill routing\n\n- Route full T2V\u002FI2V use of converted checkpoints to the `video-inference` sub-skill.\n- Route interactive serving with converted checkpoints to the `interactive-serving` sub-skill.\n- Route CUDA extension build, INT8\u002FFastNorm op failures, plain SLA versus SageSLA backend decisions, or SpargeAttn installation issues to the `acceleration-backends` sub-skill.\n","# TurboDiffusion Training And Checkpoints\n\nUse this sub-skill when the task is about TurboDiffusion rCM\u002FSLA training setup, debug-only training command construction, Distributed Checkpoint (DCP) versus PyTorch `.pth` formats, merging SLA\u002FrCM updates, converting sharded safetensors, or exporting modified\u002Fquantized Wan checkpoints.\n\nDo **not** run full training or model conversion by default. Full training, dataset synthesis, checkpoint quantization, and inference-format conversion are GPU\u002Fmodel\u002Fdata heavy and remain skip-expensive unless the user explicitly authorizes them and provides checkpoints, data, credentials policy, and backend readiness.\n\n## Route first\n\n- Use [references\u002Ftraining-and-data.md](references\u002Ftraining-and-data.md) for rCM\u002FSLA training prerequisites, debug\u002Fdry-run planning, data shard layout, checkpoint roots, and WANDB\u002Fenvironment decisions.\n- Use [references\u002Fcheckpoint-workflows.md](references\u002Fcheckpoint-workflows.md) for DCP-to-`.pth`, `.pth`-to-DCP, merge arithmetic, safetensors conversion, and `modify_model` export semantics.\n- Use [references\u002Fcli-reference.md](references\u002Fcli-reference.md) for safe command templates and supported flags for public training\u002Fcheckpoint utilities.\n- Use [references\u002Ftroubleshooting.md](references\u002Ftroubleshooting.md) when a user reports DCP\u002FPTH confusion, missing roots\u002Fshards, training extras, WANDB issues, mismatched model names, or quantization\u002FSLA failures.\n\n## Bundled safe helpers\n\nThese helpers only build commands or run a tiny CPU tensor arithmetic check; they do not download, train, execute model inference, or require the original checkout.\n\n- [scripts\u002Fbuild_training_dryrun_command.py](scripts\u002Fbuild_training_dryrun_command.py): render a `torchrun ... -m scripts.train --dryrun` command with explicit config\u002Fcheckpoint\u002Fdata overrides.\n- [scripts\u002Fbuild_modify_model_command.py](scripts\u002Fbuild_modify_model_command.py): render a `modify_model.py` checkpoint export\u002Fquantization command for Wan2.1\u002FWan2.2 model profiles.\n- [scripts\u002Fbuild_safetensors_to_pth_command.py](scripts\u002Fbuild_safetensors_to_pth_command.py): render a sharded safetensors-to-`.pth` command with optional key prefixing.\n- [scripts\u002Ftiny_merge_models_check.py](scripts\u002Ftiny_merge_models_check.py): create temporary tiny tensors and verify the source merge formula `base + w * (diff_target - diff_base)` on CPU.\n\n## Operating rules\n\n1. Start with layout validation: checkpoint root, teacher DCP, VAE, text encoder, negative embedding, output root, and WebDataset shard pattern.\n2. For training requests, prefer a dry-run\u002Fconfig-composition command first. Explain that actual training needs CUDA\u002Fmulti-GPU readiness, training extras, model\u002Fdata files, and a WANDB\u002Foffline logging decision.\n3. For DCP conversion, distinguish direction: `.pth` teacher checkpoint must be converted to DCP before FSDP training; saved training DCP directories can later be converted back to `.pth`.\n4. For model merge, warn that mismatched shapes\u002Fkeys are not fatal in the source utility but require manual key-coverage inspection before treating the output as good.\n5. For quantized export, ensure the source checkpoint is already in the expected rCM\u002FSLA state-dict shape, choose a valid Wan model name, and align `--quant_linear` with later inference\u002Fserving commands.\n6. For source-layout use, mention the public package quirk: top-level imports such as `rcm`, `imaginaire`, `SLA`, `ops`, `scripts`, and `modify_model` often require setting `PYTHONPATH` to the package source directory.\n\n## Cross-skill routing\n\n- Route full T2V\u002FI2V use of converted checkpoints to the `video-inference` sub-skill.\n- Route interactive serving with converted checkpoints to the `interactive-serving` sub-skill.\n- Route CUDA extension build, INT8\u002FFastNorm op failures, plain SLA versus SageSLA backend decisions, or SpargeAttn installation issues to the `acceleration-backends` sub-skill.\n",{"name":5,"license":24,"metadata":25,"description":7,"disable-model-invocation":27},"Apache 2.0",{"disco-role":26},"operating",true,"main","d69096e239f2a89aabc2cd078c47664a9d3b1e11","06-前端与设计\u002Fturbo-diffusion\u002Fsub-skills\u002Ftraining-and-checkpoints",3,"https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts","https:\u002F\u002Fgithub.com\u002Flza6","个人vx：Tf00798\r\n个人✈：@TFGY999","2026-10-08 14:29:22",{"source":8,"skillName":5,"commands":37,"prompt":47,"zipAvailable":27},[38,41,44],{"tool":39,"command":40},"npx","npx skills add lza6\u002FArmor-piercing-system-prompts --skill training-and-checkpoints",{"tool":42,"command":43},"bunx","bunx skills add lza6\u002FArmor-piercing-system-prompts --skill training-and-checkpoints",{"tool":45,"command":46},"pnpm","pnpm dlx skills add lza6\u002FArmor-piercing-system-prompts --skill training-and-checkpoints","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F06-前端与设计\u002Fturbo-diffusion\u002Fsub-skills\u002Ftraining-and-checkpoints\u002FSKILL.md",[49,55,59,63],{"path":50,"resourceType":51,"resourceTypeDesc":52,"sizeBytes":53,"sourceHtmlUrl":54},"references\u002Fcheckpoint-workflows.md","REFERENCE","参考文档",7752,"https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F06-前端与设计\u002Fturbo-diffusion\u002Fsub-skills\u002Ftraining-and-checkpoints\u002Freferences\u002Fcheckpoint-workflows.md",{"path":56,"resourceType":51,"resourceTypeDesc":52,"sizeBytes":57,"sourceHtmlUrl":58},"references\u002Fcli-reference.md",8065,"https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F06-前端与设计\u002Fturbo-diffusion\u002Fsub-skills\u002Ftraining-and-checkpoints\u002Freferences\u002Fcli-reference.md",{"path":60,"resourceType":51,"resourceTypeDesc":52,"sizeBytes":61,"sourceHtmlUrl":62},"references\u002Ftraining-and-data.md",7049,"https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F06-前端与设计\u002Fturbo-diffusion\u002Fsub-skills\u002Ftraining-and-checkpoints\u002Freferences\u002Ftraining-and-data.md",{"path":64,"resourceType":51,"resourceTypeDesc":52,"sizeBytes":65,"sourceHtmlUrl":66},"references\u002Ftroubleshooting.md",8440,"https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F06-前端与设计\u002Fturbo-diffusion\u002Fsub-skills\u002Ftraining-and-checkpoints\u002Freferences\u002Ftroubleshooting.md",[68,76,81,88,95,102],{"skillNo":69,"name":70,"nameZh":6,"description":71,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":72,"licenseFileUrl":6,"sourceHtmlUrl":73,"categories":74,"keywords":75,"publishedAt":19},"01M7FFG485KY83TD6HSC4YPCMC","obsidian-clipper-template-creator","Guide for creating templates for the Obsidian Web Clipper. Use when you want to create a new clipping template, understand available variables, or format clipped content.","MIT","https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F07-后端与架构\u002Fobsidian-clipper-template-creator\u002FSKILL.md",[],[],{"skillNo":77,"name":70,"nameZh":6,"description":71,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":72,"licenseFileUrl":6,"sourceHtmlUrl":78,"categories":79,"keywords":80,"publishedAt":19},"01M7FFG0T6AZ0STEJPSB3CX84K","https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F07-后端与架构\u002Fobsidian-clipper-template-creator-antigravity-awesome-skills-main\u002FSKILL.md",[],[],{"skillNo":82,"name":83,"nameZh":6,"description":84,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":72,"licenseFileUrl":6,"sourceHtmlUrl":85,"categories":86,"keywords":87,"publishedAt":19},"01M7FFFY0QEM14SKWPDYGMXM2P","python-api","Programmatic Object-Detection-Metrics API guidance for BoundingBox, BoundingBoxes, Evaluator, enums, coordinate conversion, AP\u002FmAP semantics, and source-style import diagnostics.","https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F07-后端与架构\u002Fobject-detection-metrics\u002Fsub-skills\u002Fpython-api\u002FSKILL.md",[],[],{"skillNo":89,"name":90,"nameZh":6,"description":91,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":72,"licenseFileUrl":6,"sourceHtmlUrl":92,"categories":93,"keywords":94,"publishedAt":19},"01M7FFFVZQZ2GJ0C0TGP7JHD20","file-evaluation","Folder-based PASCAL VOC AP\u002FmAP evaluation from ground-truth and detection text files.","https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F07-后端与架构\u002Fobject-detection-metrics\u002Fsub-skills\u002Ffile-evaluation\u002FSKILL.md",[],[],{"skillNo":96,"name":97,"nameZh":6,"description":98,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":72,"licenseFileUrl":6,"sourceHtmlUrl":99,"categories":100,"keywords":101,"publishedAt":19},"01M7FFFSFNYSE77SJ6PE1CK2DA","object-detection-metrics","Guides legacy Object-Detection-Metrics PASCAL VOC AP\u002FmAP evaluation from detection text folders and direct Python API classes.","https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F07-后端与架构\u002Fobject-detection-metrics\u002FSKILL.md",[],[],{"skillNo":103,"name":104,"nameZh":6,"description":105,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":72,"licenseFileUrl":6,"sourceHtmlUrl":106,"categories":107,"keywords":108,"publishedAt":19},"01M7FFFP0GCK1RVXBCPQ8APBMT","nx-workspace-patterns","Configure and optimize Nx monorepo workspaces. Use when setting up Nx, configuring project boundaries, optimizing build caching, or implementing affected commands.","https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F07-后端与架构\u002Fnx-workspace-patterns\u002FSKILL.md",[],[]]