-
Notifications
You must be signed in to change notification settings - Fork 0
/
test_DRRN_PSPL.slurm
34 lines (32 loc) · 1.44 KB
/
test_DRRN_PSPL.slurm
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
#!/bin/bash
#SBATCH --time=01:00:00
#SBATCH --account=imi@v100
#SBATCH --job-name=test_DRRN_PSPL_%a
#SBATCH -o slurm_logs/test_DRRN_PSPL_%a.out
#SBATCH -e slurm_logs/test_DRRN_PSPL_%a.err
#SBATCH --ntasks-per-node=1
#SBATCH --nodes=1
#SBATCH --cpus-per-task=20
#SBATCH --gres=gpu:1
#SBATCH --hint=nomultithread
#SBATCH --array=1-2
#SBATCH --qos=qos_gpu-t3
#SBATCH -C v100-32g
module purge
module load python/3.8.2
conda activate dlp
srun python dlp/main_test.py \
rl_script_args.seed=${SLURM_ARRAY_TASK_ID} \
rl_script_args.number_envs=32 \
rl_script_args.number_episodes=1000 \
rl_script_args.action_space=["turn_left","turn_right","go_forward","pick_up","drop","toggle"] \
rl_script_args.saving_path_logs=$WORK/code/DLP/storage/logs \
rl_script_args.name_experiment='drrn_mtrl' \
rl_script_args.name_model='DRRN' \
rl_script_args.name_environment='BabyAI-PickUpSeqPickUpLocal-v0' \
rl_script_args.zero_shot=False \
rl_script_args.saving_path_model=$SCRATCH/DLP/models \
rl_script_args.spm_path=$WORK/code/DLP/dlp/agents/drrn/spm_models/unigram_8k.model \
lamorel_args.distributed_setup_args.n_llm_processes=0 \
--config-path=$WORK/code/DLP/dlp/configs \
--config-name=multi-node_slurm_cluster_config_test