Skip to content
Development
Skill

/fastgen-runtime

Resolve the execution context for an NVIDIA FastGen command: checkout and interpreter, config path and override syntax, output/cache/data roots, run identity, and distributed launch variables. Use it when preparing or debugging execution; method selection belongs to

From plugin
skills
4k200 skills

Claude Code

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

SKILL.md

fastgen-runtime.SKILL.md
name: fastgen-runtime
description: >-
  Resolve the execution context for an NVIDIA FastGen command: checkout and interpreter, config path and override syntax, output/cache/data roots, run identity, and distributed launch variables. Use it when preparing or debugging execution; method selection belongs to fastgen-configure.
license: Apache-2.0
metadata:
  author: "Julius Berner <jberner@nvidia.com>"
  domain: ml

FastGen runtime

Shared prerequisite for every FastGen command. The checkout's code and READMEs are authoritative; this skill says where to look and what to verify. The [configuration README](https://github.com/NVlabs/FastGen/blob/main/fastgen/configs/README.md) owns syntax, environment variables and credentials; the [troubleshooting guide](https://github.com/NVlabs/FastGen/blob/main/fern/docs/troubleshooting.mdx) owns failure diagnosis.

1. **Checkout and interpreter.** Locate the checkout separately from this skill directory and read its READMEs rather than assuming another version matches. Apply [fastgen-setup](https://github.com/NVlabs/FastGen/blob/main/skills/fastgen-setup/SKILL.md) only for missing work. Select the interpreter and devices the task actually uses and obey local scheduler, container and storage rules; importing GPU dependencies or resolving a config may already need an allocation. 2. **Config and overrides.** Run from the repository root (or put it on `PYTHONPATH`): training enters through the root [train.py](https://github.com/NVlabs/FastGen/blob/main/train.py). `--config` is a relative `.py` path exposing `create_config()`, and the loader in [config_utils.py](https://github.com/NVlabs/FastGen/blob/main/fastgen/configs/config_utils.py) rejects absolute paths and `..`. Script arguments precede the single `-` required by `override_config_with_opts` to introduce Hydra overrides ([command-line arguments](https://github.com/NVlabs/FastGen/blob/main/fastgen/configs/README.md#command-line-arguments)). `--dryrun` resolves the config and exits before the process group is initialised and before the global batch is rounded to accumulation steps; it tests neither. 3. **Roots.** Set an absolute, persistent `FASTGEN_OUTPUT_ROOT` and respect the data, checkpoint and Hugging Face cache roots derived from it (`.env` is loaded on import; see [environment variables](https://github.com/NVlabs/FastGen/blob/main/fastgen/configs/README.md#environment-variables)). Check the documented cache layout before pre-downloading and enable offline mode only once every needed file is cached. Keep credentials out of snapshots and logs. 4. **Run identity.** Independent runs need distinct `log_config.project`/`group`/`name`: the [run directory](https://github.com/NVlabs/FastGen/blob/main/fastgen/configs/README.md#run-directory) holds the resolved config, checkpoints and the W&B id, and resume is on by default. Also check the checkpoint destination: [resolve_save_dir](https://github.com/NVlabs/FastGen/blob/main/fastgen/utils/scripts.py) preserves absolute paths and S3 URIs, so those must be distinct for independent runs. 5. **Launch.** Check the entry point's distributed support before building a launcher: training distributes only with `trainer.ddp` or `trainer.fsdp`, and the standard inference scripts do not shard models. Match `RANK`, `LOCAL_RANK` and `WORLD_SIZE` to the processes launched; stale launcher variables make setup wait for peers ([distributed startup](https://github.com/NVlabs/FastGen/blob/main/fern/docs/troubleshooting.mdx#distributed-startup-fails-or-waits-for-peers)). Verify actual world size, wrapping, accumulation and effective batch in startup logs; a review-only plan should identify these checks as pending.

Report the selected checkout, interpreter, config, roots and launch context. For import failures check the imported package path and working directory first; for access failures distinguish missing files, authentication and model terms, and never substitute another model silently. Linked skills live in the installed catalog or in the checkout's `skills/` directory.

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-runtime.

Which coding agents can use fastgen-runtime?
fastgen-runtime 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.