Skip to content

Commit

Permalink
readme: action runner script with instruction (#353)
Browse files Browse the repository at this point in the history
* upload action runner job script with instruction

* minor edit
  • Loading branch information
RemyLau authored Oct 4, 2023
1 parent 092b261 commit b835273
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 0 deletions.
4 changes: 4 additions & 0 deletions tests/setup/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
1. Create self-hosted runer. Follow the instructions to config runner.
1. Move `run.sb` under the action runner folder.
1. Create `slurm_history` folder under the action runner folder
1. Finally, submit job via `sbatch run.sb`
15 changes: 15 additions & 0 deletions tests/setup/run.sb
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
#!/bin/bash --login

#SBATCH -N 1
#SBATCH -c 12
#SBATCH -t 3:55:00
#SBATCH --mem=128GB # need at least 80GB due to joint_embedding-dcca
#SBATCH --gres=gpu:v100:1
#SBATCH -A cmse
#SBATCH -o slurm_history/slurm-%A.out

# module load GCC/8.3.0 CUDA/10.2.89
module load CUDA/11.8

cd $SLURM_SUBMIT_DIR
./run.sh

0 comments on commit b835273

Please sign in to comment.