-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtest_cfq_mcd1.sh
executable file
·72 lines (63 loc) · 2.7 KB
/
test_cfq_mcd1.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
#!/bin/bash
#
#CompecTA (c) 2018
#
# You should only work under the /scratch/users/<username> directory.
#
# Jupyter job submission script
#
# TODO:
# - Set name of the job below changing "JupiterNotebook" value.
# - Set the requested number of nodes (servers) with --nodes parameter.
# - Set the requested number of tasks (cpu cores) with --ntasks parameter. (Total accross all nodes)
# - Select the partition (queue) you want to run the job in:
# - short : For jobs that have maximum run time of 120 mins. Has higher priority.
# - mid : For jobs that have maximum run time of 1 day..
# - long : For jobs that have maximum run time of 7 days. Lower priority than short.
# - longer: For testing purposes, queue has 31 days limit but only 3 nodes.
# - Set the required time limit for the job with --time parameter.
# - Acceptable time formats include "minutes", "minutes:seconds", "hours:minutes:seconds", "days-hours", "days-hours:minutes" and "days-hours:minutes:seconds"
# - Put this script and all the input file under the same directory.
# - Set the required parameters, input/output file names below.
# - If you do not want mail please remove the line that has --mail-type and --mail-user. If you do want to get notification emails, set your email address.
# - Put this script and all the input file under the same directory.
# - Submit this file using:
# sbatch jupyter_submit.sh
#
# -= Resources =-
#
#SBATCH --job-name=wandb_s2s_comp
#SBATCH --nodes 1
#SBATCH --ntasks-per-node=2
#SBATCH --partition=ai
#SBATCH --account=ai
#SBATCH --qos=ai
#SBATCH --mem=24G
#SBATCH --gres=gpu:tesla_t4:1
#SBATCH --time=1-00:00:00
#SBATCH --output=slurm_logs/cfq_s2s-%J.log
# Please read before you run: http://login.kuacc.ku.edu.tr/#h.3qapvarv2g49
################################################################################
##################### !!! DO NOT EDIT BELOW THIS LINE !!! ######################
################################################################################
export LC_ALL=en_US.utf-8
export LANG=en_US.utf-8
# Load Anaconda
echo "======================="
echo "Loading Anaconda Module..."
#module load anaconda/2.7
module load cuda/10.2
module load cudnn/8.1.1/cuda-10.2
echo "======================="
# Set stack size to unlimited
echo "Setting stack size to unlimited..."
ulimit -s unlimited
ulimit -l unlimited
ulimit -a
echo
################################################################################
##################### !!! DO NOT EDIT ABOVE THIS LINE !!! ######################
################################################################################
wandb agent osmanbatur/transformer_generalization/kep5oqr8
# DON'T USE ADDRESS BELOW.
# DO USE TOKEN BELOW