Skip to content

Commit

Permalink
newest bash scripts for slurm ignoring json files
Browse files Browse the repository at this point in the history
  • Loading branch information
adamovanja committed Apr 23, 2024
1 parent 2dd2deb commit d8d0fad
Show file tree
Hide file tree
Showing 4 changed files with 23 additions and 6 deletions.
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -158,3 +158,7 @@ x_*
# logs from slurm launches
*_err.txt
*_out.txt

# all but one json config file
*.json
!run_config.json
5 changes: 3 additions & 2 deletions ci/recipe/meta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,10 @@ requirements:
- pip
- pytorch
- py-xgboost
# todo: update to newest ray-tune version
# todo: update to newest ray-tune version (then dashboard also works as it
# should)
- ray-default==2.6.3
- ray-tune==2.6.3
- ray-default
- scipy
- scikit-learn
- scikit-bio
Expand Down
12 changes: 12 additions & 0 deletions launch_slurm_compare.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
#!/bin/bash

#SBATCH --job-name="r_5c_cpu_t10_compare"
#SBATCH -A es_bokulich
#SBATCH --nodes=1
#SBATCH --cpus-per-task=16
#SBATCH --time=01:59:59
#SBATCH --mem-per-cpu=1024
#SBATCH --output="%x_out.txt"
#SBATCH --open-mode=append

python q2_ritme/eval_best_trial_overall.py --model_path "experiments/models"
8 changes: 4 additions & 4 deletions launch_slurm_cpu.sh
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
#!/bin/bash

#SBATCH --job-name="r_5c_cpu_t10"
#SBATCH --job-name="ra_5c_cpu_t10_long_rf"
#SBATCH -A es_bokulich
#SBATCH --nodes=1
#SBATCH --cpus-per-task=20
#SBATCH --time=1:00:00
#SBATCH --cpus-per-task=30
#SBATCH --time=03:59:59
#SBATCH --mem-per-cpu=1024
#SBATCH --output="%x_out.txt"
#SBATCH --open-mode=append
Expand All @@ -16,7 +16,7 @@ set -x

# ! USER SETTINGS HERE
# -> config file to use
CONFIG="q2_ritme/r_5c_cpu_t10.json"
CONFIG="q2_ritme/ra_5c_cpu_t10_long_rf.json"
# ! USER END __________

# __doc_head_address_start__
Expand Down

0 comments on commit d8d0fad

Please sign in to comment.