anonom799 commited on
Commit
73d860f
·
verified ·
1 Parent(s): 81c45fb

Upload README.md with huggingface_hub

Browse files
Files changed (1) hide show
  1. README.md +83 -0
README.md ADDED
@@ -0,0 +1,83 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: mit
3
+ pretty_name: BoLT Parallelism Configuration (16 GPUs)
4
+ task_categories:
5
+ - other
6
+ tags:
7
+ - bayesian-optimization
8
+ - benchmark
9
+ - parallelism-configuration
10
+ - tabular
11
+ size_categories:
12
+ - n<1K
13
+ ---
14
+
15
+ # pco16
16
+
17
+ Throughput of distributed LLM training as a function of the parallelism
18
+ configuration, on 16 GPUs across 2 hosts.
19
+ Tabular benchmark for the `bolt` problem `pco16`: the 919
20
+ rows are the full candidate set.
21
+
22
+ - **Objective** `throughput_mean`, to maximise. `NaN` where the run OOMed, since
23
+ no throughput is observed at all -- a hidden (crash) constraint, not a bad value.
24
+ - **Constraint** `ran_successfully`. 632 of 919
25
+ configurations run; the rest exhaust GPU memory. Feasibility is only learnable
26
+ by attempting the run, so it cannot be decoupled from the objective.
27
+ - **Auxiliary** `peak_mem` (GB, `inf` when infeasible), `peak_mem_normalised`
28
+ (the run's own feasibility margin, `< 0` iff feasible, a fixed pad value when
29
+ infeasible) and `overall_time` (wall clock in seconds, `NaN` when infeasible).
30
+
31
+ `peak_mem` does **not** define the constraint: feasible runs here reach
32
+ 70.6 GB, so no memory threshold separates the
33
+ classes. `peak_mem_normalised` does, by construction.
34
+
35
+ ## Instance context
36
+
37
+ Constant for every row; these describe the instance, not the search space.
38
+
39
+ | field | value |
40
+ |---|---|
41
+ | `num_layers` | 32 |
42
+ | `num_attention_heads` | 32 |
43
+ | `hidden_size` | 4096 |
44
+ | `ffn_hidden_size` | 11008 |
45
+ | `batch_size` | 512 |
46
+ | `seq_length` | 2048 |
47
+ | `log2_num_gpus` | 4 |
48
+ | `log2_num_hosts` | 1 |
49
+
50
+ ## Columns
51
+
52
+ The table is the raw sweep export, unchanged. Every knob halves or doubles, so
53
+ the sizes arrive as `log2_*` and their levels are evenly spaced. `zero_stage` is
54
+ the raw stage (0/2/3); `bolt` searches it as an ordinal 0/1/2.
55
+
56
+ | column | role | meaning |
57
+ |---|---|---|
58
+ | `log2_dp_size` | input | log2 of data-parallel size |
59
+ | `log2_tp_size` | input | log2 of tensor-parallel size |
60
+ | `log2_pp_size` | input | log2 of pipeline-parallel size |
61
+ | `log2_cp_size` | input | log2 of context-parallel size |
62
+ | `log2_sp_size` | input | log2 of sequence-parallel size |
63
+ | `log2_dp_bucket_size_mb` | input | log2 of DDP gradient bucket size in MB |
64
+ | `zero_stage` | input | ZeRO stage, one of [0, 2, 3] |
65
+ | `log2_num_model_chunks` | input | log2 of number of model chunks |
66
+ | `log2_grad_accum_steps` | input | log2 of gradient accumulation steps |
67
+ | `ran_successfully` | output | ground-truth constraint label |
68
+ | `throughput_mean` | output | objective, `NaN` when infeasible |
69
+ | `throughput_std` | output | spread over the timed steps, `NaN` when infeasible |
70
+ | `peak_mem_normalised` | output | feasibility margin, `< 0` iff feasible |
71
+ | `overall_time` | output | wall clock in seconds, `NaN` when infeasible |
72
+ | `all_time_steps` | output | per-step times, as a string list |
73
+ | `peak_mem` | output | peak GPU memory in GB, `inf` when infeasible |
74
+ | `peak_mem_per_gpu` | output | per-GPU peak memory, as a string list |
75
+
76
+ ## Best observed
77
+
78
+ `throughput_mean` = 0.14894 at `log2_dp_size`=4, `log2_tp_size`=0, `log2_pp_size`=0, `log2_cp_size`=0, `log2_sp_size`=0, `log2_dp_bucket_size_mb`=8, `zero_stage`=2, `log2_num_model_chunks`=0, `log2_grad_accum_steps`=2
79
+ (peak memory 57.5 GB).
80
+
81
+ ## Provenance
82
+
83
+ `data_32depth-16gpus.csv`, converted to parquet unchanged.