5.20. PyTorch

Attention

Please download the necessary dataset in advance on the frontend node.

module

Execution queue

/work/app/Pytorch/Pytorch.sif

A_002 CA_001 DA_002

The job script is as follows.

#!/bin/sh
#PBS -l select=1[:ncpus=number of CPUs][:ngpus=number of GPUs]
#PBS -q CA_001
#PBS -N jobname

cd $PBS_O_WORKDIR

singularity exec  /work/app/Pytorch/Pytorch.sif python input file* > output file 2> error file

・Example

#!/bin/sh
#PBS -l select=1:ncpus=2:ngpus=2
#PBS -q CA_001
#PBS -N Pytorch

cd $PBS_O_WORKDIR

singularity exec /work/app/PyTorch/pythorch.sif python sample.py > sample.out 2> sample.err