[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M792D0XSKG59W6CEDBR47716":3,"skill-same:01M792D0XSKG59W6CEDBR47716":71},{"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":27,"commitSha":28,"skillDirectory":29,"forksCount":30,"repositoryHtmlUrl":31,"repositoryHomepageUrl":6,"ownerHtmlUrl":32,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":33,"install":34,"resources":46},"01M792D0XSKG59W6CEDBR47716","generative",null,"Use for PaddleViT GAN workflows with TransGAN or Styleformer: choose the generator\u002Fdiscriminator family, validate CIFAR10\u002FSTL10\u002FCelebA\u002FLSUN-LMDB inputs, generate or evaluate image batches, interpret FID\u002FPSNR\u002FSSIM, and respect single- or multi-GPU and dependency boundaries. Excludes checkpoint porting, network downloads, and full dataset-scale training unless explicitly requested.","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\u002Fpaddlevit\u002Fsub-skills\u002Fgenerative\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: generative\ndescription: \"Use for PaddleViT GAN workflows with TransGAN or Styleformer:\n  choose the generator\u002Fdiscriminator family, validate\n  CIFAR10\u002FSTL10\u002FCelebA\u002FLSUN-LMDB inputs, generate or evaluate image batches,\n  interpret FID\u002FPSNR\u002FSSIM, and respect single- or multi-GPU and dependency\n  boundaries. Excludes checkpoint porting, network downloads, and full\n  dataset-scale training unless explicitly requested.\"\ndisable-model-invocation: true\nmetadata:\n  disco-role: operating\nlicense: Apache 2.0\n---\n\n# PaddleViT GANs\n\n## Responsibility and boundaries\n\nUse this route when a request names the PaddleViT GAN module, **TransGAN**, or\n**Styleformer**, or asks to generate\u002Fevaluate images from one of those\ntransformer GANs. The route owns:\n\n- the two model families' generator\u002Fdiscriminator contracts and shipped YAML\n  variants;\n- the CIFAR10, STL10, CelebA, and LSUN-church LMDB data contracts;\n- safe generation\u002Fevaluation planning, image range\u002Flayout checks, FID\u002FPSNR\u002FSSIM\n  interpretation, and training\u002Fevaluation resource boundaries;\n- dependency diagnosis for Paddle, Pillow, OpenCV, SciPy, LMDB, matplotlib, and\n  tqdm; and\n- the download-free bundled contract smoke at\n  `scripts\u002Fgenerative_model_smoke.py`.\n\nDo not use this route for classification, detection, segmentation, generic\nPaddle export, or repository-wide environment operations. Do not port PyTorch\nweights or download checkpoints, Inception weights, or datasets as part of a\nsafe generation\u002Fevaluation request. The source contains weight-porting helpers\nand external model links, but those are deliberately excluded. Full\n50k-sample evaluation and multi-epoch\u002Ffull-dataset training are expensive and\nrequire explicit user authorization, local data, local checkpoints, and a\nverified budget.\n\nThis is a self-contained operating guide. It does not import the original\ncheckout at runtime. The source was inspected at PaddleViT commit\n`5ac7d89d4fd0e3235d055ff15d5b1b1315499d70`; source paths in the evidence list\nare provenance, not runtime dependencies.\n\n## Route a request\n\n1. Identify the family and operation before touching a config:\n   - choose **TransGAN** for the pure-transformer generator and two-scale\n     transformer discriminator;\n   - choose **Styleformer** for the style-vector mapping\u002Fsynthesis generator\n     and StyleGANv2-style convolutional discriminator;\n   - choose `generate` for images only, `eval` for FID or metric reporting, and\n     `train` only after the user explicitly accepts data\u002FGPU\u002Fcompute cost.\n2. Choose the dataset and exact image size. The shipped Styleformer YAMLs map\n   CIFAR10→32, STL10→48, CelebA→64, and LSUN-church→128. The TransGAN YAML is\n   CIFAR10→32. Do not silently reuse a 32-pixel config for a 48\u002F64\u002F128-pixel\n   dataset.\n3. Inspect the local data layout with the checklist in\n   `references\u002Fdata-formats.md`. An absent optional dependency is a preflight\n   failure, not a reason to create a fake dataset or claim evaluation passed.\n4. Run the safe, deterministic synthetic smoke before a source build or a\n   costly run:\n\n   ```bash\n   python \u002Fpath\u002Fto\u002Fthis\u002Fskill\u002Fscripts\u002Fgenerative_model_smoke.py --help\n   python \u002Fpath\u002Fto\u002Fthis\u002Fskill\u002Fscripts\u002Fgenerative_model_smoke.py --model all --device auto\n   ```\n\n   This checks small independent Paddle contracts only. It does not import the\n   checkout, load a checkpoint, open a dataset, contact a URL, or prove\n   historical GAN quality. If Paddle is unavailable, the script reports a\n   clearly marked skip.\n5. For a source model build, run from exactly one family directory and expose\n   only that directory on `PYTHONPATH`:\n\n   ```bash\n   cd gan\u002FtransGAN       # or gan\u002FStyleformer\n   export PYTHONPATH=\"$PWD:${PYTHONPATH:-}\"\n   ```\n\n   Both families use common module names (`config.py`, `utils.py`,\n   `generate.py`). Mixing both source roots can import the wrong family.\n6. Record the final config, source commit, device, seed, local checkpoint\n   provenance, data counts, image range\u002Forder, metric feature extractor, and\n   sample limits. If any of those are unknown, report the result as partial.\n\n## Source command contract\n\nThe source uses short single-dash flags. A safe command is a plan\u002Ftemplate,\nnot permission to download or run expensive work:\n\n```text\n-cfg PATH             family YAML; recursive BASE entries are supported\n-dataset NAME         cifar10, stl10, celeba, or lsun where wired\n-batch_size N         per-process batch size\n-data_path PATH       dataset root or family-specific image\u002FLMDB directory\n-image_size N         override only when model architecture supports it\n-eval                 evaluation-only path\n-pretrained PREFIX    source training\u002Feval appends .pdparams in main scripts\n-resume PREFIX        source expects PREFIX.pdparams and PREFIX.pdopt\n-num_out_images N     generation count for generate.py\n-out_folder DIR       generated image destination\n```\n\n`generate.py` has family-specific conventions. TransGAN's generator loads a\nstate dictionary under `gen_state_dict`; Styleformer's standalone generator\nloader expects the saved generator dictionary directly, while the training\nscripts expect a combined `gen_state_dict`\u002F`dis_state_dict` checkpoint. Verify\nthe actual local file keys before loading. Do not add `.pdparams` to a\n`-pretrained` prefix when using the training\u002Fevaluation scripts; generation\nexamples are inconsistent and may accept a complete filename. Prefer an\nexplicit local-file check and a tiny load test over guessing.\n\n## Generation and evaluation procedure\n\n### Generation\n\n- Set the device before model construction. Use one visible GPU for a normal\n  source generation run; CPU is suitable only for parser\u002Fshape diagnostics and\n  may be impractical for the full transformer.\n- Seed Paddle (and NumPy\u002FPython if used by the caller) before sampling. The\n  source scripts use random latent tensors and do not promise a stable\n  benchmark seed.\n- TransGAN samples `z` with shape `[B, 256]`, calls `Generator(z, epoch)`, and\n  returns `[B, 3, 32, 32]` for the shipped CIFAR10 config. Styleformer samples\n  `z` with shape `[B, 512]`; its `c_dim` is zero in the shipped configs, so the\n  mapping network ignores labels even though eval code supplies a label\n  tensor. It returns `[B, 3, H, W]` with H\u002FW set by the chosen config.\n- Both source generation scripts postprocess model output with\n  `(output * 127.5 + 128).clip(0, 255).astype('uint8')`, then transpose from\n  CHW to HWC and write RGB PNGs. This assumes the model output is in a\n  `[-1, 1]`-like range. TransGAN's final source `Conv2D` has no explicit tanh;\n  inspect output statistics rather than treating the assumption as a proven\n  invariant.\n- Keep generated tensors in NCHW for Paddle discriminators and metric feature\n  extraction. Convert to HWC only at the image-file boundary.\n\n### Evaluation\n\nThe source validation loop pairs each real batch with a random generated batch,\nconverts fake images to `[0,1]` after uint8 clipping, and feeds both through\nthe local FID implementation. `MAX_REAL_NUM` and `MAX_GEN_NUM` are converted\nto whole batches with integer division; a limit smaller than one batch can\nsilently yield no usable samples. Check effective counts after batching.\n\nFID is distribution-level and requires both real and generated collections,\nthe same image preprocessing, a local compatible InceptionV3 parameter file,\nand enough samples to form non-degenerate statistics. The source FID class\nwill otherwise call Paddle's URL weight helper, which violates this skill's\nno-network boundary. Pass a local `premodel_path` only in an explicitly\napproved evaluation environment; never let a safe smoke implicitly download\nit. The repository README's `fid50k_full` numbers are historical reference\nclaims, not results produced by this skill.\n\nPSNR and SSIM are paired image-fidelity metrics in the bundled source metric\nimplementation. They require equal shapes, accept `HWC` or `CHW`, and expect\npixel values in `[0,255]`; `crop_border` removes pixels on every edge. They\nare not substitutes for GAN FID when comparing unrelated generated and real\nsets. SSIM uses OpenCV's Gaussian filter and the source reverses channels in\nits implementation, so record channel order and do not compare its number to\na differently configured library without a controlled fixture.\n\n## Training and device boundaries\n\nTraining is not a smoke:\n\n- TransGAN's single-GPU loop uses a hinge-style discriminator loss and updates\n  the generator on alternating epochs; the config defaults to 300 epochs,\n  `AdamW`, warmup\u002Fcosine scheduling, and gradient clipping. The discriminator\n  can apply `DiffAugment` when `DATA.DIFF_AUG` is not effectively disabled.\n- Styleformer's loop uses a WGAN-GP-like objective, one discriminator update\n  followed by five generator updates, and a gradient penalty. Its helper uses\n  an explicit `.cuda()` for interpolation, so CPU training is not a valid\n  substitute without a deliberate source fix. Its source also places uint8\n  clipping\u002Fscaling in the training path; verify current Paddle gradient\n  behavior before claiming that an unmodified source run trains correctly.\n- Single-GPU scripts construct both networks and ordinary data loaders. The\n  multi-GPU scripts use `paddle.distributed`, `DataParallel`, distributed\n  batch sampling, and gather FID feature lists. `-batch_size` is per GPU, so\n  effective batch size scales with visible process count. Set\n  `CUDA_VISIBLE_DEVICES` and `-ngpus` consistently; do not infer that a CPU\n  run verifies NCCL or multi-GPU behavior.\n- The prepared inspection evidence is Paddle GPU 2.6.2 on an A100 host with\n  Pillow\u002FOpenCV\u002FSciPy\u002FLMDB\u002Fmatplotlib\u002Ftqdm imports and CUDA dependency smoke\n  passing. This is environment evidence, not a guarantee that every\n  Paddle-2.1-era script is unchanged-compatible with Paddle 2.6.2.\n\n## Verification ladder\n\nUse the cheapest check that answers the question:\n\n1. Parse the YAML and inspect dataset\u002Fcheckpoint paths without opening data.\n2. Run `generative_model_smoke.py` for deterministic, download-free tiny\n   generator\u002Fdiscriminator shape and finite-value contracts.\n3. Build one source family on a tiny local\u002Fsynthetic tensor and record actual\n   output shapes. The inspected source smoke passed on `gpu:0` for both\n   shipped CIFAR10 configurations: each generator returned `[1,3,32,32]`\n   and each discriminator returned `[1,1]` with finite values.\n4. Decode a few local data examples and verify range\u002Forder\u002Fshape. Test LMDB\n   opening separately from model construction.\n5. Run a bounded local generation or metric calculation only with an explicit\n   checkpoint, local Inception weights for FID, local data, and a declared\n   sample count.\n6. Treat full training, 50k FID, multi-GPU eval, and historical model-zoo\n   reproduction as expensive acceptance tests, not default verification.\n\nA pass at an earlier level does not establish checkpoint compatibility, FID\nquality, dataset correctness at scale, or historical benchmark reproduction.\n\n## References and recovery\n\nUse the focused references for details rather than expanding this router:\n\n- `references\u002Fmodel-overview.md`: model and discriminator internals, config\n  matrix, tensor contracts, and source quirks.\n- `references\u002Fworkflows.md`: safe generation\u002Fevaluation\u002Ftraining planning,\n  single\u002Fmulti-GPU commands, metric gates, and no-network rules.\n- `references\u002Fdata-formats.md`: exact dataset layouts, transforms, path\n  semantics, labels, ranges, and preflight checks.\n- `references\u002Ftroubleshooting.md`: dependency, path, shape, metric, CUDA, and\n  source-compatibility recovery.\n\nWhen a problem is shared with Paddle installation, AMP, distributed launch,\nexport, or inference, hand off to the repository's deployment\u002Foperations\nroute instead of inventing a second global environment procedure.\n","# PaddleViT GANs\n\n## Responsibility and boundaries\n\nUse this route when a request names the PaddleViT GAN module, **TransGAN**, or\n**Styleformer**, or asks to generate\u002Fevaluate images from one of those\ntransformer GANs. The route owns:\n\n- the two model families' generator\u002Fdiscriminator contracts and shipped YAML\n  variants;\n- the CIFAR10, STL10, CelebA, and LSUN-church LMDB data contracts;\n- safe generation\u002Fevaluation planning, image range\u002Flayout checks, FID\u002FPSNR\u002FSSIM\n  interpretation, and training\u002Fevaluation resource boundaries;\n- dependency diagnosis for Paddle, Pillow, OpenCV, SciPy, LMDB, matplotlib, and\n  tqdm; and\n- the download-free bundled contract smoke at\n  `scripts\u002Fgenerative_model_smoke.py`.\n\nDo not use this route for classification, detection, segmentation, generic\nPaddle export, or repository-wide environment operations. Do not port PyTorch\nweights or download checkpoints, Inception weights, or datasets as part of a\nsafe generation\u002Fevaluation request. The source contains weight-porting helpers\nand external model links, but those are deliberately excluded. Full\n50k-sample evaluation and multi-epoch\u002Ffull-dataset training are expensive and\nrequire explicit user authorization, local data, local checkpoints, and a\nverified budget.\n\nThis is a self-contained operating guide. It does not import the original\ncheckout at runtime. The source was inspected at PaddleViT commit\n`5ac7d89d4fd0e3235d055ff15d5b1b1315499d70`; source paths in the evidence list\nare provenance, not runtime dependencies.\n\n## Route a request\n\n1. Identify the family and operation before touching a config:\n   - choose **TransGAN** for the pure-transformer generator and two-scale\n     transformer discriminator;\n   - choose **Styleformer** for the style-vector mapping\u002Fsynthesis generator\n     and StyleGANv2-style convolutional discriminator;\n   - choose `generate` for images only, `eval` for FID or metric reporting, and\n     `train` only after the user explicitly accepts data\u002FGPU\u002Fcompute cost.\n2. Choose the dataset and exact image size. The shipped Styleformer YAMLs map\n   CIFAR10→32, STL10→48, CelebA→64, and LSUN-church→128. The TransGAN YAML is\n   CIFAR10→32. Do not silently reuse a 32-pixel config for a 48\u002F64\u002F128-pixel\n   dataset.\n3. Inspect the local data layout with the checklist in\n   `references\u002Fdata-formats.md`. An absent optional dependency is a preflight\n   failure, not a reason to create a fake dataset or claim evaluation passed.\n4. Run the safe, deterministic synthetic smoke before a source build or a\n   costly run:\n\n   ```bash\n   python \u002Fpath\u002Fto\u002Fthis\u002Fskill\u002Fscripts\u002Fgenerative_model_smoke.py --help\n   python \u002Fpath\u002Fto\u002Fthis\u002Fskill\u002Fscripts\u002Fgenerative_model_smoke.py --model all --device auto\n   ```\n\n   This checks small independent Paddle contracts only. It does not import the\n   checkout, load a checkpoint, open a dataset, contact a URL, or prove\n   historical GAN quality. If Paddle is unavailable, the script reports a\n   clearly marked skip.\n5. For a source model build, run from exactly one family directory and expose\n   only that directory on `PYTHONPATH`:\n\n   ```bash\n   cd gan\u002FtransGAN       # or gan\u002FStyleformer\n   export PYTHONPATH=\"$PWD:${PYTHONPATH:-}\"\n   ```\n\n   Both families use common module names (`config.py`, `utils.py`,\n   `generate.py`). Mixing both source roots can import the wrong family.\n6. Record the final config, source commit, device, seed, local checkpoint\n   provenance, data counts, image range\u002Forder, metric feature extractor, and\n   sample limits. If any of those are unknown, report the result as partial.\n\n## Source command contract\n\nThe source uses short single-dash flags. A safe command is a plan\u002Ftemplate,\nnot permission to download or run expensive work:\n\n```text\n-cfg PATH             family YAML; recursive BASE entries are supported\n-dataset NAME         cifar10, stl10, celeba, or lsun where wired\n-batch_size N         per-process batch size\n-data_path PATH       dataset root or family-specific image\u002FLMDB directory\n-image_size N         override only when model architecture supports it\n-eval                 evaluation-only path\n-pretrained PREFIX    source training\u002Feval appends .pdparams in main scripts\n-resume PREFIX        source expects PREFIX.pdparams and PREFIX.pdopt\n-num_out_images N     generation count for generate.py\n-out_folder DIR       generated image destination\n```\n\n`generate.py` has family-specific conventions. TransGAN's generator loads a\nstate dictionary under `gen_state_dict`; Styleformer's standalone generator\nloader expects the saved generator dictionary directly, while the training\nscripts expect a combined `gen_state_dict`\u002F`dis_state_dict` checkpoint. Verify\nthe actual local file keys before loading. Do not add `.pdparams` to a\n`-pretrained` prefix when using the training\u002Fevaluation scripts; generation\nexamples are inconsistent and may accept a complete filename. Prefer an\nexplicit local-file check and a tiny load test over guessing.\n\n## Generation and evaluation procedure\n\n### Generation\n\n- Set the device before model construction. Use one visible GPU for a normal\n  source generation run; CPU is suitable only for parser\u002Fshape diagnostics and\n  may be impractical for the full transformer.\n- Seed Paddle (and NumPy\u002FPython if used by the caller) before sampling. The\n  source scripts use random latent tensors and do not promise a stable\n  benchmark seed.\n- TransGAN samples `z` with shape `[B, 256]`, calls `Generator(z, epoch)`, and\n  returns `[B, 3, 32, 32]` for the shipped CIFAR10 config. Styleformer samples\n  `z` with shape `[B, 512]`; its `c_dim` is zero in the shipped configs, so the\n  mapping network ignores labels even though eval code supplies a label\n  tensor. It returns `[B, 3, H, W]` with H\u002FW set by the chosen config.\n- Both source generation scripts postprocess model output with\n  `(output * 127.5 + 128).clip(0, 255).astype('uint8')`, then transpose from\n  CHW to HWC and write RGB PNGs. This assumes the model output is in a\n  `[-1, 1]`-like range. TransGAN's final source `Conv2D` has no explicit tanh;\n  inspect output statistics rather than treating the assumption as a proven\n  invariant.\n- Keep generated tensors in NCHW for Paddle discriminators and metric feature\n  extraction. Convert to HWC only at the image-file boundary.\n\n### Evaluation\n\nThe source validation loop pairs each real batch with a random generated batch,\nconverts fake images to `[0,1]` after uint8 clipping, and feeds both through\nthe local FID implementation. `MAX_REAL_NUM` and `MAX_GEN_NUM` are converted\nto whole batches with integer division; a limit smaller than one batch can\nsilently yield no usable samples. Check effective counts after batching.\n\nFID is distribution-level and requires both real and generated collections,\nthe same image preprocessing, a local compatible InceptionV3 parameter file,\nand enough samples to form non-degenerate statistics. The source FID class\nwill otherwise call Paddle's URL weight helper, which violates this skill's\nno-network boundary. Pass a local `premodel_path` only in an explicitly\napproved evaluation environment; never let a safe smoke implicitly download\nit. The repository README's `fid50k_full` numbers are historical reference\nclaims, not results produced by this skill.\n\nPSNR and SSIM are paired image-fidelity metrics in the bundled source metric\nimplementation. They require equal shapes, accept `HWC` or `CHW`, and expect\npixel values in `[0,255]`; `crop_border` removes pixels on every edge. They\nare not substitutes for GAN FID when comparing unrelated generated and real\nsets. SSIM uses OpenCV's Gaussian filter and the source reverses channels in\nits implementation, so record channel order and do not compare its number to\na differently configured library without a controlled fixture.\n\n## Training and device boundaries\n\nTraining is not a smoke:\n\n- TransGAN's single-GPU loop uses a hinge-style discriminator loss and updates\n  the generator on alternating epochs; the config defaults to 300 epochs,\n  `AdamW`, warmup\u002Fcosine scheduling, and gradient clipping. The discriminator\n  can apply `DiffAugment` when `DATA.DIFF_AUG` is not effectively disabled.\n- Styleformer's loop uses a WGAN-GP-like objective, one discriminator update\n  followed by five generator updates, and a gradient penalty. Its helper uses\n  an explicit `.cuda()` for interpolation, so CPU training is not a valid\n  substitute without a deliberate source fix. Its source also places uint8\n  clipping\u002Fscaling in the training path; verify current Paddle gradient\n  behavior before claiming that an unmodified source run trains correctly.\n- Single-GPU scripts construct both networks and ordinary data loaders. The\n  multi-GPU scripts use `paddle.distributed`, `DataParallel`, distributed\n  batch sampling, and gather FID feature lists. `-batch_size` is per GPU, so\n  effective batch size scales with visible process count. Set\n  `CUDA_VISIBLE_DEVICES` and `-ngpus` consistently; do not infer that a CPU\n  run verifies NCCL or multi-GPU behavior.\n- The prepared inspection evidence is Paddle GPU 2.6.2 on an A100 host with\n  Pillow\u002FOpenCV\u002FSciPy\u002FLMDB\u002Fmatplotlib\u002Ftqdm imports and CUDA dependency smoke\n  passing. This is environment evidence, not a guarantee that every\n  Paddle-2.1-era script is unchanged-compatible with Paddle 2.6.2.\n\n## Verification ladder\n\nUse the cheapest check that answers the question:\n\n1. Parse the YAML and inspect dataset\u002Fcheckpoint paths without opening data.\n2. Run `generative_model_smoke.py` for deterministic, download-free tiny\n   generator\u002Fdiscriminator shape and finite-value contracts.\n3. Build one source family on a tiny local\u002Fsynthetic tensor and record actual\n   output shapes. The inspected source smoke passed on `gpu:0` for both\n   shipped CIFAR10 configurations: each generator returned `[1,3,32,32]`\n   and each discriminator returned `[1,1]` with finite values.\n4. Decode a few local data examples and verify range\u002Forder\u002Fshape. Test LMDB\n   opening separately from model construction.\n5. Run a bounded local generation or metric calculation only with an explicit\n   checkpoint, local Inception weights for FID, local data, and a declared\n   sample count.\n6. Treat full training, 50k FID, multi-GPU eval, and historical model-zoo\n   reproduction as expensive acceptance tests, not default verification.\n\nA pass at an earlier level does not establish checkpoint compatibility, FID\nquality, dataset correctness at scale, or historical benchmark reproduction.\n\n## References and recovery\n\nUse the focused references for details rather than expanding this router:\n\n- `references\u002Fmodel-overview.md`: model and discriminator internals, config\n  matrix, tensor contracts, and source quirks.\n- `references\u002Fworkflows.md`: safe generation\u002Fevaluation\u002Ftraining planning,\n  single\u002Fmulti-GPU commands, metric gates, and no-network rules.\n- `references\u002Fdata-formats.md`: exact dataset layouts, transforms, path\n  semantics, labels, ranges, and preflight checks.\n- `references\u002Ftroubleshooting.md`: dependency, path, shape, metric, CUDA, and\n  source-compatibility recovery.\n\nWhen a problem is shared with Paddle installation, AMP, distributed launch,\nexport, or inference, hand off to the repository's deployment\u002Foperations\nroute instead of inventing a second global environment procedure.\n",{"name":5,"license":23,"metadata":24,"description":7,"disable-model-invocation":26},"Apache 2.0",{"disco-role":25},"operating",true,"main","ac3fe1afa80fb9a09775ecfb2b6cc3ba850a2db6","skills\u002Frepositories\u002Frepo-skills\u002Fpaddlevit\u002Fsub-skills\u002Fgenerative",27,"https:\u002F\u002Fgithub.com\u002FVectorSpaceLab\u002FAREX-Skill","https:\u002F\u002Fgithub.com\u002FVectorSpaceLab","2026-09-03 10:25:21",{"source":8,"skillName":5,"commands":35,"prompt":45,"zipAvailable":26},[36,39,42],{"tool":37,"command":38},"npx","npx skills add VectorSpaceLab\u002FAREX-Skill --skill generative",{"tool":40,"command":41},"bunx","bunx skills add VectorSpaceLab\u002FAREX-Skill --skill generative",{"tool":43,"command":44},"pnpm","pnpm dlx skills add VectorSpaceLab\u002FAREX-Skill --skill generative","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FVectorSpaceLab\u002FAREX-Skill\u002Fblob\u002Fmain\u002Fskills\u002Frepositories\u002Frepo-skills\u002Fpaddlevit\u002Fsub-skills\u002Fgenerative\u002FSKILL.md",[47,53,57,61,65],{"path":48,"resourceType":49,"resourceTypeDesc":50,"sizeBytes":51,"sourceHtmlUrl":52},"references\u002Fdata-formats.md","REFERENCE","参考文档",6063,"https:\u002F\u002Fgithub.com\u002FVectorSpaceLab\u002FAREX-Skill\u002Fblob\u002Fmain\u002Fskills\u002Frepositories\u002Frepo-skills\u002Fpaddlevit\u002Fsub-skills\u002Fgenerative\u002Freferences\u002Fdata-formats.md",{"path":54,"resourceType":49,"resourceTypeDesc":50,"sizeBytes":55,"sourceHtmlUrl":56},"references\u002Fmodel-overview.md",5811,"https:\u002F\u002Fgithub.com\u002FVectorSpaceLab\u002FAREX-Skill\u002Fblob\u002Fmain\u002Fskills\u002Frepositories\u002Frepo-skills\u002Fpaddlevit\u002Fsub-skills\u002Fgenerative\u002Freferences\u002Fmodel-overview.md",{"path":58,"resourceType":49,"resourceTypeDesc":50,"sizeBytes":59,"sourceHtmlUrl":60},"references\u002Ftroubleshooting.md",6649,"https:\u002F\u002Fgithub.com\u002FVectorSpaceLab\u002FAREX-Skill\u002Fblob\u002Fmain\u002Fskills\u002Frepositories\u002Frepo-skills\u002Fpaddlevit\u002Fsub-skills\u002Fgenerative\u002Freferences\u002Ftroubleshooting.md",{"path":62,"resourceType":49,"resourceTypeDesc":50,"sizeBytes":63,"sourceHtmlUrl":64},"references\u002Fworkflows.md",6275,"https:\u002F\u002Fgithub.com\u002FVectorSpaceLab\u002FAREX-Skill\u002Fblob\u002Fmain\u002Fskills\u002Frepositories\u002Frepo-skills\u002Fpaddlevit\u002Fsub-skills\u002Fgenerative\u002Freferences\u002Fworkflows.md",{"path":66,"resourceType":67,"resourceTypeDesc":68,"sizeBytes":69,"sourceHtmlUrl":70},"scripts\u002Fgenerative_model_smoke.py","SCRIPT","脚本",8234,"https:\u002F\u002Fgithub.com\u002FVectorSpaceLab\u002FAREX-Skill\u002Fblob\u002Fmain\u002Fskills\u002Frepositories\u002Frepo-skills\u002Fpaddlevit\u002Fsub-skills\u002Fgenerative\u002Fscripts\u002Fgenerative_model_smoke.py",[72,79,86,93,100,107],{"skillNo":73,"name":74,"nameZh":6,"description":75,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":76,"categories":77,"keywords":78,"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":80,"name":81,"nameZh":6,"description":82,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":83,"categories":84,"keywords":85,"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":87,"name":88,"nameZh":6,"description":89,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":90,"categories":91,"keywords":92,"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":94,"name":95,"nameZh":6,"description":96,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":97,"categories":98,"keywords":99,"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":101,"name":102,"nameZh":6,"description":103,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":104,"categories":105,"keywords":106,"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":108,"name":109,"nameZh":6,"description":110,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":111,"categories":112,"keywords":113,"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",[],[]]