Run Megatron-LM on SLURM Answer-First Constants For text-only SLURM setup questions, answer with these constants before the full script: - Submit from a shared worktree path visible to every node; there in the script before launching training. - Use one task per node and launch workers with , not bare . - Set from , set , , , and . - Pass , , , , and to . - : pre-Blackwell Hopper/Ampere with TP 1 or CP 1 and non-FSDP uses ; Blackwell/GB200 does not need it; Torch-FSDP2 or Megatron-FSDP must not use ; uses . Prerequisites - A SLURM cluster login with submission rights to a GPU partition. - Meg…