applied-ai-018
commited on
Add files using upload-large-folder tool
Browse files- english_only/tok_english_only/tok_jobs/tokenizer_1.yaml +104 -0
- english_only/tok_english_only/tok_jobs/tokenizer_20.yaml +104 -0
- english_only/tok_english_only/tok_jobs/tokenizer_32.yaml +104 -0
- english_only/tok_english_only/tok_jobs/tokenizer_36.yaml +104 -0
- english_only/tok_english_only/tok_jobs/tokenizer_4.yaml +104 -0
- english_only/tok_english_only/tok_jobs/tokenizer_9.yaml +104 -0
english_only/tok_english_only/tok_jobs/tokenizer_1.yaml
ADDED
@@ -0,0 +1,104 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
apiVersion: kubeflow.org/v2beta1
|
2 |
+
kind: MPIJob
|
3 |
+
metadata:
|
4 |
+
name: peacock-tokenizer-english-only-1
|
5 |
+
namespace: peacock
|
6 |
+
labels:
|
7 |
+
app: peacock-tokenizer-english-only-1
|
8 |
+
spec:
|
9 |
+
slotsPerWorker: 8
|
10 |
+
runPolicy:
|
11 |
+
backoffLimit: 1
|
12 |
+
cleanPodPolicy: Running
|
13 |
+
mpiReplicaSpecs:
|
14 |
+
Launcher:
|
15 |
+
replicas: 1
|
16 |
+
template:
|
17 |
+
spec:
|
18 |
+
hostIPC: true
|
19 |
+
volumes:
|
20 |
+
- name: work-dir
|
21 |
+
persistentVolumeClaim:
|
22 |
+
claimName: peacock-fs-pvc
|
23 |
+
containers:
|
24 |
+
- image: vault.habana.ai/gaudi-docker/1.15.1/ubuntu22.04/habanalabs/pytorch-installer-2.2.0:latest
|
25 |
+
name: peacock-tokenizer-english-only-1-launcher
|
26 |
+
imagePullPolicy: IfNotPresent
|
27 |
+
volumeMounts:
|
28 |
+
- name: work-dir
|
29 |
+
mountPath: /mnt/weka/peacock
|
30 |
+
command: ["/bin/bash", "-c"]
|
31 |
+
args:
|
32 |
+
- >-
|
33 |
+
|
34 |
+
export SYNAPSE_VERSION="1.15.1";
|
35 |
+
export WORKER_DIR="/mnt/weka/peacock/experiments/llama";
|
36 |
+
|
37 |
+
export MEGATRON_SETUP_CMD="$WORKER_DIR/launch/setup.sh"
|
38 |
+
export TOKENIZER_CMD=/mnt/weka/peacock/idc/datasets/english_only//tok_english_only/tok_files/tokenizer_1.sh
|
39 |
+
HOSTSFILE=$OMPI_MCA_orte_default_hostfile;
|
40 |
+
echo "HOSTSFILE=$HOSTSFILE";
|
41 |
+
MASTER_ADDR="$(head -n 1 $HOSTSFILE | sed -n s/[[:space:]]slots.*//p)";
|
42 |
+
NUM_NODES=$(wc -l < $HOSTSFILE);
|
43 |
+
CARDS_PER_NODE=8;
|
44 |
+
N_CARDS=$((NUM_NODES*CARDS_PER_NODE));
|
45 |
+
echo "MPI_ROOT=$MPI_ROOT";
|
46 |
+
echo "N_CARDS=$N_CARDS";
|
47 |
+
echo "MASTER_ADDR=$MASTER_ADDR";
|
48 |
+
sleep 20;
|
49 |
+
|
50 |
+
|
51 |
+
mpirun -np $N_CARDS -npernode 8 \
|
52 |
+
--tag-output \
|
53 |
+
--allow-run-as-root \
|
54 |
+
--prefix $MPI_ROOT \
|
55 |
+
-x WORKER_DIR=$WORKER_DIR \
|
56 |
+
-x SYNAPSE_VERSION=$SYNAPSE_VERSION $MEGATRON_SETUP_CMD;
|
57 |
+
|
58 |
+
mpirun -np $N_CARDS -npernode 8 \
|
59 |
+
--tag-output \
|
60 |
+
--allow-run-as-root \
|
61 |
+
--prefix $MPI_ROOT \
|
62 |
+
-x WORKER_DIR=$WORKER_DIR \
|
63 |
+
-x SYNAPSE_VERSION=$SYNAPSE_VERSION $TOKENIZER_CMD;
|
64 |
+
|
65 |
+
|
66 |
+
Worker:
|
67 |
+
replicas: 1
|
68 |
+
template:
|
69 |
+
spec:
|
70 |
+
volumes:
|
71 |
+
- name: work-dir
|
72 |
+
persistentVolumeClaim:
|
73 |
+
claimName: peacock-fs-pvc
|
74 |
+
tolerations:
|
75 |
+
- key: "habana.ai/gaudi"
|
76 |
+
operator: "Exists"
|
77 |
+
effect: "NoSchedule"
|
78 |
+
- key: "k8s/namespace"
|
79 |
+
operator: "Equal"
|
80 |
+
value: "peacock"
|
81 |
+
effect: "NoSchedule"
|
82 |
+
hostIPC: true
|
83 |
+
containers:
|
84 |
+
- image: vault.habana.ai/gaudi-docker/1.15.1/ubuntu22.04/habanalabs/pytorch-installer-2.2.0:latest
|
85 |
+
name: peacock-llama-worker
|
86 |
+
imagePullPolicy: IfNotPresent
|
87 |
+
securityContext:
|
88 |
+
capabilities:
|
89 |
+
add:
|
90 |
+
- SYSLOG
|
91 |
+
resources:
|
92 |
+
limits:
|
93 |
+
habana.ai/gaudi: 8
|
94 |
+
hugepages-2Mi: 300Gi
|
95 |
+
memory: 700Gi
|
96 |
+
cpu: 150
|
97 |
+
requests:
|
98 |
+
habana.ai/gaudi: 8
|
99 |
+
hugepages-2Mi: 300Gi
|
100 |
+
memory: 700Gi
|
101 |
+
cpu: 150
|
102 |
+
volumeMounts:
|
103 |
+
- name: work-dir
|
104 |
+
mountPath: /mnt/weka/peacock
|
english_only/tok_english_only/tok_jobs/tokenizer_20.yaml
ADDED
@@ -0,0 +1,104 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
apiVersion: kubeflow.org/v2beta1
|
2 |
+
kind: MPIJob
|
3 |
+
metadata:
|
4 |
+
name: peacock-tokenizer-english-only-20
|
5 |
+
namespace: peacock
|
6 |
+
labels:
|
7 |
+
app: peacock-tokenizer-english-only-20
|
8 |
+
spec:
|
9 |
+
slotsPerWorker: 8
|
10 |
+
runPolicy:
|
11 |
+
backoffLimit: 1
|
12 |
+
cleanPodPolicy: Running
|
13 |
+
mpiReplicaSpecs:
|
14 |
+
Launcher:
|
15 |
+
replicas: 1
|
16 |
+
template:
|
17 |
+
spec:
|
18 |
+
hostIPC: true
|
19 |
+
volumes:
|
20 |
+
- name: work-dir
|
21 |
+
persistentVolumeClaim:
|
22 |
+
claimName: peacock-fs-pvc
|
23 |
+
containers:
|
24 |
+
- image: vault.habana.ai/gaudi-docker/1.15.1/ubuntu22.04/habanalabs/pytorch-installer-2.2.0:latest
|
25 |
+
name: peacock-tokenizer-english-only-20-launcher
|
26 |
+
imagePullPolicy: IfNotPresent
|
27 |
+
volumeMounts:
|
28 |
+
- name: work-dir
|
29 |
+
mountPath: /mnt/weka/peacock
|
30 |
+
command: ["/bin/bash", "-c"]
|
31 |
+
args:
|
32 |
+
- >-
|
33 |
+
|
34 |
+
export SYNAPSE_VERSION="1.15.1";
|
35 |
+
export WORKER_DIR="/mnt/weka/peacock/experiments/llama";
|
36 |
+
|
37 |
+
export MEGATRON_SETUP_CMD="$WORKER_DIR/launch/setup.sh"
|
38 |
+
export TOKENIZER_CMD=/mnt/weka/peacock/idc/datasets/english_only//tok_english_only/tok_files/tokenizer_20.sh
|
39 |
+
HOSTSFILE=$OMPI_MCA_orte_default_hostfile;
|
40 |
+
echo "HOSTSFILE=$HOSTSFILE";
|
41 |
+
MASTER_ADDR="$(head -n 1 $HOSTSFILE | sed -n s/[[:space:]]slots.*//p)";
|
42 |
+
NUM_NODES=$(wc -l < $HOSTSFILE);
|
43 |
+
CARDS_PER_NODE=8;
|
44 |
+
N_CARDS=$((NUM_NODES*CARDS_PER_NODE));
|
45 |
+
echo "MPI_ROOT=$MPI_ROOT";
|
46 |
+
echo "N_CARDS=$N_CARDS";
|
47 |
+
echo "MASTER_ADDR=$MASTER_ADDR";
|
48 |
+
sleep 20;
|
49 |
+
|
50 |
+
|
51 |
+
mpirun -np $N_CARDS -npernode 8 \
|
52 |
+
--tag-output \
|
53 |
+
--allow-run-as-root \
|
54 |
+
--prefix $MPI_ROOT \
|
55 |
+
-x WORKER_DIR=$WORKER_DIR \
|
56 |
+
-x SYNAPSE_VERSION=$SYNAPSE_VERSION $MEGATRON_SETUP_CMD;
|
57 |
+
|
58 |
+
mpirun -np $N_CARDS -npernode 8 \
|
59 |
+
--tag-output \
|
60 |
+
--allow-run-as-root \
|
61 |
+
--prefix $MPI_ROOT \
|
62 |
+
-x WORKER_DIR=$WORKER_DIR \
|
63 |
+
-x SYNAPSE_VERSION=$SYNAPSE_VERSION $TOKENIZER_CMD;
|
64 |
+
|
65 |
+
|
66 |
+
Worker:
|
67 |
+
replicas: 1
|
68 |
+
template:
|
69 |
+
spec:
|
70 |
+
volumes:
|
71 |
+
- name: work-dir
|
72 |
+
persistentVolumeClaim:
|
73 |
+
claimName: peacock-fs-pvc
|
74 |
+
tolerations:
|
75 |
+
- key: "habana.ai/gaudi"
|
76 |
+
operator: "Exists"
|
77 |
+
effect: "NoSchedule"
|
78 |
+
- key: "k8s/namespace"
|
79 |
+
operator: "Equal"
|
80 |
+
value: "peacock"
|
81 |
+
effect: "NoSchedule"
|
82 |
+
hostIPC: true
|
83 |
+
containers:
|
84 |
+
- image: vault.habana.ai/gaudi-docker/1.15.1/ubuntu22.04/habanalabs/pytorch-installer-2.2.0:latest
|
85 |
+
name: peacock-llama-worker
|
86 |
+
imagePullPolicy: IfNotPresent
|
87 |
+
securityContext:
|
88 |
+
capabilities:
|
89 |
+
add:
|
90 |
+
- SYSLOG
|
91 |
+
resources:
|
92 |
+
limits:
|
93 |
+
habana.ai/gaudi: 8
|
94 |
+
hugepages-2Mi: 300Gi
|
95 |
+
memory: 700Gi
|
96 |
+
cpu: 150
|
97 |
+
requests:
|
98 |
+
habana.ai/gaudi: 8
|
99 |
+
hugepages-2Mi: 300Gi
|
100 |
+
memory: 700Gi
|
101 |
+
cpu: 150
|
102 |
+
volumeMounts:
|
103 |
+
- name: work-dir
|
104 |
+
mountPath: /mnt/weka/peacock
|
english_only/tok_english_only/tok_jobs/tokenizer_32.yaml
ADDED
@@ -0,0 +1,104 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
apiVersion: kubeflow.org/v2beta1
|
2 |
+
kind: MPIJob
|
3 |
+
metadata:
|
4 |
+
name: peacock-tokenizer-english-only-32
|
5 |
+
namespace: peacock
|
6 |
+
labels:
|
7 |
+
app: peacock-tokenizer-english-only-32
|
8 |
+
spec:
|
9 |
+
slotsPerWorker: 8
|
10 |
+
runPolicy:
|
11 |
+
backoffLimit: 1
|
12 |
+
cleanPodPolicy: Running
|
13 |
+
mpiReplicaSpecs:
|
14 |
+
Launcher:
|
15 |
+
replicas: 1
|
16 |
+
template:
|
17 |
+
spec:
|
18 |
+
hostIPC: true
|
19 |
+
volumes:
|
20 |
+
- name: work-dir
|
21 |
+
persistentVolumeClaim:
|
22 |
+
claimName: peacock-fs-pvc
|
23 |
+
containers:
|
24 |
+
- image: vault.habana.ai/gaudi-docker/1.15.1/ubuntu22.04/habanalabs/pytorch-installer-2.2.0:latest
|
25 |
+
name: peacock-tokenizer-english-only-32-launcher
|
26 |
+
imagePullPolicy: IfNotPresent
|
27 |
+
volumeMounts:
|
28 |
+
- name: work-dir
|
29 |
+
mountPath: /mnt/weka/peacock
|
30 |
+
command: ["/bin/bash", "-c"]
|
31 |
+
args:
|
32 |
+
- >-
|
33 |
+
|
34 |
+
export SYNAPSE_VERSION="1.15.1";
|
35 |
+
export WORKER_DIR="/mnt/weka/peacock/experiments/llama";
|
36 |
+
|
37 |
+
export MEGATRON_SETUP_CMD="$WORKER_DIR/launch/setup.sh"
|
38 |
+
export TOKENIZER_CMD=/mnt/weka/peacock/idc/datasets/english_only//tok_english_only/tok_files/tokenizer_32.sh
|
39 |
+
HOSTSFILE=$OMPI_MCA_orte_default_hostfile;
|
40 |
+
echo "HOSTSFILE=$HOSTSFILE";
|
41 |
+
MASTER_ADDR="$(head -n 1 $HOSTSFILE | sed -n s/[[:space:]]slots.*//p)";
|
42 |
+
NUM_NODES=$(wc -l < $HOSTSFILE);
|
43 |
+
CARDS_PER_NODE=8;
|
44 |
+
N_CARDS=$((NUM_NODES*CARDS_PER_NODE));
|
45 |
+
echo "MPI_ROOT=$MPI_ROOT";
|
46 |
+
echo "N_CARDS=$N_CARDS";
|
47 |
+
echo "MASTER_ADDR=$MASTER_ADDR";
|
48 |
+
sleep 20;
|
49 |
+
|
50 |
+
|
51 |
+
mpirun -np $N_CARDS -npernode 8 \
|
52 |
+
--tag-output \
|
53 |
+
--allow-run-as-root \
|
54 |
+
--prefix $MPI_ROOT \
|
55 |
+
-x WORKER_DIR=$WORKER_DIR \
|
56 |
+
-x SYNAPSE_VERSION=$SYNAPSE_VERSION $MEGATRON_SETUP_CMD;
|
57 |
+
|
58 |
+
mpirun -np $N_CARDS -npernode 8 \
|
59 |
+
--tag-output \
|
60 |
+
--allow-run-as-root \
|
61 |
+
--prefix $MPI_ROOT \
|
62 |
+
-x WORKER_DIR=$WORKER_DIR \
|
63 |
+
-x SYNAPSE_VERSION=$SYNAPSE_VERSION $TOKENIZER_CMD;
|
64 |
+
|
65 |
+
|
66 |
+
Worker:
|
67 |
+
replicas: 1
|
68 |
+
template:
|
69 |
+
spec:
|
70 |
+
volumes:
|
71 |
+
- name: work-dir
|
72 |
+
persistentVolumeClaim:
|
73 |
+
claimName: peacock-fs-pvc
|
74 |
+
tolerations:
|
75 |
+
- key: "habana.ai/gaudi"
|
76 |
+
operator: "Exists"
|
77 |
+
effect: "NoSchedule"
|
78 |
+
- key: "k8s/namespace"
|
79 |
+
operator: "Equal"
|
80 |
+
value: "peacock"
|
81 |
+
effect: "NoSchedule"
|
82 |
+
hostIPC: true
|
83 |
+
containers:
|
84 |
+
- image: vault.habana.ai/gaudi-docker/1.15.1/ubuntu22.04/habanalabs/pytorch-installer-2.2.0:latest
|
85 |
+
name: peacock-llama-worker
|
86 |
+
imagePullPolicy: IfNotPresent
|
87 |
+
securityContext:
|
88 |
+
capabilities:
|
89 |
+
add:
|
90 |
+
- SYSLOG
|
91 |
+
resources:
|
92 |
+
limits:
|
93 |
+
habana.ai/gaudi: 8
|
94 |
+
hugepages-2Mi: 300Gi
|
95 |
+
memory: 700Gi
|
96 |
+
cpu: 150
|
97 |
+
requests:
|
98 |
+
habana.ai/gaudi: 8
|
99 |
+
hugepages-2Mi: 300Gi
|
100 |
+
memory: 700Gi
|
101 |
+
cpu: 150
|
102 |
+
volumeMounts:
|
103 |
+
- name: work-dir
|
104 |
+
mountPath: /mnt/weka/peacock
|
english_only/tok_english_only/tok_jobs/tokenizer_36.yaml
ADDED
@@ -0,0 +1,104 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
apiVersion: kubeflow.org/v2beta1
|
2 |
+
kind: MPIJob
|
3 |
+
metadata:
|
4 |
+
name: peacock-tokenizer-english-only-36
|
5 |
+
namespace: peacock
|
6 |
+
labels:
|
7 |
+
app: peacock-tokenizer-english-only-36
|
8 |
+
spec:
|
9 |
+
slotsPerWorker: 8
|
10 |
+
runPolicy:
|
11 |
+
backoffLimit: 1
|
12 |
+
cleanPodPolicy: Running
|
13 |
+
mpiReplicaSpecs:
|
14 |
+
Launcher:
|
15 |
+
replicas: 1
|
16 |
+
template:
|
17 |
+
spec:
|
18 |
+
hostIPC: true
|
19 |
+
volumes:
|
20 |
+
- name: work-dir
|
21 |
+
persistentVolumeClaim:
|
22 |
+
claimName: peacock-fs-pvc
|
23 |
+
containers:
|
24 |
+
- image: vault.habana.ai/gaudi-docker/1.15.1/ubuntu22.04/habanalabs/pytorch-installer-2.2.0:latest
|
25 |
+
name: peacock-tokenizer-english-only-36-launcher
|
26 |
+
imagePullPolicy: IfNotPresent
|
27 |
+
volumeMounts:
|
28 |
+
- name: work-dir
|
29 |
+
mountPath: /mnt/weka/peacock
|
30 |
+
command: ["/bin/bash", "-c"]
|
31 |
+
args:
|
32 |
+
- >-
|
33 |
+
|
34 |
+
export SYNAPSE_VERSION="1.15.1";
|
35 |
+
export WORKER_DIR="/mnt/weka/peacock/experiments/llama";
|
36 |
+
|
37 |
+
export MEGATRON_SETUP_CMD="$WORKER_DIR/launch/setup.sh"
|
38 |
+
export TOKENIZER_CMD=/mnt/weka/peacock/idc/datasets/english_only//tok_english_only/tok_files/tokenizer_36.sh
|
39 |
+
HOSTSFILE=$OMPI_MCA_orte_default_hostfile;
|
40 |
+
echo "HOSTSFILE=$HOSTSFILE";
|
41 |
+
MASTER_ADDR="$(head -n 1 $HOSTSFILE | sed -n s/[[:space:]]slots.*//p)";
|
42 |
+
NUM_NODES=$(wc -l < $HOSTSFILE);
|
43 |
+
CARDS_PER_NODE=8;
|
44 |
+
N_CARDS=$((NUM_NODES*CARDS_PER_NODE));
|
45 |
+
echo "MPI_ROOT=$MPI_ROOT";
|
46 |
+
echo "N_CARDS=$N_CARDS";
|
47 |
+
echo "MASTER_ADDR=$MASTER_ADDR";
|
48 |
+
sleep 20;
|
49 |
+
|
50 |
+
|
51 |
+
mpirun -np $N_CARDS -npernode 8 \
|
52 |
+
--tag-output \
|
53 |
+
--allow-run-as-root \
|
54 |
+
--prefix $MPI_ROOT \
|
55 |
+
-x WORKER_DIR=$WORKER_DIR \
|
56 |
+
-x SYNAPSE_VERSION=$SYNAPSE_VERSION $MEGATRON_SETUP_CMD;
|
57 |
+
|
58 |
+
mpirun -np $N_CARDS -npernode 8 \
|
59 |
+
--tag-output \
|
60 |
+
--allow-run-as-root \
|
61 |
+
--prefix $MPI_ROOT \
|
62 |
+
-x WORKER_DIR=$WORKER_DIR \
|
63 |
+
-x SYNAPSE_VERSION=$SYNAPSE_VERSION $TOKENIZER_CMD;
|
64 |
+
|
65 |
+
|
66 |
+
Worker:
|
67 |
+
replicas: 1
|
68 |
+
template:
|
69 |
+
spec:
|
70 |
+
volumes:
|
71 |
+
- name: work-dir
|
72 |
+
persistentVolumeClaim:
|
73 |
+
claimName: peacock-fs-pvc
|
74 |
+
tolerations:
|
75 |
+
- key: "habana.ai/gaudi"
|
76 |
+
operator: "Exists"
|
77 |
+
effect: "NoSchedule"
|
78 |
+
- key: "k8s/namespace"
|
79 |
+
operator: "Equal"
|
80 |
+
value: "peacock"
|
81 |
+
effect: "NoSchedule"
|
82 |
+
hostIPC: true
|
83 |
+
containers:
|
84 |
+
- image: vault.habana.ai/gaudi-docker/1.15.1/ubuntu22.04/habanalabs/pytorch-installer-2.2.0:latest
|
85 |
+
name: peacock-llama-worker
|
86 |
+
imagePullPolicy: IfNotPresent
|
87 |
+
securityContext:
|
88 |
+
capabilities:
|
89 |
+
add:
|
90 |
+
- SYSLOG
|
91 |
+
resources:
|
92 |
+
limits:
|
93 |
+
habana.ai/gaudi: 8
|
94 |
+
hugepages-2Mi: 300Gi
|
95 |
+
memory: 700Gi
|
96 |
+
cpu: 150
|
97 |
+
requests:
|
98 |
+
habana.ai/gaudi: 8
|
99 |
+
hugepages-2Mi: 300Gi
|
100 |
+
memory: 700Gi
|
101 |
+
cpu: 150
|
102 |
+
volumeMounts:
|
103 |
+
- name: work-dir
|
104 |
+
mountPath: /mnt/weka/peacock
|
english_only/tok_english_only/tok_jobs/tokenizer_4.yaml
ADDED
@@ -0,0 +1,104 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
apiVersion: kubeflow.org/v2beta1
|
2 |
+
kind: MPIJob
|
3 |
+
metadata:
|
4 |
+
name: peacock-tokenizer-english-only-4
|
5 |
+
namespace: peacock
|
6 |
+
labels:
|
7 |
+
app: peacock-tokenizer-english-only-4
|
8 |
+
spec:
|
9 |
+
slotsPerWorker: 8
|
10 |
+
runPolicy:
|
11 |
+
backoffLimit: 1
|
12 |
+
cleanPodPolicy: Running
|
13 |
+
mpiReplicaSpecs:
|
14 |
+
Launcher:
|
15 |
+
replicas: 1
|
16 |
+
template:
|
17 |
+
spec:
|
18 |
+
hostIPC: true
|
19 |
+
volumes:
|
20 |
+
- name: work-dir
|
21 |
+
persistentVolumeClaim:
|
22 |
+
claimName: peacock-fs-pvc
|
23 |
+
containers:
|
24 |
+
- image: vault.habana.ai/gaudi-docker/1.15.1/ubuntu22.04/habanalabs/pytorch-installer-2.2.0:latest
|
25 |
+
name: peacock-tokenizer-english-only-4-launcher
|
26 |
+
imagePullPolicy: IfNotPresent
|
27 |
+
volumeMounts:
|
28 |
+
- name: work-dir
|
29 |
+
mountPath: /mnt/weka/peacock
|
30 |
+
command: ["/bin/bash", "-c"]
|
31 |
+
args:
|
32 |
+
- >-
|
33 |
+
|
34 |
+
export SYNAPSE_VERSION="1.15.1";
|
35 |
+
export WORKER_DIR="/mnt/weka/peacock/experiments/llama";
|
36 |
+
|
37 |
+
export MEGATRON_SETUP_CMD="$WORKER_DIR/launch/setup.sh"
|
38 |
+
export TOKENIZER_CMD=/mnt/weka/peacock/idc/datasets/english_only//tok_english_only/tok_files/tokenizer_4.sh
|
39 |
+
HOSTSFILE=$OMPI_MCA_orte_default_hostfile;
|
40 |
+
echo "HOSTSFILE=$HOSTSFILE";
|
41 |
+
MASTER_ADDR="$(head -n 1 $HOSTSFILE | sed -n s/[[:space:]]slots.*//p)";
|
42 |
+
NUM_NODES=$(wc -l < $HOSTSFILE);
|
43 |
+
CARDS_PER_NODE=8;
|
44 |
+
N_CARDS=$((NUM_NODES*CARDS_PER_NODE));
|
45 |
+
echo "MPI_ROOT=$MPI_ROOT";
|
46 |
+
echo "N_CARDS=$N_CARDS";
|
47 |
+
echo "MASTER_ADDR=$MASTER_ADDR";
|
48 |
+
sleep 20;
|
49 |
+
|
50 |
+
|
51 |
+
mpirun -np $N_CARDS -npernode 8 \
|
52 |
+
--tag-output \
|
53 |
+
--allow-run-as-root \
|
54 |
+
--prefix $MPI_ROOT \
|
55 |
+
-x WORKER_DIR=$WORKER_DIR \
|
56 |
+
-x SYNAPSE_VERSION=$SYNAPSE_VERSION $MEGATRON_SETUP_CMD;
|
57 |
+
|
58 |
+
mpirun -np $N_CARDS -npernode 8 \
|
59 |
+
--tag-output \
|
60 |
+
--allow-run-as-root \
|
61 |
+
--prefix $MPI_ROOT \
|
62 |
+
-x WORKER_DIR=$WORKER_DIR \
|
63 |
+
-x SYNAPSE_VERSION=$SYNAPSE_VERSION $TOKENIZER_CMD;
|
64 |
+
|
65 |
+
|
66 |
+
Worker:
|
67 |
+
replicas: 1
|
68 |
+
template:
|
69 |
+
spec:
|
70 |
+
volumes:
|
71 |
+
- name: work-dir
|
72 |
+
persistentVolumeClaim:
|
73 |
+
claimName: peacock-fs-pvc
|
74 |
+
tolerations:
|
75 |
+
- key: "habana.ai/gaudi"
|
76 |
+
operator: "Exists"
|
77 |
+
effect: "NoSchedule"
|
78 |
+
- key: "k8s/namespace"
|
79 |
+
operator: "Equal"
|
80 |
+
value: "peacock"
|
81 |
+
effect: "NoSchedule"
|
82 |
+
hostIPC: true
|
83 |
+
containers:
|
84 |
+
- image: vault.habana.ai/gaudi-docker/1.15.1/ubuntu22.04/habanalabs/pytorch-installer-2.2.0:latest
|
85 |
+
name: peacock-llama-worker
|
86 |
+
imagePullPolicy: IfNotPresent
|
87 |
+
securityContext:
|
88 |
+
capabilities:
|
89 |
+
add:
|
90 |
+
- SYSLOG
|
91 |
+
resources:
|
92 |
+
limits:
|
93 |
+
habana.ai/gaudi: 8
|
94 |
+
hugepages-2Mi: 300Gi
|
95 |
+
memory: 700Gi
|
96 |
+
cpu: 150
|
97 |
+
requests:
|
98 |
+
habana.ai/gaudi: 8
|
99 |
+
hugepages-2Mi: 300Gi
|
100 |
+
memory: 700Gi
|
101 |
+
cpu: 150
|
102 |
+
volumeMounts:
|
103 |
+
- name: work-dir
|
104 |
+
mountPath: /mnt/weka/peacock
|
english_only/tok_english_only/tok_jobs/tokenizer_9.yaml
ADDED
@@ -0,0 +1,104 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
apiVersion: kubeflow.org/v2beta1
|
2 |
+
kind: MPIJob
|
3 |
+
metadata:
|
4 |
+
name: peacock-tokenizer-english-only-9
|
5 |
+
namespace: peacock
|
6 |
+
labels:
|
7 |
+
app: peacock-tokenizer-english-only-9
|
8 |
+
spec:
|
9 |
+
slotsPerWorker: 8
|
10 |
+
runPolicy:
|
11 |
+
backoffLimit: 1
|
12 |
+
cleanPodPolicy: Running
|
13 |
+
mpiReplicaSpecs:
|
14 |
+
Launcher:
|
15 |
+
replicas: 1
|
16 |
+
template:
|
17 |
+
spec:
|
18 |
+
hostIPC: true
|
19 |
+
volumes:
|
20 |
+
- name: work-dir
|
21 |
+
persistentVolumeClaim:
|
22 |
+
claimName: peacock-fs-pvc
|
23 |
+
containers:
|
24 |
+
- image: vault.habana.ai/gaudi-docker/1.15.1/ubuntu22.04/habanalabs/pytorch-installer-2.2.0:latest
|
25 |
+
name: peacock-tokenizer-english-only-9-launcher
|
26 |
+
imagePullPolicy: IfNotPresent
|
27 |
+
volumeMounts:
|
28 |
+
- name: work-dir
|
29 |
+
mountPath: /mnt/weka/peacock
|
30 |
+
command: ["/bin/bash", "-c"]
|
31 |
+
args:
|
32 |
+
- >-
|
33 |
+
|
34 |
+
export SYNAPSE_VERSION="1.15.1";
|
35 |
+
export WORKER_DIR="/mnt/weka/peacock/experiments/llama";
|
36 |
+
|
37 |
+
export MEGATRON_SETUP_CMD="$WORKER_DIR/launch/setup.sh"
|
38 |
+
export TOKENIZER_CMD=/mnt/weka/peacock/idc/datasets/english_only//tok_english_only/tok_files/tokenizer_9.sh
|
39 |
+
HOSTSFILE=$OMPI_MCA_orte_default_hostfile;
|
40 |
+
echo "HOSTSFILE=$HOSTSFILE";
|
41 |
+
MASTER_ADDR="$(head -n 1 $HOSTSFILE | sed -n s/[[:space:]]slots.*//p)";
|
42 |
+
NUM_NODES=$(wc -l < $HOSTSFILE);
|
43 |
+
CARDS_PER_NODE=8;
|
44 |
+
N_CARDS=$((NUM_NODES*CARDS_PER_NODE));
|
45 |
+
echo "MPI_ROOT=$MPI_ROOT";
|
46 |
+
echo "N_CARDS=$N_CARDS";
|
47 |
+
echo "MASTER_ADDR=$MASTER_ADDR";
|
48 |
+
sleep 20;
|
49 |
+
|
50 |
+
|
51 |
+
mpirun -np $N_CARDS -npernode 8 \
|
52 |
+
--tag-output \
|
53 |
+
--allow-run-as-root \
|
54 |
+
--prefix $MPI_ROOT \
|
55 |
+
-x WORKER_DIR=$WORKER_DIR \
|
56 |
+
-x SYNAPSE_VERSION=$SYNAPSE_VERSION $MEGATRON_SETUP_CMD;
|
57 |
+
|
58 |
+
mpirun -np $N_CARDS -npernode 8 \
|
59 |
+
--tag-output \
|
60 |
+
--allow-run-as-root \
|
61 |
+
--prefix $MPI_ROOT \
|
62 |
+
-x WORKER_DIR=$WORKER_DIR \
|
63 |
+
-x SYNAPSE_VERSION=$SYNAPSE_VERSION $TOKENIZER_CMD;
|
64 |
+
|
65 |
+
|
66 |
+
Worker:
|
67 |
+
replicas: 1
|
68 |
+
template:
|
69 |
+
spec:
|
70 |
+
volumes:
|
71 |
+
- name: work-dir
|
72 |
+
persistentVolumeClaim:
|
73 |
+
claimName: peacock-fs-pvc
|
74 |
+
tolerations:
|
75 |
+
- key: "habana.ai/gaudi"
|
76 |
+
operator: "Exists"
|
77 |
+
effect: "NoSchedule"
|
78 |
+
- key: "k8s/namespace"
|
79 |
+
operator: "Equal"
|
80 |
+
value: "peacock"
|
81 |
+
effect: "NoSchedule"
|
82 |
+
hostIPC: true
|
83 |
+
containers:
|
84 |
+
- image: vault.habana.ai/gaudi-docker/1.15.1/ubuntu22.04/habanalabs/pytorch-installer-2.2.0:latest
|
85 |
+
name: peacock-llama-worker
|
86 |
+
imagePullPolicy: IfNotPresent
|
87 |
+
securityContext:
|
88 |
+
capabilities:
|
89 |
+
add:
|
90 |
+
- SYSLOG
|
91 |
+
resources:
|
92 |
+
limits:
|
93 |
+
habana.ai/gaudi: 8
|
94 |
+
hugepages-2Mi: 300Gi
|
95 |
+
memory: 700Gi
|
96 |
+
cpu: 150
|
97 |
+
requests:
|
98 |
+
habana.ai/gaudi: 8
|
99 |
+
hugepages-2Mi: 300Gi
|
100 |
+
memory: 700Gi
|
101 |
+
cpu: 150
|
102 |
+
volumeMounts:
|
103 |
+
- name: work-dir
|
104 |
+
mountPath: /mnt/weka/peacock
|