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_300.yaml +104 -0
- hn_eng_bn/tok_en-bn-hn/tok_jobs_4/tokenizer_301.yaml +104 -0
- hn_eng_bn/tok_en-bn-hn/tok_jobs_4/tokenizer_303.yaml +104 -0
- hn_eng_bn/tok_en-bn-hn/tok_jobs_4/tokenizer_304.yaml +104 -0
- hn_eng_bn/tok_en-bn-hn/tok_jobs_4/tokenizer_305.yaml +104 -0
- hn_eng_bn/tok_en-bn-hn/tok_jobs_4/tokenizer_306.yaml +104 -0
- hn_eng_bn/tok_en-bn-hn/tok_jobs_4/tokenizer_307.yaml +104 -0
- hn_eng_bn/tok_en-bn-hn/tok_jobs_4/tokenizer_308.yaml +104 -0
- hn_eng_bn/tok_en-bn-hn/tok_jobs_4/tokenizer_309.yaml +104 -0
- hn_eng_bn/tok_en-bn-hn/tok_jobs_4/tokenizer_310.yaml +104 -0
- hn_eng_bn/tok_en-bn-hn/tok_jobs_4/tokenizer_311.yaml +104 -0
- hn_eng_bn/tok_en-bn-hn/tok_jobs_4/tokenizer_312.yaml +104 -0
- hn_eng_bn/tok_en-bn-hn/tok_jobs_4/tokenizer_313.yaml +104 -0
- hn_eng_bn/tok_en-bn-hn/tok_jobs_4/tokenizer_315.yaml +104 -0
- hn_eng_bn/tok_en-bn-hn/tok_jobs_4/tokenizer_316.yaml +104 -0
- hn_eng_bn/tok_en-bn-hn/tok_jobs_4/tokenizer_317.yaml +104 -0
- hn_eng_bn/tok_en-bn-hn/tok_jobs_4/tokenizer_318.yaml +104 -0
- hn_eng_bn/tok_en-bn-hn/tok_jobs_4/tokenizer_319.yaml +104 -0
- hn_eng_bn/tok_en-bn-hn/tok_jobs_4/tokenizer_320.yaml +104 -0
- hn_eng_bn/tok_en-bn-hn/tok_jobs_4/tokenizer_321.yaml +104 -0
- hn_eng_bn/tok_en-bn-hn/tok_jobs_4/tokenizer_322.yaml +104 -0
- hn_eng_bn/tok_en-bn-hn/tok_jobs_4/tokenizer_324.yaml +104 -0
- hn_eng_bn/tok_en-bn-hn/tok_jobs_4/tokenizer_325.yaml +104 -0
- hn_eng_bn/tok_en-bn-hn/tok_jobs_4/tokenizer_326.yaml +104 -0
- hn_eng_bn/tok_en-bn-hn/tok_jobs_4/tokenizer_327.yaml +104 -0
- hn_eng_bn/tok_en-bn-hn/tok_jobs_4/tokenizer_328.yaml +104 -0
- hn_eng_bn/tok_en-bn-hn/tok_jobs_4/tokenizer_329.yaml +104 -0
- hn_eng_bn/tok_en-bn-hn/tok_jobs_4/tokenizer_330.yaml +104 -0
- hn_eng_bn/tok_en-bn-hn/tok_jobs_4/tokenizer_331.yaml +104 -0
- hn_eng_bn/tok_en-bn-hn/tok_jobs_4/tokenizer_332.yaml +104 -0
- hn_eng_bn/tok_en-bn-hn/tok_jobs_4/tokenizer_333.yaml +104 -0
- hn_eng_bn/tok_en-bn-hn/tok_jobs_4/tokenizer_334.yaml +104 -0
- hn_eng_bn/tok_en-bn-hn/tok_jobs_4/tokenizer_338.yaml +104 -0
- hn_eng_bn/tok_en-bn-hn/tok_jobs_4/tokenizer_339.yaml +104 -0
- hn_eng_bn/tok_en-bn-hn/tok_jobs_4/tokenizer_340.yaml +104 -0
- hn_eng_bn/tok_en-bn-hn/tok_jobs_4/tokenizer_341.yaml +104 -0
- hn_eng_bn/tok_en-bn-hn/tok_jobs_4/tokenizer_342.yaml +104 -0
- hn_eng_bn/tok_en-bn-hn/tok_jobs_4/tokenizer_343.yaml +104 -0
- hn_eng_bn/tok_en-bn-hn/tok_jobs_4/tokenizer_344.yaml +104 -0
- hn_eng_bn/tok_en-bn-hn/tok_jobs_4/tokenizer_346.yaml +104 -0
- hn_eng_bn/tok_en-bn-hn/tok_jobs_4/tokenizer_348.yaml +104 -0
- hn_eng_bn/tok_en-bn-hn/tok_jobs_4/tokenizer_349.yaml +104 -0
- hn_eng_bn/tok_en-bn-hn/tok_jobs_4/tokenizer_350.yaml +104 -0
- hn_eng_bn/tok_en-bn-hn/tok_jobs_4/tokenizer_351.yaml +104 -0
- hn_eng_bn/tok_en-bn-hn/tok_jobs_4/tokenizer_353.yaml +104 -0
- hn_eng_bn/tok_en-bn-hn/tok_jobs_4/tokenizer_354.yaml +104 -0
- hn_eng_bn/tok_en-bn-hn/tok_jobs_4/tokenizer_355.yaml +104 -0
- hn_eng_bn/tok_en-bn-hn/tok_jobs_4/tokenizer_359.yaml +104 -0
- hn_eng_bn/tok_en-bn-hn/tok_jobs_4/tokenizer_360.yaml +104 -0
- hn_eng_bn/tok_en-bn-hn/tok_jobs_4/tokenizer_361.yaml +104 -0
hn_eng_bn/tok_en-bn-hn/tok_jobs_4/tokenizer_300.yaml
ADDED
@@ -0,0 +1,104 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
apiVersion: kubeflow.org/v2beta1
|
2 |
+
kind: MPIJob
|
3 |
+
metadata:
|
4 |
+
name: peacock-tokenizer-en-bn-hn-300
|
5 |
+
namespace: peacock
|
6 |
+
labels:
|
7 |
+
app: peacock-tokenizer-en-bn-hn-300
|
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-300-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_300.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_301.yaml
ADDED
@@ -0,0 +1,104 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
apiVersion: kubeflow.org/v2beta1
|
2 |
+
kind: MPIJob
|
3 |
+
metadata:
|
4 |
+
name: peacock-tokenizer-en-bn-hn-301
|
5 |
+
namespace: peacock
|
6 |
+
labels:
|
7 |
+
app: peacock-tokenizer-en-bn-hn-301
|
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-301-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_301.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_303.yaml
ADDED
@@ -0,0 +1,104 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
apiVersion: kubeflow.org/v2beta1
|
2 |
+
kind: MPIJob
|
3 |
+
metadata:
|
4 |
+
name: peacock-tokenizer-en-bn-hn-303
|
5 |
+
namespace: peacock
|
6 |
+
labels:
|
7 |
+
app: peacock-tokenizer-en-bn-hn-303
|
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-303-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_303.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_304.yaml
ADDED
@@ -0,0 +1,104 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
apiVersion: kubeflow.org/v2beta1
|
2 |
+
kind: MPIJob
|
3 |
+
metadata:
|
4 |
+
name: peacock-tokenizer-en-bn-hn-304
|
5 |
+
namespace: peacock
|
6 |
+
labels:
|
7 |
+
app: peacock-tokenizer-en-bn-hn-304
|
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-304-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_304.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_305.yaml
ADDED
@@ -0,0 +1,104 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
apiVersion: kubeflow.org/v2beta1
|
2 |
+
kind: MPIJob
|
3 |
+
metadata:
|
4 |
+
name: peacock-tokenizer-en-bn-hn-305
|
5 |
+
namespace: peacock
|
6 |
+
labels:
|
7 |
+
app: peacock-tokenizer-en-bn-hn-305
|
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-305-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_305.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_306.yaml
ADDED
@@ -0,0 +1,104 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
apiVersion: kubeflow.org/v2beta1
|
2 |
+
kind: MPIJob
|
3 |
+
metadata:
|
4 |
+
name: peacock-tokenizer-en-bn-hn-306
|
5 |
+
namespace: peacock
|
6 |
+
labels:
|
7 |
+
app: peacock-tokenizer-en-bn-hn-306
|
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-306-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_306.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_307.yaml
ADDED
@@ -0,0 +1,104 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
apiVersion: kubeflow.org/v2beta1
|
2 |
+
kind: MPIJob
|
3 |
+
metadata:
|
4 |
+
name: peacock-tokenizer-en-bn-hn-307
|
5 |
+
namespace: peacock
|
6 |
+
labels:
|
7 |
+
app: peacock-tokenizer-en-bn-hn-307
|
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-307-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_307.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_308.yaml
ADDED
@@ -0,0 +1,104 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
apiVersion: kubeflow.org/v2beta1
|
2 |
+
kind: MPIJob
|
3 |
+
metadata:
|
4 |
+
name: peacock-tokenizer-en-bn-hn-308
|
5 |
+
namespace: peacock
|
6 |
+
labels:
|
7 |
+
app: peacock-tokenizer-en-bn-hn-308
|
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-308-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_308.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_309.yaml
ADDED
@@ -0,0 +1,104 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
apiVersion: kubeflow.org/v2beta1
|
2 |
+
kind: MPIJob
|
3 |
+
metadata:
|
4 |
+
name: peacock-tokenizer-en-bn-hn-309
|
5 |
+
namespace: peacock
|
6 |
+
labels:
|
7 |
+
app: peacock-tokenizer-en-bn-hn-309
|
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-309-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_309.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_310.yaml
ADDED
@@ -0,0 +1,104 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
apiVersion: kubeflow.org/v2beta1
|
2 |
+
kind: MPIJob
|
3 |
+
metadata:
|
4 |
+
name: peacock-tokenizer-en-bn-hn-310
|
5 |
+
namespace: peacock
|
6 |
+
labels:
|
7 |
+
app: peacock-tokenizer-en-bn-hn-310
|
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-310-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_310.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_311.yaml
ADDED
@@ -0,0 +1,104 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
apiVersion: kubeflow.org/v2beta1
|
2 |
+
kind: MPIJob
|
3 |
+
metadata:
|
4 |
+
name: peacock-tokenizer-en-bn-hn-311
|
5 |
+
namespace: peacock
|
6 |
+
labels:
|
7 |
+
app: peacock-tokenizer-en-bn-hn-311
|
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-311-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_311.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_312.yaml
ADDED
@@ -0,0 +1,104 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
apiVersion: kubeflow.org/v2beta1
|
2 |
+
kind: MPIJob
|
3 |
+
metadata:
|
4 |
+
name: peacock-tokenizer-en-bn-hn-312
|
5 |
+
namespace: peacock
|
6 |
+
labels:
|
7 |
+
app: peacock-tokenizer-en-bn-hn-312
|
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-312-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_312.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_313.yaml
ADDED
@@ -0,0 +1,104 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
apiVersion: kubeflow.org/v2beta1
|
2 |
+
kind: MPIJob
|
3 |
+
metadata:
|
4 |
+
name: peacock-tokenizer-en-bn-hn-313
|
5 |
+
namespace: peacock
|
6 |
+
labels:
|
7 |
+
app: peacock-tokenizer-en-bn-hn-313
|
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-313-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_313.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_315.yaml
ADDED
@@ -0,0 +1,104 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
apiVersion: kubeflow.org/v2beta1
|
2 |
+
kind: MPIJob
|
3 |
+
metadata:
|
4 |
+
name: peacock-tokenizer-en-bn-hn-315
|
5 |
+
namespace: peacock
|
6 |
+
labels:
|
7 |
+
app: peacock-tokenizer-en-bn-hn-315
|
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-315-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_315.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_316.yaml
ADDED
@@ -0,0 +1,104 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
apiVersion: kubeflow.org/v2beta1
|
2 |
+
kind: MPIJob
|
3 |
+
metadata:
|
4 |
+
name: peacock-tokenizer-en-bn-hn-316
|
5 |
+
namespace: peacock
|
6 |
+
labels:
|
7 |
+
app: peacock-tokenizer-en-bn-hn-316
|
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-316-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_316.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_317.yaml
ADDED
@@ -0,0 +1,104 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
apiVersion: kubeflow.org/v2beta1
|
2 |
+
kind: MPIJob
|
3 |
+
metadata:
|
4 |
+
name: peacock-tokenizer-en-bn-hn-317
|
5 |
+
namespace: peacock
|
6 |
+
labels:
|
7 |
+
app: peacock-tokenizer-en-bn-hn-317
|
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-317-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_317.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_318.yaml
ADDED
@@ -0,0 +1,104 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
apiVersion: kubeflow.org/v2beta1
|
2 |
+
kind: MPIJob
|
3 |
+
metadata:
|
4 |
+
name: peacock-tokenizer-en-bn-hn-318
|
5 |
+
namespace: peacock
|
6 |
+
labels:
|
7 |
+
app: peacock-tokenizer-en-bn-hn-318
|
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-318-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_318.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_319.yaml
ADDED
@@ -0,0 +1,104 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
apiVersion: kubeflow.org/v2beta1
|
2 |
+
kind: MPIJob
|
3 |
+
metadata:
|
4 |
+
name: peacock-tokenizer-en-bn-hn-319
|
5 |
+
namespace: peacock
|
6 |
+
labels:
|
7 |
+
app: peacock-tokenizer-en-bn-hn-319
|
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-319-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_319.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_320.yaml
ADDED
@@ -0,0 +1,104 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
apiVersion: kubeflow.org/v2beta1
|
2 |
+
kind: MPIJob
|
3 |
+
metadata:
|
4 |
+
name: peacock-tokenizer-en-bn-hn-320
|
5 |
+
namespace: peacock
|
6 |
+
labels:
|
7 |
+
app: peacock-tokenizer-en-bn-hn-320
|
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-320-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_320.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_321.yaml
ADDED
@@ -0,0 +1,104 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
apiVersion: kubeflow.org/v2beta1
|
2 |
+
kind: MPIJob
|
3 |
+
metadata:
|
4 |
+
name: peacock-tokenizer-en-bn-hn-321
|
5 |
+
namespace: peacock
|
6 |
+
labels:
|
7 |
+
app: peacock-tokenizer-en-bn-hn-321
|
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-321-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_321.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_322.yaml
ADDED
@@ -0,0 +1,104 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
apiVersion: kubeflow.org/v2beta1
|
2 |
+
kind: MPIJob
|
3 |
+
metadata:
|
4 |
+
name: peacock-tokenizer-en-bn-hn-322
|
5 |
+
namespace: peacock
|
6 |
+
labels:
|
7 |
+
app: peacock-tokenizer-en-bn-hn-322
|
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-322-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_322.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_324.yaml
ADDED
@@ -0,0 +1,104 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
apiVersion: kubeflow.org/v2beta1
|
2 |
+
kind: MPIJob
|
3 |
+
metadata:
|
4 |
+
name: peacock-tokenizer-en-bn-hn-324
|
5 |
+
namespace: peacock
|
6 |
+
labels:
|
7 |
+
app: peacock-tokenizer-en-bn-hn-324
|
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-324-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_324.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_325.yaml
ADDED
@@ -0,0 +1,104 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
apiVersion: kubeflow.org/v2beta1
|
2 |
+
kind: MPIJob
|
3 |
+
metadata:
|
4 |
+
name: peacock-tokenizer-en-bn-hn-325
|
5 |
+
namespace: peacock
|
6 |
+
labels:
|
7 |
+
app: peacock-tokenizer-en-bn-hn-325
|
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-325-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_325.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_326.yaml
ADDED
@@ -0,0 +1,104 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
apiVersion: kubeflow.org/v2beta1
|
2 |
+
kind: MPIJob
|
3 |
+
metadata:
|
4 |
+
name: peacock-tokenizer-en-bn-hn-326
|
5 |
+
namespace: peacock
|
6 |
+
labels:
|
7 |
+
app: peacock-tokenizer-en-bn-hn-326
|
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-326-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_326.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_327.yaml
ADDED
@@ -0,0 +1,104 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
apiVersion: kubeflow.org/v2beta1
|
2 |
+
kind: MPIJob
|
3 |
+
metadata:
|
4 |
+
name: peacock-tokenizer-en-bn-hn-327
|
5 |
+
namespace: peacock
|
6 |
+
labels:
|
7 |
+
app: peacock-tokenizer-en-bn-hn-327
|
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-327-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_327.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_328.yaml
ADDED
@@ -0,0 +1,104 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
apiVersion: kubeflow.org/v2beta1
|
2 |
+
kind: MPIJob
|
3 |
+
metadata:
|
4 |
+
name: peacock-tokenizer-en-bn-hn-328
|
5 |
+
namespace: peacock
|
6 |
+
labels:
|
7 |
+
app: peacock-tokenizer-en-bn-hn-328
|
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-328-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_328.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_329.yaml
ADDED
@@ -0,0 +1,104 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
apiVersion: kubeflow.org/v2beta1
|
2 |
+
kind: MPIJob
|
3 |
+
metadata:
|
4 |
+
name: peacock-tokenizer-en-bn-hn-329
|
5 |
+
namespace: peacock
|
6 |
+
labels:
|
7 |
+
app: peacock-tokenizer-en-bn-hn-329
|
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-329-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_329.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_330.yaml
ADDED
@@ -0,0 +1,104 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
apiVersion: kubeflow.org/v2beta1
|
2 |
+
kind: MPIJob
|
3 |
+
metadata:
|
4 |
+
name: peacock-tokenizer-en-bn-hn-330
|
5 |
+
namespace: peacock
|
6 |
+
labels:
|
7 |
+
app: peacock-tokenizer-en-bn-hn-330
|
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-330-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_330.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_331.yaml
ADDED
@@ -0,0 +1,104 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
apiVersion: kubeflow.org/v2beta1
|
2 |
+
kind: MPIJob
|
3 |
+
metadata:
|
4 |
+
name: peacock-tokenizer-en-bn-hn-331
|
5 |
+
namespace: peacock
|
6 |
+
labels:
|
7 |
+
app: peacock-tokenizer-en-bn-hn-331
|
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-331-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_331.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_332.yaml
ADDED
@@ -0,0 +1,104 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
apiVersion: kubeflow.org/v2beta1
|
2 |
+
kind: MPIJob
|
3 |
+
metadata:
|
4 |
+
name: peacock-tokenizer-en-bn-hn-332
|
5 |
+
namespace: peacock
|
6 |
+
labels:
|
7 |
+
app: peacock-tokenizer-en-bn-hn-332
|
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-332-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_332.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_333.yaml
ADDED
@@ -0,0 +1,104 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
apiVersion: kubeflow.org/v2beta1
|
2 |
+
kind: MPIJob
|
3 |
+
metadata:
|
4 |
+
name: peacock-tokenizer-en-bn-hn-333
|
5 |
+
namespace: peacock
|
6 |
+
labels:
|
7 |
+
app: peacock-tokenizer-en-bn-hn-333
|
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-333-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_333.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_334.yaml
ADDED
@@ -0,0 +1,104 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
apiVersion: kubeflow.org/v2beta1
|
2 |
+
kind: MPIJob
|
3 |
+
metadata:
|
4 |
+
name: peacock-tokenizer-en-bn-hn-334
|
5 |
+
namespace: peacock
|
6 |
+
labels:
|
7 |
+
app: peacock-tokenizer-en-bn-hn-334
|
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-334-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_334.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_338.yaml
ADDED
@@ -0,0 +1,104 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
apiVersion: kubeflow.org/v2beta1
|
2 |
+
kind: MPIJob
|
3 |
+
metadata:
|
4 |
+
name: peacock-tokenizer-en-bn-hn-338
|
5 |
+
namespace: peacock
|
6 |
+
labels:
|
7 |
+
app: peacock-tokenizer-en-bn-hn-338
|
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-338-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_338.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_339.yaml
ADDED
@@ -0,0 +1,104 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
apiVersion: kubeflow.org/v2beta1
|
2 |
+
kind: MPIJob
|
3 |
+
metadata:
|
4 |
+
name: peacock-tokenizer-en-bn-hn-339
|
5 |
+
namespace: peacock
|
6 |
+
labels:
|
7 |
+
app: peacock-tokenizer-en-bn-hn-339
|
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-339-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_339.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_340.yaml
ADDED
@@ -0,0 +1,104 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
apiVersion: kubeflow.org/v2beta1
|
2 |
+
kind: MPIJob
|
3 |
+
metadata:
|
4 |
+
name: peacock-tokenizer-en-bn-hn-340
|
5 |
+
namespace: peacock
|
6 |
+
labels:
|
7 |
+
app: peacock-tokenizer-en-bn-hn-340
|
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-340-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_340.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_341.yaml
ADDED
@@ -0,0 +1,104 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
apiVersion: kubeflow.org/v2beta1
|
2 |
+
kind: MPIJob
|
3 |
+
metadata:
|
4 |
+
name: peacock-tokenizer-en-bn-hn-341
|
5 |
+
namespace: peacock
|
6 |
+
labels:
|
7 |
+
app: peacock-tokenizer-en-bn-hn-341
|
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-341-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_341.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_342.yaml
ADDED
@@ -0,0 +1,104 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
apiVersion: kubeflow.org/v2beta1
|
2 |
+
kind: MPIJob
|
3 |
+
metadata:
|
4 |
+
name: peacock-tokenizer-en-bn-hn-342
|
5 |
+
namespace: peacock
|
6 |
+
labels:
|
7 |
+
app: peacock-tokenizer-en-bn-hn-342
|
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-342-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_342.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_343.yaml
ADDED
@@ -0,0 +1,104 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
apiVersion: kubeflow.org/v2beta1
|
2 |
+
kind: MPIJob
|
3 |
+
metadata:
|
4 |
+
name: peacock-tokenizer-en-bn-hn-343
|
5 |
+
namespace: peacock
|
6 |
+
labels:
|
7 |
+
app: peacock-tokenizer-en-bn-hn-343
|
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-343-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_343.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_344.yaml
ADDED
@@ -0,0 +1,104 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
apiVersion: kubeflow.org/v2beta1
|
2 |
+
kind: MPIJob
|
3 |
+
metadata:
|
4 |
+
name: peacock-tokenizer-en-bn-hn-344
|
5 |
+
namespace: peacock
|
6 |
+
labels:
|
7 |
+
app: peacock-tokenizer-en-bn-hn-344
|
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-344-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_344.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_346.yaml
ADDED
@@ -0,0 +1,104 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
apiVersion: kubeflow.org/v2beta1
|
2 |
+
kind: MPIJob
|
3 |
+
metadata:
|
4 |
+
name: peacock-tokenizer-en-bn-hn-346
|
5 |
+
namespace: peacock
|
6 |
+
labels:
|
7 |
+
app: peacock-tokenizer-en-bn-hn-346
|
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-346-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_346.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_348.yaml
ADDED
@@ -0,0 +1,104 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
apiVersion: kubeflow.org/v2beta1
|
2 |
+
kind: MPIJob
|
3 |
+
metadata:
|
4 |
+
name: peacock-tokenizer-en-bn-hn-348
|
5 |
+
namespace: peacock
|
6 |
+
labels:
|
7 |
+
app: peacock-tokenizer-en-bn-hn-348
|
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-348-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_348.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_349.yaml
ADDED
@@ -0,0 +1,104 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
apiVersion: kubeflow.org/v2beta1
|
2 |
+
kind: MPIJob
|
3 |
+
metadata:
|
4 |
+
name: peacock-tokenizer-en-bn-hn-349
|
5 |
+
namespace: peacock
|
6 |
+
labels:
|
7 |
+
app: peacock-tokenizer-en-bn-hn-349
|
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-349-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_349.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_350.yaml
ADDED
@@ -0,0 +1,104 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
apiVersion: kubeflow.org/v2beta1
|
2 |
+
kind: MPIJob
|
3 |
+
metadata:
|
4 |
+
name: peacock-tokenizer-en-bn-hn-350
|
5 |
+
namespace: peacock
|
6 |
+
labels:
|
7 |
+
app: peacock-tokenizer-en-bn-hn-350
|
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-350-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_350.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_351.yaml
ADDED
@@ -0,0 +1,104 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
apiVersion: kubeflow.org/v2beta1
|
2 |
+
kind: MPIJob
|
3 |
+
metadata:
|
4 |
+
name: peacock-tokenizer-en-bn-hn-351
|
5 |
+
namespace: peacock
|
6 |
+
labels:
|
7 |
+
app: peacock-tokenizer-en-bn-hn-351
|
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-351-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_351.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_353.yaml
ADDED
@@ -0,0 +1,104 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
apiVersion: kubeflow.org/v2beta1
|
2 |
+
kind: MPIJob
|
3 |
+
metadata:
|
4 |
+
name: peacock-tokenizer-en-bn-hn-353
|
5 |
+
namespace: peacock
|
6 |
+
labels:
|
7 |
+
app: peacock-tokenizer-en-bn-hn-353
|
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-353-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_353.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_354.yaml
ADDED
@@ -0,0 +1,104 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
apiVersion: kubeflow.org/v2beta1
|
2 |
+
kind: MPIJob
|
3 |
+
metadata:
|
4 |
+
name: peacock-tokenizer-en-bn-hn-354
|
5 |
+
namespace: peacock
|
6 |
+
labels:
|
7 |
+
app: peacock-tokenizer-en-bn-hn-354
|
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-354-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_354.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_355.yaml
ADDED
@@ -0,0 +1,104 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
apiVersion: kubeflow.org/v2beta1
|
2 |
+
kind: MPIJob
|
3 |
+
metadata:
|
4 |
+
name: peacock-tokenizer-en-bn-hn-355
|
5 |
+
namespace: peacock
|
6 |
+
labels:
|
7 |
+
app: peacock-tokenizer-en-bn-hn-355
|
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-355-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_355.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_359.yaml
ADDED
@@ -0,0 +1,104 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
apiVersion: kubeflow.org/v2beta1
|
2 |
+
kind: MPIJob
|
3 |
+
metadata:
|
4 |
+
name: peacock-tokenizer-en-bn-hn-359
|
5 |
+
namespace: peacock
|
6 |
+
labels:
|
7 |
+
app: peacock-tokenizer-en-bn-hn-359
|
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-359-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_359.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_360.yaml
ADDED
@@ -0,0 +1,104 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
apiVersion: kubeflow.org/v2beta1
|
2 |
+
kind: MPIJob
|
3 |
+
metadata:
|
4 |
+
name: peacock-tokenizer-en-bn-hn-360
|
5 |
+
namespace: peacock
|
6 |
+
labels:
|
7 |
+
app: peacock-tokenizer-en-bn-hn-360
|
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-360-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_360.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_361.yaml
ADDED
@@ -0,0 +1,104 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
apiVersion: kubeflow.org/v2beta1
|
2 |
+
kind: MPIJob
|
3 |
+
metadata:
|
4 |
+
name: peacock-tokenizer-en-bn-hn-361
|
5 |
+
namespace: peacock
|
6 |
+
labels:
|
7 |
+
app: peacock-tokenizer-en-bn-hn-361
|
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-361-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_361.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
|