#!/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-05ef73aa-049f-4158-b266-72ee8b07423b_[0,1,18]-12-bs-32-br-16-a5b8701f-39ea-4a77-a416-62aa45d4d591-%j.out
#SBATCH --error=runs/errors/lines-gan-cifar10-32x32-second-phase-05ef73aa-049f-4158-b266-72ee8b07423b_[0,1,18]-12-bs-32-br-16-a5b8701f-39ea-4a77-a416-62aa45d4d591-%j.err
#SBATCH --mail-user=EMAIL
#SBATCH --mail-type=ALL

module load cuda
module load cudnn
cd PATH
source PATH/bin/activate
torchrun \
  --nproc-per-node 4 \
  -m src.scripts.lines_gan_conditional \
  --config_filepath configs/lines-gan-cifar10-32x32-second-phase-05ef73aa-049f-4158-b266-72ee8b07423b_\[0,1,18\]-12-bs-32-br-16-a5b8701f-39ea-4a77-a416-62aa45d4d591.json \
  --distributed \
  --retries 3
