forked from a-antoniades/Neuroformer
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathrun_beh.sbatch
More file actions
42 lines (38 loc) · 1.93 KB
/
Copy pathrun_beh.sbatch
File metadata and controls
42 lines (38 loc) · 1.93 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
#!/bin/bash
#SBATCH --job-name=baseline
#SBATCH --ntasks=1
#SBATCH --cpus-per-task=4
#SBATCH --partition=react # see https://www.hlrn.de/doc/display/PUB/Compute+node+partitions for a list of accessible hlrn partitions
#SBATCH -G A100:1 # number of gpus per node
#SBATCH --time 0-48:00
#SBATCH --constraint "inet"
#SBATCH -A agsinz_foundation_model_brain
#SBATCH --mem=100G
#SBATCH --output=./slurm_files/slurm-%x-%j.out # where to write output, %x give job name, %j names job id
#SBATCH --error=./slurm_files/slurm-%x-%j.err # where to write slurm error
#SBATCH --mail-type=begin # send mail when job begins
#SBATCH --mail-type=end # send mail when job ends
#SBATCH --mail-user=goirik.chakrabarty@uni-goettingen.de
export HTTP_PROXY="http://www-cache.gwdg.de:3128"
export HTTPS_PROXY="http://www-cache.gwdg.de:3128"
module load apptainer
module load cuda/12.2.1
module load miniforge3
module load git
source /sw/tools/python/anaconda3/2020.11/skl/bin/activate
conda info --envs
conda activate /mnt/vast-react/projects/agsinz_foundation_model_brain/.conda/envs/neuroformer
cd /mnt/vast-react/projects/agsinz_foundation_model_brain/goirik/Neuroformer/
# Printing out some info.
echo "Submitting job with sbatch from directory: ${SLURM_SUBMIT_DIR}"
echo "Home directory: ${HOME}"
echo "Working directory: $PWD"
echo "Current node: ${SLURM_NODELIST}"
# For debugging purposes.
python --version
python -m torch.utils.collect_env
#nvcc -V
# python neuroformer_train.py --dataset V1AL --config configs/Visnav/lateral/mconf_pretrain.yaml
# python neuroformer_train_experanto_multisession.py --dataset experanto --config configs/Experanto/mconf_all_30Hz_two.yaml
# python neuroformer_train_experanto_multisession.py --dataset experanto --config configs/Experanto/mconf_all_30Hz_published-5.yaml
python neuroformer_train_experanto_multisession.py --dataset experanto --config configs/Experanto/mconf_all_30Hz_all-12-beh.yaml