tao-train-single-step — скилл для Claude Code: что делает
Запускает стандартный пайплайн обучения, оценки и экспорта моделей NVIDIA TAO без циклов AutoML. Пригодится для одиночного дообучения на размеченном датасете.
npx skills add NVIDIA/skills --skill tao-train-single-step -a claude-codeЧто делает tao-train-single-step
Скилл настраивает классическое обучение с учителем для архитектур NVIDIA TAO (включая clip, nvdinov2 или grounding_dino). Он последовательно готовит этапы тренировки, проверки метрик при наличии датасета валидации и финального экспорта артефактов. Если для модели включён AutoML, скилл перенаправит процесс в модуль автоматического подбора параметров, пока automl_policy явно не переведён в значение off.
Внутри процесс опирается на контейнеры: скрипт scripts/resolve_tao_image.py подбирает образ среды, который агент согласует с пользователем перед генерацией файлов запуска. Виртуальные окружения Python на хосте или uv используются исключительно как панель управления. Само обучение всегда остаётся изолированным внутри контейнера.
Без установленных на хосте Docker и nvidia-container-toolkit запуск завершится ошибкой. Если рабочая сессия не инициализирована через единый плагин TAO, сначала потребуется запустить скилл tao-setup для проверки ключей доступа и окружения.
Какие задачи решает
- запустить одиночный цикл fine-tuning для модели NVIDIA TAO
- отключить AutoML для прямого обучения без подбора гиперпараметров
- проверить и экспортировать веса после завершения тренировки
- подобрать правильный Docker-образ для выбранной нейросети
Примеры запросов агенту
- Запусти одиночное обучение модели grounding_dino на датасете s3://bucket/train/ без AutoML
- Начни обычный train run для nvdinov2 с интервалом отчётов раз в 10 минут
- Обучи clip на s3://data/train, сделай eval и экспортируй итоговую модель
Как установить tao-train-single-step
1Через Skills CLI (Vercel)
npx skills add NVIDIA/skills --skill tao-train-single-step -a claude-code2Вручную: положить файлы
~/.claude/skills/tao-train-single-step/SKILL.mdПапка скилла целиком; для одного проекта — .claude/skills/tao-train-single-step/
1Через Skills CLI (Vercel)
npx skills add NVIDIA/skills --skill tao-train-single-step -a codex2Вручную: положить файлы
.agents/skills/tao-train-single-step/SKILL.mdДля всех проектов — ~/.agents/skills/
1Через Skills CLI (Vercel)
npx skills add NVIDIA/skills --skill tao-train-single-step -a cursor2Вручную: положить файлы
.cursor/skills/tao-train-single-step/SKILL.mdCursor читает и .agents/skills/, и .claude/skills/
1GitHub CLI
gh skill install NVIDIA/skills tao-train-single-step2Вручную: положить файлы
.github/skills/tao-train-single-step/SKILL.md1Через Skills CLI (Vercel)
npx skills add NVIDIA/skills --skill tao-train-single-step -a gemini-cli2Командой платформы
gemini skills install https://github.com/NVIDIA/skills --path skills/tao-train-single-stepВручную: положить файлы
.devin/skills/tao-train-single-step/SKILL.mdСтарый путь .windsurf/skills/ тоже читается
Через Skills CLI (Vercel)
npx skills add NVIDIA/skills --skill tao-train-single-step -a opencodeClaude.ai
Упакуйте папку в zip и загрузите в Settings → Capabilities → Skills
По шагам, с командами для каждой платформы: Как установить скилл в Claude Code: пять способов
Вопросы о tao-train-single-step
Как установить tao-train-single-step в Claude Code?
Выполните команду npx skills add NVIDIA/skills --skill tao-train-single-step -a claude-code в терминале.
Что делает скилл tao-train-single-step?
Он автоматизирует этапы обучения, валидации и экспорта для моделей TAO на платформах вроде Docker, Kubernetes или Slurm без усложнённых циклов аугментации данных.
Что требуется подготовить на сервере перед запуском?
На хосте обязательно должны присутствовать Docker и nvidia-container-toolkit. Также нужен URI тренировочного набора данных и предварительный запуск tao-setup, если среда запускается автономно.
Исходный текст
SKILL.md · Apache-2.0
--- name: tao-train-single-step description: Standard single-step train/eval/export workflow for any TAO model. Use when training a TAO model on a dataset without iterative data augmentation, AutoML, or DEFT loops. Trigger phrases include "single train run", "train then evaluate then export", "plain TAO training", "normal training", "no AutoML", "skip the loop". Routes through the per-model SKILL.md for action specifics and through `tao-launch-workflow` for platform/credentials/dataset intake. license: Apache-2.0 compatibility: Requires docker + nvidia-container-toolkit. Workflows declare additional requirements. metadata: author: NVIDIA Corporation version: "0.1.0" allowed-tools: Read Bash Write tags: - training - single-step - generic --- # Normal Train > **Standalone install?** If this session was not initialized by the TAO skill bank plugin, run the `tao-setup` skill first (host preflight, credentials, cross-skill discovery). Standard supervised fine-tuning: train a model on a labeled dataset, optionally evaluate, then optionally export. The most common TAO workflow for adapting a pretrained model to a new dataset. ## Steps 1. **train** — executed through AutoML when the selected model has `automl_enabled: true` and `automl_policy` is `on`; set `automl_policy=off` for a plain single training run 2. **eval** — executed if `eval_dataset_uri` is resolved 3. **export** — optional, on user request after training ## Prerequisites The selected model skill's resolved `container_image` is the default training runtime. Do not replace it with a host venv, `uv` environment, generic training image, or hand-written trainer unless the user explicitly requests that execution mode. SDK/controller Python environments are control-plane-only; the model action remains container-backed. ### Required - **model**: A compatible TAO model (e.g., clip, nvdinov2, grounding_dino) - **train_dataset_uri**: URI of the training dataset (e.g., `s3://bucket/train/`) - **platform**: Discover the execution platforms from the installed platform skills (tao-run-on-docker / -slurm / -kubernetes / -brev, plus any external one); on a runtime that surfaces only the core router skills, read `skills/platform/tao-run-on-*/SKILL.md` frontmatter. - **container image confirmation**: resolve the default image from the selected model/action config, show it to the user, and require confirmation or `image=<override>` before creating runner files or submitting training. ### Optional - **eval_dataset_uri**: Some model skills mark this as required — check the resolved model skill before treating it as optional. - **base_checkpoint**: If not provided, defaults to the NGC pretrained checkpoint listed in the model skill, or trains from scratch if no NGC checkpoint exists. - **automl_policy**: `on` by default; set `off` to bypass model-level AutoML for this run while leaving model metadata unchanged. Use only `on` / `off` in new launch settings. - **image override**: Use `image=<override>` to pin a specific TAO toolkit build after reviewing the resolved default. ## Launch Intake After the user confirms they want this standard train/eval/export workflow, ask which supported platform they intend to run on. Discover the execution platforms from the installed platform skills (tao-run-on-docker / -slurm / -kubernetes / -brev, plus any external one); on a runtime that surfaces only the core router skills, read `skills/platform/tao-run-on-*/SKILL.md` frontmatter. Before creating a plain train runner, inspect the selected model's metadata with `scripts/list_tao_models.py --scope automl --format json` or read `skills/models/<network>/references/skill_info.yaml`. If `automl_enabled` is true and the helper reports a valid train schema for that model, route the train stage through `skills/applications/tao-run-automl` by default. Only stay on the plain train path when `automl_policy=off`, the user explicitly asks for no HPO/AutoML, or AutoML is enabled but not runnable because the model's train schema is not packaged yet. Also ask whether long-running monitoring should stay enabled and how many minutes between status updates. Defaults: enabled, 5 minutes. After the model/action are known, run `scripts/resolve_tao_image.py --model <network> --action train --format text` and ask whether to use the resolved image or an `image=<override>`. Do not create the tao-train-single-step runner until the image is confirmed. After platform selection, read the chosen platform skill's `## Credentials` section and `references/skill_info.yaml` (required_credentials / credential_groups) and ask only for credentials relevant to that platform, plus any selected-model credentials. Do not ask for unrelated platform credentials.
© NVIDIA Corporation · Apache-2.0 · NVIDIA/skills