Skip to content

Commit 90d56b2

Browse files
jderfomo-bot
authored andcommitted
Warm Pyxis image cache before Empire AI training
1 parent 06d71a6 commit 90d56b2

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

scripts/empireai_nvl72_train.sbatch

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -200,6 +200,14 @@ echo "NCCL socket IF:${NCCL_SOCKET_IFNAME}"
200200
echo "NCCL IB HCAs: ${NCCL_IB_HCA}"
201201
echo "Mellanox devs: ${MELLANOX_VISIBLE_DEVICES}"
202202

203+
echo "Warming shared Pyxis image cache on ${MASTER_ADDR}..."
204+
srun --nodes=1 --ntasks=1 --ntasks-per-node=1 --nodelist="${MASTER_ADDR}" \
205+
--container-image="${IMAGE_REF}" \
206+
--container-mount-home \
207+
--container-mounts="${container_mounts}" \
208+
true
209+
echo "Pyxis image cache warmup complete."
210+
203211
srun --ntasks="${SLURM_NNODES}" --ntasks-per-node=1 \
204212
--container-image="${IMAGE_REF}" \
205213
--container-mount-home \

0 commit comments

Comments
 (0)