Skip to content
Snippets Groups Projects
Commit ce64ddf9 authored by Armin Bacher's avatar Armin Bacher
Browse files

Delete run-training.sh

parent 1d888d70
Branches
No related tags found
No related merge requests found
#!/bin/bash
#SBATCH --nodes=1 # Run all processes on a single node
#SBATCH --ntasks=1 # Run a single task
#SBATCH --mem=64G # Job memory request
#SBATCH --gres=gpu:2 # Requests GPU
#SBATCH --cpus-per-task=8 # Number of CPU cores per task
#SBATCH --time=02:00:00 # Time limit hrs:min:sec
# Kopiere das Python-Skript auf den Rechenknoten
sbcast GPT-2-Small-1k-opt.py /zpool1/slurm_data/anhnd/test.py
# Führe das Python-Skript mit absolutem Pfad aus und leite die Ausgabe ins Home-Verzeichnis um
srun python3.11 /zpool1/slurm_data/anhnd/test.py > ~/projekt/job_output_${SLURM_JOB_ID}.log 2>&1
#Lösche die .py-Datei nach der Berechnung, um Speicherplatz zu sparen
srun rm /zpool1/slurm_data/anhnd/test.py
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment