Skip to content
Back to skills

Training And Configs

ASecurity

"Configure and launch DALLE2-pytorch decoder and diffusion-prior

  • 247 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added September 8, 2026
toolspythonapi

Works with

  • cli
  • api

Security analysis

A100/100

Pro scans all 11 files and shows the line behind each finding

Scanned September 8, 2026

npx -y skills add VectorSpaceLab/AREX-Skill --skill training-and-configs --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Training And Configs?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Training And Configs
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/vectorspacelab-training-and-configs/badge)](https://www.skillsdirectory.com/skills/vectorspacelab-training-and-configs)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: training-and-configs
description: "Configure and launch DALLE2-pytorch decoder and diffusion-prior
  training with validated JSON configs, bundled launch wrappers, trainer APIs,
  checkpoint resume, and Accelerate caveats."
disable-model-invocation: true
metadata:
  disco-role: operating
license: MIT
---

# Training and Configs

Use this sub-skill when a task involves DALLE2-pytorch training setup: `TrainDecoderConfig`, `TrainDiffusionPriorConfig`, JSON configs, bundled training launch wrappers, `DecoderTrainer`, `DiffusionPriorTrainer`, checkpoint save/load/resume, or Accelerate/DeepSpeed launch decisions.

## Route by Need

- For config object structure, required keys, validators, and safe template editing, read [Training Configs](references/training-configs.md).
- For direct Python trainer APIs, constructor signatures, optimizer/EMA behavior, save/load, and resume semantics, read [Trainer API](references/trainer-api.md).
- For command construction, launcher flags, bundled wrappers, and Accelerate examples, read [CLI Reference](references/cli-reference.md).
- For common failures and fixes, read [Troubleshooting](references/troubleshooting.md).
- To validate a config without starting training, run [`scripts/inspect_training_config.py`](scripts/inspect_training_config.py) with `--kind decoder|prior --config PATH`.
- To print but not execute a safe training command, run [`scripts/training_command_builder.py`](scripts/training_command_builder.py) with `--kind decoder|prior --config PATH --launcher python|accelerate`.
- To launch training from this skill tree, use [`scripts/run_decoder_training.py`](scripts/run_decoder_training.py) or [`scripts/run_diffusion_prior_training.py`](scripts/run_diffusion_prior_training.py). These can run for a long time and may download model or metric weights depending on the config.

## Safe Starting Templates

- Decoder CPU structural smoke template: [decoder-cpu-smoke.json](references/config-templates/decoder-cpu-smoke.json). It uses placeholders for WebDataset and embedding roots, console logging, local checkpoint saving, CPU device, no source test data dependency, and no torchmetrics image metrics by default.
- Prior minimal template: [prior-minimal.json](references/config-templates/prior-minimal.json). It uses placeholders for EmbeddingReader image and metadata URLs, console logging, local checkpoint saving, and short diffusion timesteps for config validation.

Always copy a template to a working config path, replace placeholders, then validate it before launching training.

## Boundaries

- WebDataset shard keys, sidecar embedding naming, `EmbeddingReader` folder layout, S3/fsspec setup, tracker credentials, and provider-specific W&B/HuggingFace token handling belong in `../data-and-tracking/`.
- Model construction, generation-only APIs, `DALLE2`, `DiffusionPrior`, `Decoder`, CLIP adapters for sampling, `dream`, VQGAN, and inpainting belong in `../generation-and-api/`.

Files in this skill

  • SKILL.md2.9 KB
  • references/cli-reference.md3.6 KB
  • references/config-templates/decoder-cpu-smoke.json1.8 KB
  • references/config-templates/prior-minimal.json1.8 KB
  • references/trainer-api.md6.8 KB
  • references/training-configs.md10 KB
  • references/troubleshooting.md5.6 KB
  • scripts/inspect_training_config.py11.8 KB
  • scripts/run_decoder_training.py33.3 KB
  • scripts/run_diffusion_prior_training.py22.9 KB
  • scripts/training_command_builder.py2.2 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.