fastgen-train
/fastgen-train
Run, resume or troubleshoot NVIDIA FastGen training: SFT or distillation with train.py, bounded smoke tests, distributed launches, checkpoints, validation and W&B evidence. Use it whenever training is executed or a training run misbehaves.
Assessment and security
- Files in this package
- 13
- Scripts
- 1
- HTML comments
- 0
- URLs in SKILL.md
- 13
No signals detected. Repository changed on 12.11.2026, without references to retired models or APIs.
Apache-2.0, otwarta: można używać i zmieniać, z zachowaniem licencji i informacji o zmianach.
- 1 scripts in this package. Review them before installing, as Claude may execute them.
Scripts: evals/files/initial_config.py
What it does and when to use it
Run, resume or troubleshoot NVIDIA FastGen training: SFT or distillation with train.py, bounded smoke tests, distributed launches, checkpoints, validation and W&B evidence. Use it whenever training is executed or a training run misbehaves.
Original author description
Run, resume or troubleshoot NVIDIA FastGen training: SFT or distillation with train.py, bounded smoke tests, distributed launches, checkpoints, validation and W&B evidence. Use it whenever training is executed or a training run misbehaves.
How it works
SKILL.md has no level-two headings · 46 lines, 344 words
SKILL.md preview
--- name: fastgen-train description: >- Run, resume or troubleshoot NVIDIA FastGen training: SFT or distillation with train.py, bounded smoke tests, distributed launches, checkpoints, validation and W&B evidence. Use it whenever training is executed or a training run misbehaves. license: Apache-2.0 metadata: author: "Julius Berner <jberner@nvidia.com>" domain: ml --- # Train or distill with FastGen Apply [fastgen-runtime](https://github.com/NVlabs/FastGen/blob/main/skills/fastgen-runtime/SKILL.md) first. The [README](https://github.com/NVlabs/FastGen/blob/main/README.md#quick-start) and the [configuration README](https://github.com/NVlabs/FastGen/blob/main/fastgen/configs/README.md) own launch commands, run directories and checkpoint storage; the [troubleshooting guide](https://github.com/NVlabs/FastGen/blob/main/fern/docs/troubleshooting.mdx) owns failure diagnosis. Read [run contracts](references/run-contract.md) to bound a run, read its logs or continue a checkpoint. 1. **Goal and inputs.** Decide whether the deliverable is a smoke test, a bounded experiment, a quality target or a resumed run. Use [fastgen-configure](https://github.com/NVlabs/FastGen/blob/main/skills/fastgen-configure/SKILL.md) for the recipe and [fastgen-dataset](https://github.com/NVlabs/FastGen/blob/main/skills/fastgen-dataset/SKILL.md) for data; check every enabled loss, and the validation loader, against the real-data versus prompt-only contract. 2. **Weights versus state.** Distinguish external weights, warm starts and full resume; the [checkpoint table](https://github.com/NVlabs/FastGen/blob/main/fern/docs/troubleshooting.mdx#a-checkpoint-fails-to-load) lists the settings and their order. Resume is on by default, so independent runs need new run identities, and FSDP runs resume only from sharded checkpoints ([checkpoint storage](https://github.com/NVlabs/FastGen/blob/main/fastgen/configs/README.md#distributed-checkpoint-storage)). 3. **Bound and observe.** Before launching set `trainer.max_iter`, `trainer.save_ckpt_iter`, `trainer.validation_iter`, `trainer.logging_iter` and the W&B destination; keep the algorithmic callbacks. For a smoke test log scalars and media every iteration through the [W&B callback](https://github.com/NVlabs/FastGen/blob/main/fastgen/callbacks/README.md) and run long enough to cover a student update and every alternating optimizer phase. 4. **Launch.** Enable exactly one of `trainer.ddp`/`trainer.fsdp` for multi-GPU runs; a launcher alone distributes nothing. Budget memory for teacher, student, auxiliary networks, optimizer state and preprocessors ([CUDA out of memory](https://github.com/NVlabs/FastGen/blob/main/fern/docs/troubleshooting.mdx#cuda-runs-out-of-memory)), then confirm the [runtime startup checks](https://github.com/NVlabs/FastGen/blob/main/skills/fastgen-runtime/SKILL.md) and, when requested, online tracker uploads. 5. **Monitor.** Check finite losses and gradients, parameter updates and samples with [fastgen-validate](https://github.com/NVlabs/FastGen/blob/main/skills/fastgen-validate/SKILL.md); compare fixed held-out inputs before and after training with [fastgen-inference](https://github.com/NVlabs/FastGen/blob/main/skills/fastgen-inference/SKILL.md). Stop on non-finite updates, broken conditioning or degrading samples before spending the budget. Verify the run's saved checkpoint and readable media before reporting success; include these artifact checks in a review-only run plan. Scheduler requeue alone saves nothing; rely on periodic checkpoints or a `trainer.auto_resume` integration (default: no-op). Report run URLs, the resolved config, executed iterations and optimizer phases, checkpoint location, compute used and validation evidence. A submitted job is not a successful run and a smoke test is not convergence. For stalls distinguish queueing, downloads, empty loaders and distributed startup; for resume mismatches inspect run identity and checkpoint contents first.
Files in this package (13)
- BENCHMARK.md 9 KB
- SKILL.md 4 KB
- skill-card.md 8 KB
- skill.oms.sig 6 KB
- evals/config.yml 1 KB
- evals/evals.json 8 KB
- evals/files/config_dmd2_wan.txt 3 KB
- evals/files/health-log.txt 1 KB
- evals/files/inference_entrypoints.md 1 KB
- evals/files/initial_config.py 2 KB
- evals/files/resume.json 2 KB
- evals/files/source.md 14 KB
- references/run-contract.md 7 KB
Versions
The database has no other skills named fastgen-train.
Database snapshot: 13.11.2026 · package version cba89f0254c4 (SHA-256 digest of the entire package)
Downloads in the last 30 days: 0 · ranking
Report a problem with this skill: harmful content, incorrect descriptions or an author’s removal request.
Similar skills
- 86fastgen-configure
Create or adapt an NVIDIA FastGen experiment config for a network, task, dataset and training objective, and pick a distillation method when none was chosen. Use it whenever a FastGen run needs a new or modified config file or non-trivial overrides. - 86fastgen-setup
Set up or repair an NVIDIA FastGen environment for a chosen task: Docker or Conda installation, credentials and model access, weight and dataset downloads, and an optional bounded smoke test. Use it before any FastGen command whenever the environment, access or inputs are not yet known to work. - 100configure
Plan, run, and monitor Fireworks training from a coding agent. Covers managed SFT, DPO, ORPO, and RFT plus Training API serverless and dedicated workflows, complete cost and parameter confirmation, active monitoring, checkpoints, deployment, resume, and teardown. Use for… - 95trl-training
Post-train LLMs with TRL (Transformers Reinforcement Learning) — SFT, DPO, GRPO, KTO, and reward-model training. Use when writing or debugging training code with the TRL Python API or the trl CLI. - 95trl-training
Post-train LLMs with TRL (Transformers Reinforcement Learning) — SFT, DPO, GRPO, KTO, and reward-model training. Use when writing or debugging training code with the TRL Python API or the trl CLI. - 100training-hub-guide
Guides users through LLM post-training with Training Hub, including installation, algorithm selection (SFT, OSFT, LoRA), hyperparameter tuning, troubleshooting OOM errors, interpreting loss curves, and leveraging backend-specific features. Use when the user is working with…