-
Notifications
You must be signed in to change notification settings - Fork 36
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
readme: action runner script with instruction (#353)
* upload action runner job script with instruction * minor edit
- Loading branch information
Showing
2 changed files
with
19 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |