quintic commited on
Commit
a34b0a6
·
verified ·
1 Parent(s): 2139ddc

Add the routed 8k learning-rate sweep: 18 runs with per-expert load

Browse files
This view is limited to 50 files because it contains too many changes.   See raw diff
Files changed (50) hide show
  1. .gitattributes +36 -0
  2. moe-lr-sweep-8k/125m-5tpp-bs16-lr2e-7-s1337/diagnostics.riglog +3 -0
  3. moe-lr-sweep-8k/125m-5tpp-bs16-lr2e-7-s1337/metrics.json +243 -0
  4. moe-lr-sweep-8k/125m-5tpp-bs16-lr2e-7-s1337/result.json +243 -0
  5. moe-lr-sweep-8k/125m-5tpp-bs16-lr2e-7-s1337/training.riglog +3 -0
  6. moe-lr-sweep-8k/125m-5tpp-bs16-lr2e-7-s1337/validation.csv +2 -0
  7. moe-lr-sweep-8k/125m-5tpp-bs16-lr2e-8-s1337/diagnostics.riglog +3 -0
  8. moe-lr-sweep-8k/125m-5tpp-bs16-lr2e-8-s1337/metrics.json +243 -0
  9. moe-lr-sweep-8k/125m-5tpp-bs16-lr2e-8-s1337/result.json +243 -0
  10. moe-lr-sweep-8k/125m-5tpp-bs16-lr2e-8-s1337/training.riglog +3 -0
  11. moe-lr-sweep-8k/125m-5tpp-bs16-lr2e-8-s1337/validation.csv +2 -0
  12. moe-lr-sweep-8k/125m-5tpp-bs16-lr2e-9-s1337/diagnostics.riglog +3 -0
  13. moe-lr-sweep-8k/125m-5tpp-bs16-lr2e-9-s1337/metrics.json +243 -0
  14. moe-lr-sweep-8k/125m-5tpp-bs16-lr2e-9-s1337/result.json +243 -0
  15. moe-lr-sweep-8k/125m-5tpp-bs16-lr2e-9-s1337/training.riglog +3 -0
  16. moe-lr-sweep-8k/125m-5tpp-bs16-lr2e-9-s1337/validation.csv +2 -0
  17. moe-lr-sweep-8k/60m-5tpp-bs16-lr2e-10-s1337/diagnostics.riglog +3 -0
  18. moe-lr-sweep-8k/60m-5tpp-bs16-lr2e-10-s1337/metrics.json +243 -0
  19. moe-lr-sweep-8k/60m-5tpp-bs16-lr2e-10-s1337/result.json +243 -0
  20. moe-lr-sweep-8k/60m-5tpp-bs16-lr2e-10-s1337/training.riglog +3 -0
  21. moe-lr-sweep-8k/60m-5tpp-bs16-lr2e-10-s1337/validation.csv +2 -0
  22. moe-lr-sweep-8k/60m-5tpp-bs16-lr2e-10-s1338/diagnostics.riglog +3 -0
  23. moe-lr-sweep-8k/60m-5tpp-bs16-lr2e-10-s1338/metrics.json +243 -0
  24. moe-lr-sweep-8k/60m-5tpp-bs16-lr2e-10-s1338/result.json +243 -0
  25. moe-lr-sweep-8k/60m-5tpp-bs16-lr2e-10-s1338/training.riglog +3 -0
  26. moe-lr-sweep-8k/60m-5tpp-bs16-lr2e-10-s1338/validation.csv +2 -0
  27. moe-lr-sweep-8k/60m-5tpp-bs16-lr2e-10-s1339/diagnostics.riglog +3 -0
  28. moe-lr-sweep-8k/60m-5tpp-bs16-lr2e-10-s1339/metrics.json +243 -0
  29. moe-lr-sweep-8k/60m-5tpp-bs16-lr2e-10-s1339/result.json +243 -0
  30. moe-lr-sweep-8k/60m-5tpp-bs16-lr2e-10-s1339/training.riglog +3 -0
  31. moe-lr-sweep-8k/60m-5tpp-bs16-lr2e-10-s1339/validation.csv +2 -0
  32. moe-lr-sweep-8k/60m-5tpp-bs16-lr2e-6-s1337/diagnostics.riglog +3 -0
  33. moe-lr-sweep-8k/60m-5tpp-bs16-lr2e-6-s1337/metrics.json +243 -0
  34. moe-lr-sweep-8k/60m-5tpp-bs16-lr2e-6-s1337/result.json +243 -0
  35. moe-lr-sweep-8k/60m-5tpp-bs16-lr2e-6-s1337/training.riglog +3 -0
  36. moe-lr-sweep-8k/60m-5tpp-bs16-lr2e-6-s1337/validation.csv +2 -0
  37. moe-lr-sweep-8k/60m-5tpp-bs16-lr2e-6-s1338/diagnostics.riglog +3 -0
  38. moe-lr-sweep-8k/60m-5tpp-bs16-lr2e-6-s1338/metrics.json +243 -0
  39. moe-lr-sweep-8k/60m-5tpp-bs16-lr2e-6-s1338/result.json +243 -0
  40. moe-lr-sweep-8k/60m-5tpp-bs16-lr2e-6-s1338/training.riglog +3 -0
  41. moe-lr-sweep-8k/60m-5tpp-bs16-lr2e-6-s1338/validation.csv +2 -0
  42. moe-lr-sweep-8k/60m-5tpp-bs16-lr2e-6-s1339/diagnostics.riglog +3 -0
  43. moe-lr-sweep-8k/60m-5tpp-bs16-lr2e-6-s1339/metrics.json +243 -0
  44. moe-lr-sweep-8k/60m-5tpp-bs16-lr2e-6-s1339/result.json +243 -0
  45. moe-lr-sweep-8k/60m-5tpp-bs16-lr2e-6-s1339/training.riglog +3 -0
  46. moe-lr-sweep-8k/60m-5tpp-bs16-lr2e-6-s1339/validation.csv +2 -0
  47. moe-lr-sweep-8k/60m-5tpp-bs16-lr2e-7-s1337/diagnostics.riglog +3 -0
  48. moe-lr-sweep-8k/60m-5tpp-bs16-lr2e-7-s1337/metrics.json +243 -0
  49. moe-lr-sweep-8k/60m-5tpp-bs16-lr2e-7-s1337/result.json +243 -0
  50. moe-lr-sweep-8k/60m-5tpp-bs16-lr2e-7-s1337/training.riglog +3 -0
.gitattributes CHANGED
@@ -283,3 +283,39 @@ lr-transfer-250M/250m-5tpp-bs128-lr2e-9-s1338/diagnostics.riglog filter=lfs diff
283
  lr-transfer-250M/250m-5tpp-bs128-lr2e-9-s1338/training.riglog filter=lfs diff=lfs merge=lfs -text
284
  lr-transfer-250M/250m-5tpp-bs128-lr2e-9-s1339/diagnostics.riglog filter=lfs diff=lfs merge=lfs -text
285
  lr-transfer-250M/250m-5tpp-bs128-lr2e-9-s1339/training.riglog filter=lfs diff=lfs merge=lfs -text
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
283
  lr-transfer-250M/250m-5tpp-bs128-lr2e-9-s1338/training.riglog filter=lfs diff=lfs merge=lfs -text
284
  lr-transfer-250M/250m-5tpp-bs128-lr2e-9-s1339/diagnostics.riglog filter=lfs diff=lfs merge=lfs -text
285
  lr-transfer-250M/250m-5tpp-bs128-lr2e-9-s1339/training.riglog filter=lfs diff=lfs merge=lfs -text
286
+ moe-lr-sweep-8k/125m-5tpp-bs16-lr2e-7-s1337/diagnostics.riglog filter=lfs diff=lfs merge=lfs -text
287
+ moe-lr-sweep-8k/125m-5tpp-bs16-lr2e-7-s1337/training.riglog filter=lfs diff=lfs merge=lfs -text
288
+ moe-lr-sweep-8k/125m-5tpp-bs16-lr2e-8-s1337/diagnostics.riglog filter=lfs diff=lfs merge=lfs -text
289
+ moe-lr-sweep-8k/125m-5tpp-bs16-lr2e-8-s1337/training.riglog filter=lfs diff=lfs merge=lfs -text
290
+ moe-lr-sweep-8k/125m-5tpp-bs16-lr2e-9-s1337/diagnostics.riglog filter=lfs diff=lfs merge=lfs -text
291
+ moe-lr-sweep-8k/125m-5tpp-bs16-lr2e-9-s1337/training.riglog filter=lfs diff=lfs merge=lfs -text
292
+ moe-lr-sweep-8k/60m-5tpp-bs16-lr2e-10-s1337/diagnostics.riglog filter=lfs diff=lfs merge=lfs -text
293
+ moe-lr-sweep-8k/60m-5tpp-bs16-lr2e-10-s1337/training.riglog filter=lfs diff=lfs merge=lfs -text
294
+ moe-lr-sweep-8k/60m-5tpp-bs16-lr2e-10-s1338/diagnostics.riglog filter=lfs diff=lfs merge=lfs -text
295
+ moe-lr-sweep-8k/60m-5tpp-bs16-lr2e-10-s1338/training.riglog filter=lfs diff=lfs merge=lfs -text
296
+ moe-lr-sweep-8k/60m-5tpp-bs16-lr2e-10-s1339/diagnostics.riglog filter=lfs diff=lfs merge=lfs -text
297
+ moe-lr-sweep-8k/60m-5tpp-bs16-lr2e-10-s1339/training.riglog filter=lfs diff=lfs merge=lfs -text
298
+ moe-lr-sweep-8k/60m-5tpp-bs16-lr2e-6-s1337/diagnostics.riglog filter=lfs diff=lfs merge=lfs -text
299
+ moe-lr-sweep-8k/60m-5tpp-bs16-lr2e-6-s1337/training.riglog filter=lfs diff=lfs merge=lfs -text
300
+ moe-lr-sweep-8k/60m-5tpp-bs16-lr2e-6-s1338/diagnostics.riglog filter=lfs diff=lfs merge=lfs -text
301
+ moe-lr-sweep-8k/60m-5tpp-bs16-lr2e-6-s1338/training.riglog filter=lfs diff=lfs merge=lfs -text
302
+ moe-lr-sweep-8k/60m-5tpp-bs16-lr2e-6-s1339/diagnostics.riglog filter=lfs diff=lfs merge=lfs -text
303
+ moe-lr-sweep-8k/60m-5tpp-bs16-lr2e-6-s1339/training.riglog filter=lfs diff=lfs merge=lfs -text
304
+ moe-lr-sweep-8k/60m-5tpp-bs16-lr2e-7-s1337/diagnostics.riglog filter=lfs diff=lfs merge=lfs -text
305
+ moe-lr-sweep-8k/60m-5tpp-bs16-lr2e-7-s1337/training.riglog filter=lfs diff=lfs merge=lfs -text
306
+ moe-lr-sweep-8k/60m-5tpp-bs16-lr2e-7-s1338/diagnostics.riglog filter=lfs diff=lfs merge=lfs -text
307
+ moe-lr-sweep-8k/60m-5tpp-bs16-lr2e-7-s1338/training.riglog filter=lfs diff=lfs merge=lfs -text
308
+ moe-lr-sweep-8k/60m-5tpp-bs16-lr2e-7-s1339/diagnostics.riglog filter=lfs diff=lfs merge=lfs -text
309
+ moe-lr-sweep-8k/60m-5tpp-bs16-lr2e-7-s1339/training.riglog filter=lfs diff=lfs merge=lfs -text
310
+ moe-lr-sweep-8k/60m-5tpp-bs16-lr2e-8-s1337/diagnostics.riglog filter=lfs diff=lfs merge=lfs -text
311
+ moe-lr-sweep-8k/60m-5tpp-bs16-lr2e-8-s1337/training.riglog filter=lfs diff=lfs merge=lfs -text
312
+ moe-lr-sweep-8k/60m-5tpp-bs16-lr2e-8-s1338/diagnostics.riglog filter=lfs diff=lfs merge=lfs -text
313
+ moe-lr-sweep-8k/60m-5tpp-bs16-lr2e-8-s1338/training.riglog filter=lfs diff=lfs merge=lfs -text
314
+ moe-lr-sweep-8k/60m-5tpp-bs16-lr2e-8-s1339/diagnostics.riglog filter=lfs diff=lfs merge=lfs -text
315
+ moe-lr-sweep-8k/60m-5tpp-bs16-lr2e-8-s1339/training.riglog filter=lfs diff=lfs merge=lfs -text
316
+ moe-lr-sweep-8k/60m-5tpp-bs16-lr2e-9-s1337/diagnostics.riglog filter=lfs diff=lfs merge=lfs -text
317
+ moe-lr-sweep-8k/60m-5tpp-bs16-lr2e-9-s1337/training.riglog filter=lfs diff=lfs merge=lfs -text
318
+ moe-lr-sweep-8k/60m-5tpp-bs16-lr2e-9-s1338/diagnostics.riglog filter=lfs diff=lfs merge=lfs -text
319
+ moe-lr-sweep-8k/60m-5tpp-bs16-lr2e-9-s1338/training.riglog filter=lfs diff=lfs merge=lfs -text
320
+ moe-lr-sweep-8k/60m-5tpp-bs16-lr2e-9-s1339/diagnostics.riglog filter=lfs diff=lfs merge=lfs -text
321
+ moe-lr-sweep-8k/60m-5tpp-bs16-lr2e-9-s1339/training.riglog filter=lfs diff=lfs merge=lfs -text
moe-lr-sweep-8k/125m-5tpp-bs16-lr2e-7-s1337/diagnostics.riglog ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7362e85f565d8180db0234a5d771caea29b11a36c14efa33bd1c8582e58f4585
3
+ size 552576
moe-lr-sweep-8k/125m-5tpp-bs16-lr2e-7-s1337/metrics.json ADDED
@@ -0,0 +1,243 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "artifacts": {
3
+ "diagnostics": "diagnostics.riglog",
4
+ "training_curve": "training.riglog",
5
+ "validation_curve": "validation.csv"
6
+ },
7
+ "checkpoint": null,
8
+ "contract": {
9
+ "dataset_id": "fineweb-8b-gpt2",
10
+ "model": {
11
+ "d_model": 640,
12
+ "heads": 10,
13
+ "layers": 12,
14
+ "mlp_activation": "gelu",
15
+ "mlp_mult": 4,
16
+ "normalization": "rms_norm",
17
+ "parameterization": "complete_d_p",
18
+ "position_encoding": "rope_base_10000",
19
+ "semantic_vocab_size": 50304,
20
+ "tied_embeddings": false,
21
+ "tier": "125m",
22
+ "vocab_size": 50304
23
+ },
24
+ "model_id": "reference-gpt-v3-family",
25
+ "sequence_length": 8192,
26
+ "tokenizer_id": "gpt2"
27
+ },
28
+ "evaluations": {
29
+ "fineweb": {
30
+ "canonical": true,
31
+ "loss": 3.5722893476486206,
32
+ "perplexity": 35.59799612494644,
33
+ "scored_tokens": 1048576,
34
+ "seconds": 0.8216901089763269
35
+ }
36
+ },
37
+ "implementation": {
38
+ "attention_backend": "tpu_flash",
39
+ "attention_tuning": {
40
+ "key_digest": "bf93286e9d38983bc78d617a9a666f8b00490f5bfff49b38c7fff97fd570e3ea",
41
+ "resolution_source": "heuristic",
42
+ "tiles": {
43
+ "block_kv": 512,
44
+ "block_kv_compute": 256,
45
+ "block_kv_dkv": 512,
46
+ "block_kv_dkv_compute": 256,
47
+ "block_kv_dq": 512,
48
+ "block_kv_dq_compute": 256,
49
+ "block_q": 512,
50
+ "block_q_dkv": 512,
51
+ "block_q_dkv_compute": 256,
52
+ "block_q_dq": 256
53
+ },
54
+ "tune_seconds": 0.0
55
+ },
56
+ "configuration": {
57
+ "overrides": {
58
+ "tokens_per_parameter_micros": 5000000
59
+ },
60
+ "path": "config.yaml",
61
+ "profile": "dev",
62
+ "resolved": {
63
+ "evaluation": {
64
+ "eval_batches": 8,
65
+ "val_every": 0,
66
+ "val_probe_batches": 8
67
+ },
68
+ "kernels": {
69
+ "attention_backend": "tpu_flash",
70
+ "loss_backend": "tiled",
71
+ "vocab_tile_size": 2048
72
+ },
73
+ "logging": {
74
+ "diagnostics_every": 10,
75
+ "log_every": 10
76
+ },
77
+ "model": {
78
+ "d_model": 640,
79
+ "heads": 10,
80
+ "layers": 12,
81
+ "mlp_activation": "gelu",
82
+ "mlp_mult": 4,
83
+ "normalization": "rms_norm",
84
+ "parameterization": "complete_d_p",
85
+ "position_encoding": "rope_base_10000",
86
+ "semantic_vocab_size": 50304,
87
+ "tied_embeddings": false,
88
+ "tier": "125m",
89
+ "vocab_size": 50304
90
+ },
91
+ "optimizer": {
92
+ "adam_epsilon": 1e-08,
93
+ "beta1": 0.9,
94
+ "beta2": 0.95,
95
+ "effective": {
96
+ "adam_epsilon_horizon_multiplier": 1.4354161175193187,
97
+ "beta1": 0.9514661925028901,
98
+ "beta2": 0.975733096251445,
99
+ "global_peak_learning_rate": 0.0054426726192134,
100
+ "weight_decay_horizon_multiplier": 0.6966620952593152
101
+ },
102
+ "grad_clip": 0.0,
103
+ "learning_rate": 0.0078125,
104
+ "min_lr_ratio": 0.1,
105
+ "warmup_steps": 471,
106
+ "weight_decay": 0.1
107
+ },
108
+ "parameterization": {
109
+ "attention_scale": "inverse_head_dim",
110
+ "base_depth": 12,
111
+ "base_width": 384,
112
+ "batch_multiplier": 1.0,
113
+ "data_multiplier": 2.0604194304342345,
114
+ "depth_alpha": 1.0,
115
+ "depth_multiplier": 1.0,
116
+ "embeddings": "untied",
117
+ "init_std": 0.02,
118
+ "name": "complete_d_p",
119
+ "width_multiplier": 1.6666666666666667
120
+ },
121
+ "training": {
122
+ "batch_size": 16,
123
+ "dtype": "bfloat16",
124
+ "sampling": "shuffled_epochs",
125
+ "seq_len": 8192,
126
+ "steps": 4709,
127
+ "tokens_per_parameter": 4.999472268158278,
128
+ "train_tokens": 617218048
129
+ }
130
+ },
131
+ "schema_version": 2,
132
+ "sha256": "a4bad1be29b57d20ec7ae7b0d539f2e777d11f5539607655550b7afca185affe"
133
+ },
134
+ "loss_backend": "tiled",
135
+ "vocab_tile_size": 2048
136
+ },
137
+ "metrics": {
138
+ "achieved_tflops": 543.8900671494216,
139
+ "attention_tune_seconds": 0.0,
140
+ "base_learning_rate": 0.0078125,
141
+ "diagnostic_compile_seconds": 97.0277210950153,
142
+ "diagnostic_point_count": 472,
143
+ "diagnostics_every": 10,
144
+ "early_stopping_step": null,
145
+ "estimated_total_flops": 846442363009105920,
146
+ "eval_compile_seconds": 18.104762503993697,
147
+ "expert_top_k": 2,
148
+ "experts": 8,
149
+ "final_validation_seconds": 0.8216901089763269,
150
+ "flop_accounting": {
151
+ "by_site": {
152
+ "dot_general": 3116881674240,
153
+ "pallas_call": 1932735283200,
154
+ "tpu_flash_causal_attention_bwd_dkv": 2061584302080,
155
+ "tpu_flash_causal_attention_bwd_dq": 2061584302080,
156
+ "tpu_flash_causal_attention_fwd": 2061584302080
157
+ },
158
+ "elementwise_per_sequence": 13316361400,
159
+ "matmul_per_sequence": 11234369863680,
160
+ "method": "traced-jaxpr",
161
+ "warnings": []
162
+ },
163
+ "flops_per_token": 1371383040,
164
+ "mfu_estimate": 0.12361137889759582,
165
+ "model_tier": "125m",
166
+ "parameter_count": 123525760,
167
+ "parameters": 241628800,
168
+ "schedule_steps": 4709,
169
+ "tokens_per_parameter": 4.999472268158278,
170
+ "tokens_per_second": 396599.6744056435,
171
+ "tokens_processed": 617218048,
172
+ "total_compile_seconds": 181.27476295700762,
173
+ "total_parameter_count": 241628800,
174
+ "train_compile_seconds": 66.14227935799863,
175
+ "train_loss": 3.494847536087036,
176
+ "train_seconds": 1556.2747219220037,
177
+ "training_data_epochs": 0.07812906684585416,
178
+ "training_data_sharding": "rank_disjoint_shuffled_windows",
179
+ "training_sampling": "shuffled_epochs",
180
+ "training_steps": 4709,
181
+ "training_token_budget": 617218048,
182
+ "training_usable_tokens_per_epoch": 7899979776,
183
+ "validation_loss": 3.5722893476486206,
184
+ "validation_probe_count": 0,
185
+ "validation_probe_seconds": 0.0,
186
+ "validation_tokens": 1048576
187
+ },
188
+ "profile": "dev",
189
+ "schema_version": 1,
190
+ "seed": 1337,
191
+ "status": "ok",
192
+ "system": {
193
+ "controller_process_index": 1,
194
+ "device_count": 16,
195
+ "device_ids": [
196
+ 0,
197
+ 1,
198
+ 2,
199
+ 3,
200
+ 4,
201
+ 5,
202
+ 6,
203
+ 7,
204
+ 8,
205
+ 9,
206
+ 10,
207
+ 11,
208
+ 12,
209
+ 13,
210
+ 14,
211
+ 15
212
+ ],
213
+ "device_kinds": [
214
+ "TPU v4"
215
+ ],
216
+ "jax_version": "0.11.0",
217
+ "jaxlib_version": "0.11.0",
218
+ "libtpu_version": "0.0.44.1",
219
+ "local_device_count": 4,
220
+ "platform": "tpu",
221
+ "process_count": 4,
222
+ "process_indices": [
223
+ 0,
224
+ 0,
225
+ 0,
226
+ 0,
227
+ 1,
228
+ 1,
229
+ 1,
230
+ 1,
231
+ 2,
232
+ 2,
233
+ 2,
234
+ 2,
235
+ 3,
236
+ 3,
237
+ 3,
238
+ 3
239
+ ],
240
+ "python_version": "3.12.13"
241
+ },
242
+ "track": "open"
243
+ }
moe-lr-sweep-8k/125m-5tpp-bs16-lr2e-7-s1337/result.json ADDED
@@ -0,0 +1,243 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "artifacts": {
3
+ "diagnostics": "diagnostics.riglog",
4
+ "training_curve": "training.riglog",
5
+ "validation_curve": "validation.csv"
6
+ },
7
+ "checkpoint": null,
8
+ "contract": {
9
+ "dataset_id": "fineweb-8b-gpt2",
10
+ "model": {
11
+ "d_model": 640,
12
+ "heads": 10,
13
+ "layers": 12,
14
+ "mlp_activation": "gelu",
15
+ "mlp_mult": 4,
16
+ "normalization": "rms_norm",
17
+ "parameterization": "complete_d_p",
18
+ "position_encoding": "rope_base_10000",
19
+ "semantic_vocab_size": 50304,
20
+ "tied_embeddings": false,
21
+ "tier": "125m",
22
+ "vocab_size": 50304
23
+ },
24
+ "model_id": "reference-gpt-v3-family",
25
+ "sequence_length": 8192,
26
+ "tokenizer_id": "gpt2"
27
+ },
28
+ "evaluations": {
29
+ "fineweb": {
30
+ "canonical": true,
31
+ "loss": 3.5722893476486206,
32
+ "perplexity": 35.59799612494644,
33
+ "scored_tokens": 1048576,
34
+ "seconds": 0.8216901089763269
35
+ }
36
+ },
37
+ "implementation": {
38
+ "attention_backend": "tpu_flash",
39
+ "attention_tuning": {
40
+ "key_digest": "bf93286e9d38983bc78d617a9a666f8b00490f5bfff49b38c7fff97fd570e3ea",
41
+ "resolution_source": "heuristic",
42
+ "tiles": {
43
+ "block_kv": 512,
44
+ "block_kv_compute": 256,
45
+ "block_kv_dkv": 512,
46
+ "block_kv_dkv_compute": 256,
47
+ "block_kv_dq": 512,
48
+ "block_kv_dq_compute": 256,
49
+ "block_q": 512,
50
+ "block_q_dkv": 512,
51
+ "block_q_dkv_compute": 256,
52
+ "block_q_dq": 256
53
+ },
54
+ "tune_seconds": 0.0
55
+ },
56
+ "configuration": {
57
+ "overrides": {
58
+ "tokens_per_parameter_micros": 5000000
59
+ },
60
+ "path": "config.yaml",
61
+ "profile": "dev",
62
+ "resolved": {
63
+ "evaluation": {
64
+ "eval_batches": 8,
65
+ "val_every": 0,
66
+ "val_probe_batches": 8
67
+ },
68
+ "kernels": {
69
+ "attention_backend": "tpu_flash",
70
+ "loss_backend": "tiled",
71
+ "vocab_tile_size": 2048
72
+ },
73
+ "logging": {
74
+ "diagnostics_every": 10,
75
+ "log_every": 10
76
+ },
77
+ "model": {
78
+ "d_model": 640,
79
+ "heads": 10,
80
+ "layers": 12,
81
+ "mlp_activation": "gelu",
82
+ "mlp_mult": 4,
83
+ "normalization": "rms_norm",
84
+ "parameterization": "complete_d_p",
85
+ "position_encoding": "rope_base_10000",
86
+ "semantic_vocab_size": 50304,
87
+ "tied_embeddings": false,
88
+ "tier": "125m",
89
+ "vocab_size": 50304
90
+ },
91
+ "optimizer": {
92
+ "adam_epsilon": 1e-08,
93
+ "beta1": 0.9,
94
+ "beta2": 0.95,
95
+ "effective": {
96
+ "adam_epsilon_horizon_multiplier": 1.4354161175193187,
97
+ "beta1": 0.9514661925028901,
98
+ "beta2": 0.975733096251445,
99
+ "global_peak_learning_rate": 0.0054426726192134,
100
+ "weight_decay_horizon_multiplier": 0.6966620952593152
101
+ },
102
+ "grad_clip": 0.0,
103
+ "learning_rate": 0.0078125,
104
+ "min_lr_ratio": 0.1,
105
+ "warmup_steps": 471,
106
+ "weight_decay": 0.1
107
+ },
108
+ "parameterization": {
109
+ "attention_scale": "inverse_head_dim",
110
+ "base_depth": 12,
111
+ "base_width": 384,
112
+ "batch_multiplier": 1.0,
113
+ "data_multiplier": 2.0604194304342345,
114
+ "depth_alpha": 1.0,
115
+ "depth_multiplier": 1.0,
116
+ "embeddings": "untied",
117
+ "init_std": 0.02,
118
+ "name": "complete_d_p",
119
+ "width_multiplier": 1.6666666666666667
120
+ },
121
+ "training": {
122
+ "batch_size": 16,
123
+ "dtype": "bfloat16",
124
+ "sampling": "shuffled_epochs",
125
+ "seq_len": 8192,
126
+ "steps": 4709,
127
+ "tokens_per_parameter": 4.999472268158278,
128
+ "train_tokens": 617218048
129
+ }
130
+ },
131
+ "schema_version": 2,
132
+ "sha256": "a4bad1be29b57d20ec7ae7b0d539f2e777d11f5539607655550b7afca185affe"
133
+ },
134
+ "loss_backend": "tiled",
135
+ "vocab_tile_size": 2048
136
+ },
137
+ "metrics": {
138
+ "achieved_tflops": 543.8900671494216,
139
+ "attention_tune_seconds": 0.0,
140
+ "base_learning_rate": 0.0078125,
141
+ "diagnostic_compile_seconds": 97.0277210950153,
142
+ "diagnostic_point_count": 472,
143
+ "diagnostics_every": 10,
144
+ "early_stopping_step": null,
145
+ "estimated_total_flops": 846442363009105920,
146
+ "eval_compile_seconds": 18.104762503993697,
147
+ "expert_top_k": 2,
148
+ "experts": 8,
149
+ "final_validation_seconds": 0.8216901089763269,
150
+ "flop_accounting": {
151
+ "by_site": {
152
+ "dot_general": 3116881674240,
153
+ "pallas_call": 1932735283200,
154
+ "tpu_flash_causal_attention_bwd_dkv": 2061584302080,
155
+ "tpu_flash_causal_attention_bwd_dq": 2061584302080,
156
+ "tpu_flash_causal_attention_fwd": 2061584302080
157
+ },
158
+ "elementwise_per_sequence": 13316361400,
159
+ "matmul_per_sequence": 11234369863680,
160
+ "method": "traced-jaxpr",
161
+ "warnings": []
162
+ },
163
+ "flops_per_token": 1371383040,
164
+ "mfu_estimate": 0.12361137889759582,
165
+ "model_tier": "125m",
166
+ "parameter_count": 123525760,
167
+ "parameters": 241628800,
168
+ "schedule_steps": 4709,
169
+ "tokens_per_parameter": 4.999472268158278,
170
+ "tokens_per_second": 396599.6744056435,
171
+ "tokens_processed": 617218048,
172
+ "total_compile_seconds": 181.27476295700762,
173
+ "total_parameter_count": 241628800,
174
+ "train_compile_seconds": 66.14227935799863,
175
+ "train_loss": 3.494847536087036,
176
+ "train_seconds": 1556.2747219220037,
177
+ "training_data_epochs": 0.07812906684585416,
178
+ "training_data_sharding": "rank_disjoint_shuffled_windows",
179
+ "training_sampling": "shuffled_epochs",
180
+ "training_steps": 4709,
181
+ "training_token_budget": 617218048,
182
+ "training_usable_tokens_per_epoch": 7899979776,
183
+ "validation_loss": 3.5722893476486206,
184
+ "validation_probe_count": 0,
185
+ "validation_probe_seconds": 0.0,
186
+ "validation_tokens": 1048576
187
+ },
188
+ "profile": "dev",
189
+ "schema_version": 1,
190
+ "seed": 1337,
191
+ "status": "ok",
192
+ "system": {
193
+ "controller_process_index": 1,
194
+ "device_count": 16,
195
+ "device_ids": [
196
+ 0,
197
+ 1,
198
+ 2,
199
+ 3,
200
+ 4,
201
+ 5,
202
+ 6,
203
+ 7,
204
+ 8,
205
+ 9,
206
+ 10,
207
+ 11,
208
+ 12,
209
+ 13,
210
+ 14,
211
+ 15
212
+ ],
213
+ "device_kinds": [
214
+ "TPU v4"
215
+ ],
216
+ "jax_version": "0.11.0",
217
+ "jaxlib_version": "0.11.0",
218
+ "libtpu_version": "0.0.44.1",
219
+ "local_device_count": 4,
220
+ "platform": "tpu",
221
+ "process_count": 4,
222
+ "process_indices": [
223
+ 0,
224
+ 0,
225
+ 0,
226
+ 0,
227
+ 1,
228
+ 1,
229
+ 1,
230
+ 1,
231
+ 2,
232
+ 2,
233
+ 2,
234
+ 2,
235
+ 3,
236
+ 3,
237
+ 3,
238
+ 3
239
+ ],
240
+ "python_version": "3.12.13"
241
+ },
242
+ "track": "open"
243
+ }
moe-lr-sweep-8k/125m-5tpp-bs16-lr2e-7-s1337/training.riglog ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6bbfe067b48c85047631bc161a47e2b18c3c85a9c988ade69d27cd30e3a221bc
3
+ size 2678128
moe-lr-sweep-8k/125m-5tpp-bs16-lr2e-7-s1337/validation.csv ADDED
@@ -0,0 +1,2 @@
 
 
 
1
+ step,tokens_processed,kind,domain,validation_tokens,validation_loss,perplexity,validation_seconds,canonical
2
+ 4709,617218048,fineweb,fineweb,1048576,3.5722893476486206,35.59799612494644,0.8216901089763269,true
moe-lr-sweep-8k/125m-5tpp-bs16-lr2e-8-s1337/diagnostics.riglog ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0ad5eb251c51535db6ef54d6c15cef717c1a5f9a09fb5622b310b7876c1325b0
3
+ size 552576
moe-lr-sweep-8k/125m-5tpp-bs16-lr2e-8-s1337/metrics.json ADDED
@@ -0,0 +1,243 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "artifacts": {
3
+ "diagnostics": "diagnostics.riglog",
4
+ "training_curve": "training.riglog",
5
+ "validation_curve": "validation.csv"
6
+ },
7
+ "checkpoint": null,
8
+ "contract": {
9
+ "dataset_id": "fineweb-8b-gpt2",
10
+ "model": {
11
+ "d_model": 640,
12
+ "heads": 10,
13
+ "layers": 12,
14
+ "mlp_activation": "gelu",
15
+ "mlp_mult": 4,
16
+ "normalization": "rms_norm",
17
+ "parameterization": "complete_d_p",
18
+ "position_encoding": "rope_base_10000",
19
+ "semantic_vocab_size": 50304,
20
+ "tied_embeddings": false,
21
+ "tier": "125m",
22
+ "vocab_size": 50304
23
+ },
24
+ "model_id": "reference-gpt-v3-family",
25
+ "sequence_length": 8192,
26
+ "tokenizer_id": "gpt2"
27
+ },
28
+ "evaluations": {
29
+ "fineweb": {
30
+ "canonical": true,
31
+ "loss": 3.5765029788017273,
32
+ "perplexity": 35.74830941038075,
33
+ "scored_tokens": 1048576,
34
+ "seconds": 0.8198627600213513
35
+ }
36
+ },
37
+ "implementation": {
38
+ "attention_backend": "tpu_flash",
39
+ "attention_tuning": {
40
+ "key_digest": "bf93286e9d38983bc78d617a9a666f8b00490f5bfff49b38c7fff97fd570e3ea",
41
+ "resolution_source": "heuristic",
42
+ "tiles": {
43
+ "block_kv": 512,
44
+ "block_kv_compute": 256,
45
+ "block_kv_dkv": 512,
46
+ "block_kv_dkv_compute": 256,
47
+ "block_kv_dq": 512,
48
+ "block_kv_dq_compute": 256,
49
+ "block_q": 512,
50
+ "block_q_dkv": 512,
51
+ "block_q_dkv_compute": 256,
52
+ "block_q_dq": 256
53
+ },
54
+ "tune_seconds": 0.0
55
+ },
56
+ "configuration": {
57
+ "overrides": {
58
+ "tokens_per_parameter_micros": 5000000
59
+ },
60
+ "path": "config.yaml",
61
+ "profile": "dev",
62
+ "resolved": {
63
+ "evaluation": {
64
+ "eval_batches": 8,
65
+ "val_every": 0,
66
+ "val_probe_batches": 8
67
+ },
68
+ "kernels": {
69
+ "attention_backend": "tpu_flash",
70
+ "loss_backend": "tiled",
71
+ "vocab_tile_size": 2048
72
+ },
73
+ "logging": {
74
+ "diagnostics_every": 10,
75
+ "log_every": 10
76
+ },
77
+ "model": {
78
+ "d_model": 640,
79
+ "heads": 10,
80
+ "layers": 12,
81
+ "mlp_activation": "gelu",
82
+ "mlp_mult": 4,
83
+ "normalization": "rms_norm",
84
+ "parameterization": "complete_d_p",
85
+ "position_encoding": "rope_base_10000",
86
+ "semantic_vocab_size": 50304,
87
+ "tied_embeddings": false,
88
+ "tier": "125m",
89
+ "vocab_size": 50304
90
+ },
91
+ "optimizer": {
92
+ "adam_epsilon": 1e-08,
93
+ "beta1": 0.9,
94
+ "beta2": 0.95,
95
+ "effective": {
96
+ "adam_epsilon_horizon_multiplier": 1.4354161175193187,
97
+ "beta1": 0.9514661925028901,
98
+ "beta2": 0.975733096251445,
99
+ "global_peak_learning_rate": 0.0027213363096067,
100
+ "weight_decay_horizon_multiplier": 0.6966620952593152
101
+ },
102
+ "grad_clip": 0.0,
103
+ "learning_rate": 0.00390625,
104
+ "min_lr_ratio": 0.1,
105
+ "warmup_steps": 471,
106
+ "weight_decay": 0.1
107
+ },
108
+ "parameterization": {
109
+ "attention_scale": "inverse_head_dim",
110
+ "base_depth": 12,
111
+ "base_width": 384,
112
+ "batch_multiplier": 1.0,
113
+ "data_multiplier": 2.0604194304342345,
114
+ "depth_alpha": 1.0,
115
+ "depth_multiplier": 1.0,
116
+ "embeddings": "untied",
117
+ "init_std": 0.02,
118
+ "name": "complete_d_p",
119
+ "width_multiplier": 1.6666666666666667
120
+ },
121
+ "training": {
122
+ "batch_size": 16,
123
+ "dtype": "bfloat16",
124
+ "sampling": "shuffled_epochs",
125
+ "seq_len": 8192,
126
+ "steps": 4709,
127
+ "tokens_per_parameter": 4.999472268158278,
128
+ "train_tokens": 617218048
129
+ }
130
+ },
131
+ "schema_version": 2,
132
+ "sha256": "a4bad1be29b57d20ec7ae7b0d539f2e777d11f5539607655550b7afca185affe"
133
+ },
134
+ "loss_backend": "tiled",
135
+ "vocab_tile_size": 2048
136
+ },
137
+ "metrics": {
138
+ "achieved_tflops": 543.7682606917205,
139
+ "attention_tune_seconds": 0.0,
140
+ "base_learning_rate": 0.00390625,
141
+ "diagnostic_compile_seconds": 99.17232654301915,
142
+ "diagnostic_point_count": 472,
143
+ "diagnostics_every": 10,
144
+ "early_stopping_step": null,
145
+ "estimated_total_flops": 846442363009105920,
146
+ "eval_compile_seconds": 18.211572511005215,
147
+ "expert_top_k": 2,
148
+ "experts": 8,
149
+ "final_validation_seconds": 0.8198627600213513,
150
+ "flop_accounting": {
151
+ "by_site": {
152
+ "dot_general": 3116881674240,
153
+ "pallas_call": 1932735283200,
154
+ "tpu_flash_causal_attention_bwd_dkv": 2061584302080,
155
+ "tpu_flash_causal_attention_bwd_dq": 2061584302080,
156
+ "tpu_flash_causal_attention_fwd": 2061584302080
157
+ },
158
+ "elementwise_per_sequence": 13316361400,
159
+ "matmul_per_sequence": 11234369863680,
160
+ "method": "traced-jaxpr",
161
+ "warnings": []
162
+ },
163
+ "flops_per_token": 1371383040,
164
+ "mfu_estimate": 0.12358369561175465,
165
+ "model_tier": "125m",
166
+ "parameter_count": 123525760,
167
+ "parameters": 241628800,
168
+ "schedule_steps": 4709,
169
+ "tokens_per_parameter": 4.999472268158278,
170
+ "tokens_per_second": 396510.8542480738,
171
+ "tokens_processed": 617218048,
172
+ "total_compile_seconds": 177.4247099260101,
173
+ "total_parameter_count": 241628800,
174
+ "train_compile_seconds": 60.04081087198574,
175
+ "train_loss": 3.5012834072113037,
176
+ "train_seconds": 1556.6233342349879,
177
+ "training_data_epochs": 0.07812906684585416,
178
+ "training_data_sharding": "rank_disjoint_shuffled_windows",
179
+ "training_sampling": "shuffled_epochs",
180
+ "training_steps": 4709,
181
+ "training_token_budget": 617218048,
182
+ "training_usable_tokens_per_epoch": 7899979776,
183
+ "validation_loss": 3.5765029788017273,
184
+ "validation_probe_count": 0,
185
+ "validation_probe_seconds": 0.0,
186
+ "validation_tokens": 1048576
187
+ },
188
+ "profile": "dev",
189
+ "schema_version": 1,
190
+ "seed": 1337,
191
+ "status": "ok",
192
+ "system": {
193
+ "controller_process_index": 1,
194
+ "device_count": 16,
195
+ "device_ids": [
196
+ 0,
197
+ 1,
198
+ 2,
199
+ 3,
200
+ 4,
201
+ 5,
202
+ 6,
203
+ 7,
204
+ 8,
205
+ 9,
206
+ 10,
207
+ 11,
208
+ 12,
209
+ 13,
210
+ 14,
211
+ 15
212
+ ],
213
+ "device_kinds": [
214
+ "TPU v4"
215
+ ],
216
+ "jax_version": "0.11.0",
217
+ "jaxlib_version": "0.11.0",
218
+ "libtpu_version": "0.0.44.1",
219
+ "local_device_count": 4,
220
+ "platform": "tpu",
221
+ "process_count": 4,
222
+ "process_indices": [
223
+ 0,
224
+ 0,
225
+ 0,
226
+ 0,
227
+ 1,
228
+ 1,
229
+ 1,
230
+ 1,
231
+ 2,
232
+ 2,
233
+ 2,
234
+ 2,
235
+ 3,
236
+ 3,
237
+ 3,
238
+ 3
239
+ ],
240
+ "python_version": "3.12.13"
241
+ },
242
+ "track": "open"
243
+ }
moe-lr-sweep-8k/125m-5tpp-bs16-lr2e-8-s1337/result.json ADDED
@@ -0,0 +1,243 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "artifacts": {
3
+ "diagnostics": "diagnostics.riglog",
4
+ "training_curve": "training.riglog",
5
+ "validation_curve": "validation.csv"
6
+ },
7
+ "checkpoint": null,
8
+ "contract": {
9
+ "dataset_id": "fineweb-8b-gpt2",
10
+ "model": {
11
+ "d_model": 640,
12
+ "heads": 10,
13
+ "layers": 12,
14
+ "mlp_activation": "gelu",
15
+ "mlp_mult": 4,
16
+ "normalization": "rms_norm",
17
+ "parameterization": "complete_d_p",
18
+ "position_encoding": "rope_base_10000",
19
+ "semantic_vocab_size": 50304,
20
+ "tied_embeddings": false,
21
+ "tier": "125m",
22
+ "vocab_size": 50304
23
+ },
24
+ "model_id": "reference-gpt-v3-family",
25
+ "sequence_length": 8192,
26
+ "tokenizer_id": "gpt2"
27
+ },
28
+ "evaluations": {
29
+ "fineweb": {
30
+ "canonical": true,
31
+ "loss": 3.5765029788017273,
32
+ "perplexity": 35.74830941038075,
33
+ "scored_tokens": 1048576,
34
+ "seconds": 0.8198627600213513
35
+ }
36
+ },
37
+ "implementation": {
38
+ "attention_backend": "tpu_flash",
39
+ "attention_tuning": {
40
+ "key_digest": "bf93286e9d38983bc78d617a9a666f8b00490f5bfff49b38c7fff97fd570e3ea",
41
+ "resolution_source": "heuristic",
42
+ "tiles": {
43
+ "block_kv": 512,
44
+ "block_kv_compute": 256,
45
+ "block_kv_dkv": 512,
46
+ "block_kv_dkv_compute": 256,
47
+ "block_kv_dq": 512,
48
+ "block_kv_dq_compute": 256,
49
+ "block_q": 512,
50
+ "block_q_dkv": 512,
51
+ "block_q_dkv_compute": 256,
52
+ "block_q_dq": 256
53
+ },
54
+ "tune_seconds": 0.0
55
+ },
56
+ "configuration": {
57
+ "overrides": {
58
+ "tokens_per_parameter_micros": 5000000
59
+ },
60
+ "path": "config.yaml",
61
+ "profile": "dev",
62
+ "resolved": {
63
+ "evaluation": {
64
+ "eval_batches": 8,
65
+ "val_every": 0,
66
+ "val_probe_batches": 8
67
+ },
68
+ "kernels": {
69
+ "attention_backend": "tpu_flash",
70
+ "loss_backend": "tiled",
71
+ "vocab_tile_size": 2048
72
+ },
73
+ "logging": {
74
+ "diagnostics_every": 10,
75
+ "log_every": 10
76
+ },
77
+ "model": {
78
+ "d_model": 640,
79
+ "heads": 10,
80
+ "layers": 12,
81
+ "mlp_activation": "gelu",
82
+ "mlp_mult": 4,
83
+ "normalization": "rms_norm",
84
+ "parameterization": "complete_d_p",
85
+ "position_encoding": "rope_base_10000",
86
+ "semantic_vocab_size": 50304,
87
+ "tied_embeddings": false,
88
+ "tier": "125m",
89
+ "vocab_size": 50304
90
+ },
91
+ "optimizer": {
92
+ "adam_epsilon": 1e-08,
93
+ "beta1": 0.9,
94
+ "beta2": 0.95,
95
+ "effective": {
96
+ "adam_epsilon_horizon_multiplier": 1.4354161175193187,
97
+ "beta1": 0.9514661925028901,
98
+ "beta2": 0.975733096251445,
99
+ "global_peak_learning_rate": 0.0027213363096067,
100
+ "weight_decay_horizon_multiplier": 0.6966620952593152
101
+ },
102
+ "grad_clip": 0.0,
103
+ "learning_rate": 0.00390625,
104
+ "min_lr_ratio": 0.1,
105
+ "warmup_steps": 471,
106
+ "weight_decay": 0.1
107
+ },
108
+ "parameterization": {
109
+ "attention_scale": "inverse_head_dim",
110
+ "base_depth": 12,
111
+ "base_width": 384,
112
+ "batch_multiplier": 1.0,
113
+ "data_multiplier": 2.0604194304342345,
114
+ "depth_alpha": 1.0,
115
+ "depth_multiplier": 1.0,
116
+ "embeddings": "untied",
117
+ "init_std": 0.02,
118
+ "name": "complete_d_p",
119
+ "width_multiplier": 1.6666666666666667
120
+ },
121
+ "training": {
122
+ "batch_size": 16,
123
+ "dtype": "bfloat16",
124
+ "sampling": "shuffled_epochs",
125
+ "seq_len": 8192,
126
+ "steps": 4709,
127
+ "tokens_per_parameter": 4.999472268158278,
128
+ "train_tokens": 617218048
129
+ }
130
+ },
131
+ "schema_version": 2,
132
+ "sha256": "a4bad1be29b57d20ec7ae7b0d539f2e777d11f5539607655550b7afca185affe"
133
+ },
134
+ "loss_backend": "tiled",
135
+ "vocab_tile_size": 2048
136
+ },
137
+ "metrics": {
138
+ "achieved_tflops": 543.7682606917205,
139
+ "attention_tune_seconds": 0.0,
140
+ "base_learning_rate": 0.00390625,
141
+ "diagnostic_compile_seconds": 99.17232654301915,
142
+ "diagnostic_point_count": 472,
143
+ "diagnostics_every": 10,
144
+ "early_stopping_step": null,
145
+ "estimated_total_flops": 846442363009105920,
146
+ "eval_compile_seconds": 18.211572511005215,
147
+ "expert_top_k": 2,
148
+ "experts": 8,
149
+ "final_validation_seconds": 0.8198627600213513,
150
+ "flop_accounting": {
151
+ "by_site": {
152
+ "dot_general": 3116881674240,
153
+ "pallas_call": 1932735283200,
154
+ "tpu_flash_causal_attention_bwd_dkv": 2061584302080,
155
+ "tpu_flash_causal_attention_bwd_dq": 2061584302080,
156
+ "tpu_flash_causal_attention_fwd": 2061584302080
157
+ },
158
+ "elementwise_per_sequence": 13316361400,
159
+ "matmul_per_sequence": 11234369863680,
160
+ "method": "traced-jaxpr",
161
+ "warnings": []
162
+ },
163
+ "flops_per_token": 1371383040,
164
+ "mfu_estimate": 0.12358369561175465,
165
+ "model_tier": "125m",
166
+ "parameter_count": 123525760,
167
+ "parameters": 241628800,
168
+ "schedule_steps": 4709,
169
+ "tokens_per_parameter": 4.999472268158278,
170
+ "tokens_per_second": 396510.8542480738,
171
+ "tokens_processed": 617218048,
172
+ "total_compile_seconds": 177.4247099260101,
173
+ "total_parameter_count": 241628800,
174
+ "train_compile_seconds": 60.04081087198574,
175
+ "train_loss": 3.5012834072113037,
176
+ "train_seconds": 1556.6233342349879,
177
+ "training_data_epochs": 0.07812906684585416,
178
+ "training_data_sharding": "rank_disjoint_shuffled_windows",
179
+ "training_sampling": "shuffled_epochs",
180
+ "training_steps": 4709,
181
+ "training_token_budget": 617218048,
182
+ "training_usable_tokens_per_epoch": 7899979776,
183
+ "validation_loss": 3.5765029788017273,
184
+ "validation_probe_count": 0,
185
+ "validation_probe_seconds": 0.0,
186
+ "validation_tokens": 1048576
187
+ },
188
+ "profile": "dev",
189
+ "schema_version": 1,
190
+ "seed": 1337,
191
+ "status": "ok",
192
+ "system": {
193
+ "controller_process_index": 1,
194
+ "device_count": 16,
195
+ "device_ids": [
196
+ 0,
197
+ 1,
198
+ 2,
199
+ 3,
200
+ 4,
201
+ 5,
202
+ 6,
203
+ 7,
204
+ 8,
205
+ 9,
206
+ 10,
207
+ 11,
208
+ 12,
209
+ 13,
210
+ 14,
211
+ 15
212
+ ],
213
+ "device_kinds": [
214
+ "TPU v4"
215
+ ],
216
+ "jax_version": "0.11.0",
217
+ "jaxlib_version": "0.11.0",
218
+ "libtpu_version": "0.0.44.1",
219
+ "local_device_count": 4,
220
+ "platform": "tpu",
221
+ "process_count": 4,
222
+ "process_indices": [
223
+ 0,
224
+ 0,
225
+ 0,
226
+ 0,
227
+ 1,
228
+ 1,
229
+ 1,
230
+ 1,
231
+ 2,
232
+ 2,
233
+ 2,
234
+ 2,
235
+ 3,
236
+ 3,
237
+ 3,
238
+ 3
239
+ ],
240
+ "python_version": "3.12.13"
241
+ },
242
+ "track": "open"
243
+ }
moe-lr-sweep-8k/125m-5tpp-bs16-lr2e-8-s1337/training.riglog ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:07f92e2471ddb1479cfbdd43d256e1f3e1566d8efc1ad397bfc539cf0293651c
3
+ size 2678128
moe-lr-sweep-8k/125m-5tpp-bs16-lr2e-8-s1337/validation.csv ADDED
@@ -0,0 +1,2 @@
 
 
 
1
+ step,tokens_processed,kind,domain,validation_tokens,validation_loss,perplexity,validation_seconds,canonical
2
+ 4709,617218048,fineweb,fineweb,1048576,3.5765029788017273,35.74830941038075,0.8198627600213513,true
moe-lr-sweep-8k/125m-5tpp-bs16-lr2e-9-s1337/diagnostics.riglog ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c08e4f290cd0276ae108de5818b301d9996f66bfab0008d3400d895fb0b25b30
3
+ size 552576
moe-lr-sweep-8k/125m-5tpp-bs16-lr2e-9-s1337/metrics.json ADDED
@@ -0,0 +1,243 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "artifacts": {
3
+ "diagnostics": "diagnostics.riglog",
4
+ "training_curve": "training.riglog",
5
+ "validation_curve": "validation.csv"
6
+ },
7
+ "checkpoint": null,
8
+ "contract": {
9
+ "dataset_id": "fineweb-8b-gpt2",
10
+ "model": {
11
+ "d_model": 640,
12
+ "heads": 10,
13
+ "layers": 12,
14
+ "mlp_activation": "gelu",
15
+ "mlp_mult": 4,
16
+ "normalization": "rms_norm",
17
+ "parameterization": "complete_d_p",
18
+ "position_encoding": "rope_base_10000",
19
+ "semantic_vocab_size": 50304,
20
+ "tied_embeddings": false,
21
+ "tier": "125m",
22
+ "vocab_size": 50304
23
+ },
24
+ "model_id": "reference-gpt-v3-family",
25
+ "sequence_length": 8192,
26
+ "tokenizer_id": "gpt2"
27
+ },
28
+ "evaluations": {
29
+ "fineweb": {
30
+ "canonical": true,
31
+ "loss": 3.636278748512268,
32
+ "perplexity": 37.95035083687206,
33
+ "scored_tokens": 1048576,
34
+ "seconds": 0.820926460030023
35
+ }
36
+ },
37
+ "implementation": {
38
+ "attention_backend": "tpu_flash",
39
+ "attention_tuning": {
40
+ "key_digest": "bf93286e9d38983bc78d617a9a666f8b00490f5bfff49b38c7fff97fd570e3ea",
41
+ "resolution_source": "heuristic",
42
+ "tiles": {
43
+ "block_kv": 512,
44
+ "block_kv_compute": 256,
45
+ "block_kv_dkv": 512,
46
+ "block_kv_dkv_compute": 256,
47
+ "block_kv_dq": 512,
48
+ "block_kv_dq_compute": 256,
49
+ "block_q": 512,
50
+ "block_q_dkv": 512,
51
+ "block_q_dkv_compute": 256,
52
+ "block_q_dq": 256
53
+ },
54
+ "tune_seconds": 0.0
55
+ },
56
+ "configuration": {
57
+ "overrides": {
58
+ "tokens_per_parameter_micros": 5000000
59
+ },
60
+ "path": "config.yaml",
61
+ "profile": "dev",
62
+ "resolved": {
63
+ "evaluation": {
64
+ "eval_batches": 8,
65
+ "val_every": 0,
66
+ "val_probe_batches": 8
67
+ },
68
+ "kernels": {
69
+ "attention_backend": "tpu_flash",
70
+ "loss_backend": "tiled",
71
+ "vocab_tile_size": 2048
72
+ },
73
+ "logging": {
74
+ "diagnostics_every": 10,
75
+ "log_every": 10
76
+ },
77
+ "model": {
78
+ "d_model": 640,
79
+ "heads": 10,
80
+ "layers": 12,
81
+ "mlp_activation": "gelu",
82
+ "mlp_mult": 4,
83
+ "normalization": "rms_norm",
84
+ "parameterization": "complete_d_p",
85
+ "position_encoding": "rope_base_10000",
86
+ "semantic_vocab_size": 50304,
87
+ "tied_embeddings": false,
88
+ "tier": "125m",
89
+ "vocab_size": 50304
90
+ },
91
+ "optimizer": {
92
+ "adam_epsilon": 1e-08,
93
+ "beta1": 0.9,
94
+ "beta2": 0.95,
95
+ "effective": {
96
+ "adam_epsilon_horizon_multiplier": 1.4354161175193187,
97
+ "beta1": 0.9514661925028901,
98
+ "beta2": 0.975733096251445,
99
+ "global_peak_learning_rate": 0.00136066815480335,
100
+ "weight_decay_horizon_multiplier": 0.6966620952593152
101
+ },
102
+ "grad_clip": 0.0,
103
+ "learning_rate": 0.001953125,
104
+ "min_lr_ratio": 0.1,
105
+ "warmup_steps": 471,
106
+ "weight_decay": 0.1
107
+ },
108
+ "parameterization": {
109
+ "attention_scale": "inverse_head_dim",
110
+ "base_depth": 12,
111
+ "base_width": 384,
112
+ "batch_multiplier": 1.0,
113
+ "data_multiplier": 2.0604194304342345,
114
+ "depth_alpha": 1.0,
115
+ "depth_multiplier": 1.0,
116
+ "embeddings": "untied",
117
+ "init_std": 0.02,
118
+ "name": "complete_d_p",
119
+ "width_multiplier": 1.6666666666666667
120
+ },
121
+ "training": {
122
+ "batch_size": 16,
123
+ "dtype": "bfloat16",
124
+ "sampling": "shuffled_epochs",
125
+ "seq_len": 8192,
126
+ "steps": 4709,
127
+ "tokens_per_parameter": 4.999472268158278,
128
+ "train_tokens": 617218048
129
+ }
130
+ },
131
+ "schema_version": 2,
132
+ "sha256": "a4bad1be29b57d20ec7ae7b0d539f2e777d11f5539607655550b7afca185affe"
133
+ },
134
+ "loss_backend": "tiled",
135
+ "vocab_tile_size": 2048
136
+ },
137
+ "metrics": {
138
+ "achieved_tflops": 543.9659870683994,
139
+ "attention_tune_seconds": 0.0,
140
+ "base_learning_rate": 0.001953125,
141
+ "diagnostic_compile_seconds": 86.72710289398674,
142
+ "diagnostic_point_count": 472,
143
+ "diagnostics_every": 10,
144
+ "early_stopping_step": null,
145
+ "estimated_total_flops": 846442363009105920,
146
+ "eval_compile_seconds": 17.856146146019455,
147
+ "expert_top_k": 2,
148
+ "experts": 8,
149
+ "final_validation_seconds": 0.820926460030023,
150
+ "flop_accounting": {
151
+ "by_site": {
152
+ "dot_general": 3116881674240,
153
+ "pallas_call": 1932735283200,
154
+ "tpu_flash_causal_attention_bwd_dkv": 2061584302080,
155
+ "tpu_flash_causal_attention_bwd_dq": 2061584302080,
156
+ "tpu_flash_causal_attention_fwd": 2061584302080
157
+ },
158
+ "elementwise_per_sequence": 13316361400,
159
+ "matmul_per_sequence": 11234369863680,
160
+ "method": "traced-jaxpr",
161
+ "warnings": []
162
+ },
163
+ "flops_per_token": 1371383040,
164
+ "mfu_estimate": 0.12362863342463623,
165
+ "model_tier": "125m",
166
+ "parameter_count": 123525760,
167
+ "parameters": 241628800,
168
+ "schedule_steps": 4709,
169
+ "tokens_per_parameter": 4.999472268158278,
170
+ "tokens_per_second": 396655.03451785387,
171
+ "tokens_processed": 617218048,
172
+ "total_compile_seconds": 154.1182081500301,
173
+ "total_parameter_count": 241628800,
174
+ "train_compile_seconds": 49.53495911002392,
175
+ "train_loss": 3.56113862991333,
176
+ "train_seconds": 1556.0575167040224,
177
+ "training_data_epochs": 0.07812906684585416,
178
+ "training_data_sharding": "rank_disjoint_shuffled_windows",
179
+ "training_sampling": "shuffled_epochs",
180
+ "training_steps": 4709,
181
+ "training_token_budget": 617218048,
182
+ "training_usable_tokens_per_epoch": 7899979776,
183
+ "validation_loss": 3.636278748512268,
184
+ "validation_probe_count": 0,
185
+ "validation_probe_seconds": 0.0,
186
+ "validation_tokens": 1048576
187
+ },
188
+ "profile": "dev",
189
+ "schema_version": 1,
190
+ "seed": 1337,
191
+ "status": "ok",
192
+ "system": {
193
+ "controller_process_index": 1,
194
+ "device_count": 16,
195
+ "device_ids": [
196
+ 0,
197
+ 1,
198
+ 2,
199
+ 3,
200
+ 4,
201
+ 5,
202
+ 6,
203
+ 7,
204
+ 8,
205
+ 9,
206
+ 10,
207
+ 11,
208
+ 12,
209
+ 13,
210
+ 14,
211
+ 15
212
+ ],
213
+ "device_kinds": [
214
+ "TPU v4"
215
+ ],
216
+ "jax_version": "0.11.0",
217
+ "jaxlib_version": "0.11.0",
218
+ "libtpu_version": "0.0.44.1",
219
+ "local_device_count": 4,
220
+ "platform": "tpu",
221
+ "process_count": 4,
222
+ "process_indices": [
223
+ 0,
224
+ 0,
225
+ 0,
226
+ 0,
227
+ 1,
228
+ 1,
229
+ 1,
230
+ 1,
231
+ 2,
232
+ 2,
233
+ 2,
234
+ 2,
235
+ 3,
236
+ 3,
237
+ 3,
238
+ 3
239
+ ],
240
+ "python_version": "3.12.13"
241
+ },
242
+ "track": "open"
243
+ }
moe-lr-sweep-8k/125m-5tpp-bs16-lr2e-9-s1337/result.json ADDED
@@ -0,0 +1,243 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "artifacts": {
3
+ "diagnostics": "diagnostics.riglog",
4
+ "training_curve": "training.riglog",
5
+ "validation_curve": "validation.csv"
6
+ },
7
+ "checkpoint": null,
8
+ "contract": {
9
+ "dataset_id": "fineweb-8b-gpt2",
10
+ "model": {
11
+ "d_model": 640,
12
+ "heads": 10,
13
+ "layers": 12,
14
+ "mlp_activation": "gelu",
15
+ "mlp_mult": 4,
16
+ "normalization": "rms_norm",
17
+ "parameterization": "complete_d_p",
18
+ "position_encoding": "rope_base_10000",
19
+ "semantic_vocab_size": 50304,
20
+ "tied_embeddings": false,
21
+ "tier": "125m",
22
+ "vocab_size": 50304
23
+ },
24
+ "model_id": "reference-gpt-v3-family",
25
+ "sequence_length": 8192,
26
+ "tokenizer_id": "gpt2"
27
+ },
28
+ "evaluations": {
29
+ "fineweb": {
30
+ "canonical": true,
31
+ "loss": 3.636278748512268,
32
+ "perplexity": 37.95035083687206,
33
+ "scored_tokens": 1048576,
34
+ "seconds": 0.820926460030023
35
+ }
36
+ },
37
+ "implementation": {
38
+ "attention_backend": "tpu_flash",
39
+ "attention_tuning": {
40
+ "key_digest": "bf93286e9d38983bc78d617a9a666f8b00490f5bfff49b38c7fff97fd570e3ea",
41
+ "resolution_source": "heuristic",
42
+ "tiles": {
43
+ "block_kv": 512,
44
+ "block_kv_compute": 256,
45
+ "block_kv_dkv": 512,
46
+ "block_kv_dkv_compute": 256,
47
+ "block_kv_dq": 512,
48
+ "block_kv_dq_compute": 256,
49
+ "block_q": 512,
50
+ "block_q_dkv": 512,
51
+ "block_q_dkv_compute": 256,
52
+ "block_q_dq": 256
53
+ },
54
+ "tune_seconds": 0.0
55
+ },
56
+ "configuration": {
57
+ "overrides": {
58
+ "tokens_per_parameter_micros": 5000000
59
+ },
60
+ "path": "config.yaml",
61
+ "profile": "dev",
62
+ "resolved": {
63
+ "evaluation": {
64
+ "eval_batches": 8,
65
+ "val_every": 0,
66
+ "val_probe_batches": 8
67
+ },
68
+ "kernels": {
69
+ "attention_backend": "tpu_flash",
70
+ "loss_backend": "tiled",
71
+ "vocab_tile_size": 2048
72
+ },
73
+ "logging": {
74
+ "diagnostics_every": 10,
75
+ "log_every": 10
76
+ },
77
+ "model": {
78
+ "d_model": 640,
79
+ "heads": 10,
80
+ "layers": 12,
81
+ "mlp_activation": "gelu",
82
+ "mlp_mult": 4,
83
+ "normalization": "rms_norm",
84
+ "parameterization": "complete_d_p",
85
+ "position_encoding": "rope_base_10000",
86
+ "semantic_vocab_size": 50304,
87
+ "tied_embeddings": false,
88
+ "tier": "125m",
89
+ "vocab_size": 50304
90
+ },
91
+ "optimizer": {
92
+ "adam_epsilon": 1e-08,
93
+ "beta1": 0.9,
94
+ "beta2": 0.95,
95
+ "effective": {
96
+ "adam_epsilon_horizon_multiplier": 1.4354161175193187,
97
+ "beta1": 0.9514661925028901,
98
+ "beta2": 0.975733096251445,
99
+ "global_peak_learning_rate": 0.00136066815480335,
100
+ "weight_decay_horizon_multiplier": 0.6966620952593152
101
+ },
102
+ "grad_clip": 0.0,
103
+ "learning_rate": 0.001953125,
104
+ "min_lr_ratio": 0.1,
105
+ "warmup_steps": 471,
106
+ "weight_decay": 0.1
107
+ },
108
+ "parameterization": {
109
+ "attention_scale": "inverse_head_dim",
110
+ "base_depth": 12,
111
+ "base_width": 384,
112
+ "batch_multiplier": 1.0,
113
+ "data_multiplier": 2.0604194304342345,
114
+ "depth_alpha": 1.0,
115
+ "depth_multiplier": 1.0,
116
+ "embeddings": "untied",
117
+ "init_std": 0.02,
118
+ "name": "complete_d_p",
119
+ "width_multiplier": 1.6666666666666667
120
+ },
121
+ "training": {
122
+ "batch_size": 16,
123
+ "dtype": "bfloat16",
124
+ "sampling": "shuffled_epochs",
125
+ "seq_len": 8192,
126
+ "steps": 4709,
127
+ "tokens_per_parameter": 4.999472268158278,
128
+ "train_tokens": 617218048
129
+ }
130
+ },
131
+ "schema_version": 2,
132
+ "sha256": "a4bad1be29b57d20ec7ae7b0d539f2e777d11f5539607655550b7afca185affe"
133
+ },
134
+ "loss_backend": "tiled",
135
+ "vocab_tile_size": 2048
136
+ },
137
+ "metrics": {
138
+ "achieved_tflops": 543.9659870683994,
139
+ "attention_tune_seconds": 0.0,
140
+ "base_learning_rate": 0.001953125,
141
+ "diagnostic_compile_seconds": 86.72710289398674,
142
+ "diagnostic_point_count": 472,
143
+ "diagnostics_every": 10,
144
+ "early_stopping_step": null,
145
+ "estimated_total_flops": 846442363009105920,
146
+ "eval_compile_seconds": 17.856146146019455,
147
+ "expert_top_k": 2,
148
+ "experts": 8,
149
+ "final_validation_seconds": 0.820926460030023,
150
+ "flop_accounting": {
151
+ "by_site": {
152
+ "dot_general": 3116881674240,
153
+ "pallas_call": 1932735283200,
154
+ "tpu_flash_causal_attention_bwd_dkv": 2061584302080,
155
+ "tpu_flash_causal_attention_bwd_dq": 2061584302080,
156
+ "tpu_flash_causal_attention_fwd": 2061584302080
157
+ },
158
+ "elementwise_per_sequence": 13316361400,
159
+ "matmul_per_sequence": 11234369863680,
160
+ "method": "traced-jaxpr",
161
+ "warnings": []
162
+ },
163
+ "flops_per_token": 1371383040,
164
+ "mfu_estimate": 0.12362863342463623,
165
+ "model_tier": "125m",
166
+ "parameter_count": 123525760,
167
+ "parameters": 241628800,
168
+ "schedule_steps": 4709,
169
+ "tokens_per_parameter": 4.999472268158278,
170
+ "tokens_per_second": 396655.03451785387,
171
+ "tokens_processed": 617218048,
172
+ "total_compile_seconds": 154.1182081500301,
173
+ "total_parameter_count": 241628800,
174
+ "train_compile_seconds": 49.53495911002392,
175
+ "train_loss": 3.56113862991333,
176
+ "train_seconds": 1556.0575167040224,
177
+ "training_data_epochs": 0.07812906684585416,
178
+ "training_data_sharding": "rank_disjoint_shuffled_windows",
179
+ "training_sampling": "shuffled_epochs",
180
+ "training_steps": 4709,
181
+ "training_token_budget": 617218048,
182
+ "training_usable_tokens_per_epoch": 7899979776,
183
+ "validation_loss": 3.636278748512268,
184
+ "validation_probe_count": 0,
185
+ "validation_probe_seconds": 0.0,
186
+ "validation_tokens": 1048576
187
+ },
188
+ "profile": "dev",
189
+ "schema_version": 1,
190
+ "seed": 1337,
191
+ "status": "ok",
192
+ "system": {
193
+ "controller_process_index": 1,
194
+ "device_count": 16,
195
+ "device_ids": [
196
+ 0,
197
+ 1,
198
+ 2,
199
+ 3,
200
+ 4,
201
+ 5,
202
+ 6,
203
+ 7,
204
+ 8,
205
+ 9,
206
+ 10,
207
+ 11,
208
+ 12,
209
+ 13,
210
+ 14,
211
+ 15
212
+ ],
213
+ "device_kinds": [
214
+ "TPU v4"
215
+ ],
216
+ "jax_version": "0.11.0",
217
+ "jaxlib_version": "0.11.0",
218
+ "libtpu_version": "0.0.44.1",
219
+ "local_device_count": 4,
220
+ "platform": "tpu",
221
+ "process_count": 4,
222
+ "process_indices": [
223
+ 0,
224
+ 0,
225
+ 0,
226
+ 0,
227
+ 1,
228
+ 1,
229
+ 1,
230
+ 1,
231
+ 2,
232
+ 2,
233
+ 2,
234
+ 2,
235
+ 3,
236
+ 3,
237
+ 3,
238
+ 3
239
+ ],
240
+ "python_version": "3.12.13"
241
+ },
242
+ "track": "open"
243
+ }
moe-lr-sweep-8k/125m-5tpp-bs16-lr2e-9-s1337/training.riglog ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f46d2f1d84742558f0e76c980a10c2a27351c0e0b141655706fe1eebc0a12631
3
+ size 2678128
moe-lr-sweep-8k/125m-5tpp-bs16-lr2e-9-s1337/validation.csv ADDED
@@ -0,0 +1,2 @@
 
 
 
1
+ step,tokens_processed,kind,domain,validation_tokens,validation_loss,perplexity,validation_seconds,canonical
2
+ 4709,617218048,fineweb,fineweb,1048576,3.636278748512268,37.95035083687206,0.820926460030023,true
moe-lr-sweep-8k/60m-5tpp-bs16-lr2e-10-s1337/diagnostics.riglog ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c038a5d5f83af15b22d3179e36611ef098c008dfc10ed94f84517500dc4da943
3
+ size 272824
moe-lr-sweep-8k/60m-5tpp-bs16-lr2e-10-s1337/metrics.json ADDED
@@ -0,0 +1,243 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "artifacts": {
3
+ "diagnostics": "diagnostics.riglog",
4
+ "training_curve": "training.riglog",
5
+ "validation_curve": "validation.csv"
6
+ },
7
+ "checkpoint": null,
8
+ "contract": {
9
+ "dataset_id": "fineweb-8b-gpt2",
10
+ "model": {
11
+ "d_model": 384,
12
+ "heads": 6,
13
+ "layers": 12,
14
+ "mlp_activation": "gelu",
15
+ "mlp_mult": 4,
16
+ "normalization": "rms_norm",
17
+ "parameterization": "complete_d_p",
18
+ "position_encoding": "rope_base_10000",
19
+ "semantic_vocab_size": 50304,
20
+ "tied_embeddings": false,
21
+ "tier": "60m",
22
+ "vocab_size": 50304
23
+ },
24
+ "model_id": "reference-gpt-v3-family",
25
+ "sequence_length": 8192,
26
+ "tokenizer_id": "gpt2"
27
+ },
28
+ "evaluations": {
29
+ "fineweb": {
30
+ "canonical": true,
31
+ "loss": 4.140182375907898,
32
+ "perplexity": 62.81427621528696,
33
+ "scored_tokens": 1048576,
34
+ "seconds": 0.4522744969581254
35
+ }
36
+ },
37
+ "implementation": {
38
+ "attention_backend": "tpu_flash",
39
+ "attention_tuning": {
40
+ "key_digest": "ec38db3431308f3e9f99acf40c7e3bb85ca0695b0d97491e44a93bc7adfada00",
41
+ "resolution_source": "heuristic",
42
+ "tiles": {
43
+ "block_kv": 512,
44
+ "block_kv_compute": 256,
45
+ "block_kv_dkv": 512,
46
+ "block_kv_dkv_compute": 256,
47
+ "block_kv_dq": 512,
48
+ "block_kv_dq_compute": 256,
49
+ "block_q": 512,
50
+ "block_q_dkv": 512,
51
+ "block_q_dkv_compute": 256,
52
+ "block_q_dq": 256
53
+ },
54
+ "tune_seconds": 0.0
55
+ },
56
+ "configuration": {
57
+ "overrides": {
58
+ "tokens_per_parameter_micros": 5000000
59
+ },
60
+ "path": "config.yaml",
61
+ "profile": "dev",
62
+ "resolved": {
63
+ "evaluation": {
64
+ "eval_batches": 8,
65
+ "val_every": 0,
66
+ "val_probe_batches": 8
67
+ },
68
+ "kernels": {
69
+ "attention_backend": "tpu_flash",
70
+ "loss_backend": "tiled",
71
+ "vocab_tile_size": 2048
72
+ },
73
+ "logging": {
74
+ "diagnostics_every": 10,
75
+ "log_every": 10
76
+ },
77
+ "model": {
78
+ "d_model": 384,
79
+ "heads": 6,
80
+ "layers": 12,
81
+ "mlp_activation": "gelu",
82
+ "mlp_mult": 4,
83
+ "normalization": "rms_norm",
84
+ "parameterization": "complete_d_p",
85
+ "position_encoding": "rope_base_10000",
86
+ "semantic_vocab_size": 50304,
87
+ "tied_embeddings": false,
88
+ "tier": "60m",
89
+ "vocab_size": 50304
90
+ },
91
+ "optimizer": {
92
+ "adam_epsilon": 1e-08,
93
+ "beta1": 0.9,
94
+ "beta2": 0.95,
95
+ "effective": {
96
+ "adam_epsilon_horizon_multiplier": 1.0,
97
+ "beta1": 0.9,
98
+ "beta2": 0.95,
99
+ "global_peak_learning_rate": 0.0009765625,
100
+ "weight_decay_horizon_multiplier": 1.0
101
+ },
102
+ "grad_clip": 0.0,
103
+ "learning_rate": 0.0009765625,
104
+ "min_lr_ratio": 0.1,
105
+ "warmup_steps": 229,
106
+ "weight_decay": 0.1
107
+ },
108
+ "parameterization": {
109
+ "attention_scale": "inverse_head_dim",
110
+ "base_depth": 12,
111
+ "base_width": 384,
112
+ "batch_multiplier": 1.0,
113
+ "data_multiplier": 1.0,
114
+ "depth_alpha": 1.0,
115
+ "depth_multiplier": 1.0,
116
+ "embeddings": "untied",
117
+ "init_std": 0.02,
118
+ "name": "complete_d_p",
119
+ "width_multiplier": 1.0
120
+ },
121
+ "training": {
122
+ "batch_size": 16,
123
+ "dtype": "bfloat16",
124
+ "sampling": "shuffled_epochs",
125
+ "seq_len": 8192,
126
+ "steps": 2286,
127
+ "tokens_per_parameter": 5.000660099848113,
128
+ "train_tokens": 299630592
129
+ }
130
+ },
131
+ "schema_version": 2,
132
+ "sha256": "a4bad1be29b57d20ec7ae7b0d539f2e777d11f5539607655550b7afca185affe"
133
+ },
134
+ "loss_backend": "tiled",
135
+ "vocab_tile_size": 2048
136
+ },
137
+ "metrics": {
138
+ "achieved_tflops": 597.1994385567854,
139
+ "attention_tune_seconds": 0.0,
140
+ "base_learning_rate": 0.0009765625,
141
+ "diagnostic_compile_seconds": 83.89820041001076,
142
+ "diagnostic_point_count": 230,
143
+ "diagnostics_every": 10,
144
+ "early_stopping_step": null,
145
+ "estimated_total_flops": 221095966021779456,
146
+ "eval_compile_seconds": 14.67128990398487,
147
+ "expert_top_k": 2,
148
+ "experts": 8,
149
+ "final_validation_seconds": 0.4522744969581254,
150
+ "flop_accounting": {
151
+ "by_site": {
152
+ "dot_general": 1638200770560,
153
+ "pallas_call": 695784701952,
154
+ "tpu_flash_causal_attention_bwd_dkv": 1236950581248,
155
+ "tpu_flash_causal_attention_bwd_dq": 1236950581248,
156
+ "tpu_flash_causal_attention_fwd": 1236950581248
157
+ },
158
+ "elementwise_per_sequence": 9518381752,
159
+ "matmul_per_sequence": 6044837216256,
160
+ "method": "traced-jaxpr",
161
+ "warnings": []
162
+ },
163
+ "flops_per_token": 737895168,
164
+ "mfu_estimate": 0.13572714512654213,
165
+ "model_tier": "60m",
166
+ "parameter_count": 59959680,
167
+ "parameters": 102509952,
168
+ "schedule_steps": 2286,
169
+ "tokens_per_parameter": 5.000660099848113,
170
+ "tokens_per_second": 809328.2954751445,
171
+ "tokens_processed": 299630592,
172
+ "total_compile_seconds": 145.22406579001108,
173
+ "total_parameter_count": 102509952,
174
+ "train_compile_seconds": 46.65457547601545,
175
+ "train_loss": 4.212207794189453,
176
+ "train_seconds": 370.2213226390304,
177
+ "training_data_epochs": 0.037928020133706226,
178
+ "training_data_sharding": "rank_disjoint_shuffled_windows",
179
+ "training_sampling": "shuffled_epochs",
180
+ "training_steps": 2286,
181
+ "training_token_budget": 299630592,
182
+ "training_usable_tokens_per_epoch": 7899979776,
183
+ "validation_loss": 4.140182375907898,
184
+ "validation_probe_count": 0,
185
+ "validation_probe_seconds": 0.0,
186
+ "validation_tokens": 1048576
187
+ },
188
+ "profile": "dev",
189
+ "schema_version": 1,
190
+ "seed": 1337,
191
+ "status": "ok",
192
+ "system": {
193
+ "controller_process_index": 1,
194
+ "device_count": 16,
195
+ "device_ids": [
196
+ 0,
197
+ 1,
198
+ 2,
199
+ 3,
200
+ 4,
201
+ 5,
202
+ 6,
203
+ 7,
204
+ 8,
205
+ 9,
206
+ 10,
207
+ 11,
208
+ 12,
209
+ 13,
210
+ 14,
211
+ 15
212
+ ],
213
+ "device_kinds": [
214
+ "TPU v4"
215
+ ],
216
+ "jax_version": "0.11.0",
217
+ "jaxlib_version": "0.11.0",
218
+ "libtpu_version": "0.0.44.1",
219
+ "local_device_count": 4,
220
+ "platform": "tpu",
221
+ "process_count": 4,
222
+ "process_indices": [
223
+ 0,
224
+ 0,
225
+ 0,
226
+ 0,
227
+ 1,
228
+ 1,
229
+ 1,
230
+ 1,
231
+ 2,
232
+ 2,
233
+ 2,
234
+ 2,
235
+ 3,
236
+ 3,
237
+ 3,
238
+ 3
239
+ ],
240
+ "python_version": "3.12.13"
241
+ },
242
+ "track": "open"
243
+ }
moe-lr-sweep-8k/60m-5tpp-bs16-lr2e-10-s1337/result.json ADDED
@@ -0,0 +1,243 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "artifacts": {
3
+ "diagnostics": "diagnostics.riglog",
4
+ "training_curve": "training.riglog",
5
+ "validation_curve": "validation.csv"
6
+ },
7
+ "checkpoint": null,
8
+ "contract": {
9
+ "dataset_id": "fineweb-8b-gpt2",
10
+ "model": {
11
+ "d_model": 384,
12
+ "heads": 6,
13
+ "layers": 12,
14
+ "mlp_activation": "gelu",
15
+ "mlp_mult": 4,
16
+ "normalization": "rms_norm",
17
+ "parameterization": "complete_d_p",
18
+ "position_encoding": "rope_base_10000",
19
+ "semantic_vocab_size": 50304,
20
+ "tied_embeddings": false,
21
+ "tier": "60m",
22
+ "vocab_size": 50304
23
+ },
24
+ "model_id": "reference-gpt-v3-family",
25
+ "sequence_length": 8192,
26
+ "tokenizer_id": "gpt2"
27
+ },
28
+ "evaluations": {
29
+ "fineweb": {
30
+ "canonical": true,
31
+ "loss": 4.140182375907898,
32
+ "perplexity": 62.81427621528696,
33
+ "scored_tokens": 1048576,
34
+ "seconds": 0.4522744969581254
35
+ }
36
+ },
37
+ "implementation": {
38
+ "attention_backend": "tpu_flash",
39
+ "attention_tuning": {
40
+ "key_digest": "ec38db3431308f3e9f99acf40c7e3bb85ca0695b0d97491e44a93bc7adfada00",
41
+ "resolution_source": "heuristic",
42
+ "tiles": {
43
+ "block_kv": 512,
44
+ "block_kv_compute": 256,
45
+ "block_kv_dkv": 512,
46
+ "block_kv_dkv_compute": 256,
47
+ "block_kv_dq": 512,
48
+ "block_kv_dq_compute": 256,
49
+ "block_q": 512,
50
+ "block_q_dkv": 512,
51
+ "block_q_dkv_compute": 256,
52
+ "block_q_dq": 256
53
+ },
54
+ "tune_seconds": 0.0
55
+ },
56
+ "configuration": {
57
+ "overrides": {
58
+ "tokens_per_parameter_micros": 5000000
59
+ },
60
+ "path": "config.yaml",
61
+ "profile": "dev",
62
+ "resolved": {
63
+ "evaluation": {
64
+ "eval_batches": 8,
65
+ "val_every": 0,
66
+ "val_probe_batches": 8
67
+ },
68
+ "kernels": {
69
+ "attention_backend": "tpu_flash",
70
+ "loss_backend": "tiled",
71
+ "vocab_tile_size": 2048
72
+ },
73
+ "logging": {
74
+ "diagnostics_every": 10,
75
+ "log_every": 10
76
+ },
77
+ "model": {
78
+ "d_model": 384,
79
+ "heads": 6,
80
+ "layers": 12,
81
+ "mlp_activation": "gelu",
82
+ "mlp_mult": 4,
83
+ "normalization": "rms_norm",
84
+ "parameterization": "complete_d_p",
85
+ "position_encoding": "rope_base_10000",
86
+ "semantic_vocab_size": 50304,
87
+ "tied_embeddings": false,
88
+ "tier": "60m",
89
+ "vocab_size": 50304
90
+ },
91
+ "optimizer": {
92
+ "adam_epsilon": 1e-08,
93
+ "beta1": 0.9,
94
+ "beta2": 0.95,
95
+ "effective": {
96
+ "adam_epsilon_horizon_multiplier": 1.0,
97
+ "beta1": 0.9,
98
+ "beta2": 0.95,
99
+ "global_peak_learning_rate": 0.0009765625,
100
+ "weight_decay_horizon_multiplier": 1.0
101
+ },
102
+ "grad_clip": 0.0,
103
+ "learning_rate": 0.0009765625,
104
+ "min_lr_ratio": 0.1,
105
+ "warmup_steps": 229,
106
+ "weight_decay": 0.1
107
+ },
108
+ "parameterization": {
109
+ "attention_scale": "inverse_head_dim",
110
+ "base_depth": 12,
111
+ "base_width": 384,
112
+ "batch_multiplier": 1.0,
113
+ "data_multiplier": 1.0,
114
+ "depth_alpha": 1.0,
115
+ "depth_multiplier": 1.0,
116
+ "embeddings": "untied",
117
+ "init_std": 0.02,
118
+ "name": "complete_d_p",
119
+ "width_multiplier": 1.0
120
+ },
121
+ "training": {
122
+ "batch_size": 16,
123
+ "dtype": "bfloat16",
124
+ "sampling": "shuffled_epochs",
125
+ "seq_len": 8192,
126
+ "steps": 2286,
127
+ "tokens_per_parameter": 5.000660099848113,
128
+ "train_tokens": 299630592
129
+ }
130
+ },
131
+ "schema_version": 2,
132
+ "sha256": "a4bad1be29b57d20ec7ae7b0d539f2e777d11f5539607655550b7afca185affe"
133
+ },
134
+ "loss_backend": "tiled",
135
+ "vocab_tile_size": 2048
136
+ },
137
+ "metrics": {
138
+ "achieved_tflops": 597.1994385567854,
139
+ "attention_tune_seconds": 0.0,
140
+ "base_learning_rate": 0.0009765625,
141
+ "diagnostic_compile_seconds": 83.89820041001076,
142
+ "diagnostic_point_count": 230,
143
+ "diagnostics_every": 10,
144
+ "early_stopping_step": null,
145
+ "estimated_total_flops": 221095966021779456,
146
+ "eval_compile_seconds": 14.67128990398487,
147
+ "expert_top_k": 2,
148
+ "experts": 8,
149
+ "final_validation_seconds": 0.4522744969581254,
150
+ "flop_accounting": {
151
+ "by_site": {
152
+ "dot_general": 1638200770560,
153
+ "pallas_call": 695784701952,
154
+ "tpu_flash_causal_attention_bwd_dkv": 1236950581248,
155
+ "tpu_flash_causal_attention_bwd_dq": 1236950581248,
156
+ "tpu_flash_causal_attention_fwd": 1236950581248
157
+ },
158
+ "elementwise_per_sequence": 9518381752,
159
+ "matmul_per_sequence": 6044837216256,
160
+ "method": "traced-jaxpr",
161
+ "warnings": []
162
+ },
163
+ "flops_per_token": 737895168,
164
+ "mfu_estimate": 0.13572714512654213,
165
+ "model_tier": "60m",
166
+ "parameter_count": 59959680,
167
+ "parameters": 102509952,
168
+ "schedule_steps": 2286,
169
+ "tokens_per_parameter": 5.000660099848113,
170
+ "tokens_per_second": 809328.2954751445,
171
+ "tokens_processed": 299630592,
172
+ "total_compile_seconds": 145.22406579001108,
173
+ "total_parameter_count": 102509952,
174
+ "train_compile_seconds": 46.65457547601545,
175
+ "train_loss": 4.212207794189453,
176
+ "train_seconds": 370.2213226390304,
177
+ "training_data_epochs": 0.037928020133706226,
178
+ "training_data_sharding": "rank_disjoint_shuffled_windows",
179
+ "training_sampling": "shuffled_epochs",
180
+ "training_steps": 2286,
181
+ "training_token_budget": 299630592,
182
+ "training_usable_tokens_per_epoch": 7899979776,
183
+ "validation_loss": 4.140182375907898,
184
+ "validation_probe_count": 0,
185
+ "validation_probe_seconds": 0.0,
186
+ "validation_tokens": 1048576
187
+ },
188
+ "profile": "dev",
189
+ "schema_version": 1,
190
+ "seed": 1337,
191
+ "status": "ok",
192
+ "system": {
193
+ "controller_process_index": 1,
194
+ "device_count": 16,
195
+ "device_ids": [
196
+ 0,
197
+ 1,
198
+ 2,
199
+ 3,
200
+ 4,
201
+ 5,
202
+ 6,
203
+ 7,
204
+ 8,
205
+ 9,
206
+ 10,
207
+ 11,
208
+ 12,
209
+ 13,
210
+ 14,
211
+ 15
212
+ ],
213
+ "device_kinds": [
214
+ "TPU v4"
215
+ ],
216
+ "jax_version": "0.11.0",
217
+ "jaxlib_version": "0.11.0",
218
+ "libtpu_version": "0.0.44.1",
219
+ "local_device_count": 4,
220
+ "platform": "tpu",
221
+ "process_count": 4,
222
+ "process_indices": [
223
+ 0,
224
+ 0,
225
+ 0,
226
+ 0,
227
+ 1,
228
+ 1,
229
+ 1,
230
+ 1,
231
+ 2,
232
+ 2,
233
+ 2,
234
+ 2,
235
+ 3,
236
+ 3,
237
+ 3,
238
+ 3
239
+ ],
240
+ "python_version": "3.12.13"
241
+ },
242
+ "track": "open"
243
+ }
moe-lr-sweep-8k/60m-5tpp-bs16-lr2e-10-s1337/training.riglog ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8eababbce742ceb8f3d3ac1ee872460c3637a856180b34681d47fc22312081f3
3
+ size 1301864
moe-lr-sweep-8k/60m-5tpp-bs16-lr2e-10-s1337/validation.csv ADDED
@@ -0,0 +1,2 @@
 
 
 
1
+ step,tokens_processed,kind,domain,validation_tokens,validation_loss,perplexity,validation_seconds,canonical
2
+ 2286,299630592,fineweb,fineweb,1048576,4.140182375907898,62.81427621528696,0.4522744969581254,true
moe-lr-sweep-8k/60m-5tpp-bs16-lr2e-10-s1338/diagnostics.riglog ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b283d39fcce7fa570c608c7ee0f63b60685531973ee6e8f86dfd13b5d3f361b3
3
+ size 272824
moe-lr-sweep-8k/60m-5tpp-bs16-lr2e-10-s1338/metrics.json ADDED
@@ -0,0 +1,243 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "artifacts": {
3
+ "diagnostics": "diagnostics.riglog",
4
+ "training_curve": "training.riglog",
5
+ "validation_curve": "validation.csv"
6
+ },
7
+ "checkpoint": null,
8
+ "contract": {
9
+ "dataset_id": "fineweb-8b-gpt2",
10
+ "model": {
11
+ "d_model": 384,
12
+ "heads": 6,
13
+ "layers": 12,
14
+ "mlp_activation": "gelu",
15
+ "mlp_mult": 4,
16
+ "normalization": "rms_norm",
17
+ "parameterization": "complete_d_p",
18
+ "position_encoding": "rope_base_10000",
19
+ "semantic_vocab_size": 50304,
20
+ "tied_embeddings": false,
21
+ "tier": "60m",
22
+ "vocab_size": 50304
23
+ },
24
+ "model_id": "reference-gpt-v3-family",
25
+ "sequence_length": 8192,
26
+ "tokenizer_id": "gpt2"
27
+ },
28
+ "evaluations": {
29
+ "fineweb": {
30
+ "canonical": true,
31
+ "loss": 4.1316089034080505,
32
+ "perplexity": 62.278041726011224,
33
+ "scored_tokens": 1048576,
34
+ "seconds": 0.4497800850076601
35
+ }
36
+ },
37
+ "implementation": {
38
+ "attention_backend": "tpu_flash",
39
+ "attention_tuning": {
40
+ "key_digest": "ec38db3431308f3e9f99acf40c7e3bb85ca0695b0d97491e44a93bc7adfada00",
41
+ "resolution_source": "heuristic",
42
+ "tiles": {
43
+ "block_kv": 512,
44
+ "block_kv_compute": 256,
45
+ "block_kv_dkv": 512,
46
+ "block_kv_dkv_compute": 256,
47
+ "block_kv_dq": 512,
48
+ "block_kv_dq_compute": 256,
49
+ "block_q": 512,
50
+ "block_q_dkv": 512,
51
+ "block_q_dkv_compute": 256,
52
+ "block_q_dq": 256
53
+ },
54
+ "tune_seconds": 0.0
55
+ },
56
+ "configuration": {
57
+ "overrides": {
58
+ "tokens_per_parameter_micros": 5000000
59
+ },
60
+ "path": "config.yaml",
61
+ "profile": "dev",
62
+ "resolved": {
63
+ "evaluation": {
64
+ "eval_batches": 8,
65
+ "val_every": 0,
66
+ "val_probe_batches": 8
67
+ },
68
+ "kernels": {
69
+ "attention_backend": "tpu_flash",
70
+ "loss_backend": "tiled",
71
+ "vocab_tile_size": 2048
72
+ },
73
+ "logging": {
74
+ "diagnostics_every": 10,
75
+ "log_every": 10
76
+ },
77
+ "model": {
78
+ "d_model": 384,
79
+ "heads": 6,
80
+ "layers": 12,
81
+ "mlp_activation": "gelu",
82
+ "mlp_mult": 4,
83
+ "normalization": "rms_norm",
84
+ "parameterization": "complete_d_p",
85
+ "position_encoding": "rope_base_10000",
86
+ "semantic_vocab_size": 50304,
87
+ "tied_embeddings": false,
88
+ "tier": "60m",
89
+ "vocab_size": 50304
90
+ },
91
+ "optimizer": {
92
+ "adam_epsilon": 1e-08,
93
+ "beta1": 0.9,
94
+ "beta2": 0.95,
95
+ "effective": {
96
+ "adam_epsilon_horizon_multiplier": 1.0,
97
+ "beta1": 0.9,
98
+ "beta2": 0.95,
99
+ "global_peak_learning_rate": 0.0009765625,
100
+ "weight_decay_horizon_multiplier": 1.0
101
+ },
102
+ "grad_clip": 0.0,
103
+ "learning_rate": 0.0009765625,
104
+ "min_lr_ratio": 0.1,
105
+ "warmup_steps": 229,
106
+ "weight_decay": 0.1
107
+ },
108
+ "parameterization": {
109
+ "attention_scale": "inverse_head_dim",
110
+ "base_depth": 12,
111
+ "base_width": 384,
112
+ "batch_multiplier": 1.0,
113
+ "data_multiplier": 1.0,
114
+ "depth_alpha": 1.0,
115
+ "depth_multiplier": 1.0,
116
+ "embeddings": "untied",
117
+ "init_std": 0.02,
118
+ "name": "complete_d_p",
119
+ "width_multiplier": 1.0
120
+ },
121
+ "training": {
122
+ "batch_size": 16,
123
+ "dtype": "bfloat16",
124
+ "sampling": "shuffled_epochs",
125
+ "seq_len": 8192,
126
+ "steps": 2286,
127
+ "tokens_per_parameter": 5.000660099848113,
128
+ "train_tokens": 299630592
129
+ }
130
+ },
131
+ "schema_version": 2,
132
+ "sha256": "a4bad1be29b57d20ec7ae7b0d539f2e777d11f5539607655550b7afca185affe"
133
+ },
134
+ "loss_backend": "tiled",
135
+ "vocab_tile_size": 2048
136
+ },
137
+ "metrics": {
138
+ "achieved_tflops": 596.5610758674637,
139
+ "attention_tune_seconds": 0.0,
140
+ "base_learning_rate": 0.0009765625,
141
+ "diagnostic_compile_seconds": 81.42221394897206,
142
+ "diagnostic_point_count": 230,
143
+ "diagnostics_every": 10,
144
+ "early_stopping_step": null,
145
+ "estimated_total_flops": 221095966021779456,
146
+ "eval_compile_seconds": 15.508095662982669,
147
+ "expert_top_k": 2,
148
+ "experts": 8,
149
+ "final_validation_seconds": 0.4497800850076601,
150
+ "flop_accounting": {
151
+ "by_site": {
152
+ "dot_general": 1638200770560,
153
+ "pallas_call": 695784701952,
154
+ "tpu_flash_causal_attention_bwd_dkv": 1236950581248,
155
+ "tpu_flash_causal_attention_bwd_dq": 1236950581248,
156
+ "tpu_flash_causal_attention_fwd": 1236950581248
157
+ },
158
+ "elementwise_per_sequence": 9518381752,
159
+ "matmul_per_sequence": 6044837216256,
160
+ "method": "traced-jaxpr",
161
+ "warnings": []
162
+ },
163
+ "flops_per_token": 737895168,
164
+ "mfu_estimate": 0.13558206269715084,
165
+ "model_tier": "60m",
166
+ "parameter_count": 59959680,
167
+ "parameters": 102509952,
168
+ "schedule_steps": 2286,
169
+ "tokens_per_parameter": 5.000660099848113,
170
+ "tokens_per_second": 808463.1824929686,
171
+ "tokens_processed": 299630592,
172
+ "total_compile_seconds": 144.46100250293966,
173
+ "total_parameter_count": 102509952,
174
+ "train_compile_seconds": 47.53069289098494,
175
+ "train_loss": 4.155775547027588,
176
+ "train_seconds": 370.61748572898796,
177
+ "training_data_epochs": 0.037928020133706226,
178
+ "training_data_sharding": "rank_disjoint_shuffled_windows",
179
+ "training_sampling": "shuffled_epochs",
180
+ "training_steps": 2286,
181
+ "training_token_budget": 299630592,
182
+ "training_usable_tokens_per_epoch": 7899979776,
183
+ "validation_loss": 4.1316089034080505,
184
+ "validation_probe_count": 0,
185
+ "validation_probe_seconds": 0.0,
186
+ "validation_tokens": 1048576
187
+ },
188
+ "profile": "dev",
189
+ "schema_version": 1,
190
+ "seed": 1338,
191
+ "status": "ok",
192
+ "system": {
193
+ "controller_process_index": 1,
194
+ "device_count": 16,
195
+ "device_ids": [
196
+ 0,
197
+ 1,
198
+ 2,
199
+ 3,
200
+ 4,
201
+ 5,
202
+ 6,
203
+ 7,
204
+ 8,
205
+ 9,
206
+ 10,
207
+ 11,
208
+ 12,
209
+ 13,
210
+ 14,
211
+ 15
212
+ ],
213
+ "device_kinds": [
214
+ "TPU v4"
215
+ ],
216
+ "jax_version": "0.11.0",
217
+ "jaxlib_version": "0.11.0",
218
+ "libtpu_version": "0.0.44.1",
219
+ "local_device_count": 4,
220
+ "platform": "tpu",
221
+ "process_count": 4,
222
+ "process_indices": [
223
+ 0,
224
+ 0,
225
+ 0,
226
+ 0,
227
+ 1,
228
+ 1,
229
+ 1,
230
+ 1,
231
+ 2,
232
+ 2,
233
+ 2,
234
+ 2,
235
+ 3,
236
+ 3,
237
+ 3,
238
+ 3
239
+ ],
240
+ "python_version": "3.12.13"
241
+ },
242
+ "track": "open"
243
+ }
moe-lr-sweep-8k/60m-5tpp-bs16-lr2e-10-s1338/result.json ADDED
@@ -0,0 +1,243 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "artifacts": {
3
+ "diagnostics": "diagnostics.riglog",
4
+ "training_curve": "training.riglog",
5
+ "validation_curve": "validation.csv"
6
+ },
7
+ "checkpoint": null,
8
+ "contract": {
9
+ "dataset_id": "fineweb-8b-gpt2",
10
+ "model": {
11
+ "d_model": 384,
12
+ "heads": 6,
13
+ "layers": 12,
14
+ "mlp_activation": "gelu",
15
+ "mlp_mult": 4,
16
+ "normalization": "rms_norm",
17
+ "parameterization": "complete_d_p",
18
+ "position_encoding": "rope_base_10000",
19
+ "semantic_vocab_size": 50304,
20
+ "tied_embeddings": false,
21
+ "tier": "60m",
22
+ "vocab_size": 50304
23
+ },
24
+ "model_id": "reference-gpt-v3-family",
25
+ "sequence_length": 8192,
26
+ "tokenizer_id": "gpt2"
27
+ },
28
+ "evaluations": {
29
+ "fineweb": {
30
+ "canonical": true,
31
+ "loss": 4.1316089034080505,
32
+ "perplexity": 62.278041726011224,
33
+ "scored_tokens": 1048576,
34
+ "seconds": 0.4497800850076601
35
+ }
36
+ },
37
+ "implementation": {
38
+ "attention_backend": "tpu_flash",
39
+ "attention_tuning": {
40
+ "key_digest": "ec38db3431308f3e9f99acf40c7e3bb85ca0695b0d97491e44a93bc7adfada00",
41
+ "resolution_source": "heuristic",
42
+ "tiles": {
43
+ "block_kv": 512,
44
+ "block_kv_compute": 256,
45
+ "block_kv_dkv": 512,
46
+ "block_kv_dkv_compute": 256,
47
+ "block_kv_dq": 512,
48
+ "block_kv_dq_compute": 256,
49
+ "block_q": 512,
50
+ "block_q_dkv": 512,
51
+ "block_q_dkv_compute": 256,
52
+ "block_q_dq": 256
53
+ },
54
+ "tune_seconds": 0.0
55
+ },
56
+ "configuration": {
57
+ "overrides": {
58
+ "tokens_per_parameter_micros": 5000000
59
+ },
60
+ "path": "config.yaml",
61
+ "profile": "dev",
62
+ "resolved": {
63
+ "evaluation": {
64
+ "eval_batches": 8,
65
+ "val_every": 0,
66
+ "val_probe_batches": 8
67
+ },
68
+ "kernels": {
69
+ "attention_backend": "tpu_flash",
70
+ "loss_backend": "tiled",
71
+ "vocab_tile_size": 2048
72
+ },
73
+ "logging": {
74
+ "diagnostics_every": 10,
75
+ "log_every": 10
76
+ },
77
+ "model": {
78
+ "d_model": 384,
79
+ "heads": 6,
80
+ "layers": 12,
81
+ "mlp_activation": "gelu",
82
+ "mlp_mult": 4,
83
+ "normalization": "rms_norm",
84
+ "parameterization": "complete_d_p",
85
+ "position_encoding": "rope_base_10000",
86
+ "semantic_vocab_size": 50304,
87
+ "tied_embeddings": false,
88
+ "tier": "60m",
89
+ "vocab_size": 50304
90
+ },
91
+ "optimizer": {
92
+ "adam_epsilon": 1e-08,
93
+ "beta1": 0.9,
94
+ "beta2": 0.95,
95
+ "effective": {
96
+ "adam_epsilon_horizon_multiplier": 1.0,
97
+ "beta1": 0.9,
98
+ "beta2": 0.95,
99
+ "global_peak_learning_rate": 0.0009765625,
100
+ "weight_decay_horizon_multiplier": 1.0
101
+ },
102
+ "grad_clip": 0.0,
103
+ "learning_rate": 0.0009765625,
104
+ "min_lr_ratio": 0.1,
105
+ "warmup_steps": 229,
106
+ "weight_decay": 0.1
107
+ },
108
+ "parameterization": {
109
+ "attention_scale": "inverse_head_dim",
110
+ "base_depth": 12,
111
+ "base_width": 384,
112
+ "batch_multiplier": 1.0,
113
+ "data_multiplier": 1.0,
114
+ "depth_alpha": 1.0,
115
+ "depth_multiplier": 1.0,
116
+ "embeddings": "untied",
117
+ "init_std": 0.02,
118
+ "name": "complete_d_p",
119
+ "width_multiplier": 1.0
120
+ },
121
+ "training": {
122
+ "batch_size": 16,
123
+ "dtype": "bfloat16",
124
+ "sampling": "shuffled_epochs",
125
+ "seq_len": 8192,
126
+ "steps": 2286,
127
+ "tokens_per_parameter": 5.000660099848113,
128
+ "train_tokens": 299630592
129
+ }
130
+ },
131
+ "schema_version": 2,
132
+ "sha256": "a4bad1be29b57d20ec7ae7b0d539f2e777d11f5539607655550b7afca185affe"
133
+ },
134
+ "loss_backend": "tiled",
135
+ "vocab_tile_size": 2048
136
+ },
137
+ "metrics": {
138
+ "achieved_tflops": 596.5610758674637,
139
+ "attention_tune_seconds": 0.0,
140
+ "base_learning_rate": 0.0009765625,
141
+ "diagnostic_compile_seconds": 81.42221394897206,
142
+ "diagnostic_point_count": 230,
143
+ "diagnostics_every": 10,
144
+ "early_stopping_step": null,
145
+ "estimated_total_flops": 221095966021779456,
146
+ "eval_compile_seconds": 15.508095662982669,
147
+ "expert_top_k": 2,
148
+ "experts": 8,
149
+ "final_validation_seconds": 0.4497800850076601,
150
+ "flop_accounting": {
151
+ "by_site": {
152
+ "dot_general": 1638200770560,
153
+ "pallas_call": 695784701952,
154
+ "tpu_flash_causal_attention_bwd_dkv": 1236950581248,
155
+ "tpu_flash_causal_attention_bwd_dq": 1236950581248,
156
+ "tpu_flash_causal_attention_fwd": 1236950581248
157
+ },
158
+ "elementwise_per_sequence": 9518381752,
159
+ "matmul_per_sequence": 6044837216256,
160
+ "method": "traced-jaxpr",
161
+ "warnings": []
162
+ },
163
+ "flops_per_token": 737895168,
164
+ "mfu_estimate": 0.13558206269715084,
165
+ "model_tier": "60m",
166
+ "parameter_count": 59959680,
167
+ "parameters": 102509952,
168
+ "schedule_steps": 2286,
169
+ "tokens_per_parameter": 5.000660099848113,
170
+ "tokens_per_second": 808463.1824929686,
171
+ "tokens_processed": 299630592,
172
+ "total_compile_seconds": 144.46100250293966,
173
+ "total_parameter_count": 102509952,
174
+ "train_compile_seconds": 47.53069289098494,
175
+ "train_loss": 4.155775547027588,
176
+ "train_seconds": 370.61748572898796,
177
+ "training_data_epochs": 0.037928020133706226,
178
+ "training_data_sharding": "rank_disjoint_shuffled_windows",
179
+ "training_sampling": "shuffled_epochs",
180
+ "training_steps": 2286,
181
+ "training_token_budget": 299630592,
182
+ "training_usable_tokens_per_epoch": 7899979776,
183
+ "validation_loss": 4.1316089034080505,
184
+ "validation_probe_count": 0,
185
+ "validation_probe_seconds": 0.0,
186
+ "validation_tokens": 1048576
187
+ },
188
+ "profile": "dev",
189
+ "schema_version": 1,
190
+ "seed": 1338,
191
+ "status": "ok",
192
+ "system": {
193
+ "controller_process_index": 1,
194
+ "device_count": 16,
195
+ "device_ids": [
196
+ 0,
197
+ 1,
198
+ 2,
199
+ 3,
200
+ 4,
201
+ 5,
202
+ 6,
203
+ 7,
204
+ 8,
205
+ 9,
206
+ 10,
207
+ 11,
208
+ 12,
209
+ 13,
210
+ 14,
211
+ 15
212
+ ],
213
+ "device_kinds": [
214
+ "TPU v4"
215
+ ],
216
+ "jax_version": "0.11.0",
217
+ "jaxlib_version": "0.11.0",
218
+ "libtpu_version": "0.0.44.1",
219
+ "local_device_count": 4,
220
+ "platform": "tpu",
221
+ "process_count": 4,
222
+ "process_indices": [
223
+ 0,
224
+ 0,
225
+ 0,
226
+ 0,
227
+ 1,
228
+ 1,
229
+ 1,
230
+ 1,
231
+ 2,
232
+ 2,
233
+ 2,
234
+ 2,
235
+ 3,
236
+ 3,
237
+ 3,
238
+ 3
239
+ ],
240
+ "python_version": "3.12.13"
241
+ },
242
+ "track": "open"
243
+ }
moe-lr-sweep-8k/60m-5tpp-bs16-lr2e-10-s1338/training.riglog ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5237c2cb19951ee6a2ae63c8a1775b3292dacb2a5451e107970b5d53d7c401ab
3
+ size 1301864
moe-lr-sweep-8k/60m-5tpp-bs16-lr2e-10-s1338/validation.csv ADDED
@@ -0,0 +1,2 @@
 
 
 
1
+ step,tokens_processed,kind,domain,validation_tokens,validation_loss,perplexity,validation_seconds,canonical
2
+ 2286,299630592,fineweb,fineweb,1048576,4.1316089034080505,62.278041726011224,0.4497800850076601,true
moe-lr-sweep-8k/60m-5tpp-bs16-lr2e-10-s1339/diagnostics.riglog ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:47c912f8aded72e15b289bb7113686557ab379f43d19c131282127f5de98ab72
3
+ size 272824
moe-lr-sweep-8k/60m-5tpp-bs16-lr2e-10-s1339/metrics.json ADDED
@@ -0,0 +1,243 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "artifacts": {
3
+ "diagnostics": "diagnostics.riglog",
4
+ "training_curve": "training.riglog",
5
+ "validation_curve": "validation.csv"
6
+ },
7
+ "checkpoint": null,
8
+ "contract": {
9
+ "dataset_id": "fineweb-8b-gpt2",
10
+ "model": {
11
+ "d_model": 384,
12
+ "heads": 6,
13
+ "layers": 12,
14
+ "mlp_activation": "gelu",
15
+ "mlp_mult": 4,
16
+ "normalization": "rms_norm",
17
+ "parameterization": "complete_d_p",
18
+ "position_encoding": "rope_base_10000",
19
+ "semantic_vocab_size": 50304,
20
+ "tied_embeddings": false,
21
+ "tier": "60m",
22
+ "vocab_size": 50304
23
+ },
24
+ "model_id": "reference-gpt-v3-family",
25
+ "sequence_length": 8192,
26
+ "tokenizer_id": "gpt2"
27
+ },
28
+ "evaluations": {
29
+ "fineweb": {
30
+ "canonical": true,
31
+ "loss": 4.118675529956818,
32
+ "perplexity": 61.477762862592776,
33
+ "scored_tokens": 1048576,
34
+ "seconds": 0.44936058699386194
35
+ }
36
+ },
37
+ "implementation": {
38
+ "attention_backend": "tpu_flash",
39
+ "attention_tuning": {
40
+ "key_digest": "ec38db3431308f3e9f99acf40c7e3bb85ca0695b0d97491e44a93bc7adfada00",
41
+ "resolution_source": "heuristic",
42
+ "tiles": {
43
+ "block_kv": 512,
44
+ "block_kv_compute": 256,
45
+ "block_kv_dkv": 512,
46
+ "block_kv_dkv_compute": 256,
47
+ "block_kv_dq": 512,
48
+ "block_kv_dq_compute": 256,
49
+ "block_q": 512,
50
+ "block_q_dkv": 512,
51
+ "block_q_dkv_compute": 256,
52
+ "block_q_dq": 256
53
+ },
54
+ "tune_seconds": 0.0
55
+ },
56
+ "configuration": {
57
+ "overrides": {
58
+ "tokens_per_parameter_micros": 5000000
59
+ },
60
+ "path": "config.yaml",
61
+ "profile": "dev",
62
+ "resolved": {
63
+ "evaluation": {
64
+ "eval_batches": 8,
65
+ "val_every": 0,
66
+ "val_probe_batches": 8
67
+ },
68
+ "kernels": {
69
+ "attention_backend": "tpu_flash",
70
+ "loss_backend": "tiled",
71
+ "vocab_tile_size": 2048
72
+ },
73
+ "logging": {
74
+ "diagnostics_every": 10,
75
+ "log_every": 10
76
+ },
77
+ "model": {
78
+ "d_model": 384,
79
+ "heads": 6,
80
+ "layers": 12,
81
+ "mlp_activation": "gelu",
82
+ "mlp_mult": 4,
83
+ "normalization": "rms_norm",
84
+ "parameterization": "complete_d_p",
85
+ "position_encoding": "rope_base_10000",
86
+ "semantic_vocab_size": 50304,
87
+ "tied_embeddings": false,
88
+ "tier": "60m",
89
+ "vocab_size": 50304
90
+ },
91
+ "optimizer": {
92
+ "adam_epsilon": 1e-08,
93
+ "beta1": 0.9,
94
+ "beta2": 0.95,
95
+ "effective": {
96
+ "adam_epsilon_horizon_multiplier": 1.0,
97
+ "beta1": 0.9,
98
+ "beta2": 0.95,
99
+ "global_peak_learning_rate": 0.0009765625,
100
+ "weight_decay_horizon_multiplier": 1.0
101
+ },
102
+ "grad_clip": 0.0,
103
+ "learning_rate": 0.0009765625,
104
+ "min_lr_ratio": 0.1,
105
+ "warmup_steps": 229,
106
+ "weight_decay": 0.1
107
+ },
108
+ "parameterization": {
109
+ "attention_scale": "inverse_head_dim",
110
+ "base_depth": 12,
111
+ "base_width": 384,
112
+ "batch_multiplier": 1.0,
113
+ "data_multiplier": 1.0,
114
+ "depth_alpha": 1.0,
115
+ "depth_multiplier": 1.0,
116
+ "embeddings": "untied",
117
+ "init_std": 0.02,
118
+ "name": "complete_d_p",
119
+ "width_multiplier": 1.0
120
+ },
121
+ "training": {
122
+ "batch_size": 16,
123
+ "dtype": "bfloat16",
124
+ "sampling": "shuffled_epochs",
125
+ "seq_len": 8192,
126
+ "steps": 2286,
127
+ "tokens_per_parameter": 5.000660099848113,
128
+ "train_tokens": 299630592
129
+ }
130
+ },
131
+ "schema_version": 2,
132
+ "sha256": "a4bad1be29b57d20ec7ae7b0d539f2e777d11f5539607655550b7afca185affe"
133
+ },
134
+ "loss_backend": "tiled",
135
+ "vocab_tile_size": 2048
136
+ },
137
+ "metrics": {
138
+ "achieved_tflops": 597.5103503897918,
139
+ "attention_tune_seconds": 0.0,
140
+ "base_learning_rate": 0.0009765625,
141
+ "diagnostic_compile_seconds": 89.28556085104356,
142
+ "diagnostic_point_count": 230,
143
+ "diagnostics_every": 10,
144
+ "early_stopping_step": null,
145
+ "estimated_total_flops": 221095966021779456,
146
+ "eval_compile_seconds": 15.467254528019112,
147
+ "expert_top_k": 2,
148
+ "experts": 8,
149
+ "final_validation_seconds": 0.44936058699386194,
150
+ "flop_accounting": {
151
+ "by_site": {
152
+ "dot_general": 1638200770560,
153
+ "pallas_call": 695784701952,
154
+ "tpu_flash_causal_attention_bwd_dkv": 1236950581248,
155
+ "tpu_flash_causal_attention_bwd_dq": 1236950581248,
156
+ "tpu_flash_causal_attention_fwd": 1236950581248
157
+ },
158
+ "elementwise_per_sequence": 9518381752,
159
+ "matmul_per_sequence": 6044837216256,
160
+ "method": "traced-jaxpr",
161
+ "warnings": []
162
+ },
163
+ "flops_per_token": 737895168,
164
+ "mfu_estimate": 0.13579780690677087,
165
+ "model_tier": "60m",
166
+ "parameter_count": 59959680,
167
+ "parameters": 102509952,
168
+ "schedule_steps": 2286,
169
+ "tokens_per_parameter": 5.000660099848113,
170
+ "tokens_per_second": 809749.6450739625,
171
+ "tokens_processed": 299630592,
172
+ "total_compile_seconds": 154.75221040507313,
173
+ "total_parameter_count": 102509952,
174
+ "train_compile_seconds": 49.99939502601046,
175
+ "train_loss": 3.9968578815460205,
176
+ "train_seconds": 370.0286796329892,
177
+ "training_data_epochs": 0.037928020133706226,
178
+ "training_data_sharding": "rank_disjoint_shuffled_windows",
179
+ "training_sampling": "shuffled_epochs",
180
+ "training_steps": 2286,
181
+ "training_token_budget": 299630592,
182
+ "training_usable_tokens_per_epoch": 7899979776,
183
+ "validation_loss": 4.118675529956818,
184
+ "validation_probe_count": 0,
185
+ "validation_probe_seconds": 0.0,
186
+ "validation_tokens": 1048576
187
+ },
188
+ "profile": "dev",
189
+ "schema_version": 1,
190
+ "seed": 1339,
191
+ "status": "ok",
192
+ "system": {
193
+ "controller_process_index": 1,
194
+ "device_count": 16,
195
+ "device_ids": [
196
+ 0,
197
+ 1,
198
+ 2,
199
+ 3,
200
+ 4,
201
+ 5,
202
+ 6,
203
+ 7,
204
+ 8,
205
+ 9,
206
+ 10,
207
+ 11,
208
+ 12,
209
+ 13,
210
+ 14,
211
+ 15
212
+ ],
213
+ "device_kinds": [
214
+ "TPU v4"
215
+ ],
216
+ "jax_version": "0.11.0",
217
+ "jaxlib_version": "0.11.0",
218
+ "libtpu_version": "0.0.44.1",
219
+ "local_device_count": 4,
220
+ "platform": "tpu",
221
+ "process_count": 4,
222
+ "process_indices": [
223
+ 0,
224
+ 0,
225
+ 0,
226
+ 0,
227
+ 1,
228
+ 1,
229
+ 1,
230
+ 1,
231
+ 2,
232
+ 2,
233
+ 2,
234
+ 2,
235
+ 3,
236
+ 3,
237
+ 3,
238
+ 3
239
+ ],
240
+ "python_version": "3.12.13"
241
+ },
242
+ "track": "open"
243
+ }
moe-lr-sweep-8k/60m-5tpp-bs16-lr2e-10-s1339/result.json ADDED
@@ -0,0 +1,243 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "artifacts": {
3
+ "diagnostics": "diagnostics.riglog",
4
+ "training_curve": "training.riglog",
5
+ "validation_curve": "validation.csv"
6
+ },
7
+ "checkpoint": null,
8
+ "contract": {
9
+ "dataset_id": "fineweb-8b-gpt2",
10
+ "model": {
11
+ "d_model": 384,
12
+ "heads": 6,
13
+ "layers": 12,
14
+ "mlp_activation": "gelu",
15
+ "mlp_mult": 4,
16
+ "normalization": "rms_norm",
17
+ "parameterization": "complete_d_p",
18
+ "position_encoding": "rope_base_10000",
19
+ "semantic_vocab_size": 50304,
20
+ "tied_embeddings": false,
21
+ "tier": "60m",
22
+ "vocab_size": 50304
23
+ },
24
+ "model_id": "reference-gpt-v3-family",
25
+ "sequence_length": 8192,
26
+ "tokenizer_id": "gpt2"
27
+ },
28
+ "evaluations": {
29
+ "fineweb": {
30
+ "canonical": true,
31
+ "loss": 4.118675529956818,
32
+ "perplexity": 61.477762862592776,
33
+ "scored_tokens": 1048576,
34
+ "seconds": 0.44936058699386194
35
+ }
36
+ },
37
+ "implementation": {
38
+ "attention_backend": "tpu_flash",
39
+ "attention_tuning": {
40
+ "key_digest": "ec38db3431308f3e9f99acf40c7e3bb85ca0695b0d97491e44a93bc7adfada00",
41
+ "resolution_source": "heuristic",
42
+ "tiles": {
43
+ "block_kv": 512,
44
+ "block_kv_compute": 256,
45
+ "block_kv_dkv": 512,
46
+ "block_kv_dkv_compute": 256,
47
+ "block_kv_dq": 512,
48
+ "block_kv_dq_compute": 256,
49
+ "block_q": 512,
50
+ "block_q_dkv": 512,
51
+ "block_q_dkv_compute": 256,
52
+ "block_q_dq": 256
53
+ },
54
+ "tune_seconds": 0.0
55
+ },
56
+ "configuration": {
57
+ "overrides": {
58
+ "tokens_per_parameter_micros": 5000000
59
+ },
60
+ "path": "config.yaml",
61
+ "profile": "dev",
62
+ "resolved": {
63
+ "evaluation": {
64
+ "eval_batches": 8,
65
+ "val_every": 0,
66
+ "val_probe_batches": 8
67
+ },
68
+ "kernels": {
69
+ "attention_backend": "tpu_flash",
70
+ "loss_backend": "tiled",
71
+ "vocab_tile_size": 2048
72
+ },
73
+ "logging": {
74
+ "diagnostics_every": 10,
75
+ "log_every": 10
76
+ },
77
+ "model": {
78
+ "d_model": 384,
79
+ "heads": 6,
80
+ "layers": 12,
81
+ "mlp_activation": "gelu",
82
+ "mlp_mult": 4,
83
+ "normalization": "rms_norm",
84
+ "parameterization": "complete_d_p",
85
+ "position_encoding": "rope_base_10000",
86
+ "semantic_vocab_size": 50304,
87
+ "tied_embeddings": false,
88
+ "tier": "60m",
89
+ "vocab_size": 50304
90
+ },
91
+ "optimizer": {
92
+ "adam_epsilon": 1e-08,
93
+ "beta1": 0.9,
94
+ "beta2": 0.95,
95
+ "effective": {
96
+ "adam_epsilon_horizon_multiplier": 1.0,
97
+ "beta1": 0.9,
98
+ "beta2": 0.95,
99
+ "global_peak_learning_rate": 0.0009765625,
100
+ "weight_decay_horizon_multiplier": 1.0
101
+ },
102
+ "grad_clip": 0.0,
103
+ "learning_rate": 0.0009765625,
104
+ "min_lr_ratio": 0.1,
105
+ "warmup_steps": 229,
106
+ "weight_decay": 0.1
107
+ },
108
+ "parameterization": {
109
+ "attention_scale": "inverse_head_dim",
110
+ "base_depth": 12,
111
+ "base_width": 384,
112
+ "batch_multiplier": 1.0,
113
+ "data_multiplier": 1.0,
114
+ "depth_alpha": 1.0,
115
+ "depth_multiplier": 1.0,
116
+ "embeddings": "untied",
117
+ "init_std": 0.02,
118
+ "name": "complete_d_p",
119
+ "width_multiplier": 1.0
120
+ },
121
+ "training": {
122
+ "batch_size": 16,
123
+ "dtype": "bfloat16",
124
+ "sampling": "shuffled_epochs",
125
+ "seq_len": 8192,
126
+ "steps": 2286,
127
+ "tokens_per_parameter": 5.000660099848113,
128
+ "train_tokens": 299630592
129
+ }
130
+ },
131
+ "schema_version": 2,
132
+ "sha256": "a4bad1be29b57d20ec7ae7b0d539f2e777d11f5539607655550b7afca185affe"
133
+ },
134
+ "loss_backend": "tiled",
135
+ "vocab_tile_size": 2048
136
+ },
137
+ "metrics": {
138
+ "achieved_tflops": 597.5103503897918,
139
+ "attention_tune_seconds": 0.0,
140
+ "base_learning_rate": 0.0009765625,
141
+ "diagnostic_compile_seconds": 89.28556085104356,
142
+ "diagnostic_point_count": 230,
143
+ "diagnostics_every": 10,
144
+ "early_stopping_step": null,
145
+ "estimated_total_flops": 221095966021779456,
146
+ "eval_compile_seconds": 15.467254528019112,
147
+ "expert_top_k": 2,
148
+ "experts": 8,
149
+ "final_validation_seconds": 0.44936058699386194,
150
+ "flop_accounting": {
151
+ "by_site": {
152
+ "dot_general": 1638200770560,
153
+ "pallas_call": 695784701952,
154
+ "tpu_flash_causal_attention_bwd_dkv": 1236950581248,
155
+ "tpu_flash_causal_attention_bwd_dq": 1236950581248,
156
+ "tpu_flash_causal_attention_fwd": 1236950581248
157
+ },
158
+ "elementwise_per_sequence": 9518381752,
159
+ "matmul_per_sequence": 6044837216256,
160
+ "method": "traced-jaxpr",
161
+ "warnings": []
162
+ },
163
+ "flops_per_token": 737895168,
164
+ "mfu_estimate": 0.13579780690677087,
165
+ "model_tier": "60m",
166
+ "parameter_count": 59959680,
167
+ "parameters": 102509952,
168
+ "schedule_steps": 2286,
169
+ "tokens_per_parameter": 5.000660099848113,
170
+ "tokens_per_second": 809749.6450739625,
171
+ "tokens_processed": 299630592,
172
+ "total_compile_seconds": 154.75221040507313,
173
+ "total_parameter_count": 102509952,
174
+ "train_compile_seconds": 49.99939502601046,
175
+ "train_loss": 3.9968578815460205,
176
+ "train_seconds": 370.0286796329892,
177
+ "training_data_epochs": 0.037928020133706226,
178
+ "training_data_sharding": "rank_disjoint_shuffled_windows",
179
+ "training_sampling": "shuffled_epochs",
180
+ "training_steps": 2286,
181
+ "training_token_budget": 299630592,
182
+ "training_usable_tokens_per_epoch": 7899979776,
183
+ "validation_loss": 4.118675529956818,
184
+ "validation_probe_count": 0,
185
+ "validation_probe_seconds": 0.0,
186
+ "validation_tokens": 1048576
187
+ },
188
+ "profile": "dev",
189
+ "schema_version": 1,
190
+ "seed": 1339,
191
+ "status": "ok",
192
+ "system": {
193
+ "controller_process_index": 1,
194
+ "device_count": 16,
195
+ "device_ids": [
196
+ 0,
197
+ 1,
198
+ 2,
199
+ 3,
200
+ 4,
201
+ 5,
202
+ 6,
203
+ 7,
204
+ 8,
205
+ 9,
206
+ 10,
207
+ 11,
208
+ 12,
209
+ 13,
210
+ 14,
211
+ 15
212
+ ],
213
+ "device_kinds": [
214
+ "TPU v4"
215
+ ],
216
+ "jax_version": "0.11.0",
217
+ "jaxlib_version": "0.11.0",
218
+ "libtpu_version": "0.0.44.1",
219
+ "local_device_count": 4,
220
+ "platform": "tpu",
221
+ "process_count": 4,
222
+ "process_indices": [
223
+ 0,
224
+ 0,
225
+ 0,
226
+ 0,
227
+ 1,
228
+ 1,
229
+ 1,
230
+ 1,
231
+ 2,
232
+ 2,
233
+ 2,
234
+ 2,
235
+ 3,
236
+ 3,
237
+ 3,
238
+ 3
239
+ ],
240
+ "python_version": "3.12.13"
241
+ },
242
+ "track": "open"
243
+ }
moe-lr-sweep-8k/60m-5tpp-bs16-lr2e-10-s1339/training.riglog ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1de69488eabf0579a0cecb5fa31d1402fd82eaa4e8ac0591c3b0e51538e121bb
3
+ size 1301864
moe-lr-sweep-8k/60m-5tpp-bs16-lr2e-10-s1339/validation.csv ADDED
@@ -0,0 +1,2 @@
 
 
 
1
+ step,tokens_processed,kind,domain,validation_tokens,validation_loss,perplexity,validation_seconds,canonical
2
+ 2286,299630592,fineweb,fineweb,1048576,4.118675529956818,61.477762862592776,0.44936058699386194,true
moe-lr-sweep-8k/60m-5tpp-bs16-lr2e-6-s1337/diagnostics.riglog ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f91fb635351dbd43ed42b81ece5b89079252822186797b2a3ff0e4456ba3dcbf
3
+ size 272824
moe-lr-sweep-8k/60m-5tpp-bs16-lr2e-6-s1337/metrics.json ADDED
@@ -0,0 +1,243 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "artifacts": {
3
+ "diagnostics": "diagnostics.riglog",
4
+ "training_curve": "training.riglog",
5
+ "validation_curve": "validation.csv"
6
+ },
7
+ "checkpoint": null,
8
+ "contract": {
9
+ "dataset_id": "fineweb-8b-gpt2",
10
+ "model": {
11
+ "d_model": 384,
12
+ "heads": 6,
13
+ "layers": 12,
14
+ "mlp_activation": "gelu",
15
+ "mlp_mult": 4,
16
+ "normalization": "rms_norm",
17
+ "parameterization": "complete_d_p",
18
+ "position_encoding": "rope_base_10000",
19
+ "semantic_vocab_size": 50304,
20
+ "tied_embeddings": false,
21
+ "tier": "60m",
22
+ "vocab_size": 50304
23
+ },
24
+ "model_id": "reference-gpt-v3-family",
25
+ "sequence_length": 8192,
26
+ "tokenizer_id": "gpt2"
27
+ },
28
+ "evaluations": {
29
+ "fineweb": {
30
+ "canonical": true,
31
+ "loss": 4.004855066537857,
32
+ "perplexity": 54.86387221186876,
33
+ "scored_tokens": 1048576,
34
+ "seconds": 0.44860493595479056
35
+ }
36
+ },
37
+ "implementation": {
38
+ "attention_backend": "tpu_flash",
39
+ "attention_tuning": {
40
+ "key_digest": "ec38db3431308f3e9f99acf40c7e3bb85ca0695b0d97491e44a93bc7adfada00",
41
+ "resolution_source": "heuristic",
42
+ "tiles": {
43
+ "block_kv": 512,
44
+ "block_kv_compute": 256,
45
+ "block_kv_dkv": 512,
46
+ "block_kv_dkv_compute": 256,
47
+ "block_kv_dq": 512,
48
+ "block_kv_dq_compute": 256,
49
+ "block_q": 512,
50
+ "block_q_dkv": 512,
51
+ "block_q_dkv_compute": 256,
52
+ "block_q_dq": 256
53
+ },
54
+ "tune_seconds": 0.0
55
+ },
56
+ "configuration": {
57
+ "overrides": {
58
+ "tokens_per_parameter_micros": 5000000
59
+ },
60
+ "path": "config.yaml",
61
+ "profile": "dev",
62
+ "resolved": {
63
+ "evaluation": {
64
+ "eval_batches": 8,
65
+ "val_every": 0,
66
+ "val_probe_batches": 8
67
+ },
68
+ "kernels": {
69
+ "attention_backend": "tpu_flash",
70
+ "loss_backend": "tiled",
71
+ "vocab_tile_size": 2048
72
+ },
73
+ "logging": {
74
+ "diagnostics_every": 10,
75
+ "log_every": 10
76
+ },
77
+ "model": {
78
+ "d_model": 384,
79
+ "heads": 6,
80
+ "layers": 12,
81
+ "mlp_activation": "gelu",
82
+ "mlp_mult": 4,
83
+ "normalization": "rms_norm",
84
+ "parameterization": "complete_d_p",
85
+ "position_encoding": "rope_base_10000",
86
+ "semantic_vocab_size": 50304,
87
+ "tied_embeddings": false,
88
+ "tier": "60m",
89
+ "vocab_size": 50304
90
+ },
91
+ "optimizer": {
92
+ "adam_epsilon": 1e-08,
93
+ "beta1": 0.9,
94
+ "beta2": 0.95,
95
+ "effective": {
96
+ "adam_epsilon_horizon_multiplier": 1.0,
97
+ "beta1": 0.9,
98
+ "beta2": 0.95,
99
+ "global_peak_learning_rate": 0.015625,
100
+ "weight_decay_horizon_multiplier": 1.0
101
+ },
102
+ "grad_clip": 0.0,
103
+ "learning_rate": 0.015625,
104
+ "min_lr_ratio": 0.1,
105
+ "warmup_steps": 229,
106
+ "weight_decay": 0.1
107
+ },
108
+ "parameterization": {
109
+ "attention_scale": "inverse_head_dim",
110
+ "base_depth": 12,
111
+ "base_width": 384,
112
+ "batch_multiplier": 1.0,
113
+ "data_multiplier": 1.0,
114
+ "depth_alpha": 1.0,
115
+ "depth_multiplier": 1.0,
116
+ "embeddings": "untied",
117
+ "init_std": 0.02,
118
+ "name": "complete_d_p",
119
+ "width_multiplier": 1.0
120
+ },
121
+ "training": {
122
+ "batch_size": 16,
123
+ "dtype": "bfloat16",
124
+ "sampling": "shuffled_epochs",
125
+ "seq_len": 8192,
126
+ "steps": 2286,
127
+ "tokens_per_parameter": 5.000660099848113,
128
+ "train_tokens": 299630592
129
+ }
130
+ },
131
+ "schema_version": 2,
132
+ "sha256": "a4bad1be29b57d20ec7ae7b0d539f2e777d11f5539607655550b7afca185affe"
133
+ },
134
+ "loss_backend": "tiled",
135
+ "vocab_tile_size": 2048
136
+ },
137
+ "metrics": {
138
+ "achieved_tflops": 597.6152834934923,
139
+ "attention_tune_seconds": 0.0,
140
+ "base_learning_rate": 0.015625,
141
+ "diagnostic_compile_seconds": 88.96127280901419,
142
+ "diagnostic_point_count": 230,
143
+ "diagnostics_every": 10,
144
+ "early_stopping_step": null,
145
+ "estimated_total_flops": 221095966021779456,
146
+ "eval_compile_seconds": 15.446089457953349,
147
+ "expert_top_k": 2,
148
+ "experts": 8,
149
+ "final_validation_seconds": 0.44860493595479056,
150
+ "flop_accounting": {
151
+ "by_site": {
152
+ "dot_general": 1638200770560,
153
+ "pallas_call": 695784701952,
154
+ "tpu_flash_causal_attention_bwd_dkv": 1236950581248,
155
+ "tpu_flash_causal_attention_bwd_dq": 1236950581248,
156
+ "tpu_flash_causal_attention_fwd": 1236950581248
157
+ },
158
+ "elementwise_per_sequence": 9518381752,
159
+ "matmul_per_sequence": 6044837216256,
160
+ "method": "traced-jaxpr",
161
+ "warnings": []
162
+ },
163
+ "flops_per_token": 737895168,
164
+ "mfu_estimate": 0.13582165533943005,
165
+ "model_tier": "60m",
166
+ "parameter_count": 59959680,
167
+ "parameters": 102509952,
168
+ "schedule_steps": 2286,
169
+ "tokens_per_parameter": 5.000660099848113,
170
+ "tokens_per_second": 809891.85105152,
171
+ "tokens_processed": 299630592,
172
+ "total_compile_seconds": 151.08850227796938,
173
+ "total_parameter_count": 102509952,
174
+ "train_compile_seconds": 46.681140011001844,
175
+ "train_loss": 4.086471080780029,
176
+ "train_seconds": 369.9637076369836,
177
+ "training_data_epochs": 0.037928020133706226,
178
+ "training_data_sharding": "rank_disjoint_shuffled_windows",
179
+ "training_sampling": "shuffled_epochs",
180
+ "training_steps": 2286,
181
+ "training_token_budget": 299630592,
182
+ "training_usable_tokens_per_epoch": 7899979776,
183
+ "validation_loss": 4.004855066537857,
184
+ "validation_probe_count": 0,
185
+ "validation_probe_seconds": 0.0,
186
+ "validation_tokens": 1048576
187
+ },
188
+ "profile": "dev",
189
+ "schema_version": 1,
190
+ "seed": 1337,
191
+ "status": "ok",
192
+ "system": {
193
+ "controller_process_index": 1,
194
+ "device_count": 16,
195
+ "device_ids": [
196
+ 0,
197
+ 1,
198
+ 2,
199
+ 3,
200
+ 4,
201
+ 5,
202
+ 6,
203
+ 7,
204
+ 8,
205
+ 9,
206
+ 10,
207
+ 11,
208
+ 12,
209
+ 13,
210
+ 14,
211
+ 15
212
+ ],
213
+ "device_kinds": [
214
+ "TPU v4"
215
+ ],
216
+ "jax_version": "0.11.0",
217
+ "jaxlib_version": "0.11.0",
218
+ "libtpu_version": "0.0.44.1",
219
+ "local_device_count": 4,
220
+ "platform": "tpu",
221
+ "process_count": 4,
222
+ "process_indices": [
223
+ 0,
224
+ 0,
225
+ 0,
226
+ 0,
227
+ 1,
228
+ 1,
229
+ 1,
230
+ 1,
231
+ 2,
232
+ 2,
233
+ 2,
234
+ 2,
235
+ 3,
236
+ 3,
237
+ 3,
238
+ 3
239
+ ],
240
+ "python_version": "3.12.13"
241
+ },
242
+ "track": "open"
243
+ }
moe-lr-sweep-8k/60m-5tpp-bs16-lr2e-6-s1337/result.json ADDED
@@ -0,0 +1,243 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "artifacts": {
3
+ "diagnostics": "diagnostics.riglog",
4
+ "training_curve": "training.riglog",
5
+ "validation_curve": "validation.csv"
6
+ },
7
+ "checkpoint": null,
8
+ "contract": {
9
+ "dataset_id": "fineweb-8b-gpt2",
10
+ "model": {
11
+ "d_model": 384,
12
+ "heads": 6,
13
+ "layers": 12,
14
+ "mlp_activation": "gelu",
15
+ "mlp_mult": 4,
16
+ "normalization": "rms_norm",
17
+ "parameterization": "complete_d_p",
18
+ "position_encoding": "rope_base_10000",
19
+ "semantic_vocab_size": 50304,
20
+ "tied_embeddings": false,
21
+ "tier": "60m",
22
+ "vocab_size": 50304
23
+ },
24
+ "model_id": "reference-gpt-v3-family",
25
+ "sequence_length": 8192,
26
+ "tokenizer_id": "gpt2"
27
+ },
28
+ "evaluations": {
29
+ "fineweb": {
30
+ "canonical": true,
31
+ "loss": 4.004855066537857,
32
+ "perplexity": 54.86387221186876,
33
+ "scored_tokens": 1048576,
34
+ "seconds": 0.44860493595479056
35
+ }
36
+ },
37
+ "implementation": {
38
+ "attention_backend": "tpu_flash",
39
+ "attention_tuning": {
40
+ "key_digest": "ec38db3431308f3e9f99acf40c7e3bb85ca0695b0d97491e44a93bc7adfada00",
41
+ "resolution_source": "heuristic",
42
+ "tiles": {
43
+ "block_kv": 512,
44
+ "block_kv_compute": 256,
45
+ "block_kv_dkv": 512,
46
+ "block_kv_dkv_compute": 256,
47
+ "block_kv_dq": 512,
48
+ "block_kv_dq_compute": 256,
49
+ "block_q": 512,
50
+ "block_q_dkv": 512,
51
+ "block_q_dkv_compute": 256,
52
+ "block_q_dq": 256
53
+ },
54
+ "tune_seconds": 0.0
55
+ },
56
+ "configuration": {
57
+ "overrides": {
58
+ "tokens_per_parameter_micros": 5000000
59
+ },
60
+ "path": "config.yaml",
61
+ "profile": "dev",
62
+ "resolved": {
63
+ "evaluation": {
64
+ "eval_batches": 8,
65
+ "val_every": 0,
66
+ "val_probe_batches": 8
67
+ },
68
+ "kernels": {
69
+ "attention_backend": "tpu_flash",
70
+ "loss_backend": "tiled",
71
+ "vocab_tile_size": 2048
72
+ },
73
+ "logging": {
74
+ "diagnostics_every": 10,
75
+ "log_every": 10
76
+ },
77
+ "model": {
78
+ "d_model": 384,
79
+ "heads": 6,
80
+ "layers": 12,
81
+ "mlp_activation": "gelu",
82
+ "mlp_mult": 4,
83
+ "normalization": "rms_norm",
84
+ "parameterization": "complete_d_p",
85
+ "position_encoding": "rope_base_10000",
86
+ "semantic_vocab_size": 50304,
87
+ "tied_embeddings": false,
88
+ "tier": "60m",
89
+ "vocab_size": 50304
90
+ },
91
+ "optimizer": {
92
+ "adam_epsilon": 1e-08,
93
+ "beta1": 0.9,
94
+ "beta2": 0.95,
95
+ "effective": {
96
+ "adam_epsilon_horizon_multiplier": 1.0,
97
+ "beta1": 0.9,
98
+ "beta2": 0.95,
99
+ "global_peak_learning_rate": 0.015625,
100
+ "weight_decay_horizon_multiplier": 1.0
101
+ },
102
+ "grad_clip": 0.0,
103
+ "learning_rate": 0.015625,
104
+ "min_lr_ratio": 0.1,
105
+ "warmup_steps": 229,
106
+ "weight_decay": 0.1
107
+ },
108
+ "parameterization": {
109
+ "attention_scale": "inverse_head_dim",
110
+ "base_depth": 12,
111
+ "base_width": 384,
112
+ "batch_multiplier": 1.0,
113
+ "data_multiplier": 1.0,
114
+ "depth_alpha": 1.0,
115
+ "depth_multiplier": 1.0,
116
+ "embeddings": "untied",
117
+ "init_std": 0.02,
118
+ "name": "complete_d_p",
119
+ "width_multiplier": 1.0
120
+ },
121
+ "training": {
122
+ "batch_size": 16,
123
+ "dtype": "bfloat16",
124
+ "sampling": "shuffled_epochs",
125
+ "seq_len": 8192,
126
+ "steps": 2286,
127
+ "tokens_per_parameter": 5.000660099848113,
128
+ "train_tokens": 299630592
129
+ }
130
+ },
131
+ "schema_version": 2,
132
+ "sha256": "a4bad1be29b57d20ec7ae7b0d539f2e777d11f5539607655550b7afca185affe"
133
+ },
134
+ "loss_backend": "tiled",
135
+ "vocab_tile_size": 2048
136
+ },
137
+ "metrics": {
138
+ "achieved_tflops": 597.6152834934923,
139
+ "attention_tune_seconds": 0.0,
140
+ "base_learning_rate": 0.015625,
141
+ "diagnostic_compile_seconds": 88.96127280901419,
142
+ "diagnostic_point_count": 230,
143
+ "diagnostics_every": 10,
144
+ "early_stopping_step": null,
145
+ "estimated_total_flops": 221095966021779456,
146
+ "eval_compile_seconds": 15.446089457953349,
147
+ "expert_top_k": 2,
148
+ "experts": 8,
149
+ "final_validation_seconds": 0.44860493595479056,
150
+ "flop_accounting": {
151
+ "by_site": {
152
+ "dot_general": 1638200770560,
153
+ "pallas_call": 695784701952,
154
+ "tpu_flash_causal_attention_bwd_dkv": 1236950581248,
155
+ "tpu_flash_causal_attention_bwd_dq": 1236950581248,
156
+ "tpu_flash_causal_attention_fwd": 1236950581248
157
+ },
158
+ "elementwise_per_sequence": 9518381752,
159
+ "matmul_per_sequence": 6044837216256,
160
+ "method": "traced-jaxpr",
161
+ "warnings": []
162
+ },
163
+ "flops_per_token": 737895168,
164
+ "mfu_estimate": 0.13582165533943005,
165
+ "model_tier": "60m",
166
+ "parameter_count": 59959680,
167
+ "parameters": 102509952,
168
+ "schedule_steps": 2286,
169
+ "tokens_per_parameter": 5.000660099848113,
170
+ "tokens_per_second": 809891.85105152,
171
+ "tokens_processed": 299630592,
172
+ "total_compile_seconds": 151.08850227796938,
173
+ "total_parameter_count": 102509952,
174
+ "train_compile_seconds": 46.681140011001844,
175
+ "train_loss": 4.086471080780029,
176
+ "train_seconds": 369.9637076369836,
177
+ "training_data_epochs": 0.037928020133706226,
178
+ "training_data_sharding": "rank_disjoint_shuffled_windows",
179
+ "training_sampling": "shuffled_epochs",
180
+ "training_steps": 2286,
181
+ "training_token_budget": 299630592,
182
+ "training_usable_tokens_per_epoch": 7899979776,
183
+ "validation_loss": 4.004855066537857,
184
+ "validation_probe_count": 0,
185
+ "validation_probe_seconds": 0.0,
186
+ "validation_tokens": 1048576
187
+ },
188
+ "profile": "dev",
189
+ "schema_version": 1,
190
+ "seed": 1337,
191
+ "status": "ok",
192
+ "system": {
193
+ "controller_process_index": 1,
194
+ "device_count": 16,
195
+ "device_ids": [
196
+ 0,
197
+ 1,
198
+ 2,
199
+ 3,
200
+ 4,
201
+ 5,
202
+ 6,
203
+ 7,
204
+ 8,
205
+ 9,
206
+ 10,
207
+ 11,
208
+ 12,
209
+ 13,
210
+ 14,
211
+ 15
212
+ ],
213
+ "device_kinds": [
214
+ "TPU v4"
215
+ ],
216
+ "jax_version": "0.11.0",
217
+ "jaxlib_version": "0.11.0",
218
+ "libtpu_version": "0.0.44.1",
219
+ "local_device_count": 4,
220
+ "platform": "tpu",
221
+ "process_count": 4,
222
+ "process_indices": [
223
+ 0,
224
+ 0,
225
+ 0,
226
+ 0,
227
+ 1,
228
+ 1,
229
+ 1,
230
+ 1,
231
+ 2,
232
+ 2,
233
+ 2,
234
+ 2,
235
+ 3,
236
+ 3,
237
+ 3,
238
+ 3
239
+ ],
240
+ "python_version": "3.12.13"
241
+ },
242
+ "track": "open"
243
+ }
moe-lr-sweep-8k/60m-5tpp-bs16-lr2e-6-s1337/training.riglog ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:046a6ec970a81a7dbb3676bcc4783bd2e5ddda48c4201823f2752add4e56c8bd
3
+ size 1301864
moe-lr-sweep-8k/60m-5tpp-bs16-lr2e-6-s1337/validation.csv ADDED
@@ -0,0 +1,2 @@
 
 
 
1
+ step,tokens_processed,kind,domain,validation_tokens,validation_loss,perplexity,validation_seconds,canonical
2
+ 2286,299630592,fineweb,fineweb,1048576,4.004855066537857,54.86387221186876,0.44860493595479056,true
moe-lr-sweep-8k/60m-5tpp-bs16-lr2e-6-s1338/diagnostics.riglog ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b62c81ddcb5ee0ad2f099954624f5c86e1d6b4bab001342d1bfba0ca4a7ba0a7
3
+ size 272824
moe-lr-sweep-8k/60m-5tpp-bs16-lr2e-6-s1338/metrics.json ADDED
@@ -0,0 +1,243 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "artifacts": {
3
+ "diagnostics": "diagnostics.riglog",
4
+ "training_curve": "training.riglog",
5
+ "validation_curve": "validation.csv"
6
+ },
7
+ "checkpoint": null,
8
+ "contract": {
9
+ "dataset_id": "fineweb-8b-gpt2",
10
+ "model": {
11
+ "d_model": 384,
12
+ "heads": 6,
13
+ "layers": 12,
14
+ "mlp_activation": "gelu",
15
+ "mlp_mult": 4,
16
+ "normalization": "rms_norm",
17
+ "parameterization": "complete_d_p",
18
+ "position_encoding": "rope_base_10000",
19
+ "semantic_vocab_size": 50304,
20
+ "tied_embeddings": false,
21
+ "tier": "60m",
22
+ "vocab_size": 50304
23
+ },
24
+ "model_id": "reference-gpt-v3-family",
25
+ "sequence_length": 8192,
26
+ "tokenizer_id": "gpt2"
27
+ },
28
+ "evaluations": {
29
+ "fineweb": {
30
+ "canonical": true,
31
+ "loss": 3.9843336641788483,
32
+ "perplexity": 53.74946235063435,
33
+ "scored_tokens": 1048576,
34
+ "seconds": 0.4521297650062479
35
+ }
36
+ },
37
+ "implementation": {
38
+ "attention_backend": "tpu_flash",
39
+ "attention_tuning": {
40
+ "key_digest": "ec38db3431308f3e9f99acf40c7e3bb85ca0695b0d97491e44a93bc7adfada00",
41
+ "resolution_source": "heuristic",
42
+ "tiles": {
43
+ "block_kv": 512,
44
+ "block_kv_compute": 256,
45
+ "block_kv_dkv": 512,
46
+ "block_kv_dkv_compute": 256,
47
+ "block_kv_dq": 512,
48
+ "block_kv_dq_compute": 256,
49
+ "block_q": 512,
50
+ "block_q_dkv": 512,
51
+ "block_q_dkv_compute": 256,
52
+ "block_q_dq": 256
53
+ },
54
+ "tune_seconds": 0.0
55
+ },
56
+ "configuration": {
57
+ "overrides": {
58
+ "tokens_per_parameter_micros": 5000000
59
+ },
60
+ "path": "config.yaml",
61
+ "profile": "dev",
62
+ "resolved": {
63
+ "evaluation": {
64
+ "eval_batches": 8,
65
+ "val_every": 0,
66
+ "val_probe_batches": 8
67
+ },
68
+ "kernels": {
69
+ "attention_backend": "tpu_flash",
70
+ "loss_backend": "tiled",
71
+ "vocab_tile_size": 2048
72
+ },
73
+ "logging": {
74
+ "diagnostics_every": 10,
75
+ "log_every": 10
76
+ },
77
+ "model": {
78
+ "d_model": 384,
79
+ "heads": 6,
80
+ "layers": 12,
81
+ "mlp_activation": "gelu",
82
+ "mlp_mult": 4,
83
+ "normalization": "rms_norm",
84
+ "parameterization": "complete_d_p",
85
+ "position_encoding": "rope_base_10000",
86
+ "semantic_vocab_size": 50304,
87
+ "tied_embeddings": false,
88
+ "tier": "60m",
89
+ "vocab_size": 50304
90
+ },
91
+ "optimizer": {
92
+ "adam_epsilon": 1e-08,
93
+ "beta1": 0.9,
94
+ "beta2": 0.95,
95
+ "effective": {
96
+ "adam_epsilon_horizon_multiplier": 1.0,
97
+ "beta1": 0.9,
98
+ "beta2": 0.95,
99
+ "global_peak_learning_rate": 0.015625,
100
+ "weight_decay_horizon_multiplier": 1.0
101
+ },
102
+ "grad_clip": 0.0,
103
+ "learning_rate": 0.015625,
104
+ "min_lr_ratio": 0.1,
105
+ "warmup_steps": 229,
106
+ "weight_decay": 0.1
107
+ },
108
+ "parameterization": {
109
+ "attention_scale": "inverse_head_dim",
110
+ "base_depth": 12,
111
+ "base_width": 384,
112
+ "batch_multiplier": 1.0,
113
+ "data_multiplier": 1.0,
114
+ "depth_alpha": 1.0,
115
+ "depth_multiplier": 1.0,
116
+ "embeddings": "untied",
117
+ "init_std": 0.02,
118
+ "name": "complete_d_p",
119
+ "width_multiplier": 1.0
120
+ },
121
+ "training": {
122
+ "batch_size": 16,
123
+ "dtype": "bfloat16",
124
+ "sampling": "shuffled_epochs",
125
+ "seq_len": 8192,
126
+ "steps": 2286,
127
+ "tokens_per_parameter": 5.000660099848113,
128
+ "train_tokens": 299630592
129
+ }
130
+ },
131
+ "schema_version": 2,
132
+ "sha256": "a4bad1be29b57d20ec7ae7b0d539f2e777d11f5539607655550b7afca185affe"
133
+ },
134
+ "loss_backend": "tiled",
135
+ "vocab_tile_size": 2048
136
+ },
137
+ "metrics": {
138
+ "achieved_tflops": 597.4534119803859,
139
+ "attention_tune_seconds": 0.0,
140
+ "base_learning_rate": 0.015625,
141
+ "diagnostic_compile_seconds": 85.61127052997472,
142
+ "diagnostic_point_count": 230,
143
+ "diagnostics_every": 10,
144
+ "early_stopping_step": null,
145
+ "estimated_total_flops": 221095966021779456,
146
+ "eval_compile_seconds": 15.335515389975626,
147
+ "expert_top_k": 2,
148
+ "experts": 8,
149
+ "final_validation_seconds": 0.4521297650062479,
150
+ "flop_accounting": {
151
+ "by_site": {
152
+ "dot_general": 1638200770560,
153
+ "pallas_call": 695784701952,
154
+ "tpu_flash_causal_attention_bwd_dkv": 1236950581248,
155
+ "tpu_flash_causal_attention_bwd_dq": 1236950581248,
156
+ "tpu_flash_causal_attention_fwd": 1236950581248
157
+ },
158
+ "elementwise_per_sequence": 9518381752,
159
+ "matmul_per_sequence": 6044837216256,
160
+ "method": "traced-jaxpr",
161
+ "warnings": []
162
+ },
163
+ "flops_per_token": 737895168,
164
+ "mfu_estimate": 0.1357848663591786,
165
+ "model_tier": "60m",
166
+ "parameter_count": 59959680,
167
+ "parameters": 102509952,
168
+ "schedule_steps": 2286,
169
+ "tokens_per_parameter": 5.000660099848113,
170
+ "tokens_per_second": 809672.4817967447,
171
+ "tokens_processed": 299630592,
172
+ "total_compile_seconds": 146.9452016199357,
173
+ "total_parameter_count": 102509952,
174
+ "train_compile_seconds": 45.998415699985344,
175
+ "train_loss": 3.988403797149658,
176
+ "train_seconds": 370.06394404696766,
177
+ "training_data_epochs": 0.037928020133706226,
178
+ "training_data_sharding": "rank_disjoint_shuffled_windows",
179
+ "training_sampling": "shuffled_epochs",
180
+ "training_steps": 2286,
181
+ "training_token_budget": 299630592,
182
+ "training_usable_tokens_per_epoch": 7899979776,
183
+ "validation_loss": 3.9843336641788483,
184
+ "validation_probe_count": 0,
185
+ "validation_probe_seconds": 0.0,
186
+ "validation_tokens": 1048576
187
+ },
188
+ "profile": "dev",
189
+ "schema_version": 1,
190
+ "seed": 1338,
191
+ "status": "ok",
192
+ "system": {
193
+ "controller_process_index": 1,
194
+ "device_count": 16,
195
+ "device_ids": [
196
+ 0,
197
+ 1,
198
+ 2,
199
+ 3,
200
+ 4,
201
+ 5,
202
+ 6,
203
+ 7,
204
+ 8,
205
+ 9,
206
+ 10,
207
+ 11,
208
+ 12,
209
+ 13,
210
+ 14,
211
+ 15
212
+ ],
213
+ "device_kinds": [
214
+ "TPU v4"
215
+ ],
216
+ "jax_version": "0.11.0",
217
+ "jaxlib_version": "0.11.0",
218
+ "libtpu_version": "0.0.44.1",
219
+ "local_device_count": 4,
220
+ "platform": "tpu",
221
+ "process_count": 4,
222
+ "process_indices": [
223
+ 0,
224
+ 0,
225
+ 0,
226
+ 0,
227
+ 1,
228
+ 1,
229
+ 1,
230
+ 1,
231
+ 2,
232
+ 2,
233
+ 2,
234
+ 2,
235
+ 3,
236
+ 3,
237
+ 3,
238
+ 3
239
+ ],
240
+ "python_version": "3.12.13"
241
+ },
242
+ "track": "open"
243
+ }
moe-lr-sweep-8k/60m-5tpp-bs16-lr2e-6-s1338/result.json ADDED
@@ -0,0 +1,243 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "artifacts": {
3
+ "diagnostics": "diagnostics.riglog",
4
+ "training_curve": "training.riglog",
5
+ "validation_curve": "validation.csv"
6
+ },
7
+ "checkpoint": null,
8
+ "contract": {
9
+ "dataset_id": "fineweb-8b-gpt2",
10
+ "model": {
11
+ "d_model": 384,
12
+ "heads": 6,
13
+ "layers": 12,
14
+ "mlp_activation": "gelu",
15
+ "mlp_mult": 4,
16
+ "normalization": "rms_norm",
17
+ "parameterization": "complete_d_p",
18
+ "position_encoding": "rope_base_10000",
19
+ "semantic_vocab_size": 50304,
20
+ "tied_embeddings": false,
21
+ "tier": "60m",
22
+ "vocab_size": 50304
23
+ },
24
+ "model_id": "reference-gpt-v3-family",
25
+ "sequence_length": 8192,
26
+ "tokenizer_id": "gpt2"
27
+ },
28
+ "evaluations": {
29
+ "fineweb": {
30
+ "canonical": true,
31
+ "loss": 3.9843336641788483,
32
+ "perplexity": 53.74946235063435,
33
+ "scored_tokens": 1048576,
34
+ "seconds": 0.4521297650062479
35
+ }
36
+ },
37
+ "implementation": {
38
+ "attention_backend": "tpu_flash",
39
+ "attention_tuning": {
40
+ "key_digest": "ec38db3431308f3e9f99acf40c7e3bb85ca0695b0d97491e44a93bc7adfada00",
41
+ "resolution_source": "heuristic",
42
+ "tiles": {
43
+ "block_kv": 512,
44
+ "block_kv_compute": 256,
45
+ "block_kv_dkv": 512,
46
+ "block_kv_dkv_compute": 256,
47
+ "block_kv_dq": 512,
48
+ "block_kv_dq_compute": 256,
49
+ "block_q": 512,
50
+ "block_q_dkv": 512,
51
+ "block_q_dkv_compute": 256,
52
+ "block_q_dq": 256
53
+ },
54
+ "tune_seconds": 0.0
55
+ },
56
+ "configuration": {
57
+ "overrides": {
58
+ "tokens_per_parameter_micros": 5000000
59
+ },
60
+ "path": "config.yaml",
61
+ "profile": "dev",
62
+ "resolved": {
63
+ "evaluation": {
64
+ "eval_batches": 8,
65
+ "val_every": 0,
66
+ "val_probe_batches": 8
67
+ },
68
+ "kernels": {
69
+ "attention_backend": "tpu_flash",
70
+ "loss_backend": "tiled",
71
+ "vocab_tile_size": 2048
72
+ },
73
+ "logging": {
74
+ "diagnostics_every": 10,
75
+ "log_every": 10
76
+ },
77
+ "model": {
78
+ "d_model": 384,
79
+ "heads": 6,
80
+ "layers": 12,
81
+ "mlp_activation": "gelu",
82
+ "mlp_mult": 4,
83
+ "normalization": "rms_norm",
84
+ "parameterization": "complete_d_p",
85
+ "position_encoding": "rope_base_10000",
86
+ "semantic_vocab_size": 50304,
87
+ "tied_embeddings": false,
88
+ "tier": "60m",
89
+ "vocab_size": 50304
90
+ },
91
+ "optimizer": {
92
+ "adam_epsilon": 1e-08,
93
+ "beta1": 0.9,
94
+ "beta2": 0.95,
95
+ "effective": {
96
+ "adam_epsilon_horizon_multiplier": 1.0,
97
+ "beta1": 0.9,
98
+ "beta2": 0.95,
99
+ "global_peak_learning_rate": 0.015625,
100
+ "weight_decay_horizon_multiplier": 1.0
101
+ },
102
+ "grad_clip": 0.0,
103
+ "learning_rate": 0.015625,
104
+ "min_lr_ratio": 0.1,
105
+ "warmup_steps": 229,
106
+ "weight_decay": 0.1
107
+ },
108
+ "parameterization": {
109
+ "attention_scale": "inverse_head_dim",
110
+ "base_depth": 12,
111
+ "base_width": 384,
112
+ "batch_multiplier": 1.0,
113
+ "data_multiplier": 1.0,
114
+ "depth_alpha": 1.0,
115
+ "depth_multiplier": 1.0,
116
+ "embeddings": "untied",
117
+ "init_std": 0.02,
118
+ "name": "complete_d_p",
119
+ "width_multiplier": 1.0
120
+ },
121
+ "training": {
122
+ "batch_size": 16,
123
+ "dtype": "bfloat16",
124
+ "sampling": "shuffled_epochs",
125
+ "seq_len": 8192,
126
+ "steps": 2286,
127
+ "tokens_per_parameter": 5.000660099848113,
128
+ "train_tokens": 299630592
129
+ }
130
+ },
131
+ "schema_version": 2,
132
+ "sha256": "a4bad1be29b57d20ec7ae7b0d539f2e777d11f5539607655550b7afca185affe"
133
+ },
134
+ "loss_backend": "tiled",
135
+ "vocab_tile_size": 2048
136
+ },
137
+ "metrics": {
138
+ "achieved_tflops": 597.4534119803859,
139
+ "attention_tune_seconds": 0.0,
140
+ "base_learning_rate": 0.015625,
141
+ "diagnostic_compile_seconds": 85.61127052997472,
142
+ "diagnostic_point_count": 230,
143
+ "diagnostics_every": 10,
144
+ "early_stopping_step": null,
145
+ "estimated_total_flops": 221095966021779456,
146
+ "eval_compile_seconds": 15.335515389975626,
147
+ "expert_top_k": 2,
148
+ "experts": 8,
149
+ "final_validation_seconds": 0.4521297650062479,
150
+ "flop_accounting": {
151
+ "by_site": {
152
+ "dot_general": 1638200770560,
153
+ "pallas_call": 695784701952,
154
+ "tpu_flash_causal_attention_bwd_dkv": 1236950581248,
155
+ "tpu_flash_causal_attention_bwd_dq": 1236950581248,
156
+ "tpu_flash_causal_attention_fwd": 1236950581248
157
+ },
158
+ "elementwise_per_sequence": 9518381752,
159
+ "matmul_per_sequence": 6044837216256,
160
+ "method": "traced-jaxpr",
161
+ "warnings": []
162
+ },
163
+ "flops_per_token": 737895168,
164
+ "mfu_estimate": 0.1357848663591786,
165
+ "model_tier": "60m",
166
+ "parameter_count": 59959680,
167
+ "parameters": 102509952,
168
+ "schedule_steps": 2286,
169
+ "tokens_per_parameter": 5.000660099848113,
170
+ "tokens_per_second": 809672.4817967447,
171
+ "tokens_processed": 299630592,
172
+ "total_compile_seconds": 146.9452016199357,
173
+ "total_parameter_count": 102509952,
174
+ "train_compile_seconds": 45.998415699985344,
175
+ "train_loss": 3.988403797149658,
176
+ "train_seconds": 370.06394404696766,
177
+ "training_data_epochs": 0.037928020133706226,
178
+ "training_data_sharding": "rank_disjoint_shuffled_windows",
179
+ "training_sampling": "shuffled_epochs",
180
+ "training_steps": 2286,
181
+ "training_token_budget": 299630592,
182
+ "training_usable_tokens_per_epoch": 7899979776,
183
+ "validation_loss": 3.9843336641788483,
184
+ "validation_probe_count": 0,
185
+ "validation_probe_seconds": 0.0,
186
+ "validation_tokens": 1048576
187
+ },
188
+ "profile": "dev",
189
+ "schema_version": 1,
190
+ "seed": 1338,
191
+ "status": "ok",
192
+ "system": {
193
+ "controller_process_index": 1,
194
+ "device_count": 16,
195
+ "device_ids": [
196
+ 0,
197
+ 1,
198
+ 2,
199
+ 3,
200
+ 4,
201
+ 5,
202
+ 6,
203
+ 7,
204
+ 8,
205
+ 9,
206
+ 10,
207
+ 11,
208
+ 12,
209
+ 13,
210
+ 14,
211
+ 15
212
+ ],
213
+ "device_kinds": [
214
+ "TPU v4"
215
+ ],
216
+ "jax_version": "0.11.0",
217
+ "jaxlib_version": "0.11.0",
218
+ "libtpu_version": "0.0.44.1",
219
+ "local_device_count": 4,
220
+ "platform": "tpu",
221
+ "process_count": 4,
222
+ "process_indices": [
223
+ 0,
224
+ 0,
225
+ 0,
226
+ 0,
227
+ 1,
228
+ 1,
229
+ 1,
230
+ 1,
231
+ 2,
232
+ 2,
233
+ 2,
234
+ 2,
235
+ 3,
236
+ 3,
237
+ 3,
238
+ 3
239
+ ],
240
+ "python_version": "3.12.13"
241
+ },
242
+ "track": "open"
243
+ }
moe-lr-sweep-8k/60m-5tpp-bs16-lr2e-6-s1338/training.riglog ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:bb07d16d4b22e4ce3bddb3a1c9c09712df7a181a9c184cc6a7faef3e2cbfd90c
3
+ size 1301864
moe-lr-sweep-8k/60m-5tpp-bs16-lr2e-6-s1338/validation.csv ADDED
@@ -0,0 +1,2 @@
 
 
 
1
+ step,tokens_processed,kind,domain,validation_tokens,validation_loss,perplexity,validation_seconds,canonical
2
+ 2286,299630592,fineweb,fineweb,1048576,3.9843336641788483,53.74946235063435,0.4521297650062479,true
moe-lr-sweep-8k/60m-5tpp-bs16-lr2e-6-s1339/diagnostics.riglog ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:19e82079ffba08762f687bbda71b6446fe5d47cfe60f925b87d1cfb16225bbe8
3
+ size 272824
moe-lr-sweep-8k/60m-5tpp-bs16-lr2e-6-s1339/metrics.json ADDED
@@ -0,0 +1,243 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "artifacts": {
3
+ "diagnostics": "diagnostics.riglog",
4
+ "training_curve": "training.riglog",
5
+ "validation_curve": "validation.csv"
6
+ },
7
+ "checkpoint": null,
8
+ "contract": {
9
+ "dataset_id": "fineweb-8b-gpt2",
10
+ "model": {
11
+ "d_model": 384,
12
+ "heads": 6,
13
+ "layers": 12,
14
+ "mlp_activation": "gelu",
15
+ "mlp_mult": 4,
16
+ "normalization": "rms_norm",
17
+ "parameterization": "complete_d_p",
18
+ "position_encoding": "rope_base_10000",
19
+ "semantic_vocab_size": 50304,
20
+ "tied_embeddings": false,
21
+ "tier": "60m",
22
+ "vocab_size": 50304
23
+ },
24
+ "model_id": "reference-gpt-v3-family",
25
+ "sequence_length": 8192,
26
+ "tokenizer_id": "gpt2"
27
+ },
28
+ "evaluations": {
29
+ "fineweb": {
30
+ "canonical": true,
31
+ "loss": 4.05812394618988,
32
+ "perplexity": 57.8656501105525,
33
+ "scored_tokens": 1048576,
34
+ "seconds": 0.45437015598872676
35
+ }
36
+ },
37
+ "implementation": {
38
+ "attention_backend": "tpu_flash",
39
+ "attention_tuning": {
40
+ "key_digest": "ec38db3431308f3e9f99acf40c7e3bb85ca0695b0d97491e44a93bc7adfada00",
41
+ "resolution_source": "heuristic",
42
+ "tiles": {
43
+ "block_kv": 512,
44
+ "block_kv_compute": 256,
45
+ "block_kv_dkv": 512,
46
+ "block_kv_dkv_compute": 256,
47
+ "block_kv_dq": 512,
48
+ "block_kv_dq_compute": 256,
49
+ "block_q": 512,
50
+ "block_q_dkv": 512,
51
+ "block_q_dkv_compute": 256,
52
+ "block_q_dq": 256
53
+ },
54
+ "tune_seconds": 0.0
55
+ },
56
+ "configuration": {
57
+ "overrides": {
58
+ "tokens_per_parameter_micros": 5000000
59
+ },
60
+ "path": "config.yaml",
61
+ "profile": "dev",
62
+ "resolved": {
63
+ "evaluation": {
64
+ "eval_batches": 8,
65
+ "val_every": 0,
66
+ "val_probe_batches": 8
67
+ },
68
+ "kernels": {
69
+ "attention_backend": "tpu_flash",
70
+ "loss_backend": "tiled",
71
+ "vocab_tile_size": 2048
72
+ },
73
+ "logging": {
74
+ "diagnostics_every": 10,
75
+ "log_every": 10
76
+ },
77
+ "model": {
78
+ "d_model": 384,
79
+ "heads": 6,
80
+ "layers": 12,
81
+ "mlp_activation": "gelu",
82
+ "mlp_mult": 4,
83
+ "normalization": "rms_norm",
84
+ "parameterization": "complete_d_p",
85
+ "position_encoding": "rope_base_10000",
86
+ "semantic_vocab_size": 50304,
87
+ "tied_embeddings": false,
88
+ "tier": "60m",
89
+ "vocab_size": 50304
90
+ },
91
+ "optimizer": {
92
+ "adam_epsilon": 1e-08,
93
+ "beta1": 0.9,
94
+ "beta2": 0.95,
95
+ "effective": {
96
+ "adam_epsilon_horizon_multiplier": 1.0,
97
+ "beta1": 0.9,
98
+ "beta2": 0.95,
99
+ "global_peak_learning_rate": 0.015625,
100
+ "weight_decay_horizon_multiplier": 1.0
101
+ },
102
+ "grad_clip": 0.0,
103
+ "learning_rate": 0.015625,
104
+ "min_lr_ratio": 0.1,
105
+ "warmup_steps": 229,
106
+ "weight_decay": 0.1
107
+ },
108
+ "parameterization": {
109
+ "attention_scale": "inverse_head_dim",
110
+ "base_depth": 12,
111
+ "base_width": 384,
112
+ "batch_multiplier": 1.0,
113
+ "data_multiplier": 1.0,
114
+ "depth_alpha": 1.0,
115
+ "depth_multiplier": 1.0,
116
+ "embeddings": "untied",
117
+ "init_std": 0.02,
118
+ "name": "complete_d_p",
119
+ "width_multiplier": 1.0
120
+ },
121
+ "training": {
122
+ "batch_size": 16,
123
+ "dtype": "bfloat16",
124
+ "sampling": "shuffled_epochs",
125
+ "seq_len": 8192,
126
+ "steps": 2286,
127
+ "tokens_per_parameter": 5.000660099848113,
128
+ "train_tokens": 299630592
129
+ }
130
+ },
131
+ "schema_version": 2,
132
+ "sha256": "a4bad1be29b57d20ec7ae7b0d539f2e777d11f5539607655550b7afca185affe"
133
+ },
134
+ "loss_backend": "tiled",
135
+ "vocab_tile_size": 2048
136
+ },
137
+ "metrics": {
138
+ "achieved_tflops": 597.3680857773434,
139
+ "attention_tune_seconds": 0.0,
140
+ "base_learning_rate": 0.015625,
141
+ "diagnostic_compile_seconds": 78.2013416410191,
142
+ "diagnostic_point_count": 230,
143
+ "diagnostics_every": 10,
144
+ "early_stopping_step": null,
145
+ "estimated_total_flops": 221095966021779456,
146
+ "eval_compile_seconds": 14.844683077011723,
147
+ "expert_top_k": 2,
148
+ "experts": 8,
149
+ "final_validation_seconds": 0.45437015598872676,
150
+ "flop_accounting": {
151
+ "by_site": {
152
+ "dot_general": 1638200770560,
153
+ "pallas_call": 695784701952,
154
+ "tpu_flash_causal_attention_bwd_dkv": 1236950581248,
155
+ "tpu_flash_causal_attention_bwd_dq": 1236950581248,
156
+ "tpu_flash_causal_attention_fwd": 1236950581248
157
+ },
158
+ "elementwise_per_sequence": 9518381752,
159
+ "matmul_per_sequence": 6044837216256,
160
+ "method": "traced-jaxpr",
161
+ "warnings": []
162
+ },
163
+ "flops_per_token": 737895168,
164
+ "mfu_estimate": 0.1357654740403053,
165
+ "model_tier": "60m",
166
+ "parameter_count": 59959680,
167
+ "parameters": 102509952,
168
+ "schedule_steps": 2286,
169
+ "tokens_per_parameter": 5.000660099848113,
170
+ "tokens_per_second": 809556.8472096884,
171
+ "tokens_processed": 299630592,
172
+ "total_compile_seconds": 138.09480160003295,
173
+ "total_parameter_count": 102509952,
174
+ "train_compile_seconds": 45.04877688200213,
175
+ "train_loss": 3.9488604068756104,
176
+ "train_seconds": 370.1168028319953,
177
+ "training_data_epochs": 0.037928020133706226,
178
+ "training_data_sharding": "rank_disjoint_shuffled_windows",
179
+ "training_sampling": "shuffled_epochs",
180
+ "training_steps": 2286,
181
+ "training_token_budget": 299630592,
182
+ "training_usable_tokens_per_epoch": 7899979776,
183
+ "validation_loss": 4.05812394618988,
184
+ "validation_probe_count": 0,
185
+ "validation_probe_seconds": 0.0,
186
+ "validation_tokens": 1048576
187
+ },
188
+ "profile": "dev",
189
+ "schema_version": 1,
190
+ "seed": 1339,
191
+ "status": "ok",
192
+ "system": {
193
+ "controller_process_index": 1,
194
+ "device_count": 16,
195
+ "device_ids": [
196
+ 0,
197
+ 1,
198
+ 2,
199
+ 3,
200
+ 4,
201
+ 5,
202
+ 6,
203
+ 7,
204
+ 8,
205
+ 9,
206
+ 10,
207
+ 11,
208
+ 12,
209
+ 13,
210
+ 14,
211
+ 15
212
+ ],
213
+ "device_kinds": [
214
+ "TPU v4"
215
+ ],
216
+ "jax_version": "0.11.0",
217
+ "jaxlib_version": "0.11.0",
218
+ "libtpu_version": "0.0.44.1",
219
+ "local_device_count": 4,
220
+ "platform": "tpu",
221
+ "process_count": 4,
222
+ "process_indices": [
223
+ 0,
224
+ 0,
225
+ 0,
226
+ 0,
227
+ 1,
228
+ 1,
229
+ 1,
230
+ 1,
231
+ 2,
232
+ 2,
233
+ 2,
234
+ 2,
235
+ 3,
236
+ 3,
237
+ 3,
238
+ 3
239
+ ],
240
+ "python_version": "3.12.13"
241
+ },
242
+ "track": "open"
243
+ }
moe-lr-sweep-8k/60m-5tpp-bs16-lr2e-6-s1339/result.json ADDED
@@ -0,0 +1,243 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "artifacts": {
3
+ "diagnostics": "diagnostics.riglog",
4
+ "training_curve": "training.riglog",
5
+ "validation_curve": "validation.csv"
6
+ },
7
+ "checkpoint": null,
8
+ "contract": {
9
+ "dataset_id": "fineweb-8b-gpt2",
10
+ "model": {
11
+ "d_model": 384,
12
+ "heads": 6,
13
+ "layers": 12,
14
+ "mlp_activation": "gelu",
15
+ "mlp_mult": 4,
16
+ "normalization": "rms_norm",
17
+ "parameterization": "complete_d_p",
18
+ "position_encoding": "rope_base_10000",
19
+ "semantic_vocab_size": 50304,
20
+ "tied_embeddings": false,
21
+ "tier": "60m",
22
+ "vocab_size": 50304
23
+ },
24
+ "model_id": "reference-gpt-v3-family",
25
+ "sequence_length": 8192,
26
+ "tokenizer_id": "gpt2"
27
+ },
28
+ "evaluations": {
29
+ "fineweb": {
30
+ "canonical": true,
31
+ "loss": 4.05812394618988,
32
+ "perplexity": 57.8656501105525,
33
+ "scored_tokens": 1048576,
34
+ "seconds": 0.45437015598872676
35
+ }
36
+ },
37
+ "implementation": {
38
+ "attention_backend": "tpu_flash",
39
+ "attention_tuning": {
40
+ "key_digest": "ec38db3431308f3e9f99acf40c7e3bb85ca0695b0d97491e44a93bc7adfada00",
41
+ "resolution_source": "heuristic",
42
+ "tiles": {
43
+ "block_kv": 512,
44
+ "block_kv_compute": 256,
45
+ "block_kv_dkv": 512,
46
+ "block_kv_dkv_compute": 256,
47
+ "block_kv_dq": 512,
48
+ "block_kv_dq_compute": 256,
49
+ "block_q": 512,
50
+ "block_q_dkv": 512,
51
+ "block_q_dkv_compute": 256,
52
+ "block_q_dq": 256
53
+ },
54
+ "tune_seconds": 0.0
55
+ },
56
+ "configuration": {
57
+ "overrides": {
58
+ "tokens_per_parameter_micros": 5000000
59
+ },
60
+ "path": "config.yaml",
61
+ "profile": "dev",
62
+ "resolved": {
63
+ "evaluation": {
64
+ "eval_batches": 8,
65
+ "val_every": 0,
66
+ "val_probe_batches": 8
67
+ },
68
+ "kernels": {
69
+ "attention_backend": "tpu_flash",
70
+ "loss_backend": "tiled",
71
+ "vocab_tile_size": 2048
72
+ },
73
+ "logging": {
74
+ "diagnostics_every": 10,
75
+ "log_every": 10
76
+ },
77
+ "model": {
78
+ "d_model": 384,
79
+ "heads": 6,
80
+ "layers": 12,
81
+ "mlp_activation": "gelu",
82
+ "mlp_mult": 4,
83
+ "normalization": "rms_norm",
84
+ "parameterization": "complete_d_p",
85
+ "position_encoding": "rope_base_10000",
86
+ "semantic_vocab_size": 50304,
87
+ "tied_embeddings": false,
88
+ "tier": "60m",
89
+ "vocab_size": 50304
90
+ },
91
+ "optimizer": {
92
+ "adam_epsilon": 1e-08,
93
+ "beta1": 0.9,
94
+ "beta2": 0.95,
95
+ "effective": {
96
+ "adam_epsilon_horizon_multiplier": 1.0,
97
+ "beta1": 0.9,
98
+ "beta2": 0.95,
99
+ "global_peak_learning_rate": 0.015625,
100
+ "weight_decay_horizon_multiplier": 1.0
101
+ },
102
+ "grad_clip": 0.0,
103
+ "learning_rate": 0.015625,
104
+ "min_lr_ratio": 0.1,
105
+ "warmup_steps": 229,
106
+ "weight_decay": 0.1
107
+ },
108
+ "parameterization": {
109
+ "attention_scale": "inverse_head_dim",
110
+ "base_depth": 12,
111
+ "base_width": 384,
112
+ "batch_multiplier": 1.0,
113
+ "data_multiplier": 1.0,
114
+ "depth_alpha": 1.0,
115
+ "depth_multiplier": 1.0,
116
+ "embeddings": "untied",
117
+ "init_std": 0.02,
118
+ "name": "complete_d_p",
119
+ "width_multiplier": 1.0
120
+ },
121
+ "training": {
122
+ "batch_size": 16,
123
+ "dtype": "bfloat16",
124
+ "sampling": "shuffled_epochs",
125
+ "seq_len": 8192,
126
+ "steps": 2286,
127
+ "tokens_per_parameter": 5.000660099848113,
128
+ "train_tokens": 299630592
129
+ }
130
+ },
131
+ "schema_version": 2,
132
+ "sha256": "a4bad1be29b57d20ec7ae7b0d539f2e777d11f5539607655550b7afca185affe"
133
+ },
134
+ "loss_backend": "tiled",
135
+ "vocab_tile_size": 2048
136
+ },
137
+ "metrics": {
138
+ "achieved_tflops": 597.3680857773434,
139
+ "attention_tune_seconds": 0.0,
140
+ "base_learning_rate": 0.015625,
141
+ "diagnostic_compile_seconds": 78.2013416410191,
142
+ "diagnostic_point_count": 230,
143
+ "diagnostics_every": 10,
144
+ "early_stopping_step": null,
145
+ "estimated_total_flops": 221095966021779456,
146
+ "eval_compile_seconds": 14.844683077011723,
147
+ "expert_top_k": 2,
148
+ "experts": 8,
149
+ "final_validation_seconds": 0.45437015598872676,
150
+ "flop_accounting": {
151
+ "by_site": {
152
+ "dot_general": 1638200770560,
153
+ "pallas_call": 695784701952,
154
+ "tpu_flash_causal_attention_bwd_dkv": 1236950581248,
155
+ "tpu_flash_causal_attention_bwd_dq": 1236950581248,
156
+ "tpu_flash_causal_attention_fwd": 1236950581248
157
+ },
158
+ "elementwise_per_sequence": 9518381752,
159
+ "matmul_per_sequence": 6044837216256,
160
+ "method": "traced-jaxpr",
161
+ "warnings": []
162
+ },
163
+ "flops_per_token": 737895168,
164
+ "mfu_estimate": 0.1357654740403053,
165
+ "model_tier": "60m",
166
+ "parameter_count": 59959680,
167
+ "parameters": 102509952,
168
+ "schedule_steps": 2286,
169
+ "tokens_per_parameter": 5.000660099848113,
170
+ "tokens_per_second": 809556.8472096884,
171
+ "tokens_processed": 299630592,
172
+ "total_compile_seconds": 138.09480160003295,
173
+ "total_parameter_count": 102509952,
174
+ "train_compile_seconds": 45.04877688200213,
175
+ "train_loss": 3.9488604068756104,
176
+ "train_seconds": 370.1168028319953,
177
+ "training_data_epochs": 0.037928020133706226,
178
+ "training_data_sharding": "rank_disjoint_shuffled_windows",
179
+ "training_sampling": "shuffled_epochs",
180
+ "training_steps": 2286,
181
+ "training_token_budget": 299630592,
182
+ "training_usable_tokens_per_epoch": 7899979776,
183
+ "validation_loss": 4.05812394618988,
184
+ "validation_probe_count": 0,
185
+ "validation_probe_seconds": 0.0,
186
+ "validation_tokens": 1048576
187
+ },
188
+ "profile": "dev",
189
+ "schema_version": 1,
190
+ "seed": 1339,
191
+ "status": "ok",
192
+ "system": {
193
+ "controller_process_index": 1,
194
+ "device_count": 16,
195
+ "device_ids": [
196
+ 0,
197
+ 1,
198
+ 2,
199
+ 3,
200
+ 4,
201
+ 5,
202
+ 6,
203
+ 7,
204
+ 8,
205
+ 9,
206
+ 10,
207
+ 11,
208
+ 12,
209
+ 13,
210
+ 14,
211
+ 15
212
+ ],
213
+ "device_kinds": [
214
+ "TPU v4"
215
+ ],
216
+ "jax_version": "0.11.0",
217
+ "jaxlib_version": "0.11.0",
218
+ "libtpu_version": "0.0.44.1",
219
+ "local_device_count": 4,
220
+ "platform": "tpu",
221
+ "process_count": 4,
222
+ "process_indices": [
223
+ 0,
224
+ 0,
225
+ 0,
226
+ 0,
227
+ 1,
228
+ 1,
229
+ 1,
230
+ 1,
231
+ 2,
232
+ 2,
233
+ 2,
234
+ 2,
235
+ 3,
236
+ 3,
237
+ 3,
238
+ 3
239
+ ],
240
+ "python_version": "3.12.13"
241
+ },
242
+ "track": "open"
243
+ }
moe-lr-sweep-8k/60m-5tpp-bs16-lr2e-6-s1339/training.riglog ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:fc8405d8ccdca80dcd167a63ea3a40130931336f42d620213e485a20f26f61fb
3
+ size 1301864
moe-lr-sweep-8k/60m-5tpp-bs16-lr2e-6-s1339/validation.csv ADDED
@@ -0,0 +1,2 @@
 
 
 
1
+ step,tokens_processed,kind,domain,validation_tokens,validation_loss,perplexity,validation_seconds,canonical
2
+ 2286,299630592,fineweb,fineweb,1048576,4.05812394618988,57.8656501105525,0.45437015598872676,true
moe-lr-sweep-8k/60m-5tpp-bs16-lr2e-7-s1337/diagnostics.riglog ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6cea041ff2911a0e2193389e333696be9fc3c4619b3a5ea3aceca5579781d083
3
+ size 272824
moe-lr-sweep-8k/60m-5tpp-bs16-lr2e-7-s1337/metrics.json ADDED
@@ -0,0 +1,243 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "artifacts": {
3
+ "diagnostics": "diagnostics.riglog",
4
+ "training_curve": "training.riglog",
5
+ "validation_curve": "validation.csv"
6
+ },
7
+ "checkpoint": null,
8
+ "contract": {
9
+ "dataset_id": "fineweb-8b-gpt2",
10
+ "model": {
11
+ "d_model": 384,
12
+ "heads": 6,
13
+ "layers": 12,
14
+ "mlp_activation": "gelu",
15
+ "mlp_mult": 4,
16
+ "normalization": "rms_norm",
17
+ "parameterization": "complete_d_p",
18
+ "position_encoding": "rope_base_10000",
19
+ "semantic_vocab_size": 50304,
20
+ "tied_embeddings": false,
21
+ "tier": "60m",
22
+ "vocab_size": 50304
23
+ },
24
+ "model_id": "reference-gpt-v3-family",
25
+ "sequence_length": 8192,
26
+ "tokenizer_id": "gpt2"
27
+ },
28
+ "evaluations": {
29
+ "fineweb": {
30
+ "canonical": true,
31
+ "loss": 3.962973475456238,
32
+ "perplexity": 52.61353865253143,
33
+ "scored_tokens": 1048576,
34
+ "seconds": 0.449693754024338
35
+ }
36
+ },
37
+ "implementation": {
38
+ "attention_backend": "tpu_flash",
39
+ "attention_tuning": {
40
+ "key_digest": "ec38db3431308f3e9f99acf40c7e3bb85ca0695b0d97491e44a93bc7adfada00",
41
+ "resolution_source": "heuristic",
42
+ "tiles": {
43
+ "block_kv": 512,
44
+ "block_kv_compute": 256,
45
+ "block_kv_dkv": 512,
46
+ "block_kv_dkv_compute": 256,
47
+ "block_kv_dq": 512,
48
+ "block_kv_dq_compute": 256,
49
+ "block_q": 512,
50
+ "block_q_dkv": 512,
51
+ "block_q_dkv_compute": 256,
52
+ "block_q_dq": 256
53
+ },
54
+ "tune_seconds": 0.0
55
+ },
56
+ "configuration": {
57
+ "overrides": {
58
+ "tokens_per_parameter_micros": 5000000
59
+ },
60
+ "path": "config.yaml",
61
+ "profile": "dev",
62
+ "resolved": {
63
+ "evaluation": {
64
+ "eval_batches": 8,
65
+ "val_every": 0,
66
+ "val_probe_batches": 8
67
+ },
68
+ "kernels": {
69
+ "attention_backend": "tpu_flash",
70
+ "loss_backend": "tiled",
71
+ "vocab_tile_size": 2048
72
+ },
73
+ "logging": {
74
+ "diagnostics_every": 10,
75
+ "log_every": 10
76
+ },
77
+ "model": {
78
+ "d_model": 384,
79
+ "heads": 6,
80
+ "layers": 12,
81
+ "mlp_activation": "gelu",
82
+ "mlp_mult": 4,
83
+ "normalization": "rms_norm",
84
+ "parameterization": "complete_d_p",
85
+ "position_encoding": "rope_base_10000",
86
+ "semantic_vocab_size": 50304,
87
+ "tied_embeddings": false,
88
+ "tier": "60m",
89
+ "vocab_size": 50304
90
+ },
91
+ "optimizer": {
92
+ "adam_epsilon": 1e-08,
93
+ "beta1": 0.9,
94
+ "beta2": 0.95,
95
+ "effective": {
96
+ "adam_epsilon_horizon_multiplier": 1.0,
97
+ "beta1": 0.9,
98
+ "beta2": 0.95,
99
+ "global_peak_learning_rate": 0.0078125,
100
+ "weight_decay_horizon_multiplier": 1.0
101
+ },
102
+ "grad_clip": 0.0,
103
+ "learning_rate": 0.0078125,
104
+ "min_lr_ratio": 0.1,
105
+ "warmup_steps": 229,
106
+ "weight_decay": 0.1
107
+ },
108
+ "parameterization": {
109
+ "attention_scale": "inverse_head_dim",
110
+ "base_depth": 12,
111
+ "base_width": 384,
112
+ "batch_multiplier": 1.0,
113
+ "data_multiplier": 1.0,
114
+ "depth_alpha": 1.0,
115
+ "depth_multiplier": 1.0,
116
+ "embeddings": "untied",
117
+ "init_std": 0.02,
118
+ "name": "complete_d_p",
119
+ "width_multiplier": 1.0
120
+ },
121
+ "training": {
122
+ "batch_size": 16,
123
+ "dtype": "bfloat16",
124
+ "sampling": "shuffled_epochs",
125
+ "seq_len": 8192,
126
+ "steps": 2286,
127
+ "tokens_per_parameter": 5.000660099848113,
128
+ "train_tokens": 299630592
129
+ }
130
+ },
131
+ "schema_version": 2,
132
+ "sha256": "a4bad1be29b57d20ec7ae7b0d539f2e777d11f5539607655550b7afca185affe"
133
+ },
134
+ "loss_backend": "tiled",
135
+ "vocab_tile_size": 2048
136
+ },
137
+ "metrics": {
138
+ "achieved_tflops": 597.4925117457461,
139
+ "attention_tune_seconds": 0.0,
140
+ "base_learning_rate": 0.0078125,
141
+ "diagnostic_compile_seconds": 81.99022210703697,
142
+ "diagnostic_point_count": 230,
143
+ "diagnostics_every": 10,
144
+ "early_stopping_step": null,
145
+ "estimated_total_flops": 221095966021779456,
146
+ "eval_compile_seconds": 15.240791740012355,
147
+ "expert_top_k": 2,
148
+ "experts": 8,
149
+ "final_validation_seconds": 0.449693754024338,
150
+ "flop_accounting": {
151
+ "by_site": {
152
+ "dot_general": 1638200770560,
153
+ "pallas_call": 695784701952,
154
+ "tpu_flash_causal_attention_bwd_dkv": 1236950581248,
155
+ "tpu_flash_causal_attention_bwd_dq": 1236950581248,
156
+ "tpu_flash_causal_attention_fwd": 1236950581248
157
+ },
158
+ "elementwise_per_sequence": 9518381752,
159
+ "matmul_per_sequence": 6044837216256,
160
+ "method": "traced-jaxpr",
161
+ "warnings": []
162
+ },
163
+ "flops_per_token": 737895168,
164
+ "mfu_estimate": 0.13579375266948776,
165
+ "model_tier": "60m",
166
+ "parameter_count": 59959680,
167
+ "parameters": 102509952,
168
+ "schedule_steps": 2286,
169
+ "tokens_per_parameter": 5.000660099848113,
170
+ "tokens_per_second": 809725.4700355296,
171
+ "tokens_processed": 299630592,
172
+ "total_compile_seconds": 140.92854372307193,
173
+ "total_parameter_count": 102509952,
174
+ "train_compile_seconds": 43.6975298760226,
175
+ "train_loss": 4.045482635498047,
176
+ "train_seconds": 370.0397271520342,
177
+ "training_data_epochs": 0.037928020133706226,
178
+ "training_data_sharding": "rank_disjoint_shuffled_windows",
179
+ "training_sampling": "shuffled_epochs",
180
+ "training_steps": 2286,
181
+ "training_token_budget": 299630592,
182
+ "training_usable_tokens_per_epoch": 7899979776,
183
+ "validation_loss": 3.962973475456238,
184
+ "validation_probe_count": 0,
185
+ "validation_probe_seconds": 0.0,
186
+ "validation_tokens": 1048576
187
+ },
188
+ "profile": "dev",
189
+ "schema_version": 1,
190
+ "seed": 1337,
191
+ "status": "ok",
192
+ "system": {
193
+ "controller_process_index": 1,
194
+ "device_count": 16,
195
+ "device_ids": [
196
+ 0,
197
+ 1,
198
+ 2,
199
+ 3,
200
+ 4,
201
+ 5,
202
+ 6,
203
+ 7,
204
+ 8,
205
+ 9,
206
+ 10,
207
+ 11,
208
+ 12,
209
+ 13,
210
+ 14,
211
+ 15
212
+ ],
213
+ "device_kinds": [
214
+ "TPU v4"
215
+ ],
216
+ "jax_version": "0.11.0",
217
+ "jaxlib_version": "0.11.0",
218
+ "libtpu_version": "0.0.44.1",
219
+ "local_device_count": 4,
220
+ "platform": "tpu",
221
+ "process_count": 4,
222
+ "process_indices": [
223
+ 0,
224
+ 0,
225
+ 0,
226
+ 0,
227
+ 1,
228
+ 1,
229
+ 1,
230
+ 1,
231
+ 2,
232
+ 2,
233
+ 2,
234
+ 2,
235
+ 3,
236
+ 3,
237
+ 3,
238
+ 3
239
+ ],
240
+ "python_version": "3.12.13"
241
+ },
242
+ "track": "open"
243
+ }
moe-lr-sweep-8k/60m-5tpp-bs16-lr2e-7-s1337/result.json ADDED
@@ -0,0 +1,243 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "artifacts": {
3
+ "diagnostics": "diagnostics.riglog",
4
+ "training_curve": "training.riglog",
5
+ "validation_curve": "validation.csv"
6
+ },
7
+ "checkpoint": null,
8
+ "contract": {
9
+ "dataset_id": "fineweb-8b-gpt2",
10
+ "model": {
11
+ "d_model": 384,
12
+ "heads": 6,
13
+ "layers": 12,
14
+ "mlp_activation": "gelu",
15
+ "mlp_mult": 4,
16
+ "normalization": "rms_norm",
17
+ "parameterization": "complete_d_p",
18
+ "position_encoding": "rope_base_10000",
19
+ "semantic_vocab_size": 50304,
20
+ "tied_embeddings": false,
21
+ "tier": "60m",
22
+ "vocab_size": 50304
23
+ },
24
+ "model_id": "reference-gpt-v3-family",
25
+ "sequence_length": 8192,
26
+ "tokenizer_id": "gpt2"
27
+ },
28
+ "evaluations": {
29
+ "fineweb": {
30
+ "canonical": true,
31
+ "loss": 3.962973475456238,
32
+ "perplexity": 52.61353865253143,
33
+ "scored_tokens": 1048576,
34
+ "seconds": 0.449693754024338
35
+ }
36
+ },
37
+ "implementation": {
38
+ "attention_backend": "tpu_flash",
39
+ "attention_tuning": {
40
+ "key_digest": "ec38db3431308f3e9f99acf40c7e3bb85ca0695b0d97491e44a93bc7adfada00",
41
+ "resolution_source": "heuristic",
42
+ "tiles": {
43
+ "block_kv": 512,
44
+ "block_kv_compute": 256,
45
+ "block_kv_dkv": 512,
46
+ "block_kv_dkv_compute": 256,
47
+ "block_kv_dq": 512,
48
+ "block_kv_dq_compute": 256,
49
+ "block_q": 512,
50
+ "block_q_dkv": 512,
51
+ "block_q_dkv_compute": 256,
52
+ "block_q_dq": 256
53
+ },
54
+ "tune_seconds": 0.0
55
+ },
56
+ "configuration": {
57
+ "overrides": {
58
+ "tokens_per_parameter_micros": 5000000
59
+ },
60
+ "path": "config.yaml",
61
+ "profile": "dev",
62
+ "resolved": {
63
+ "evaluation": {
64
+ "eval_batches": 8,
65
+ "val_every": 0,
66
+ "val_probe_batches": 8
67
+ },
68
+ "kernels": {
69
+ "attention_backend": "tpu_flash",
70
+ "loss_backend": "tiled",
71
+ "vocab_tile_size": 2048
72
+ },
73
+ "logging": {
74
+ "diagnostics_every": 10,
75
+ "log_every": 10
76
+ },
77
+ "model": {
78
+ "d_model": 384,
79
+ "heads": 6,
80
+ "layers": 12,
81
+ "mlp_activation": "gelu",
82
+ "mlp_mult": 4,
83
+ "normalization": "rms_norm",
84
+ "parameterization": "complete_d_p",
85
+ "position_encoding": "rope_base_10000",
86
+ "semantic_vocab_size": 50304,
87
+ "tied_embeddings": false,
88
+ "tier": "60m",
89
+ "vocab_size": 50304
90
+ },
91
+ "optimizer": {
92
+ "adam_epsilon": 1e-08,
93
+ "beta1": 0.9,
94
+ "beta2": 0.95,
95
+ "effective": {
96
+ "adam_epsilon_horizon_multiplier": 1.0,
97
+ "beta1": 0.9,
98
+ "beta2": 0.95,
99
+ "global_peak_learning_rate": 0.0078125,
100
+ "weight_decay_horizon_multiplier": 1.0
101
+ },
102
+ "grad_clip": 0.0,
103
+ "learning_rate": 0.0078125,
104
+ "min_lr_ratio": 0.1,
105
+ "warmup_steps": 229,
106
+ "weight_decay": 0.1
107
+ },
108
+ "parameterization": {
109
+ "attention_scale": "inverse_head_dim",
110
+ "base_depth": 12,
111
+ "base_width": 384,
112
+ "batch_multiplier": 1.0,
113
+ "data_multiplier": 1.0,
114
+ "depth_alpha": 1.0,
115
+ "depth_multiplier": 1.0,
116
+ "embeddings": "untied",
117
+ "init_std": 0.02,
118
+ "name": "complete_d_p",
119
+ "width_multiplier": 1.0
120
+ },
121
+ "training": {
122
+ "batch_size": 16,
123
+ "dtype": "bfloat16",
124
+ "sampling": "shuffled_epochs",
125
+ "seq_len": 8192,
126
+ "steps": 2286,
127
+ "tokens_per_parameter": 5.000660099848113,
128
+ "train_tokens": 299630592
129
+ }
130
+ },
131
+ "schema_version": 2,
132
+ "sha256": "a4bad1be29b57d20ec7ae7b0d539f2e777d11f5539607655550b7afca185affe"
133
+ },
134
+ "loss_backend": "tiled",
135
+ "vocab_tile_size": 2048
136
+ },
137
+ "metrics": {
138
+ "achieved_tflops": 597.4925117457461,
139
+ "attention_tune_seconds": 0.0,
140
+ "base_learning_rate": 0.0078125,
141
+ "diagnostic_compile_seconds": 81.99022210703697,
142
+ "diagnostic_point_count": 230,
143
+ "diagnostics_every": 10,
144
+ "early_stopping_step": null,
145
+ "estimated_total_flops": 221095966021779456,
146
+ "eval_compile_seconds": 15.240791740012355,
147
+ "expert_top_k": 2,
148
+ "experts": 8,
149
+ "final_validation_seconds": 0.449693754024338,
150
+ "flop_accounting": {
151
+ "by_site": {
152
+ "dot_general": 1638200770560,
153
+ "pallas_call": 695784701952,
154
+ "tpu_flash_causal_attention_bwd_dkv": 1236950581248,
155
+ "tpu_flash_causal_attention_bwd_dq": 1236950581248,
156
+ "tpu_flash_causal_attention_fwd": 1236950581248
157
+ },
158
+ "elementwise_per_sequence": 9518381752,
159
+ "matmul_per_sequence": 6044837216256,
160
+ "method": "traced-jaxpr",
161
+ "warnings": []
162
+ },
163
+ "flops_per_token": 737895168,
164
+ "mfu_estimate": 0.13579375266948776,
165
+ "model_tier": "60m",
166
+ "parameter_count": 59959680,
167
+ "parameters": 102509952,
168
+ "schedule_steps": 2286,
169
+ "tokens_per_parameter": 5.000660099848113,
170
+ "tokens_per_second": 809725.4700355296,
171
+ "tokens_processed": 299630592,
172
+ "total_compile_seconds": 140.92854372307193,
173
+ "total_parameter_count": 102509952,
174
+ "train_compile_seconds": 43.6975298760226,
175
+ "train_loss": 4.045482635498047,
176
+ "train_seconds": 370.0397271520342,
177
+ "training_data_epochs": 0.037928020133706226,
178
+ "training_data_sharding": "rank_disjoint_shuffled_windows",
179
+ "training_sampling": "shuffled_epochs",
180
+ "training_steps": 2286,
181
+ "training_token_budget": 299630592,
182
+ "training_usable_tokens_per_epoch": 7899979776,
183
+ "validation_loss": 3.962973475456238,
184
+ "validation_probe_count": 0,
185
+ "validation_probe_seconds": 0.0,
186
+ "validation_tokens": 1048576
187
+ },
188
+ "profile": "dev",
189
+ "schema_version": 1,
190
+ "seed": 1337,
191
+ "status": "ok",
192
+ "system": {
193
+ "controller_process_index": 1,
194
+ "device_count": 16,
195
+ "device_ids": [
196
+ 0,
197
+ 1,
198
+ 2,
199
+ 3,
200
+ 4,
201
+ 5,
202
+ 6,
203
+ 7,
204
+ 8,
205
+ 9,
206
+ 10,
207
+ 11,
208
+ 12,
209
+ 13,
210
+ 14,
211
+ 15
212
+ ],
213
+ "device_kinds": [
214
+ "TPU v4"
215
+ ],
216
+ "jax_version": "0.11.0",
217
+ "jaxlib_version": "0.11.0",
218
+ "libtpu_version": "0.0.44.1",
219
+ "local_device_count": 4,
220
+ "platform": "tpu",
221
+ "process_count": 4,
222
+ "process_indices": [
223
+ 0,
224
+ 0,
225
+ 0,
226
+ 0,
227
+ 1,
228
+ 1,
229
+ 1,
230
+ 1,
231
+ 2,
232
+ 2,
233
+ 2,
234
+ 2,
235
+ 3,
236
+ 3,
237
+ 3,
238
+ 3
239
+ ],
240
+ "python_version": "3.12.13"
241
+ },
242
+ "track": "open"
243
+ }
moe-lr-sweep-8k/60m-5tpp-bs16-lr2e-7-s1337/training.riglog ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b468ab569cc5ca9a1d1d2e9a39606dadca83d6bde95044f64907ddbdbedd2e3b
3
+ size 1301864