Spaces:
Running
on
Zero
Running
on
Zero
File size: 530 Bytes
142a1ac |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 |
defaults:
- base_slurm
- _self_
is_compute_node_offline: True # many slurm systems only allows internet on login node, not compute node
launch_template: |
#!/bin/bash
#SBATCH -J {name}
#SBATCH -o {log_dir}/out_%j.out
#SBATCH -e {log_dir}/error_%j.err
#SBATCH --mail-user={email}
#SBATCH --mail-type=FAIL
#SBATCH --gres=gpu:volta:{num_gpus}
#SBATCH --cpus-per-task={num_cpus}
#SBATCH --mem={memory}
#SBATCH --time={time}
cd {project_root}
module load anaconda/2023a
python -m main {python_args} |