Loading...
Loading...
Compare original and translation side by side
image=<override>image=<override>${TAO_SKILL_BANK_PATH:-~/tao-skills-external}/scripts/list_tao_platforms.py \
--skill-bank ${TAO_SKILL_BANK_PATH:-~/tao-skills-external} --format textlong_running_enabled=truestatus_interval_minutes=5PENDINGstatus_interval_minutesfinallong_running_enabled=true${TAO_SKILL_BANK_PATH:-~/tao-skills-external}/scripts/list_tao_platforms.py \
--skill-bank ${TAO_SKILL_BANK_PATH:-~/tao-skills-external} --format textlong_running_enabled=truestatus_interval_minutes=5PENDINGstatus_interval_minutesfinallong_running_enabled=trueI need these launch inputs before I can create specs or runner files:
1. Execution platform: lepton, brev, slurm, local-docker, or kubernetes.
2. Dataset inputs. You can provide either mode:
A) Root mode: give train/eval roots and I map required files automatically.
Example Cosmos-RL:
train_root=/lustre/fsw/.../cosmos/train
-> custom.train_dataset.annotation_path=train_root/annotations.json
-> custom.train_dataset.media_path=train_root
B) Direct spec mode: give the exact config/spec parameters yourself.
Example:
custom.train_dataset.annotation_path=/lustre/fsw/.../train_annotations.json
custom.train_dataset.media_path=/lustre/fsw/.../videos_train.tar.gz
custom.val_dataset.annotation_path=/lustre/fsw/.../eval_annotations.json
custom.val_dataset.media_path=/lustre/fsw/.../eval_videos/
Platform examples:
- SLURM/Lustre: /lustre/fsw/.../data/train or lustre:///lustre/fsw/.../data/train
- Lepton/Brev/Kubernetes: s3://bucket/path/train and s3://bucket/path/eval
- local-docker: /data/tao/<model>/train or file:///data/tao/<model>/eval
3. Container image. I will resolve the default from packaged model metadata and
show it before launch, for example:
default image for <model>/<action>: <resolved container image>
Use this image, or provide image=<override> to pin a different TAO build.
4. Compute shape required by the model, for example GPUs/nodes.
5. Required credentials from platform/model docs, for example HF_TOKEN for
gated Hugging Face models.
6. Monitoring preference. By default I monitor in this chat and post progress
every 5 minutes; choose 1-2 minutes for smoke tests or 10-15 minutes for
long training.我需要以下启动输入才能创建规格或运行器文件:
1. 执行平台:lepton, brev, slurm, local-docker, or kubernetes.
2. 数据集输入。您可以提供以下任一模式:
A) 根目录模式:提供训练/评估根目录,我会自动映射所需文件。
Cosmos-RL示例:
train_root=/lustre/fsw/.../cosmos/train
-> custom.train_dataset.annotation_path=train_root/annotations.json
-> custom.train_dataset.media_path=train_root
B) 直接规格模式:自行提供确切的配置/规格参数。
示例:
custom.train_dataset.annotation_path=/lustre/fsw/.../train_annotations.json
custom.train_dataset.media_path=/lustre/fsw/.../videos_train.tar.gz
custom.val_dataset.annotation_path=/lustre/fsw/.../eval_annotations.json
custom.val_dataset.media_path=/lustre/fsw/.../eval_videos/
平台示例:
- SLURM/Lustre: /lustre/fsw/.../data/train 或 lustre:///lustre/fsw/.../data/train
- Lepton/Brev/Kubernetes: s3://bucket/path/train 和 s3://bucket/path/eval
- local-docker: /data/tao/<model>/train 或 file:///data/tao/<model>/eval
3. 容器镜像。我会从打包的模型元数据中解析默认镜像,并在启动前展示,例如:
default image for <model>/<action>: <resolved container image>
使用此镜像,或提供image=<override>来指定不同的TAO构建版本。
4. 模型所需的计算形态,例如GPUs/nodes.
5. 平台/模型文档中要求的凭证,例如用于受限Hugging Face模型的HF_TOKEN。
6. 监控偏好。默认我会在此聊天中监控,每5分钟发布一次进度;冒烟测试可选择1-2分钟,长时训练可选择10-15分钟。${TAO_SKILL_BANK_PATH:-~/tao-skills-external}/scripts/resolve_tao_image.py \
--skill-bank ${TAO_SKILL_BANK_PATH:-~/tao-skills-external} \
--model <network> --action <action> --format textskills/models/<network>/config.jsonSkillBank().get_model_config(network_arch)actions.<action>.container_imageactions.<action>.imagecontainer_imageimageContainer image for <network>/<action>:
default=<resolved image>
Use this image, or provide image=<override>?image${TAO_SKILL_BANK_PATH:-~/tao-skills-external}/scripts/resolve_tao_image.py \
--skill-bank ${TAO_SKILL_BANK_PATH:-~/tao-skills-external} \
--model <network> --action <action> --format textSkillBank().get_model_config(network_arch)skills/models/<network>/config.jsonactions.<action>.container_imageactions.<action>.imagecontainer_imageimageContainer image for <network>/<action>:
default=<resolved image>
Use this image, or provide image=<override>?image${TAO_SKILL_BANK_PATH:-~/tao-skills-external}/scripts/list_tao_platforms.py \
--skill-bank ${TAO_SKILL_BANK_PATH:-~/tao-skills-external} \
--platform <platform> --format texts3://only_whenSSH_KEY_PATHSSH_AUTH_SOCK${TAO_SKILL_BANK_PATH:-~/tao-skills-external}/scripts/list_tao_platforms.py \
--skill-bank ${TAO_SKILL_BANK_PATH:-~/tao-skills-external} \
--platform <platform> --format texts3://only_whenSSH_KEY_PATHSSH_AUTH_SOCKcustom.train_dataset.annotation_path=<root>/annotations.jsoncustom.train_dataset.media_path=<root>custom.train_dataset.annotation_path=/lustre/.../train_annotations.jsoncustom.train_dataset.media_path=/lustre/.../videos.tar.gz/lustre/fsw/portfolios/<team>/<your-dir>/data/<model>/train<your-dir>/lustre/...s3://bucket/path/trains3://bucket/path/eval/data/tao/<model>/traincustom.train_dataset.annotation_path=<root>/annotations.jsoncustom.train_dataset.media_path=<root>custom.train_dataset.annotation_path=/lustre/.../train_annotations.jsoncustom.train_dataset.media_path=/lustre/.../videos.tar.gz/lustre/fsw/portfolios/<team>/<your-dir>/data/<model>/train<your-dir>/lustre/...s3://bucket/path/trains3://bucket/path/eval/data/tao/<model>/train${TAO_SKILL_BANK_PATH:-~/tao-skills-external}/scripts/check_tao_launch_preflight.py \
--skill-bank ${TAO_SKILL_BANK_PATH:-~/tao-skills-external} \
--platform <platform> \
--path train_annotation=<path> \
--path train_media=<path>--json-required-field <path-label>=<field>[,<field>...]--json-required-field train_annotation=video_fps--json-required-field val_annotation=video_fps--skip-platform-accessSLURM_USERSLURM_HOSTNAMESLURM_PARTITIONSSH_KEY_PATHSSH_AUTH_SOCKResource defaultsSLURM_TIME_HOURS=4SLURM_TIMEOUT_HOURS=3.8nohupSLURM_HOSTNAMEssh -o BatchMode=yesSSH_KEY_PATH=/path/to/private_keyssh-keygen -t ed25519 -N "" -f ~/.ssh/id_ed25519ssh-copy-id -i ~/.ssh/id_ed25519.pub <SLURM_USER>@<login-host>ssh-keyscan -H <login-host> >> ~/.ssh/known_hostschmod 600 ~/.ssh/id_ed25519ssh -o BatchMode=yes -i ~/.ssh/id_ed25519 <SLURM_USER>@<login-host> 'hostname'SSH_KEY_PATH=~/.ssh/id_ed25519test -eaws s3 lss3://${TAO_SKILL_BANK_PATH:-~/tao-skills-external}/scripts/check_tao_launch_preflight.py \
--skill-bank ${TAO_SKILL_BANK_PATH:-~/tao-skills-external} \
--platform <platform> \
--path train_annotation=<path> \
--path train_media=<path>--json-required-field <path-label>=<field>[,<field>...]--json-required-field train_annotation=video_fps--json-required-field val_annotation=video_fps--skip-platform-accessSLURM_USERSLURM_HOSTNAMESLURM_PARTITIONSSH_KEY_PATHSSH_AUTH_SOCKResource defaultsSLURM_TIME_HOURS=4SLURM_TIMEOUT_HOURS=3.8nohupSLURM_HOSTNAMEssh -o BatchMode=yesSSH_KEY_PATH=/path/to/private_keyssh-keygen -t ed25519 -N "" -f ~/.ssh/id_ed25519ssh-copy-id -i ~/.ssh/id_ed25519.pub <SLURM_USER>@<login-host>ssh-keyscan -H <login-host> >> ~/.ssh/known_hostschmod 600 ~/.ssh/id_ed25519ssh -o BatchMode=yes -i ~/.ssh/id_ed25519 <SLURM_USER>@<login-host> 'hostname'SSH_KEY_PATH=~/.ssh/id_ed25519test -es3://aws s3 ls