-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
15 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,15 @@ | ||
#!/bin/bash | ||
#SBATCH --job-name=hf_trainer # create a short name for your job | ||
#SBATCH --output="hf_trainer-%j.out" # %j will be replaced by the slurm jobID | ||
#SBATCH --nodes=1 # node count | ||
#SBATCH --ntasks=1 # total number of tasks across all nodes | ||
#SBATCH --cpus-per-task=4 # cpu-cores per task (>1 if multi-threaded tasks) | ||
#SBATCH --gres=gpu:nvidia-rtx-a6000:1 # number of gpus per node | ||
#SBATCH --mem-per-cpu=2G | ||
source virtual-venv/bin/activate | ||
|
||
echo "User can use the local tmp dir $TMPDIR" | ||
|
||
python hf_classification_trainer.py | ||
|
||
deactivate |