fastgen-add-network

Created about 2 hours ago

attributes
additional_license_urlshttps://github.com/NVIDIA/skills/blob/4c28452d0f686e185de5d2fd0d445ab85308a380/LICENSE-CC-BY-4.0
descriptionIntegrate a new diffusion or flow model, or a task variant such as I2V, editing or causal generation, into NVIDIA FastGen as a FastGenNetwork adapter with preprocessors, configs, method capabilities, reference parity and trainability. Use it whenever a model family or checkpoint is not yet supported.
licenseApache-2.0
license_urlhttps://github.com/NVIDIA/skills/blob/4c28452d0f686e185de5d2fd0d445ab85308a380/LICENSE-APACHE
metadata{"author": "Julius Berner <[email protected]>", "domain": "ml"}
namefastgen-add-network
publisherNVIDIA
repository_urlhttps://github.com/NVIDIA/skills
source_urlhttps://github.com/NVIDIA/skills/blob/4c28452d0f686e185de5d2fd0d445ab85308a380/skills/fastgen-add-network/SKILL.md
upstream_copyrightCopyright (c) 2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
upstream_licenseApache-2.0
upstream_revision4c28452d0f686e185de5d2fd0d445ab85308a380

Add a FastGen network

Apply fastgen-develop
and fastgen-runtime. Start with the
network README and the interface docstrings in
network.py and module.py,
then inspect the closest maintained adapter for the same task. Read
network contracts before implementing and load its
conditional sections only for the capabilities being added. For a new signal type also
use fastgen-add-modality.

  1. Source. Verify the upstream model, its revision, code, weights, access and
    supported modes. Diffusers implementations are reusable, but check the authors'
    reference for precision and preprocessing defaults, and whether the checkpoint's
    precision or quantisation supports training. Never substitute a similarly named model.
  2. Trace upstream. Preprocessing, tokenizer and chat templates, conditioning and
    masks, VAE scaling and packing, position encodings, time convention, scheduler grid
    and guidance recipe, plus modality geometry and duration/FPS where relevant.
    Distinguish native edit or reference conditioning from initialising noisy latents.
  3. Implement. Add the adapter under fastgen/networks/<Name>/ and its presets in
    net.py. Follow the module lifecycle, preprocessing,
    conditioning, output-transformation and sampling contracts; share task-independent
    components such as text encoders and VAEs, and do not embed an inference pipeline as
    the training forward. Load weights through the documented
    pretrained-model conventions so
    local mirrors and offline mode keep working. Audit precision, buffer reconstruction,
    meta loading and sharding for the network and every preprocessor.
  4. Capabilities. Trace the requested methods' forward and loss calls; add feature and
    discriminator gradients, second-time inputs, PDD, LoRA, multimodal or causal support
    as needed and check each independently. SFT support implies none of them.
    Add and run small forward, conditioning and capability regressions following
    tests/test_network*.py and tests/test_conditioning.py before expensive parity or
    training runs.
  5. Configs. Use fastgen-configure for SFT and
    the requested method configs, with negative-prompt presets where the upstream guidance
    needs them and none where it does not.
  6. Parity. Follow validate a new network
    with fastgen-validate and
    fastgen-inference, and resolve unexplained
    differences before training.
  7. Train and document. Use fastgen-train for a
    short SFT run with media every iteration, then the requested methods; compare outputs
    before and after and reload a checkpoint. Update the README tables (network list,
    pretrained models).

Report implementation and config paths and per-task parity, training and checkpoint
results. If the loss decreases while outputs degrade, inspect input normalisation,
prediction and time convention and guidance before tuning the optimizer; mark
unsupported capabilities explicitly.


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.