Die Oberfläche ist lokalisiert; Skill-Beschreibungen und -Dokumente werden per KI automatisch in Ihre Sprache übersetzt. Code, Befehle, Pfade und Fachbegriffe bleiben im Original, maßgeblich ist das Dokument des Autors.
Skills entdecken
Daten und Forschung · SKILL.md

training-cli-and-data

training-cli-and-data

Build Megatron-LM training commands, data preprocessing flows, launch templates, and training diagnostics.

Independent GitHub snapshot · Automated classification · Original documentation governs

Skill-Dokumentation

GitHub

name: training-cli-and-data description: "Build Megatron-LM training commands, data preprocessing flows, launch templates, and training diagnostics." metadata: disco-role: operating disable-model-invocation: true license: NOASSERTION

training-cli-and-data

Use this sub-skill when the user asks to launch or debug Megatron-LM training, prepare text data, use mock data, scale data loading, or translate model/data/parallelism choices into a safe command.

Read first

Route by task

TaskAction
"Run a first training smoke"Start with mock data and a tiny number of iterations; validate environment first with install-and-environment.
"Prepare my data"Confirm JSONL keys/tokenizer, generate .bin/.idx, optionally merge and prebuild cache.
"Scale to multi-node"Confirm shared worktree/data/checkpoint paths, compute TP/PP/CP/DP via core-models, then render torchrun/SLURM command.
"Training hangs at startup"Distinguish dataset-cache barrier from NCCL/process group failure.
"Use LLaMA/Mixtral/Mamba/T5/BERT recipe"Extract the model-family flags and validate hardware/optional dependency assumptions before launch.

Command construction checklist

  1. Pull the user's desired model family, data source, checkpoint state, hardware, precision, and target runtime.
  2. Route topology decisions to ../core-models-and-parallelism/SKILL.md before finalizing TP/PP/CP/EP/FSDP.
  3. Decide data mode:
    • --mock-data for environment/performance ceiling checks.
    • Preprocessed .bin/.idx prefixes for real GPT-style data.
    • SFT/FIM/multimodal modes only when their schemas are explicitly selected.
  4. Add save/load/log/tensorboard paths and intervals.
  5. Use python -m torch.distributed.run / torchrun consistently with the selected environment.
  6. Validate with a short run before increasing steps, GPUs, or model size.

Boundaries

Gespeicherte Skills