quintic commited on
Commit
f56a80d
·
verified ·
1 Parent(s): 8980f4d

Record chip kind alongside process and device count on every run

Browse files
README.md CHANGED
@@ -55,13 +55,24 @@ shapes XLA compiles for. Neither is addressable by seeding, and both are the
55
  same non-associativity that makes any reduction order-dependent.
56
 
57
  So `--seed N` plus the configuration does not pin a number; the topology is
58
- part of it. Every run records `data_processes` and `devices` in its study's
59
- `records.jsonl`, alongside `system.process_count` in `result.json`.
60
-
61
- All studies here ran at 4 processes over 16 chips except `batch-sweep-500M`,
62
- whose 20-tokens-per-parameter arm ran at 1 process over 8. Those two arms are
63
- separate experiments — their token budgets differ — so the split does not cross
64
- a comparison that was being made.
 
 
 
 
 
 
 
 
 
 
 
65
 
66
  ## The format
67
 
 
55
  same non-associativity that makes any reduction order-dependent.
56
 
57
  So `--seed N` plus the configuration does not pin a number; the topology is
58
+ part of it. Every run records `chip`, `data_processes` and `devices` in its
59
+ study's `records.jsonl`, alongside the full `system` block in `result.json`,
60
+ and the dashboards show them beside each run.
61
+
62
+ | study | hardware |
63
+ |---|---|
64
+ | `batch-sweep-60M` | TPU v4 — 4 processes, 16 chips |
65
+ | `lr-batch-sweep-125M` | TPU v4 — 4 processes, 16 chips |
66
+ | `batch-sweep-250M` | TPU v4 — 4 processes, 16 chips |
67
+ | `batch-sweep-500M` | **mixed**: 6 runs TPU v4 (4 proc, 16 chips), 6 runs TPU v6 lite (1 proc, 8 chips) |
68
+ | `lr-transfer-250M` | TPU v4 — 4 processes, 16 chips |
69
+ | `lr-sweep-8k-60M` | TPU v4 — 4 processes, 16 chips |
70
+ | `moe-lr-sweep-8k` | TPU v4 — 4 processes, 16 chips |
71
+
72
+ `batch-sweep-500M` is the only study spanning two chip types, and the split
73
+ follows its 5- against 20-tokens-per-parameter arms. Those are separate
74
+ experiments whose losses were never comparable, so the topology change does not
75
+ cross a comparison that was being made.
76
 
77
  ## The format
78
 
batch-sweep-250M/README.md CHANGED
@@ -11,7 +11,7 @@ The 250M rung, extended to batch 512 to see whether the batch optimum keeps movi
11
  - **learning rates:** 2^-7, 2^-8, 2^-9
12
  - **seeds:** 1337, 1338, 1339
13
  - **budget:** 5 tokens per parameter (~1.2B tokens), 2,331-18,650 steps
14
- - **data processes:** 4 (16 chips) — the data stream itself is invariant under this, but gradient reduction order and per-chip batch are not, so the same seed on a different count lands 0.004-0.023 nats away
15
  - **dataset:** FineWeb-Edu, GPT-2 tokenizer (`fineweb-8b-gpt2`)
16
  - **parameterization:** Complete(d)P
17
  - **optimizer:** AdamW, beta1 0.9, beta2 0.95, weight decay 0.1, no gradient clipping
 
11
  - **learning rates:** 2^-7, 2^-8, 2^-9
12
  - **seeds:** 1337, 1338, 1339
13
  - **budget:** 5 tokens per parameter (~1.2B tokens), 2,331-18,650 steps
14
+ - **hardware:** TPU v4 — 4 processes, 16 chips — the data stream is invariant under this, but gradient reduction order and per-chip batch are not, so the same seed on a different topology lands 0.004-0.023 nats away
15
  - **dataset:** FineWeb-Edu, GPT-2 tokenizer (`fineweb-8b-gpt2`)
16
  - **parameterization:** Complete(d)P
17
  - **optimizer:** AdamW, beta1 0.9, beta2 0.95, weight decay 0.1, no gradient clipping
batch-sweep-250M/records.jsonl CHANGED
The diff for this file is too large to render. See raw diff
 
batch-sweep-500M/README.md CHANGED
@@ -12,7 +12,7 @@ Whether the optima found at 5 tokens per parameter survive a four-times-longer h
12
  - **seeds:** 1337, 1338, 1339 (5 TPP arm); 1337, 1338 (20 TPP arm)
13
  - **budgets:** 5 and 20 tokens per parameter -- 9,586 to 153,382 steps
14
  - **note:** the two budgets are different experiments; their losses are not comparable to each other, which is why run names carry the budget
15
- - **data processes:** 6 runs at 1 (8 chips), 6 runs at 4 (16 chips) — the data stream itself is invariant under this, but gradient reduction order and per-chip batch are not, so the same seed on a different count lands 0.004-0.023 nats away
16
  - **dataset:** FineWeb-Edu, GPT-2 tokenizer (`fineweb-8b-gpt2`)
17
  - **parameterization:** Complete(d)P
18
  - **optimizer:** AdamW, beta1 0.9, beta2 0.95, weight decay 0.1, no gradient clipping
 
12
  - **seeds:** 1337, 1338, 1339 (5 TPP arm); 1337, 1338 (20 TPP arm)
13
  - **budgets:** 5 and 20 tokens per parameter -- 9,586 to 153,382 steps
14
  - **note:** the two budgets are different experiments; their losses are not comparable to each other, which is why run names carry the budget
15
+ - **hardware:** 6 runs on TPU v6 lite — 1 process, 8 chips; 6 runs on TPU v4 — 4 processes, 16 chips — the data stream is invariant under this, but gradient reduction order and per-chip batch are not, so the same seed on a different topology lands 0.004-0.023 nats away
16
  - **dataset:** FineWeb-Edu, GPT-2 tokenizer (`fineweb-8b-gpt2`)
17
  - **parameterization:** Complete(d)P
18
  - **optimizer:** AdamW, beta1 0.9, beta2 0.95, weight decay 0.1, no gradient clipping
batch-sweep-500M/records.jsonl CHANGED
The diff for this file is too large to render. See raw diff
 
batch-sweep-60M/README.md CHANGED
@@ -11,7 +11,7 @@ The widest grid in the collection: every batch size against every learning rate,
11
  - **learning rates:** 2^-6, 2^-7, 2^-8, 2^-9, 2^-10
12
  - **seeds:** 1337, 1338, 1339
13
  - **budget:** 5 tokens per parameter (~300M tokens), 571-9,143 steps depending on batch
14
- - **data processes:** 4 (16 chips) — the data stream itself is invariant under this, but gradient reduction order and per-chip batch are not, so the same seed on a different count lands 0.004-0.023 nats away
15
  - **dataset:** FineWeb-Edu, GPT-2 tokenizer (`fineweb-8b-gpt2`)
16
  - **parameterization:** Complete(d)P
17
  - **optimizer:** AdamW, beta1 0.9, beta2 0.95, weight decay 0.1, no gradient clipping
 
11
  - **learning rates:** 2^-6, 2^-7, 2^-8, 2^-9, 2^-10
12
  - **seeds:** 1337, 1338, 1339
13
  - **budget:** 5 tokens per parameter (~300M tokens), 571-9,143 steps depending on batch
14
+ - **hardware:** TPU v4 — 4 processes, 16 chips — the data stream is invariant under this, but gradient reduction order and per-chip batch are not, so the same seed on a different topology lands 0.004-0.023 nats away
15
  - **dataset:** FineWeb-Edu, GPT-2 tokenizer (`fineweb-8b-gpt2`)
16
  - **parameterization:** Complete(d)P
17
  - **optimizer:** AdamW, beta1 0.9, beta2 0.95, weight decay 0.1, no gradient clipping
batch-sweep-60M/records.jsonl CHANGED
The diff for this file is too large to render. See raw diff
 
lr-batch-sweep-125M/README.md CHANGED
@@ -11,7 +11,7 @@ The 125M rung of the batch/learning-rate grid. The same product read either way:
11
  - **learning rates:** 2^-7, 2^-8, 2^-9
12
  - **seeds:** 1337, 1338, 1339
13
  - **budget:** 5 tokens per parameter (~617M tokens), 2,355-9,419 steps
14
- - **data processes:** 4 (16 chips) — the data stream itself is invariant under this, but gradient reduction order and per-chip batch are not, so the same seed on a different count lands 0.004-0.023 nats away
15
  - **dataset:** FineWeb-Edu, GPT-2 tokenizer (`fineweb-8b-gpt2`)
16
  - **parameterization:** Complete(d)P
17
  - **optimizer:** AdamW, beta1 0.9, beta2 0.95, weight decay 0.1, no gradient clipping
 
11
  - **learning rates:** 2^-7, 2^-8, 2^-9
12
  - **seeds:** 1337, 1338, 1339
13
  - **budget:** 5 tokens per parameter (~617M tokens), 2,355-9,419 steps
14
+ - **hardware:** TPU v4 — 4 processes, 16 chips — the data stream is invariant under this, but gradient reduction order and per-chip batch are not, so the same seed on a different topology lands 0.004-0.023 nats away
15
  - **dataset:** FineWeb-Edu, GPT-2 tokenizer (`fineweb-8b-gpt2`)
16
  - **parameterization:** Complete(d)P
17
  - **optimizer:** AdamW, beta1 0.9, beta2 0.95, weight decay 0.1, no gradient clipping
lr-batch-sweep-125M/records.jsonl CHANGED
The diff for this file is too large to render. See raw diff
 
lr-sweep-8k-60M/README.md CHANGED
@@ -11,7 +11,7 @@ Whether the learning-rate optimum moves when the context length grows eight-fold
11
  - **learning rates:** 2^-6, 2^-7, 2^-8, 2^-9, 2^-10
12
  - **seeds:** 1337, 1338, 1339
13
  - **budget:** 5 tokens per parameter, 2,286 steps -- identical to the 1,024-context ladder
14
- - **data processes:** 4 (16 chips) — the data stream itself is invariant under this, but gradient reduction order and per-chip batch are not, so the same seed on a different count lands 0.004-0.023 nats away
15
  - **dataset:** FineWeb-Edu, GPT-2 tokenizer (`fineweb-8b-gpt2`)
16
  - **parameterization:** Complete(d)P
17
  - **optimizer:** AdamW, beta1 0.9, beta2 0.95, weight decay 0.1, no gradient clipping
 
11
  - **learning rates:** 2^-6, 2^-7, 2^-8, 2^-9, 2^-10
12
  - **seeds:** 1337, 1338, 1339
13
  - **budget:** 5 tokens per parameter, 2,286 steps -- identical to the 1,024-context ladder
14
+ - **hardware:** TPU v4 — 4 processes, 16 chips — the data stream is invariant under this, but gradient reduction order and per-chip batch are not, so the same seed on a different topology lands 0.004-0.023 nats away
15
  - **dataset:** FineWeb-Edu, GPT-2 tokenizer (`fineweb-8b-gpt2`)
16
  - **parameterization:** Complete(d)P
17
  - **optimizer:** AdamW, beta1 0.9, beta2 0.95, weight decay 0.1, no gradient clipping
lr-sweep-8k-60M/records.jsonl CHANGED
The diff for this file is too large to render. See raw diff
 
lr-transfer-250M/README.md CHANGED
@@ -11,7 +11,7 @@ Run to settle a 250M result that a single seed had gotten wrong, and the evidenc
11
  - **learning rates:** 2^-6, 2^-7, 2^-8, 2^-9
12
  - **seeds:** 1337, 1338, 1339
13
  - **budget:** 5 tokens per parameter, 9,325 steps
14
- - **data processes:** 4 (16 chips) — the data stream itself is invariant under this, but gradient reduction order and per-chip batch are not, so the same seed on a different count lands 0.004-0.023 nats away
15
  - **dataset:** FineWeb-Edu, GPT-2 tokenizer (`fineweb-8b-gpt2`)
16
  - **parameterization:** Complete(d)P
17
  - **optimizer:** AdamW, beta1 0.9, beta2 0.95, weight decay 0.1, no gradient clipping
 
11
  - **learning rates:** 2^-6, 2^-7, 2^-8, 2^-9
12
  - **seeds:** 1337, 1338, 1339
13
  - **budget:** 5 tokens per parameter, 9,325 steps
14
+ - **hardware:** TPU v4 — 4 processes, 16 chips — the data stream is invariant under this, but gradient reduction order and per-chip batch are not, so the same seed on a different topology lands 0.004-0.023 nats away
15
  - **dataset:** FineWeb-Edu, GPT-2 tokenizer (`fineweb-8b-gpt2`)
16
  - **parameterization:** Complete(d)P
17
  - **optimizer:** AdamW, beta1 0.9, beta2 0.95, weight decay 0.1, no gradient clipping
lr-transfer-250M/records.jsonl CHANGED
The diff for this file is too large to render. See raw diff
 
moe-lr-sweep-8k/README.md CHANGED
@@ -17,7 +17,7 @@ dropped — actually does.
17
  - **learning rates:** 2^-6, 2^-7, 2^-8, 2^-9, 2^-10 at 60M; 2^-7, 2^-8, 2^-9 at 125M
18
  - **batch size:** 16 sequences — 131,072 tokens per step, matching the dense ladder
19
  - **budget:** 5 tokens per parameter, sized by *active* parameters
20
- - **data processes:** 4 (16 chips) — the data stream itself is invariant under this, but gradient reduction order and per-chip batch are not, so the same seed on a different count lands 0.004-0.023 nats away
21
  - **dataset:** FineWeb-Edu, GPT-2 tokenizer (`fineweb-8b-gpt2`)
22
  - **parameterization:** Complete(d)P
23
  - **optimizer:** AdamW, beta1 0.9, beta2 0.95, weight decay 0.1, no gradient clipping
 
17
  - **learning rates:** 2^-6, 2^-7, 2^-8, 2^-9, 2^-10 at 60M; 2^-7, 2^-8, 2^-9 at 125M
18
  - **batch size:** 16 sequences — 131,072 tokens per step, matching the dense ladder
19
  - **budget:** 5 tokens per parameter, sized by *active* parameters
20
+ - **hardware:** TPU v4 — 4 processes, 16 chips — the data stream is invariant under this, but gradient reduction order and per-chip batch are not, so the same seed on a different topology lands 0.004-0.023 nats away
21
  - **dataset:** FineWeb-Edu, GPT-2 tokenizer (`fineweb-8b-gpt2`)
22
  - **parameterization:** Complete(d)P
23
  - **optimizer:** AdamW, beta1 0.9, beta2 0.95, weight decay 0.1, no gradient clipping
moe-lr-sweep-8k/records.jsonl CHANGED
The diff for this file is too large to render. See raw diff