#!/bin/bash -i
#SBATCH --mem=120g
#SBATCH --cpus-per-task=32
#SBATCH --time=14-0
#SBATCH --gres=gpu:4
#SBATCH --output=runs/outputs/lines-gan-cifar10-32x32-second-phase-e50fbed6-d2db-45be-94ee-0de3b5c4ab60_[0,3,5,18]-6-bs-32-br-16-64de8fb9-6be1-4811-bb6b-60c0bb558bc8-%j.out
#SBATCH --error=runs/errors/lines-gan-cifar10-32x32-second-phase-e50fbed6-d2db-45be-94ee-0de3b5c4ab60_[0,3,5,18]-6-bs-32-br-16-64de8fb9-6be1-4811-bb6b-60c0bb558bc8-%j.err
#SBATCH --mail-user=EMAIL
#SBATCH --mail-type=ALL

module load cuda
cd PATH
source PATH/bin/activate
torchrun \
  --nproc-per-node 4 \
  -m src.scripts.lines_gan \
  --config_filepath configs/lines-gan-cifar10-32x32-second-phase-e50fbed6-d2db-45be-94ee-0de3b5c4ab60_\[0,3,5,18\]-6-bs-32-br-16-64de8fb9-6be1-4811-bb6b-60c0bb558bc8.json \
  --distributed \
  --retries 3
