Skip to content
Back to skills

Training Data Configs

ASecurity

"Plan Sana training data schemas, config overrides, launch

  • 247 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added September 9, 2026
devopspythonbashdocumentation

Security analysis

A100/100

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

Scanned September 9, 2026

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

Installs into .claude/skills of the current project.

Are you the author of Training Data Configs?

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

Security grade badge for Training Data Configs
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/vectorspacelab-training-data-configs/badge)](https://www.skillsdirectory.com/skills/vectorspacelab-training-data-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-data-configs
description: "Plan Sana training data schemas, config overrides, launch
  commands, and safe validation for image, video, LoRA, Sprint, WM, Streaming,
  and Sol-RL workflows."
metadata:
  disco-role: operating
disable-model-invocation: true
license: Apache 2.0
---

# Sana training data and config planner

Use this sub-skill when a user asks how to prepare data, choose a training recipe, plan config overrides, or draft a safe launch command for Sana training or post-training. It covers image-text training, multi-scale WIDS/WebDataset data, DDP/FSDP image training, Sprint sCM/LADD, DreamBooth LoRA, SANA-Video, LongSANA, SANA-WM Stage-1 and distillation, SANA-Streaming V2V, Sol-RL, and the boundary to Cosmos-RL.

Do not use this sub-skill for inference-only requests. Route image inference to the image-generation sub-skill, video/world/streaming inference to the video-world-streaming sub-skill, and metrics, conversion, or deployment requests to the evaluation-conversion-deployment sub-skill.

## Fast operating path

1. Classify the request into one training family:
   - image: SanaImgDataset image-text pairs or SanaWebDatasetMS WIDS/WebDataset shards.
   - sprint: one-step Sana-Sprint sCM plus LADD training.
   - lora: DreamBooth LoRA over a diffusers Sana base model.
   - video: SANA-Video 480p WanVAE or 720p LTX2 VAE training.
   - longsana: LongSANA ODE, self-forcing, or long-video stage.
   - wm-stage1: SANA-WM bidirectional or chunk-causal Stage-1 teacher.
   - wm-distill: SANA-WM ODE, T43 self-forcing, or T121 self-forcing/DMD distillation.
   - streaming-v2v: SANA-Streaming bidirectional short V2V or long V2V fine-tuning.
   - sol-rl: in-repo reinforcement-learning post-training launchers.
   - cosmos-rl: external Cosmos-RL SFT/RL integration boundary.
2. Identify the data schema and verify it before planning training. Use the bundled validator when the user gives a local data path:

```bash
python skills/disco/sana/sub-skills/training-data-configs/scripts/validate_dataset_layout.py \
  --path data/my_sana_data \
  --mode auto \
  --max-samples 20
```

3. Generate a safe command plan instead of launching training. Use the bundled planner for a first draft:

```bash
python skills/disco/sana/sub-skills/training-data-configs/scripts/plan_training_command.py \
  --family image \
  --data-dir data/my_sana_data \
  --data-type SanaImgDataset \
  --work-dir output/my_sana_run \
  --gpus 2 \
  --batch-size 8 \
  --num-workers 4
```

4. Explain what the plan can and cannot verify locally. Dataset shape and manifest checks are safe; actual model loading, HF downloads, CUDA kernels, FSDP, CP, VAE encoding, reward services, and quality convergence are not verified by these helpers.
5. When a command depends on external assets, call out the asset explicitly: HF model or dataset repo id, local checkpoint, reward checkpoint, VAE cache, WIDS metadata, wandb login, or distributed rendezvous settings.

## Bundled references

- `references/data-and-configs.md`: dataset layouts, WIDS/WebDataset conversion planning, config override syntax, and preflight checks.
- `references/training-workflows.md`: command templates for image, FSDP, Sprint, video, LongSANA, SANA-WM, SANA-Streaming, checkpoints, and native test candidates.
- `references/lora-and-post-training.md`: DreamBooth LoRA, Sol-RL, Cosmos-RL boundaries, rewards, and logging.
- `references/troubleshooting.md`: data, cache, VAE/text-feature, torchrun, FSDP, OOM, HF, wandb, resume, and license failure modes.

## Source evidence labels

This sub-skill was distilled from Sana documentation, config classes, dataset loaders, train launchers, and training smoke tests. Evidence labels include `docs/sana.md`, `docs/sana_sprint.md`, `docs/sana_lora_dreambooth.md`, `docs/sana_video.md`, `docs/longsana.md`, `docs/sana_wm.md`, `docs/sana_streaming.md`, `docs/sol_rl.md`, `docs/sana_cosmos_rl.md`, `diffusion/utils/config.py`, `diffusion/data/`, `train_scripts/`, `train_video_scripts/`, `configs/`, and `tests/bash/training/`.

Files in this skill

  • SKILL.md4 KB
  • references/data-and-configs.md11.8 KB
  • references/lora-and-post-training.md8.9 KB
  • references/training-workflows.md12.5 KB
  • references/troubleshooting.md9.4 KB
  • scripts/plan_training_command.py21 KB
  • scripts/validate_dataset_layout.py18.9 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.