fastgen-train
| additional_license_urls | https://github.com/NVIDIA/skills/blob/4c28452d0f686e185de5d2fd0d445ab85308a380/LICENSE-CC-BY-4.0 |
|---|---|
| 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 |
| license_url | https://github.com/NVIDIA/skills/blob/4c28452d0f686e185de5d2fd0d445ab85308a380/LICENSE-APACHE |
| metadata | {"author": "Julius Berner <[email protected]>", "domain": "ml"} |
| name | fastgen-train |
| publisher | NVIDIA |
| repository_url | https://github.com/NVIDIA/skills |
| source_url | https://github.com/NVIDIA/skills/blob/4c28452d0f686e185de5d2fd0d445ab85308a380/skills/fastgen-train/SKILL.md |
| upstream_copyright | Copyright (c) 2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. |
| upstream_license | Apache-2.0 |
| upstream_revision | 4c28452d0f686e185de5d2fd0d445ab85308a380 |
Train or distill with FastGen
Apply fastgen-runtime first. The
README and the configuration README
own launch commands, run directories and checkpoint storage; the
troubleshooting guide owns failure diagnosis. Read
run contracts to bound a run, read its logs or continue a
checkpoint.
- Goal and inputs. Decide whether the deliverable is a smoke test, a bounded
experiment, a quality target or a resumed run. Use
fastgen-configure for the recipe and
fastgen-dataset for data; check every enabled
loss, and the validation loader, against the real-data versus prompt-only contract. - Weights versus state. Distinguish external weights, warm starts and full resume;
the checkpoint table
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). - Bound and observe. Before launching set
trainer.max_iter,
trainer.save_ckpt_iter,trainer.validation_iter,trainer.logging_iterand the
W&B destination; keep the algorithmic callbacks. For a smoke test log scalars and media
every iteration through the W&B callback and run
long enough to cover a student update and every alternating optimizer phase. - Launch. Enable exactly one of
trainer.ddp/trainer.fsdpfor multi-GPU runs; a
launcher alone distributes nothing. Budget memory for teacher, student, auxiliary
networks, optimizer state and preprocessors
(CUDA out of memory),
then confirm the runtime startup checks
and, when requested, online tracker uploads. - Monitor. Check finite losses and gradients, parameter updates and samples with
fastgen-validate; compare fixed
held-out inputs before and after training with
fastgen-inference. 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 atrainer.auto_resumeintegration (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.
Copyright (c) 2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
The license files are attached. Apache 2.0 · CC BY 4.0
The attached ZIP contains the pinned supporting files and applicable license notices.
Like how this is organised?
Build your own Memory tree on knowen.md: notes, decisions and tasks in one connected markdown graph, shared with your team and your AI agents.