Skip to content

Commit

Permalink
Update docs/examples/data/torchvision/job.sh
Browse files Browse the repository at this point in the history
Co-authored-by: Fabrice Normandin <fabrice.normandin@gmail.com>
  • Loading branch information
satyaog and lebrice committed Sep 21, 2023
1 parent c3846de commit c1b4fbb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/examples/data/torchvision/job.sh
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ mkdir -p "$SLURM_TMPDIR/data"
# Copy the dataset to $SLURM_TMPDIR so it is close to the GPUs for
# faster training
srun --ntasks=$SLURM_JOB_NUM_NODES --ntasks-per-node=1 \
time -p bash data.py "/network/datasets/inat" ${_DATA_PREP_WORKERS}
time -p python data.py "/network/datasets/inat" ${_DATA_PREP_WORKERS}


# Fixes issues with MIG-ed GPUs with versions of PyTorch < 2.0
Expand Down

0 comments on commit c1b4fbb

Please sign in to comment.