#!/bin/bash #SBATCH --partition=scavenger-gpu #SBATCH --exclude=dcc-youlab-gpu-28,dcc-gehmlab-gpu-56 #SBATCH --array=0-999 # 6 configurations to test #SBATCH --ntasks=1 #SBATCH --nodes=1 #SBATCH --cpus-per-task=1 #SBATCH --mem-per-cpu=8G #SBATCH --gres=gpu:1 #SBATCH --time=24:00:00 #SBATCH --output=/work/jf381/code/code/ICL_LOG/data_generation/%A_%a_%j.out #SBATCH --error=/work/jf381/code/code/ICL_LOG/data_generation/%A_%a_%j.err #SBATCH --requeue set -e # nvidia-smi | grep 'python' | awk '{ print $5 }' | xargs -n1 kill -9 # SLURM_ARRAY_TASK_ID=1 # conda activate /work/jf381/cache/conda_envs/paul31 # source activate /work/jf381/cache/conda_envs/paul31 cd /work/jf381/code/code/ICL_Jay # python /work/jf381/code/code/ICL_Jay/train_end2end_new_test.py --model_path /work/jf381/code/code/save/save --test_mode $SLURM_ARRAY_TASK_ID --icl_weight 1 # 05 # 684 python /work/jf381/code/code/ICL_Jay/data_generation_sphere.py --n_epochs 30001 --model_path /work/jf381/code/code/save/save --test_mode 0 --icl_weight 1 --slurm_id $SLURM_ARRAY_TASK_ID