Software: PyTorch
Description
PyTorch is an optimized tensor library for deep learning using GPUs and CPUs.
Available Versions
Bell: | 1.10.0-rocm5.0-ubuntu18.04-py3.7 1.8.1-rocm4.2-ubuntu18.04-py3.6 1.9.0-rocm4.2-ubuntu18.04-py3.6 |
---|---|
Negishi: | 1.10.0-rocm5.0-ubuntu18.04-py3.7 1.8.1-rocm4.2-ubuntu18.04-py3.6 1.9.0-rocm4.2-ubuntu18.04-py3.6 |
Module
You can load the modules by:
module load rocmcontainers
module load pytorch
Example job
Using
#!/bin/sh -l
as shebang in the slurm job script will cause the failure of some biocontainer modules. Please use#!/bin/bash
instead.
To run pytorch on our clusters:
#!/bin/bash
#SBATCH -A gpu
#SBATCH -t 1:00:00
#SBATCH -N 1
#SBATCH -n 1
#SBATCH -c 8
#SBATCH --gpus-per-node=1
#SBATCH --job-name=pytorch
#SBATCH --mail-type=FAIL,BEGIN,END
#SBATCH --error=%x-%J-%u.err
#SBATCH --output=%x-%J-%u.out
module --force purge
ml rocmcontainers pytorch