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 products, hardware, software,…
Create and modify NeMo AutoModel training and evaluation recipes, including YAML structure, builders, and execution flow.
$ npx -y skills add NVIDIA/skills --skill nemo-automodel-recipe-development --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/nemo-automodel-recipe-developmentContext preview
The summary Claude sees to decide when to auto-load this skill.
Create and modify NeMo AutoModel training and evaluation recipes, including YAML structure, builders, and execution flow.
name: nemo-automodel-recipe-development
description: Create and modify NeMo AutoModel training and evaluation recipes, including YAML structure, builders, and execution flow.
when_to_use: Creating or modifying training, SFT, or eval recipes, adding new YAML config fields, debugging recipe construction or trainer issues, or understanding the recipe execution flow.
license: Apache-2.0
metadata:
author: NVIDIA
tags:
- nemo-automodel
- recipe-development<!-- NVSkills signature refresh requested for AM-519. -->
For recipe questions, answer with the smallest complete path to action:
1. Name the relevant recipe file or YAML section. 2. List the builder functions or config keys involved. 3. Include a minimal YAML or command example when the question asks how to configure something. 4. End with a local validation command or tiny CPU-compatible test.
For conceptual recipe questions, answer from this skill without inspecting the repository or loading other AutoModel skills unless the user asks you to edit files. Keep the response focused on recipe YAML, builders, CLI routing, tests, and local validation.
Use these compact answer patterns for common questions:
`nemo_automodel/recipes/`, update the model, dataset or dataloader, optimizer, loss, LR scheduler, step scheduler, and checkpoint builders, register a recipe alias only if adding a new recipe class, add example YAML under `examples/`, then add a tiny CPU-compatible unit test and run `automodel <config.yaml>`.
explain that sibling keys become keyword arguments, show optimizer and dataset examples, and mention nested CLI overrides such as `--optimizer.lr`.
`step_scheduler.checkpoint_interval`, `validation_dataset`, `restore_from.path`, and consolidated safetensors; include the minimal YAML snippet from this skill.
For validation and checkpointing, always name:
compatibility.
Use this skill for recipe construction and execution-flow questions: YAML structure, `_target_` callables, builder functions, validation datasets, checkpoint configuration, CLI route registration, and recipe-specific tests.
Do not use this skill for standalone distributed strategy selection, cluster launcher configuration, or model architecture onboarding unless the user is asking how those choices appear inside an AutoModel recipe YAML.
CLI (automodel config.yaml)
-> app.py resolves the config's recipe target
-> recipe script (e.g. train_ft.py) main(config_path)
-> Recipe class .setup() builds all components
-> .run_train_validation_loop() executes trainingRecipes inherit from `BaseRecipe` and implement two methods:
All components are constructed through dedicated builder functions:
Components are applied in this strict order after building:
1. PEFT (LoRA, etc.) 2. FP8 quantization 3. QAT (quantization-aware training) 4. Checkpoint load / restore 5. Parameter freezing 6. Sharding (FSDP2, Megatron-FSDP, DDP) 7. Device placement 8. `torch.compile` 9. Context parallelism hooks
A complete recipe config follows this structure:
step_scheduler: max_steps: 1000 num_epochs: 1 grad_accumulation_steps: 4 val_check_interval: 100 checkpoint_interval: 500 log_interval: 10 dist_env: master_addr: localhost master_port: 29500 rng: seed: 42 model: _target_: nemo_automodel.NeMoAutoModelForCausalLM.from_pretrained pretrained_model_name_or_path: meta-llama/Llama-3.2-1B dtype: float32 # additional model kwargs passed to the constructor compile: enabled: false backend: inductor clip_grad_norm: max_norm: 1.0 distributed: strategy: fsdp2 # fsdp2 | megatron_fsdp | ddp dp_size: auto tp_size: 1 cp_size: 1 loss_fn: _target_: torch.nn.CrossEntropyLoss dataset: _target_: nemo_automodel.datasets.squad.SquadDataset tokenizer_name_or_path: meta-llama/Llama-3.2-1B max_seq_length: 2048 validation_dataset: _target_: nemo_automodel.datasets.squad.SquadDataset split: validation packed_sequence: enabled: false dataloader: batch_size: 4 num_workers: 4 pin_memory: true optimizer: _target_: torch.optim.AdamW lr: 2.0e-5 weight_decay: 0.01 lr_scheduler: _target_: nemo_automodel.schedulers.CosineAnnealingWarmup warmup_steps: 50 min_lr: 1.0e-6
For new full-parameter training with `torch.optim.Adam`/`AdamW`, explicitly set `model.dtype: float32` on `NeMoAutoModel` loaders for fp32 master weights and Adam moments. Configure compute precision separately (FS
Official, NVIDIA-verified Agent Skills for Claude Code, Codex, and other coding agents.
Use for NVIDIA-related requests where an NVIDIA skill might help, even if the user did not ask for a skill. Trigger on NVIDIA products, hardware, software,…
Official NVIDIA-authored guidance for NVIDIA cuDF GPU DataFrames, pandas acceleration, dask-cuDF, ETL, joins, groupby, CSV/Parquet I/O, nullable semantics, and…
Use when asked to install, deploy, run, validate, troubleshoot, or stop NVIDIA AI-Q Blueprint infrastructure.
Use when asked to run deep research or AI-Q research through a reachable NVIDIA AI-Q Blueprint backend.
Calibrate a new dataset from live RTSP camera streams via the AutoMagicCalib REST API. Use when the user provides RTSP URLs or asks to calibrate live cameras;…
Run end-to-end calibration on the shipped sample dataset (sdg_08_2_sample_data_010926.zip) against a running AMC microservice. Use when user says 'test sample…