Skip to content

Commit

Permalink
adapt time
Browse files Browse the repository at this point in the history
  • Loading branch information
LeonieFreisinger committed Jun 16, 2023
1 parent 2386f89 commit f61d8a5
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions experiments/WINDOW_BASED_exe_sherlock.sh
Original file line number Diff line number Diff line change
Expand Up @@ -274,11 +274,11 @@ for command in "${python_commands[@]}"; do

# check if "Transformer" or "RNN" is in the command
if [[ $command == *"Transformer"* ]] || [[ $command == *"RNN"* ]]; then
echo "#SBATCH --time=00:40:00" >> temp.sh
echo "#SBATCH --time=00:30:00" >> temp.sh
echo "#SBATCH -p gpu" >> temp.sh
echo "#SBATCH -G 1" >> temp.sh
else
echo "#SBATCH --time=00:35:00" >> temp.sh
echo "#SBATCH --time=00:10:00" >> temp.sh
echo "#SBATCH --cpus-per-task=10" >> temp.sh
echo "#SBATCH --mem-per-cpu=1G" >> temp.sh
fi
Expand Down Expand Up @@ -367,7 +367,7 @@ for command in "${python_commands_2[@]}"; do

# check if "Transformer" or "RNN" is in the command
if [[ $command == *"Transformer"* ]] || [[ $command == *"RNN"* ]]; then
echo "#SBATCH --time=02:00:00" >> temp.sh
echo "#SBATCH --time=00:10:00" >> temp.sh
echo "#SBATCH -p gpu" >> temp.sh
echo "#SBATCH -G 1" >> temp.sh
else
Expand Down

0 comments on commit f61d8a5

Please sign in to comment.