ai-modcon/prism/prism-launching-jobs

Claude Code and agent skill by ai-modcon/prism

Trust tier 3
  • community
Source check pending

Checking that the SKILL.md file is still in the repository.

Launch PRISM training jobs on Aurora. Use when submitting a training run, choosing a launcher / storage backend (DAOS vs Lustre vs WebDataset-staged), setting key flags (--design, --max-seq-length, --fsdp-production-mode, --grad-ckpt-freq), running an interactive two-terminal session, picking a PBS queue, or budgeting walltime. Triggers: "launch a job", "submit training", "which launcher", "launch_aurora", "--design", "debug-scaling", "run a smoke".

Install

npx vskill@latest install ai-modcon/prism/prism-launching-jobs

SKILL.md

PRISM — Launching Training Jobs (Aurora)

You are on a login node (UAN): no GPU, no XPU, no MPI. Never run train.py, mpiexec, or GPU code directly — always go through a launcher under tools/. For generic PBS/Aurora background, see the installed pbs and aurora skills; this skill is about PRISM's launchers specifically. For queue-time discipline, see hpc-iteration-discipline.

1. Pick the launcher by where the data lives

The single decision is storage backend. Use the unified dispatcher and let --storage pick the per-backend launcher (it execs the right one and forwards all remaining flags verbatim):

bash
python tools/launch_aurora_unified.py --storage {daos|lustre|webdataset-staged} ...
--storageBacking launcherWhen
daostools/launch_aurora_daos.pyData + models on a DAOS container. Fastest; Neil's VLM-scaling setup. Requires DAOS access.
webdataset-stagedtools/launch_aurora_web.pyData on Lustre//flare; launcher stages WebDataset shards to /tmp per node.
lustretools/launch_aurora.pyGeneric; no DAOS, no staging.
DAOS is not the default. Contributors without DAOS access, and
non-vision modalities, use webdataset-staged or lustre. You can call a
per-backend launcher directly; --help shows its full flag surface.

2. Canonical commands

bash
# DAOS-backed E2E (production shape)
python tools/launch_aurora_daos.py \
--id MY-RUN --design PRISM-OLMO3-E2E-PROD \
--nodes 2 --batch --queue debug-scaling \
--dist-strategy fsdp --fsdp-sharding full_shard \
--max-seq-length 1024 \
--dataset-groups projector --use-bucketing \
--no-pil4dfs --fsdp-production-mode
# WebDataset / Lustre fallback (no DAOS)
python tools/launch_aurora_web.py \
--id MY-RUN --design PRISM-IMAGE-ONLY-7B \
--nodes 2 --batch --queue debug-scaling \
--webdataset-dir /flare/<project>/path/to/shards
# Inspect the generated PBS script WITHOUT submitting
python tools/launch_aurora_daos.py --id TEST --dry-run --nodes 1

Always --dry-run a new config first and read the generated PBS script.

3. Load-bearing flags (defaults bite)

FlagWhy it matters
--designSelects from experiments/prism_designs.yaml. See prism-configuration.
--max-seq-length 1024Critical for E2E — 2048 OOMs. Default is 2048.
--fsdp-production-modeSkips non-essential synchronize() calls (+6.6%).
--grad-ckpt-freqDefaults to 1 (every layer) — required for seq=1024. Do NOT set to 2 (OOM).
--no-pil4dfsMandatory for FSDP over DAOS (libpil4dfs → AllGather hang, DAOS-17499). Auto-enabled for ZeRO-3. See prism-daos-storage.
--use-bucketingSequence-length bucketing → ~3× throughput on mixed-length data.
--dist-strategy {ddp,fsdp,hsdp}See prism-distributed-strategy for the choice + BS ceilings.

4. Interactive jobs need two terminals

  1. Terminal 1 — get the PBS allocation (qsub -I ... or a hold script under

tools/hold_*.sh).

  1. Terminal 2 — from UAN, run the launcher with `--hosts <node>

--run-via-ssh (derive <node> from qstat -f <jobid> | grep exec_host`).

Never manually build SSH/mpiexec commands — the launcher handles PALS rank derivation, ZE_AFFINITY_MASK, CCL env, and GPU binding.

5. Node ownership & queue rules (hard-won)

  • Only use nodes from a job YOU submitted this session. Verify the job ID

before every launch. Never derive a node from a shared file like hold_one_nodefile.txt — it persists across jobs; use qstat -f <jobid> | grep exec_host instead.

  • Queue: debug / debug-scaling for smokes; capacity for long jobs

<256 nodes; prod requires a 256-node minimum and will reject a 4-node job.

  • Walltime: scale from (per-cell timing × cells) and pad ~1.5×, not 4–6×.

Oversized walltimes hurt scheduling and mask hangs.

  • DAOS down? Default PBS filesystems=home:flare; only add daos_user_fs

when the job actually reads DAOS, or it queues indefinitely.

6. Gotchas

  • Killing a hung job: pkill -9 python3; sleep 10 to clear stale XCCL state.
  • Generated PBS/heredoc scripts have been silently broken by a stray apostrophe

in a comment (only rank 0 starts). Run bash -n on the generated script before submitting. See the shell-quoting-traps skill.

  • Launching from a worktree? PBS scripts need a ${PBS_O_WORKDIR:-...} fallback

and correct LAUNCHER_PRISM_DIR for the venv tarball — hardcoded bare-clone paths fail in ~1s.

See also

launcher reference, env-var table, session debugging.

prism-distributed-strategy.

  • Generic installed skills: pbs, aurora, hpc-iteration-discipline, shell-quoting-traps.

Security

  • Security scanPassed, 90 of 100Pattern checks on the skill's files.
  • Model reviewPassed

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

Repository stars
12
Repository forks
1
7-day trend score
0

Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/ai-modcon/prism/prism-launching-jobs/badge)](https://verified-skill.com/skills/ai-modcon/prism/prism-launching-jobs)

Something wrong with this skill or its page? Tell us.