#!/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-20caa972-e407-4143-abb7-dc0dcad730d1_[0,1,18]-6-bs-32-br-16-c7d3b13b-032b-44c0-abb4-31f3638a6a4e-%j.out
#SBATCH --error=runs/errors/lines-gan-cifar10-32x32-second-phase-20caa972-e407-4143-abb7-dc0dcad730d1_[0,1,18]-6-bs-32-br-16-c7d3b13b-032b-44c0-abb4-31f3638a6a4e-%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-20caa972-e407-4143-abb7-dc0dcad730d1_\[0,1,18\]-6-bs-32-br-16-c7d3b13b-032b-44c0-abb4-31f3638a6a4e.json \
  --distributed \
  --retries 3
