[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7F8DR458Q3QNZF1WA08PM0E":3,"skill-same:01M7F8DR458Q3QNZF1WA08PM0E":66},{"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":27,"commitSha":28,"skillDirectory":29,"forksCount":30,"repositoryHtmlUrl":31,"repositoryHomepageUrl":6,"ownerHtmlUrl":32,"ownerBlogUrl":6,"ownerDescription":33,"updatedAt":34,"install":35,"resources":47},"01M7F8DR458Q3QNZF1WA08PM0E","generation-and-api",null,"Use DALLE2-pytorch public generation and model APIs: DALLE2, diffusion prior, decoder, CLIP adapters, inpainting, latent diffusion\u002FVQGAN, checkpoints, tokenizer, and dream CLI.","lza6\u002FArmor-piercing-system-prompts","lza6","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F128880206?v=4","01M7EB3K7WPX5T28EJ2NVHE6EG","Chinese-tingfeng","01M7EB3K97E1KQ16QWKJMFNGX8",11,"MIT","https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F06-前端与设计\u002Fdalle2-pytorch\u002Fsub-skills\u002Fgeneration-and-api\u002FSKILL.md",[],[],"2026-11-16 10:05:34",false,"---\nname: generation-and-api\ndescription: \"Use DALLE2-pytorch public generation and model APIs: DALLE2,\n  diffusion prior, decoder, CLIP adapters, inpainting, latent diffusion\u002FVQGAN,\n  checkpoints, tokenizer, and dream CLI.\"\ndisable-model-invocation: true\nmetadata:\n  disco-role: operating\nlicense: MIT\n---\n\n# generation-and-api\n\nUse this sub-skill when the task is to construct or call DALLE2-pytorch public Python generation APIs, diagnose model\u002Fcheckpoint generation failures, or use the installed `dream` console command for a trained DALL-E 2 checkpoint.\n\n## Load This When\n\n- Building `DALLE2`, `DiffusionPriorNetwork`, `DiffusionPrior`, `Unet`, or `Decoder` objects from Python.\n- Choosing between `OpenAIClipAdapter`, `OpenClipAdapter`, package `CLIP`, precomputed embeddings, and trained checkpoints.\n- Sampling with a prior, decoder, or chained `DALLE2` model, including `cond_scale` and `prior_cond_scale`.\n- Debugging decoder inpainting, cascading decoder resolution order, latent diffusion with `VQGanVAE`, or tokenizer length issues.\n- Checking that the installed `dalle2-pytorch` package can import or run a tiny CPU-safe forward-loss smoke test.\n\n## Route Elsewhere\n\n- JSON training launchers, config classes, trainer loops, Accelerate\u002FDeepSpeed commands, checkpoint save\u002Fresume during training: `..\u002Ftraining-and-configs\u002FSKILL.md`.\n- WebDataset, EmbeddingReader, shard layouts, experiment trackers, W&B\u002FHuggingFace\u002FS3 save\u002Fload configuration: `..\u002Fdata-and-tracking\u002FSKILL.md`.\n\n## Runtime Contract\n\n- Public package: `pip install dalle2-pytorch`.\n- Public import namespace: `import dalle2_pytorch`; top-level exports include `DALLE2`, `DiffusionPriorNetwork`, `DiffusionPrior`, `Unet`, `Decoder`, `OpenAIClipAdapter`, `OpenClipAdapter`, `DecoderTrainer`, `DiffusionPriorTrainer`, `VQGanVAE`, and `CLIP`.\n- Version covered by this skill: `dalle2-pytorch` 1.15.6.\n- Full text-to-image generation needs trained prior and decoder weights; realistic CLIP\u002Fdecoder\u002Fprior sampling usually needs GPU memory. CPU is suitable for imports, CLI help, config checks, and tiny synthetic forward-loss smoke tests only.\n\n## References And Bundled Script\n\n- API signatures and object relationships: [references\u002Fapi-reference.md](references\u002Fapi-reference.md).\n- Generation, tokenization, checkpoint, inpainting, and `dream` workflows: [references\u002Fworkflows.md](references\u002Fworkflows.md).\n- Latent diffusion and VQGAN caveats: [references\u002Flatent-diffusion-and-vqgan.md](references\u002Flatent-diffusion-and-vqgan.md).\n- Common failures and fixes: [references\u002Ftroubleshooting.md](references\u002Ftroubleshooting.md).\n- Safe installed-package checker: [scripts\u002Fcheck_dalle2_runtime.py](scripts\u002Fcheck_dalle2_runtime.py).\n\n## First Checks\n\n```bash\npython -m pip show dalle2-pytorch\npython scripts\u002Fcheck_dalle2_runtime.py --mode imports\npython scripts\u002Fcheck_dalle2_runtime.py --mode cli-help\n```\n\nFor a CPU-only synthetic smoke test that does not download model weights:\n\n```bash\npython scripts\u002Fcheck_dalle2_runtime.py --mode tiny-forward\n```\n\nIf any check fails, use [references\u002Ftroubleshooting.md](references\u002Ftroubleshooting.md) before escalating to training\u002Fconfig or data\u002Ftracking guidance.\n","# generation-and-api\n\nUse this sub-skill when the task is to construct or call DALLE2-pytorch public Python generation APIs, diagnose model\u002Fcheckpoint generation failures, or use the installed `dream` console command for a trained DALL-E 2 checkpoint.\n\n## Load This When\n\n- Building `DALLE2`, `DiffusionPriorNetwork`, `DiffusionPrior`, `Unet`, or `Decoder` objects from Python.\n- Choosing between `OpenAIClipAdapter`, `OpenClipAdapter`, package `CLIP`, precomputed embeddings, and trained checkpoints.\n- Sampling with a prior, decoder, or chained `DALLE2` model, including `cond_scale` and `prior_cond_scale`.\n- Debugging decoder inpainting, cascading decoder resolution order, latent diffusion with `VQGanVAE`, or tokenizer length issues.\n- Checking that the installed `dalle2-pytorch` package can import or run a tiny CPU-safe forward-loss smoke test.\n\n## Route Elsewhere\n\n- JSON training launchers, config classes, trainer loops, Accelerate\u002FDeepSpeed commands, checkpoint save\u002Fresume during training: `..\u002Ftraining-and-configs\u002FSKILL.md`.\n- WebDataset, EmbeddingReader, shard layouts, experiment trackers, W&B\u002FHuggingFace\u002FS3 save\u002Fload configuration: `..\u002Fdata-and-tracking\u002FSKILL.md`.\n\n## Runtime Contract\n\n- Public package: `pip install dalle2-pytorch`.\n- Public import namespace: `import dalle2_pytorch`; top-level exports include `DALLE2`, `DiffusionPriorNetwork`, `DiffusionPrior`, `Unet`, `Decoder`, `OpenAIClipAdapter`, `OpenClipAdapter`, `DecoderTrainer`, `DiffusionPriorTrainer`, `VQGanVAE`, and `CLIP`.\n- Version covered by this skill: `dalle2-pytorch` 1.15.6.\n- Full text-to-image generation needs trained prior and decoder weights; realistic CLIP\u002Fdecoder\u002Fprior sampling usually needs GPU memory. CPU is suitable for imports, CLI help, config checks, and tiny synthetic forward-loss smoke tests only.\n\n## References And Bundled Script\n\n- API signatures and object relationships: [references\u002Fapi-reference.md](references\u002Fapi-reference.md).\n- Generation, tokenization, checkpoint, inpainting, and `dream` workflows: [references\u002Fworkflows.md](references\u002Fworkflows.md).\n- Latent diffusion and VQGAN caveats: [references\u002Flatent-diffusion-and-vqgan.md](references\u002Flatent-diffusion-and-vqgan.md).\n- Common failures and fixes: [references\u002Ftroubleshooting.md](references\u002Ftroubleshooting.md).\n- Safe installed-package checker: [scripts\u002Fcheck_dalle2_runtime.py](scripts\u002Fcheck_dalle2_runtime.py).\n\n## First Checks\n\n```bash\npython -m pip show dalle2-pytorch\npython scripts\u002Fcheck_dalle2_runtime.py --mode imports\npython scripts\u002Fcheck_dalle2_runtime.py --mode cli-help\n```\n\nFor a CPU-only synthetic smoke test that does not download model weights:\n\n```bash\npython scripts\u002Fcheck_dalle2_runtime.py --mode tiny-forward\n```\n\nIf any check fails, use [references\u002Ftroubleshooting.md](references\u002Ftroubleshooting.md) before escalating to training\u002Fconfig or data\u002Ftracking guidance.\n",{"name":5,"license":15,"metadata":24,"description":7,"disable-model-invocation":26},{"disco-role":25},"operating",true,"main","d69096e239f2a89aabc2cd078c47664a9d3b1e11","06-前端与设计\u002Fdalle2-pytorch\u002Fsub-skills\u002Fgeneration-and-api",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":36,"prompt":46,"zipAvailable":26},[37,40,43],{"tool":38,"command":39},"npx","npx skills add lza6\u002FArmor-piercing-system-prompts --skill generation-and-api",{"tool":41,"command":42},"bunx","bunx skills add lza6\u002FArmor-piercing-system-prompts --skill generation-and-api",{"tool":44,"command":45},"pnpm","pnpm dlx skills add lza6\u002FArmor-piercing-system-prompts --skill generation-and-api","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F06-前端与设计\u002Fdalle2-pytorch\u002Fsub-skills\u002Fgeneration-and-api\u002FSKILL.md",[48,54,58,62],{"path":49,"resourceType":50,"resourceTypeDesc":51,"sizeBytes":52,"sourceHtmlUrl":53},"references\u002Fapi-reference.md","REFERENCE","参考文档",9574,"https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F06-前端与设计\u002Fdalle2-pytorch\u002Fsub-skills\u002Fgeneration-and-api\u002Freferences\u002Fapi-reference.md",{"path":55,"resourceType":50,"resourceTypeDesc":51,"sizeBytes":56,"sourceHtmlUrl":57},"references\u002Flatent-diffusion-and-vqgan.md",4752,"https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F06-前端与设计\u002Fdalle2-pytorch\u002Fsub-skills\u002Fgeneration-and-api\u002Freferences\u002Flatent-diffusion-and-vqgan.md",{"path":59,"resourceType":50,"resourceTypeDesc":51,"sizeBytes":60,"sourceHtmlUrl":61},"references\u002Ftroubleshooting.md",8444,"https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F06-前端与设计\u002Fdalle2-pytorch\u002Fsub-skills\u002Fgeneration-and-api\u002Freferences\u002Ftroubleshooting.md",{"path":63,"resourceType":50,"resourceTypeDesc":51,"sizeBytes":64,"sourceHtmlUrl":65},"references\u002Fworkflows.md",9074,"https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F06-前端与设计\u002Fdalle2-pytorch\u002Fsub-skills\u002Fgeneration-and-api\u002Freferences\u002Fworkflows.md",[67,74,79,86,93,100],{"skillNo":68,"name":69,"nameZh":6,"description":70,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":71,"categories":72,"keywords":73,"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.","https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F07-后端与架构\u002Fobsidian-clipper-template-creator\u002FSKILL.md",[],[],{"skillNo":75,"name":69,"nameZh":6,"description":70,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":76,"categories":77,"keywords":78,"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":80,"name":81,"nameZh":6,"description":82,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":83,"categories":84,"keywords":85,"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":87,"name":88,"nameZh":6,"description":89,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":90,"categories":91,"keywords":92,"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":94,"name":95,"nameZh":6,"description":96,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":97,"categories":98,"keywords":99,"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":101,"name":102,"nameZh":6,"description":103,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":104,"categories":105,"keywords":106,"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",[],[]]