Skip to content

Commit

Permalink
tweak slurm scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
kywch committed Mar 29, 2024
1 parent 02fb486 commit 942da4d
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion config.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
wandb:
project: nmmo
project: nmmo-baselines
entity: kywch
group: ~

Expand Down
10 changes: 5 additions & 5 deletions scripts/slurm_run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,20 +9,20 @@
#SBATCH --partition=g40x
#SBATCH --nodes=1
#SBATCH --gpus=1
#SBATCH --cpus-per-gpu=6
#SBATCH --cpus-per-gpu=8
#__SBATCH --mem=80G
#SBATCH --chdir=/fsx/proj-nmmo/nmmo-baselines/
#SBATCH --chdir=/weka/proj-nmmo/nmmo-baselines/
#SBATCH --output=sbatch/%j.log
#SBATCH --error=sbatch/%j.log
#SBATCH --requeue
#SBATCH --export=PYTHONUNBUFFERED=1,WANDB_BASE_URL="https://stability.wandb.io",WANDB_DIR=/fsx/proj-nmmo/tmp/wandb,WANDB_CONFIG_DIR=/fsx/proj-nmmo/tmp/wandb
#SBATCH --export=PYTHONUNBUFFERED=1,WANDB_DIR=/weka/proj-nmmo/tmp/wandb,WANDB_CONFIG_DIR=/weka/proj-nmmo/tmp/wandb

source /fsx/proj-nmmo/venv/bin/activate && \
source /weka/proj-nmmo/venv/bin/activate && \
ulimit -c unlimited && \
ulimit -s unlimited && \
ulimit -a

wandb login --host=https://stability.wandb.io
wandb login --cloud

# Extract run_name from the arguments
run_name=""
Expand Down
2 changes: 1 addition & 1 deletion scripts/train_baseline.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#!/bin/bash

python -u -m train \
--runs-dir=/fsx/proj-nmmo/runs/ \
--train.data_dir=/weka/proj-nmmo/runs/ \
"${@}"

0 comments on commit 942da4d

Please sign in to comment.