applied-ai-018
commited on
Add files using upload-large-folder tool
Browse filesThis view is limited to 50 files because it contains too many changes.
See raw diff
- hn_eng_bn/tok_en-bn-hn/tok_jobs_4/tokenizer_302.yaml +104 -0
- hn_eng_bn/tok_en-bn-hn/tok_jobs_4/tokenizer_314.yaml +104 -0
- hn_eng_bn/tok_en-bn-hn/tok_jobs_4/tokenizer_323.yaml +104 -0
- hn_eng_bn/tok_en-bn-hn/tok_jobs_4/tokenizer_335.yaml +104 -0
- hn_eng_bn/tok_en-bn-hn/tok_jobs_4/tokenizer_336.yaml +104 -0
- hn_eng_bn/tok_en-bn-hn/tok_jobs_4/tokenizer_337.yaml +104 -0
- hn_eng_bn/tok_en-bn-hn/tok_jobs_4/tokenizer_345.yaml +104 -0
- hn_eng_bn/tok_en-bn-hn/tok_jobs_4/tokenizer_347.yaml +104 -0
- hn_eng_bn/tok_en-bn-hn/tok_jobs_4/tokenizer_352.yaml +104 -0
- hn_eng_bn/tok_en-bn-hn/tok_jobs_4/tokenizer_356.yaml +104 -0
- hn_eng_bn/tok_en-bn-hn/tok_jobs_4/tokenizer_357.yaml +104 -0
- hn_eng_bn/tok_en-bn-hn/tok_jobs_4/tokenizer_358.yaml +104 -0
- hn_eng_bn/tok_en-bn-hn/tok_jobs_4/tokenizer_363.yaml +104 -0
- hn_eng_bn/tok_en-bn-hn/tok_jobs_4/tokenizer_370.yaml +104 -0
- hn_eng_bn/tok_en-bn-hn/tok_jobs_4/tokenizer_372.yaml +104 -0
- hn_eng_bn/tok_en-bn-hn/tok_jobs_4/tokenizer_373.yaml +104 -0
- hn_eng_bn/tok_en-bn-hn/tok_jobs_4/tokenizer_374.yaml +104 -0
- hn_eng_bn/tok_en-bn-hn/tok_jobs_4/tokenizer_381.yaml +104 -0
- hn_eng_bn/tok_en-bn-hn/tok_jobs_4/tokenizer_383.yaml +104 -0
- hn_eng_bn/tok_en-bn-hn/tok_jobs_4/tokenizer_386.yaml +104 -0
- hn_eng_bn/tok_en-bn-hn/tok_jobs_4/tokenizer_390.yaml +104 -0
- hn_eng_bn/tok_en-bn-hn/tok_jobs_4/tokenizer_391.yaml +104 -0
- hn_eng_bn/tok_en-bn-hn/tok_jobs_4/tokenizer_393.yaml +104 -0
- hn_eng_bn/tok_en-bn-hn/tok_jobs_4/tokenizer_394.yaml +104 -0
- hn_eng_bn/tok_en-bn-hn/tok_jobs_4/tokenizer_395.yaml +104 -0
- hn_eng_bn/tok_en-bn-hn/tok_jobs_4/tokenizer_396.yaml +104 -0
- hn_eng_bn/tok_en-bn-hn/tok_jobs_7/tokenizer_601.yaml +104 -0
- hn_eng_bn/tok_en-bn-hn/tok_jobs_7/tokenizer_604.yaml +104 -0
- hn_eng_bn/tok_en-bn-hn/tok_jobs_7/tokenizer_605.yaml +104 -0
- hn_eng_bn/tok_en-bn-hn/tok_jobs_7/tokenizer_607.yaml +104 -0
- hn_eng_bn/tok_en-bn-hn/tok_jobs_7/tokenizer_609.yaml +104 -0
- hn_eng_bn/tok_en-bn-hn/tok_jobs_7/tokenizer_611.yaml +104 -0
- hn_eng_bn/tok_en-bn-hn/tok_jobs_7/tokenizer_614.yaml +104 -0
- hn_eng_bn/tok_en-bn-hn/tok_jobs_7/tokenizer_615.yaml +104 -0
- hn_eng_bn/tok_en-bn-hn/tok_jobs_7/tokenizer_616.yaml +104 -0
- hn_eng_bn/tok_en-bn-hn/tok_jobs_7/tokenizer_617.yaml +104 -0
- hn_eng_bn/tok_en-bn-hn/tok_jobs_7/tokenizer_618.yaml +104 -0
- hn_eng_bn/tok_en-bn-hn/tok_jobs_7/tokenizer_620.yaml +104 -0
- hn_eng_bn/tok_en-bn-hn/tok_jobs_7/tokenizer_622.yaml +104 -0
- hn_eng_bn/tok_en-bn-hn/tok_jobs_7/tokenizer_623.yaml +104 -0
- hn_eng_bn/tok_en-bn-hn/tok_jobs_7/tokenizer_626.yaml +104 -0
- hn_eng_bn/tok_en-bn-hn/tok_jobs_7/tokenizer_627.yaml +104 -0
- hn_eng_bn/tok_en-bn-hn/tok_jobs_7/tokenizer_628.yaml +104 -0
- hn_eng_bn/tok_en-bn-hn/tok_jobs_7/tokenizer_629.yaml +104 -0
- hn_eng_bn/tok_en-bn-hn/tok_jobs_7/tokenizer_630.yaml +104 -0
- hn_eng_bn/tok_en-bn-hn/tok_jobs_7/tokenizer_634.yaml +104 -0
- hn_eng_bn/tok_en-bn-hn/tok_jobs_7/tokenizer_636.yaml +104 -0
- hn_eng_bn/tok_en-bn-hn/tok_jobs_7/tokenizer_639.yaml +104 -0
- hn_eng_bn/tok_en-bn-hn/tok_jobs_7/tokenizer_640.yaml +104 -0
- hn_eng_bn/tok_en-bn-hn/tok_jobs_7/tokenizer_641.yaml +104 -0
hn_eng_bn/tok_en-bn-hn/tok_jobs_4/tokenizer_302.yaml
ADDED
@@ -0,0 +1,104 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
apiVersion: kubeflow.org/v2beta1
|
2 |
+
kind: MPIJob
|
3 |
+
metadata:
|
4 |
+
name: peacock-tokenizer-en-bn-hn-302
|
5 |
+
namespace: peacock
|
6 |
+
labels:
|
7 |
+
app: peacock-tokenizer-en-bn-hn-302
|
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-en-bn-hn-302-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/hn_eng_bn/tok_en-bn-hn/tok_files/tokenizer_302.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
|
hn_eng_bn/tok_en-bn-hn/tok_jobs_4/tokenizer_314.yaml
ADDED
@@ -0,0 +1,104 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
apiVersion: kubeflow.org/v2beta1
|
2 |
+
kind: MPIJob
|
3 |
+
metadata:
|
4 |
+
name: peacock-tokenizer-en-bn-hn-314
|
5 |
+
namespace: peacock
|
6 |
+
labels:
|
7 |
+
app: peacock-tokenizer-en-bn-hn-314
|
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-en-bn-hn-314-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/hn_eng_bn/tok_en-bn-hn/tok_files/tokenizer_314.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
|
hn_eng_bn/tok_en-bn-hn/tok_jobs_4/tokenizer_323.yaml
ADDED
@@ -0,0 +1,104 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
apiVersion: kubeflow.org/v2beta1
|
2 |
+
kind: MPIJob
|
3 |
+
metadata:
|
4 |
+
name: peacock-tokenizer-en-bn-hn-323
|
5 |
+
namespace: peacock
|
6 |
+
labels:
|
7 |
+
app: peacock-tokenizer-en-bn-hn-323
|
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-en-bn-hn-323-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/hn_eng_bn/tok_en-bn-hn/tok_files/tokenizer_323.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
|
hn_eng_bn/tok_en-bn-hn/tok_jobs_4/tokenizer_335.yaml
ADDED
@@ -0,0 +1,104 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
apiVersion: kubeflow.org/v2beta1
|
2 |
+
kind: MPIJob
|
3 |
+
metadata:
|
4 |
+
name: peacock-tokenizer-en-bn-hn-335
|
5 |
+
namespace: peacock
|
6 |
+
labels:
|
7 |
+
app: peacock-tokenizer-en-bn-hn-335
|
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-en-bn-hn-335-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/hn_eng_bn/tok_en-bn-hn/tok_files/tokenizer_335.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
|
hn_eng_bn/tok_en-bn-hn/tok_jobs_4/tokenizer_336.yaml
ADDED
@@ -0,0 +1,104 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
apiVersion: kubeflow.org/v2beta1
|
2 |
+
kind: MPIJob
|
3 |
+
metadata:
|
4 |
+
name: peacock-tokenizer-en-bn-hn-336
|
5 |
+
namespace: peacock
|
6 |
+
labels:
|
7 |
+
app: peacock-tokenizer-en-bn-hn-336
|
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-en-bn-hn-336-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/hn_eng_bn/tok_en-bn-hn/tok_files/tokenizer_336.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
|
hn_eng_bn/tok_en-bn-hn/tok_jobs_4/tokenizer_337.yaml
ADDED
@@ -0,0 +1,104 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
apiVersion: kubeflow.org/v2beta1
|
2 |
+
kind: MPIJob
|
3 |
+
metadata:
|
4 |
+
name: peacock-tokenizer-en-bn-hn-337
|
5 |
+
namespace: peacock
|
6 |
+
labels:
|
7 |
+
app: peacock-tokenizer-en-bn-hn-337
|
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-en-bn-hn-337-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/hn_eng_bn/tok_en-bn-hn/tok_files/tokenizer_337.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
|
hn_eng_bn/tok_en-bn-hn/tok_jobs_4/tokenizer_345.yaml
ADDED
@@ -0,0 +1,104 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
apiVersion: kubeflow.org/v2beta1
|
2 |
+
kind: MPIJob
|
3 |
+
metadata:
|
4 |
+
name: peacock-tokenizer-en-bn-hn-345
|
5 |
+
namespace: peacock
|
6 |
+
labels:
|
7 |
+
app: peacock-tokenizer-en-bn-hn-345
|
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-en-bn-hn-345-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/hn_eng_bn/tok_en-bn-hn/tok_files/tokenizer_345.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
|
hn_eng_bn/tok_en-bn-hn/tok_jobs_4/tokenizer_347.yaml
ADDED
@@ -0,0 +1,104 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
apiVersion: kubeflow.org/v2beta1
|
2 |
+
kind: MPIJob
|
3 |
+
metadata:
|
4 |
+
name: peacock-tokenizer-en-bn-hn-347
|
5 |
+
namespace: peacock
|
6 |
+
labels:
|
7 |
+
app: peacock-tokenizer-en-bn-hn-347
|
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-en-bn-hn-347-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/hn_eng_bn/tok_en-bn-hn/tok_files/tokenizer_347.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
|
hn_eng_bn/tok_en-bn-hn/tok_jobs_4/tokenizer_352.yaml
ADDED
@@ -0,0 +1,104 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
apiVersion: kubeflow.org/v2beta1
|
2 |
+
kind: MPIJob
|
3 |
+
metadata:
|
4 |
+
name: peacock-tokenizer-en-bn-hn-352
|
5 |
+
namespace: peacock
|
6 |
+
labels:
|
7 |
+
app: peacock-tokenizer-en-bn-hn-352
|
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-en-bn-hn-352-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/hn_eng_bn/tok_en-bn-hn/tok_files/tokenizer_352.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
|
hn_eng_bn/tok_en-bn-hn/tok_jobs_4/tokenizer_356.yaml
ADDED
@@ -0,0 +1,104 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
apiVersion: kubeflow.org/v2beta1
|
2 |
+
kind: MPIJob
|
3 |
+
metadata:
|
4 |
+
name: peacock-tokenizer-en-bn-hn-356
|
5 |
+
namespace: peacock
|
6 |
+
labels:
|
7 |
+
app: peacock-tokenizer-en-bn-hn-356
|
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-en-bn-hn-356-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/hn_eng_bn/tok_en-bn-hn/tok_files/tokenizer_356.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
|
hn_eng_bn/tok_en-bn-hn/tok_jobs_4/tokenizer_357.yaml
ADDED
@@ -0,0 +1,104 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
apiVersion: kubeflow.org/v2beta1
|
2 |
+
kind: MPIJob
|
3 |
+
metadata:
|
4 |
+
name: peacock-tokenizer-en-bn-hn-357
|
5 |
+
namespace: peacock
|
6 |
+
labels:
|
7 |
+
app: peacock-tokenizer-en-bn-hn-357
|
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-en-bn-hn-357-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/hn_eng_bn/tok_en-bn-hn/tok_files/tokenizer_357.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
|
hn_eng_bn/tok_en-bn-hn/tok_jobs_4/tokenizer_358.yaml
ADDED
@@ -0,0 +1,104 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
apiVersion: kubeflow.org/v2beta1
|
2 |
+
kind: MPIJob
|
3 |
+
metadata:
|
4 |
+
name: peacock-tokenizer-en-bn-hn-358
|
5 |
+
namespace: peacock
|
6 |
+
labels:
|
7 |
+
app: peacock-tokenizer-en-bn-hn-358
|
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-en-bn-hn-358-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/hn_eng_bn/tok_en-bn-hn/tok_files/tokenizer_358.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
|
hn_eng_bn/tok_en-bn-hn/tok_jobs_4/tokenizer_363.yaml
ADDED
@@ -0,0 +1,104 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
apiVersion: kubeflow.org/v2beta1
|
2 |
+
kind: MPIJob
|
3 |
+
metadata:
|
4 |
+
name: peacock-tokenizer-en-bn-hn-363
|
5 |
+
namespace: peacock
|
6 |
+
labels:
|
7 |
+
app: peacock-tokenizer-en-bn-hn-363
|
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-en-bn-hn-363-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/hn_eng_bn/tok_en-bn-hn/tok_files/tokenizer_363.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
|
hn_eng_bn/tok_en-bn-hn/tok_jobs_4/tokenizer_370.yaml
ADDED
@@ -0,0 +1,104 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
apiVersion: kubeflow.org/v2beta1
|
2 |
+
kind: MPIJob
|
3 |
+
metadata:
|
4 |
+
name: peacock-tokenizer-en-bn-hn-370
|
5 |
+
namespace: peacock
|
6 |
+
labels:
|
7 |
+
app: peacock-tokenizer-en-bn-hn-370
|
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-en-bn-hn-370-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/hn_eng_bn/tok_en-bn-hn/tok_files/tokenizer_370.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
|
hn_eng_bn/tok_en-bn-hn/tok_jobs_4/tokenizer_372.yaml
ADDED
@@ -0,0 +1,104 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
apiVersion: kubeflow.org/v2beta1
|
2 |
+
kind: MPIJob
|
3 |
+
metadata:
|
4 |
+
name: peacock-tokenizer-en-bn-hn-372
|
5 |
+
namespace: peacock
|
6 |
+
labels:
|
7 |
+
app: peacock-tokenizer-en-bn-hn-372
|
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-en-bn-hn-372-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/hn_eng_bn/tok_en-bn-hn/tok_files/tokenizer_372.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
|
hn_eng_bn/tok_en-bn-hn/tok_jobs_4/tokenizer_373.yaml
ADDED
@@ -0,0 +1,104 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
apiVersion: kubeflow.org/v2beta1
|
2 |
+
kind: MPIJob
|
3 |
+
metadata:
|
4 |
+
name: peacock-tokenizer-en-bn-hn-373
|
5 |
+
namespace: peacock
|
6 |
+
labels:
|
7 |
+
app: peacock-tokenizer-en-bn-hn-373
|
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-en-bn-hn-373-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/hn_eng_bn/tok_en-bn-hn/tok_files/tokenizer_373.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
|
hn_eng_bn/tok_en-bn-hn/tok_jobs_4/tokenizer_374.yaml
ADDED
@@ -0,0 +1,104 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
apiVersion: kubeflow.org/v2beta1
|
2 |
+
kind: MPIJob
|
3 |
+
metadata:
|
4 |
+
name: peacock-tokenizer-en-bn-hn-374
|
5 |
+
namespace: peacock
|
6 |
+
labels:
|
7 |
+
app: peacock-tokenizer-en-bn-hn-374
|
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-en-bn-hn-374-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/hn_eng_bn/tok_en-bn-hn/tok_files/tokenizer_374.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
|
hn_eng_bn/tok_en-bn-hn/tok_jobs_4/tokenizer_381.yaml
ADDED
@@ -0,0 +1,104 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
apiVersion: kubeflow.org/v2beta1
|
2 |
+
kind: MPIJob
|
3 |
+
metadata:
|
4 |
+
name: peacock-tokenizer-en-bn-hn-381
|
5 |
+
namespace: peacock
|
6 |
+
labels:
|
7 |
+
app: peacock-tokenizer-en-bn-hn-381
|
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-en-bn-hn-381-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/hn_eng_bn/tok_en-bn-hn/tok_files/tokenizer_381.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
|
hn_eng_bn/tok_en-bn-hn/tok_jobs_4/tokenizer_383.yaml
ADDED
@@ -0,0 +1,104 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
apiVersion: kubeflow.org/v2beta1
|
2 |
+
kind: MPIJob
|
3 |
+
metadata:
|
4 |
+
name: peacock-tokenizer-en-bn-hn-383
|
5 |
+
namespace: peacock
|
6 |
+
labels:
|
7 |
+
app: peacock-tokenizer-en-bn-hn-383
|
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-en-bn-hn-383-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/hn_eng_bn/tok_en-bn-hn/tok_files/tokenizer_383.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
|
hn_eng_bn/tok_en-bn-hn/tok_jobs_4/tokenizer_386.yaml
ADDED
@@ -0,0 +1,104 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
apiVersion: kubeflow.org/v2beta1
|
2 |
+
kind: MPIJob
|
3 |
+
metadata:
|
4 |
+
name: peacock-tokenizer-en-bn-hn-386
|
5 |
+
namespace: peacock
|
6 |
+
labels:
|
7 |
+
app: peacock-tokenizer-en-bn-hn-386
|
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-en-bn-hn-386-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/hn_eng_bn/tok_en-bn-hn/tok_files/tokenizer_386.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
|
hn_eng_bn/tok_en-bn-hn/tok_jobs_4/tokenizer_390.yaml
ADDED
@@ -0,0 +1,104 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
apiVersion: kubeflow.org/v2beta1
|
2 |
+
kind: MPIJob
|
3 |
+
metadata:
|
4 |
+
name: peacock-tokenizer-en-bn-hn-390
|
5 |
+
namespace: peacock
|
6 |
+
labels:
|
7 |
+
app: peacock-tokenizer-en-bn-hn-390
|
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-en-bn-hn-390-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/hn_eng_bn/tok_en-bn-hn/tok_files/tokenizer_390.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
|
hn_eng_bn/tok_en-bn-hn/tok_jobs_4/tokenizer_391.yaml
ADDED
@@ -0,0 +1,104 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
apiVersion: kubeflow.org/v2beta1
|
2 |
+
kind: MPIJob
|
3 |
+
metadata:
|
4 |
+
name: peacock-tokenizer-en-bn-hn-391
|
5 |
+
namespace: peacock
|
6 |
+
labels:
|
7 |
+
app: peacock-tokenizer-en-bn-hn-391
|
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-en-bn-hn-391-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/hn_eng_bn/tok_en-bn-hn/tok_files/tokenizer_391.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
|
hn_eng_bn/tok_en-bn-hn/tok_jobs_4/tokenizer_393.yaml
ADDED
@@ -0,0 +1,104 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
apiVersion: kubeflow.org/v2beta1
|
2 |
+
kind: MPIJob
|
3 |
+
metadata:
|
4 |
+
name: peacock-tokenizer-en-bn-hn-393
|
5 |
+
namespace: peacock
|
6 |
+
labels:
|
7 |
+
app: peacock-tokenizer-en-bn-hn-393
|
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-en-bn-hn-393-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/hn_eng_bn/tok_en-bn-hn/tok_files/tokenizer_393.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
|
hn_eng_bn/tok_en-bn-hn/tok_jobs_4/tokenizer_394.yaml
ADDED
@@ -0,0 +1,104 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
apiVersion: kubeflow.org/v2beta1
|
2 |
+
kind: MPIJob
|
3 |
+
metadata:
|
4 |
+
name: peacock-tokenizer-en-bn-hn-394
|
5 |
+
namespace: peacock
|
6 |
+
labels:
|
7 |
+
app: peacock-tokenizer-en-bn-hn-394
|
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-en-bn-hn-394-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/hn_eng_bn/tok_en-bn-hn/tok_files/tokenizer_394.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
|
hn_eng_bn/tok_en-bn-hn/tok_jobs_4/tokenizer_395.yaml
ADDED
@@ -0,0 +1,104 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
apiVersion: kubeflow.org/v2beta1
|
2 |
+
kind: MPIJob
|
3 |
+
metadata:
|
4 |
+
name: peacock-tokenizer-en-bn-hn-395
|
5 |
+
namespace: peacock
|
6 |
+
labels:
|
7 |
+
app: peacock-tokenizer-en-bn-hn-395
|
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-en-bn-hn-395-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/hn_eng_bn/tok_en-bn-hn/tok_files/tokenizer_395.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
|
hn_eng_bn/tok_en-bn-hn/tok_jobs_4/tokenizer_396.yaml
ADDED
@@ -0,0 +1,104 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
apiVersion: kubeflow.org/v2beta1
|
2 |
+
kind: MPIJob
|
3 |
+
metadata:
|
4 |
+
name: peacock-tokenizer-en-bn-hn-396
|
5 |
+
namespace: peacock
|
6 |
+
labels:
|
7 |
+
app: peacock-tokenizer-en-bn-hn-396
|
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-en-bn-hn-396-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/hn_eng_bn/tok_en-bn-hn/tok_files/tokenizer_396.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
|
hn_eng_bn/tok_en-bn-hn/tok_jobs_7/tokenizer_601.yaml
ADDED
@@ -0,0 +1,104 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
apiVersion: kubeflow.org/v2beta1
|
2 |
+
kind: MPIJob
|
3 |
+
metadata:
|
4 |
+
name: peacock-tokenizer-en-bn-hn-601
|
5 |
+
namespace: peacock
|
6 |
+
labels:
|
7 |
+
app: peacock-tokenizer-en-bn-hn-601
|
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-en-bn-hn-601-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/hn_eng_bn/tok_en-bn-hn/tok_files/tokenizer_601.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
|
hn_eng_bn/tok_en-bn-hn/tok_jobs_7/tokenizer_604.yaml
ADDED
@@ -0,0 +1,104 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
apiVersion: kubeflow.org/v2beta1
|
2 |
+
kind: MPIJob
|
3 |
+
metadata:
|
4 |
+
name: peacock-tokenizer-en-bn-hn-604
|
5 |
+
namespace: peacock
|
6 |
+
labels:
|
7 |
+
app: peacock-tokenizer-en-bn-hn-604
|
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-en-bn-hn-604-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/hn_eng_bn/tok_en-bn-hn/tok_files/tokenizer_604.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
|
hn_eng_bn/tok_en-bn-hn/tok_jobs_7/tokenizer_605.yaml
ADDED
@@ -0,0 +1,104 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
apiVersion: kubeflow.org/v2beta1
|
2 |
+
kind: MPIJob
|
3 |
+
metadata:
|
4 |
+
name: peacock-tokenizer-en-bn-hn-605
|
5 |
+
namespace: peacock
|
6 |
+
labels:
|
7 |
+
app: peacock-tokenizer-en-bn-hn-605
|
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-en-bn-hn-605-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/hn_eng_bn/tok_en-bn-hn/tok_files/tokenizer_605.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
|
hn_eng_bn/tok_en-bn-hn/tok_jobs_7/tokenizer_607.yaml
ADDED
@@ -0,0 +1,104 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
apiVersion: kubeflow.org/v2beta1
|
2 |
+
kind: MPIJob
|
3 |
+
metadata:
|
4 |
+
name: peacock-tokenizer-en-bn-hn-607
|
5 |
+
namespace: peacock
|
6 |
+
labels:
|
7 |
+
app: peacock-tokenizer-en-bn-hn-607
|
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-en-bn-hn-607-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/hn_eng_bn/tok_en-bn-hn/tok_files/tokenizer_607.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
|
hn_eng_bn/tok_en-bn-hn/tok_jobs_7/tokenizer_609.yaml
ADDED
@@ -0,0 +1,104 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
apiVersion: kubeflow.org/v2beta1
|
2 |
+
kind: MPIJob
|
3 |
+
metadata:
|
4 |
+
name: peacock-tokenizer-en-bn-hn-609
|
5 |
+
namespace: peacock
|
6 |
+
labels:
|
7 |
+
app: peacock-tokenizer-en-bn-hn-609
|
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-en-bn-hn-609-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/hn_eng_bn/tok_en-bn-hn/tok_files/tokenizer_609.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
|
hn_eng_bn/tok_en-bn-hn/tok_jobs_7/tokenizer_611.yaml
ADDED
@@ -0,0 +1,104 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
apiVersion: kubeflow.org/v2beta1
|
2 |
+
kind: MPIJob
|
3 |
+
metadata:
|
4 |
+
name: peacock-tokenizer-en-bn-hn-611
|
5 |
+
namespace: peacock
|
6 |
+
labels:
|
7 |
+
app: peacock-tokenizer-en-bn-hn-611
|
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-en-bn-hn-611-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/hn_eng_bn/tok_en-bn-hn/tok_files/tokenizer_611.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
|
hn_eng_bn/tok_en-bn-hn/tok_jobs_7/tokenizer_614.yaml
ADDED
@@ -0,0 +1,104 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
apiVersion: kubeflow.org/v2beta1
|
2 |
+
kind: MPIJob
|
3 |
+
metadata:
|
4 |
+
name: peacock-tokenizer-en-bn-hn-614
|
5 |
+
namespace: peacock
|
6 |
+
labels:
|
7 |
+
app: peacock-tokenizer-en-bn-hn-614
|
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-en-bn-hn-614-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/hn_eng_bn/tok_en-bn-hn/tok_files/tokenizer_614.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
|
hn_eng_bn/tok_en-bn-hn/tok_jobs_7/tokenizer_615.yaml
ADDED
@@ -0,0 +1,104 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
apiVersion: kubeflow.org/v2beta1
|
2 |
+
kind: MPIJob
|
3 |
+
metadata:
|
4 |
+
name: peacock-tokenizer-en-bn-hn-615
|
5 |
+
namespace: peacock
|
6 |
+
labels:
|
7 |
+
app: peacock-tokenizer-en-bn-hn-615
|
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-en-bn-hn-615-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/hn_eng_bn/tok_en-bn-hn/tok_files/tokenizer_615.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
|
hn_eng_bn/tok_en-bn-hn/tok_jobs_7/tokenizer_616.yaml
ADDED
@@ -0,0 +1,104 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
apiVersion: kubeflow.org/v2beta1
|
2 |
+
kind: MPIJob
|
3 |
+
metadata:
|
4 |
+
name: peacock-tokenizer-en-bn-hn-616
|
5 |
+
namespace: peacock
|
6 |
+
labels:
|
7 |
+
app: peacock-tokenizer-en-bn-hn-616
|
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-en-bn-hn-616-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/hn_eng_bn/tok_en-bn-hn/tok_files/tokenizer_616.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
|
hn_eng_bn/tok_en-bn-hn/tok_jobs_7/tokenizer_617.yaml
ADDED
@@ -0,0 +1,104 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
apiVersion: kubeflow.org/v2beta1
|
2 |
+
kind: MPIJob
|
3 |
+
metadata:
|
4 |
+
name: peacock-tokenizer-en-bn-hn-617
|
5 |
+
namespace: peacock
|
6 |
+
labels:
|
7 |
+
app: peacock-tokenizer-en-bn-hn-617
|
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-en-bn-hn-617-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/hn_eng_bn/tok_en-bn-hn/tok_files/tokenizer_617.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
|
hn_eng_bn/tok_en-bn-hn/tok_jobs_7/tokenizer_618.yaml
ADDED
@@ -0,0 +1,104 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
apiVersion: kubeflow.org/v2beta1
|
2 |
+
kind: MPIJob
|
3 |
+
metadata:
|
4 |
+
name: peacock-tokenizer-en-bn-hn-618
|
5 |
+
namespace: peacock
|
6 |
+
labels:
|
7 |
+
app: peacock-tokenizer-en-bn-hn-618
|
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-en-bn-hn-618-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/hn_eng_bn/tok_en-bn-hn/tok_files/tokenizer_618.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
|
hn_eng_bn/tok_en-bn-hn/tok_jobs_7/tokenizer_620.yaml
ADDED
@@ -0,0 +1,104 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
apiVersion: kubeflow.org/v2beta1
|
2 |
+
kind: MPIJob
|
3 |
+
metadata:
|
4 |
+
name: peacock-tokenizer-en-bn-hn-620
|
5 |
+
namespace: peacock
|
6 |
+
labels:
|
7 |
+
app: peacock-tokenizer-en-bn-hn-620
|
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-en-bn-hn-620-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/hn_eng_bn/tok_en-bn-hn/tok_files/tokenizer_620.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
|
hn_eng_bn/tok_en-bn-hn/tok_jobs_7/tokenizer_622.yaml
ADDED
@@ -0,0 +1,104 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
apiVersion: kubeflow.org/v2beta1
|
2 |
+
kind: MPIJob
|
3 |
+
metadata:
|
4 |
+
name: peacock-tokenizer-en-bn-hn-622
|
5 |
+
namespace: peacock
|
6 |
+
labels:
|
7 |
+
app: peacock-tokenizer-en-bn-hn-622
|
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-en-bn-hn-622-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/hn_eng_bn/tok_en-bn-hn/tok_files/tokenizer_622.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
|
hn_eng_bn/tok_en-bn-hn/tok_jobs_7/tokenizer_623.yaml
ADDED
@@ -0,0 +1,104 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
apiVersion: kubeflow.org/v2beta1
|
2 |
+
kind: MPIJob
|
3 |
+
metadata:
|
4 |
+
name: peacock-tokenizer-en-bn-hn-623
|
5 |
+
namespace: peacock
|
6 |
+
labels:
|
7 |
+
app: peacock-tokenizer-en-bn-hn-623
|
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-en-bn-hn-623-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/hn_eng_bn/tok_en-bn-hn/tok_files/tokenizer_623.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
|
hn_eng_bn/tok_en-bn-hn/tok_jobs_7/tokenizer_626.yaml
ADDED
@@ -0,0 +1,104 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
apiVersion: kubeflow.org/v2beta1
|
2 |
+
kind: MPIJob
|
3 |
+
metadata:
|
4 |
+
name: peacock-tokenizer-en-bn-hn-626
|
5 |
+
namespace: peacock
|
6 |
+
labels:
|
7 |
+
app: peacock-tokenizer-en-bn-hn-626
|
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-en-bn-hn-626-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/hn_eng_bn/tok_en-bn-hn/tok_files/tokenizer_626.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
|
hn_eng_bn/tok_en-bn-hn/tok_jobs_7/tokenizer_627.yaml
ADDED
@@ -0,0 +1,104 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
apiVersion: kubeflow.org/v2beta1
|
2 |
+
kind: MPIJob
|
3 |
+
metadata:
|
4 |
+
name: peacock-tokenizer-en-bn-hn-627
|
5 |
+
namespace: peacock
|
6 |
+
labels:
|
7 |
+
app: peacock-tokenizer-en-bn-hn-627
|
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-en-bn-hn-627-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/hn_eng_bn/tok_en-bn-hn/tok_files/tokenizer_627.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
|
hn_eng_bn/tok_en-bn-hn/tok_jobs_7/tokenizer_628.yaml
ADDED
@@ -0,0 +1,104 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
apiVersion: kubeflow.org/v2beta1
|
2 |
+
kind: MPIJob
|
3 |
+
metadata:
|
4 |
+
name: peacock-tokenizer-en-bn-hn-628
|
5 |
+
namespace: peacock
|
6 |
+
labels:
|
7 |
+
app: peacock-tokenizer-en-bn-hn-628
|
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-en-bn-hn-628-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/hn_eng_bn/tok_en-bn-hn/tok_files/tokenizer_628.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
|
hn_eng_bn/tok_en-bn-hn/tok_jobs_7/tokenizer_629.yaml
ADDED
@@ -0,0 +1,104 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
apiVersion: kubeflow.org/v2beta1
|
2 |
+
kind: MPIJob
|
3 |
+
metadata:
|
4 |
+
name: peacock-tokenizer-en-bn-hn-629
|
5 |
+
namespace: peacock
|
6 |
+
labels:
|
7 |
+
app: peacock-tokenizer-en-bn-hn-629
|
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-en-bn-hn-629-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/hn_eng_bn/tok_en-bn-hn/tok_files/tokenizer_629.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
|
hn_eng_bn/tok_en-bn-hn/tok_jobs_7/tokenizer_630.yaml
ADDED
@@ -0,0 +1,104 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
apiVersion: kubeflow.org/v2beta1
|
2 |
+
kind: MPIJob
|
3 |
+
metadata:
|
4 |
+
name: peacock-tokenizer-en-bn-hn-630
|
5 |
+
namespace: peacock
|
6 |
+
labels:
|
7 |
+
app: peacock-tokenizer-en-bn-hn-630
|
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-en-bn-hn-630-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/hn_eng_bn/tok_en-bn-hn/tok_files/tokenizer_630.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
|
hn_eng_bn/tok_en-bn-hn/tok_jobs_7/tokenizer_634.yaml
ADDED
@@ -0,0 +1,104 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
apiVersion: kubeflow.org/v2beta1
|
2 |
+
kind: MPIJob
|
3 |
+
metadata:
|
4 |
+
name: peacock-tokenizer-en-bn-hn-634
|
5 |
+
namespace: peacock
|
6 |
+
labels:
|
7 |
+
app: peacock-tokenizer-en-bn-hn-634
|
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-en-bn-hn-634-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/hn_eng_bn/tok_en-bn-hn/tok_files/tokenizer_634.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
|
hn_eng_bn/tok_en-bn-hn/tok_jobs_7/tokenizer_636.yaml
ADDED
@@ -0,0 +1,104 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
apiVersion: kubeflow.org/v2beta1
|
2 |
+
kind: MPIJob
|
3 |
+
metadata:
|
4 |
+
name: peacock-tokenizer-en-bn-hn-636
|
5 |
+
namespace: peacock
|
6 |
+
labels:
|
7 |
+
app: peacock-tokenizer-en-bn-hn-636
|
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-en-bn-hn-636-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/hn_eng_bn/tok_en-bn-hn/tok_files/tokenizer_636.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
|
hn_eng_bn/tok_en-bn-hn/tok_jobs_7/tokenizer_639.yaml
ADDED
@@ -0,0 +1,104 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
apiVersion: kubeflow.org/v2beta1
|
2 |
+
kind: MPIJob
|
3 |
+
metadata:
|
4 |
+
name: peacock-tokenizer-en-bn-hn-639
|
5 |
+
namespace: peacock
|
6 |
+
labels:
|
7 |
+
app: peacock-tokenizer-en-bn-hn-639
|
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-en-bn-hn-639-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/hn_eng_bn/tok_en-bn-hn/tok_files/tokenizer_639.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
|
hn_eng_bn/tok_en-bn-hn/tok_jobs_7/tokenizer_640.yaml
ADDED
@@ -0,0 +1,104 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
apiVersion: kubeflow.org/v2beta1
|
2 |
+
kind: MPIJob
|
3 |
+
metadata:
|
4 |
+
name: peacock-tokenizer-en-bn-hn-640
|
5 |
+
namespace: peacock
|
6 |
+
labels:
|
7 |
+
app: peacock-tokenizer-en-bn-hn-640
|
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-en-bn-hn-640-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/hn_eng_bn/tok_en-bn-hn/tok_files/tokenizer_640.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
|
hn_eng_bn/tok_en-bn-hn/tok_jobs_7/tokenizer_641.yaml
ADDED
@@ -0,0 +1,104 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
apiVersion: kubeflow.org/v2beta1
|
2 |
+
kind: MPIJob
|
3 |
+
metadata:
|
4 |
+
name: peacock-tokenizer-en-bn-hn-641
|
5 |
+
namespace: peacock
|
6 |
+
labels:
|
7 |
+
app: peacock-tokenizer-en-bn-hn-641
|
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-en-bn-hn-641-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/hn_eng_bn/tok_en-bn-hn/tok_files/tokenizer_641.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
|