-
Notifications
You must be signed in to change notification settings - Fork 82
/
benchmarks.yml
93 lines (86 loc) · 2.26 KB
/
benchmarks.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
---
# --- Pretraining ---
pretrain_options: &pretrain_options
data:
throughput:
regexp: 'throughput: *(.*?) samples\/sec'
output:
- [samples/sec, 'throughput']
env:
WANDB_MODE: "disabled"
popxl_bert_pretrain_base_real_pod16:
<<: *pretrain_options
description: |
BERT-Base pretraining benchmark on real data. Phase 1 and phase 2.
parameters:
phase: 128,512
cmd: >-
python3 run_pretraining.py
--config base_{phase}
--input_files $DATASETS_DIR/wikipedia/{phase}/wiki_1[0-1]*.tfrecord
--steps 100
--save
--load
--wandb False
data:
throughput:
skip: 1
regexp: 'throughput: *(.*?) samples\/sec'
env:
POPLAR_ENGINE_OPTIONS: '{"target.extendedMemory":"true"}'
popxl_bert_pretrain_large_real_pod16:
<<: *pretrain_options
description: |
BERT-Large pretraining benchmark on real data. Phase 1 and phase 2.
parameters:
phase: 128,512
cmd: >-
python3 run_pretraining.py
--config large_{phase}
--input_files $DATASETS_DIR/wikipedia/{phase}/wiki_1[0-1]*.tfrecord
--steps 100
--save
--load
--wandb False
data:
throughput:
skip: 1
regexp: 'throughput: *(.*?) samples\/sec'
env:
POPLAR_ENGINE_OPTIONS: '{"target.extendedMemory":"true"}'
popxl_bert_pretrain_base_generated_pod16:
<<: *pretrain_options
description: |
BERT-Base pretraining benchmark on generated data. Phase 1 and phase 2.
parameters:
phase: 128,512
cmd: >-
python3 pretraining.py
--config base_{phase}
popxl_bert_pretrain_large_generated_pod16:
<<: *pretrain_options
description: |
BERT-Large pretraining benchmark on generated data. Phase 1 and phase 2.
parameters:
phase: 128,512
cmd: >-
python3 pretraining.py
--config large_{phase}
popxl_squad_training_generated_pod16:
<<: *pretrain_options
description: |
SQuAD-Base and Large training benchmark on generated data
parameters:
config: base,large
cmd: >-
python3 squad_training.py
--config {config}
popxl_squad_infer_generated_pod4:
<<: *pretrain_options
description: |
SQuAD-Base and Large inference benchmark on generated data with 1 IPU
parameters:
config: base,large
cmd: >-
python3 squad_inference.py
--config {config}