Skip to content
Development
Skill

/fastgen-dataset

Prepare, register or repair datasets for NVIDIA FastGen loaders: class-conditional ZIPs, WebDataset shards of images, prompts, latents, videos, audio or camera data, and KD pairs or trajectories; then verify decoded batches. For experiment configuration over already prepared

From plugin
skills
4k200 skills

Claude Code

$ npx -y skills add NVIDIA/skills --skill fastgen-dataset --agent claude-code

SKILL.md

fastgen-dataset.SKILL.md
name: fastgen-dataset
description: >-
  Prepare, register or repair datasets for NVIDIA FastGen loaders: class-conditional ZIPs, WebDataset shards of images, prompts, latents, videos, audio or camera data, and KD pairs or trajectories; then verify decoded batches. For experiment configuration over already prepared data, use fastgen-configure.
license: Apache-2.0
metadata:
  author: "Julius Berner <jberner@nvidia.com>"
  domain: ml

Prepare a FastGen dataset

Apply [fastgen-runtime](https://github.com/NVlabs/FastGen/blob/main/skills/fastgen-runtime/SKILL.md). The [dataset README](https://github.com/NVlabs/FastGen/blob/main/fastgen/datasets/README.md) owns formats, preparation commands, loader presets and key parameters; the loaders in [wds_dataloaders.py](https://github.com/NVlabs/FastGen/blob/main/fastgen/datasets/wds_dataloaders.py) and [wds_utils.py](https://github.com/NVlabs/FastGen/blob/main/fastgen/datasets/wds_utils.py) document decoding, partitioning and resume in their docstrings. Read [loader contracts](references/loader-contract.md) for shard acceptance, coverage and resume accounting.

1. **Scope.** Resolve source, permitted use, destination, task, the method's supervision needs ([fastgen-configure](https://github.com/NVlabs/FastGen/blob/main/skills/fastgen-configure/SKILL.md) if unsettled), the network's preprocessing and the available sample count. Inspect existing inputs before downloading; keep provenance and counts. Follow the pretrained model's conditioning requirements; recaption prompts to match its reference style when needed, preserving meaning. 2. **Loader.** Choose the existing class-conditional or WebDataset loader. Shards need unique sample keys with the extensions named in `key_map`; constants come from `files_map` and `presets_map`. Raw media and prompts use the `*_raw` keys and cached latents and embeddings the plain keys; never label placeholders as model-space data, and record the model revision and preprocessing of every cache. Rebuild affected caches after edits. 3. **Pairing and geometry.** Keep task pairing (source and target for editing, reference frames for image-conditioned video, camera data, aligned audio). Derive frame counts, FPS, aspect ratio and temporal compression from the network; the representable frame count is not the nominal clip length. 4. **Splits and size.** Separate training from held-out evaluation inputs before deriving labels or trajectories. Estimate the unique examples needed from throughput, effective batch, updates and acceptable repetition; a tiny dataset validates plumbing only. 5. **Register.** Import and copy a preset from [data.py](https://github.com/NVlabs/FastGen/blob/main/fastgen/configs/data.py) rather than reproducing its loader fields; add a shared preset there when needed. Supply paths through the config or environment roots; keep data and preprocessing artifacts outside the source tree. For data-dependent fine-tuning or distillation, consider teacher-generated targets via [fastgen-inference](https://github.com/NVlabs/FastGen/blob/main/skills/fastgen-inference/SKILL.md). Save the method's required supervision, including [KD pairs or trajectories](https://github.com/NVlabs/FastGen/blob/main/fastgen/datasets/README.md#knowledge-distillation-loaders). 6. **Verify.** Iterate the real loader and a prepared batch (`prepare_batch`) in the proper runtime; check keys, shapes, dtypes, ranges, captions, pairing, negative conditions and modality lengths. Use enough batches and ranks to expose empty worker or shard splits, and keep a manifest of usable counts. Before prompt-only training, sample the teacher on a few real training prompts to confirm they are usable.

Report provenance, the split/count manifest, dataset location, data-config path and the observed batch contract. For empty or short batches inspect tar members, `key_map`, filters, shard/worker partitioning and `files_map` before touching the network; report corrupt or excluded samples instead of counting them.

Read more
@nvidia
Ships withskills

Official, NVIDIA-verified Agent Skills for Claude Code, Codex, and other coding agents.

Stars on GitHub

Momentum

stars in total
4.0k
Star history of NVIDIA/skills on GitHub, a chart by star-history.com

Other skills on skills.

nvidia-skill-finder

nvidia-skill-finder

Use for NVIDIA-related requests where an NVIDIA skill might help, even if the user did not ask for a skill. Trigger on NVIDIA…

@nvidia@nvidiaInstall Skill
accelerated-computing-cudf

accelerated-computing-…

Official NVIDIA-authored guidance for NVIDIA cuDF GPU DataFrames, pandas acceleration, dask-cuDF, ETL, joins, groupby,…

@nvidia@nvidiaInstall Skill
amc-run-rtsp-calibration

amc-run-rtsp-calibrati…

Calibrate a new dataset from live RTSP camera streams via the AutoMagicCalib REST API. Use when the user provides RTSP URLs or…

@nvidia@nvidiaInstall Skill
amc-run-sample-calibration

amc-run-sample-calibra…

Run end-to-end calibration on the shipped sample dataset (sdg_08_2_sample_data_010926.zip) against a running AMC microservice.…

@nvidia@nvidiaInstall Skill
amc-run-video-calibration

amc-run-video-calibrat…

Calibrates pre-recorded `cam_*.mp4` datasets through the AutoMagicCalib REST API. Use for user-supplied local MP4s; route live…

@nvidia@nvidiaInstall Skill

More skills from other plugins.

brainstorming
Auto-invoked

brainstorming

You MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or…

@obra@obraInstall Skill
ask-matt

ask-matt

Ask which skill or flow fits your situation. A router over the skills in this repo.

skills2w309k
@mattpocock@mattpocockInstall Skill
accessibility
Auto-invoked

accessibility

Design, implement, and audit accessible UI to WCAG 2.2 Level AA across Web, iOS, and Android — semantic ARIA roles and labels,…

ecc2w293k
@affaan-m@affaan-mInstall Skill
compiler-commit

compiler-commit

Use when you want to verify compiler changes and commit with the correct convention. Runs tests, lint, and format, then commits…

react5d252k
@facebook@facebookInstall Skill

Questions about fastgen-dataset.

Which coding agents can use fastgen-dataset?
fastgen-dataset installs in Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, OpenCode and Windsurf with the skills CLI, using each agent's flag shown on this page. Flowy's auto-invocation, which fires a skill when your prompt matches, runs in Claude Code only.