Add rig training logs: 177 runs across six studies, full resolution (part 3)
Browse filesThis view is limited to 50 files because it contains too many changes. See raw diff
- .gitattributes +47 -0
- batch-sweep-60M/60m-5tpp-bs512-lr2e-6-s1339/metrics.json +238 -0
- batch-sweep-60M/60m-5tpp-bs512-lr2e-6-s1339/result.json +238 -0
- batch-sweep-60M/60m-5tpp-bs512-lr2e-6-s1339/training.riglog +0 -0
- batch-sweep-60M/60m-5tpp-bs512-lr2e-6-s1339/validation.csv +2 -0
- batch-sweep-60M/60m-5tpp-bs512-lr2e-7-s1337/diagnostics.riglog +0 -0
- batch-sweep-60M/60m-5tpp-bs512-lr2e-7-s1337/metrics.json +238 -0
- batch-sweep-60M/60m-5tpp-bs512-lr2e-7-s1337/result.json +238 -0
- batch-sweep-60M/60m-5tpp-bs512-lr2e-7-s1337/training.riglog +0 -0
- batch-sweep-60M/60m-5tpp-bs512-lr2e-7-s1337/validation.csv +2 -0
- batch-sweep-60M/60m-5tpp-bs512-lr2e-7-s1338/diagnostics.riglog +0 -0
- batch-sweep-60M/60m-5tpp-bs512-lr2e-7-s1338/metrics.json +238 -0
- batch-sweep-60M/60m-5tpp-bs512-lr2e-7-s1338/result.json +238 -0
- batch-sweep-60M/60m-5tpp-bs512-lr2e-7-s1338/training.riglog +0 -0
- batch-sweep-60M/60m-5tpp-bs512-lr2e-7-s1338/validation.csv +2 -0
- batch-sweep-60M/60m-5tpp-bs512-lr2e-7-s1339/diagnostics.riglog +0 -0
- batch-sweep-60M/60m-5tpp-bs512-lr2e-7-s1339/metrics.json +238 -0
- batch-sweep-60M/60m-5tpp-bs512-lr2e-7-s1339/result.json +238 -0
- batch-sweep-60M/60m-5tpp-bs512-lr2e-7-s1339/training.riglog +0 -0
- batch-sweep-60M/60m-5tpp-bs512-lr2e-7-s1339/validation.csv +2 -0
- batch-sweep-60M/60m-5tpp-bs512-lr2e-8-s1337/diagnostics.riglog +0 -0
- batch-sweep-60M/60m-5tpp-bs512-lr2e-8-s1337/metrics.json +238 -0
- batch-sweep-60M/60m-5tpp-bs512-lr2e-8-s1337/result.json +238 -0
- batch-sweep-60M/60m-5tpp-bs512-lr2e-8-s1337/training.riglog +0 -0
- batch-sweep-60M/60m-5tpp-bs512-lr2e-8-s1337/validation.csv +2 -0
- batch-sweep-60M/60m-5tpp-bs512-lr2e-8-s1338/diagnostics.riglog +0 -0
- batch-sweep-60M/60m-5tpp-bs512-lr2e-8-s1338/metrics.json +238 -0
- batch-sweep-60M/60m-5tpp-bs512-lr2e-8-s1338/result.json +238 -0
- batch-sweep-60M/60m-5tpp-bs512-lr2e-8-s1338/training.riglog +0 -0
- batch-sweep-60M/60m-5tpp-bs512-lr2e-8-s1338/validation.csv +2 -0
- batch-sweep-60M/60m-5tpp-bs512-lr2e-8-s1339/diagnostics.riglog +0 -0
- batch-sweep-60M/60m-5tpp-bs512-lr2e-8-s1339/metrics.json +238 -0
- batch-sweep-60M/60m-5tpp-bs512-lr2e-8-s1339/result.json +238 -0
- batch-sweep-60M/60m-5tpp-bs512-lr2e-8-s1339/training.riglog +0 -0
- batch-sweep-60M/60m-5tpp-bs512-lr2e-8-s1339/validation.csv +2 -0
- batch-sweep-60M/60m-5tpp-bs512-lr2e-9-s1337/diagnostics.riglog +0 -0
- batch-sweep-60M/60m-5tpp-bs512-lr2e-9-s1337/metrics.json +238 -0
- batch-sweep-60M/60m-5tpp-bs512-lr2e-9-s1337/result.json +238 -0
- batch-sweep-60M/60m-5tpp-bs512-lr2e-9-s1337/training.riglog +0 -0
- batch-sweep-60M/60m-5tpp-bs512-lr2e-9-s1337/validation.csv +2 -0
- batch-sweep-60M/60m-5tpp-bs512-lr2e-9-s1338/diagnostics.riglog +0 -0
- batch-sweep-60M/60m-5tpp-bs512-lr2e-9-s1338/metrics.json +238 -0
- batch-sweep-60M/60m-5tpp-bs512-lr2e-9-s1338/result.json +238 -0
- batch-sweep-60M/60m-5tpp-bs512-lr2e-9-s1338/training.riglog +0 -0
- batch-sweep-60M/60m-5tpp-bs512-lr2e-9-s1338/validation.csv +2 -0
- batch-sweep-60M/60m-5tpp-bs512-lr2e-9-s1339/diagnostics.riglog +0 -0
- batch-sweep-60M/60m-5tpp-bs512-lr2e-9-s1339/metrics.json +238 -0
- batch-sweep-60M/60m-5tpp-bs512-lr2e-9-s1339/result.json +238 -0
- batch-sweep-60M/60m-5tpp-bs512-lr2e-9-s1339/training.riglog +0 -0
- batch-sweep-60M/60m-5tpp-bs512-lr2e-9-s1339/validation.csv +2 -0
.gitattributes
CHANGED
|
@@ -193,3 +193,50 @@ batch-sweep-60M/60m-5tpp-bs32-lr2e-9-s1338/diagnostics.riglog filter=lfs diff=lf
|
|
| 193 |
batch-sweep-60M/60m-5tpp-bs32-lr2e-9-s1338/training.riglog filter=lfs diff=lfs merge=lfs -text
|
| 194 |
batch-sweep-60M/60m-5tpp-bs32-lr2e-9-s1339/diagnostics.riglog filter=lfs diff=lfs merge=lfs -text
|
| 195 |
batch-sweep-60M/60m-5tpp-bs32-lr2e-9-s1339/training.riglog filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 193 |
batch-sweep-60M/60m-5tpp-bs32-lr2e-9-s1338/training.riglog filter=lfs diff=lfs merge=lfs -text
|
| 194 |
batch-sweep-60M/60m-5tpp-bs32-lr2e-9-s1339/diagnostics.riglog filter=lfs diff=lfs merge=lfs -text
|
| 195 |
batch-sweep-60M/60m-5tpp-bs32-lr2e-9-s1339/training.riglog filter=lfs diff=lfs merge=lfs -text
|
| 196 |
+
batch-sweep-60M/60m-5tpp-bs64-lr2e-10-s1337/diagnostics.riglog filter=lfs diff=lfs merge=lfs -text
|
| 197 |
+
batch-sweep-60M/60m-5tpp-bs64-lr2e-10-s1338/diagnostics.riglog filter=lfs diff=lfs merge=lfs -text
|
| 198 |
+
batch-sweep-60M/60m-5tpp-bs64-lr2e-10-s1339/diagnostics.riglog filter=lfs diff=lfs merge=lfs -text
|
| 199 |
+
batch-sweep-60M/60m-5tpp-bs64-lr2e-6-s1337/diagnostics.riglog filter=lfs diff=lfs merge=lfs -text
|
| 200 |
+
batch-sweep-60M/60m-5tpp-bs64-lr2e-6-s1338/diagnostics.riglog filter=lfs diff=lfs merge=lfs -text
|
| 201 |
+
batch-sweep-60M/60m-5tpp-bs64-lr2e-6-s1339/diagnostics.riglog filter=lfs diff=lfs merge=lfs -text
|
| 202 |
+
batch-sweep-60M/60m-5tpp-bs64-lr2e-7-s1337/diagnostics.riglog filter=lfs diff=lfs merge=lfs -text
|
| 203 |
+
batch-sweep-60M/60m-5tpp-bs64-lr2e-7-s1338/diagnostics.riglog filter=lfs diff=lfs merge=lfs -text
|
| 204 |
+
batch-sweep-60M/60m-5tpp-bs64-lr2e-7-s1339/diagnostics.riglog filter=lfs diff=lfs merge=lfs -text
|
| 205 |
+
batch-sweep-60M/60m-5tpp-bs64-lr2e-8-s1337/diagnostics.riglog filter=lfs diff=lfs merge=lfs -text
|
| 206 |
+
batch-sweep-60M/60m-5tpp-bs64-lr2e-8-s1338/diagnostics.riglog filter=lfs diff=lfs merge=lfs -text
|
| 207 |
+
batch-sweep-60M/60m-5tpp-bs64-lr2e-8-s1339/diagnostics.riglog filter=lfs diff=lfs merge=lfs -text
|
| 208 |
+
batch-sweep-60M/60m-5tpp-bs64-lr2e-9-s1337/diagnostics.riglog filter=lfs diff=lfs merge=lfs -text
|
| 209 |
+
batch-sweep-60M/60m-5tpp-bs64-lr2e-9-s1338/diagnostics.riglog filter=lfs diff=lfs merge=lfs -text
|
| 210 |
+
batch-sweep-60M/60m-5tpp-bs64-lr2e-9-s1339/diagnostics.riglog filter=lfs diff=lfs merge=lfs -text
|
| 211 |
+
lr-batch-sweep-125M/125m-5tpp-bs128-lr2e-7-s1337/diagnostics.riglog filter=lfs diff=lfs merge=lfs -text
|
| 212 |
+
lr-batch-sweep-125M/125m-5tpp-bs128-lr2e-7-s1338/diagnostics.riglog filter=lfs diff=lfs merge=lfs -text
|
| 213 |
+
lr-batch-sweep-125M/125m-5tpp-bs128-lr2e-7-s1339/diagnostics.riglog filter=lfs diff=lfs merge=lfs -text
|
| 214 |
+
lr-batch-sweep-125M/125m-5tpp-bs128-lr2e-8-s1337/diagnostics.riglog filter=lfs diff=lfs merge=lfs -text
|
| 215 |
+
lr-batch-sweep-125M/125m-5tpp-bs128-lr2e-8-s1338/diagnostics.riglog filter=lfs diff=lfs merge=lfs -text
|
| 216 |
+
lr-batch-sweep-125M/125m-5tpp-bs128-lr2e-8-s1339/diagnostics.riglog filter=lfs diff=lfs merge=lfs -text
|
| 217 |
+
lr-batch-sweep-125M/125m-5tpp-bs128-lr2e-9-s1337/diagnostics.riglog filter=lfs diff=lfs merge=lfs -text
|
| 218 |
+
lr-batch-sweep-125M/125m-5tpp-bs128-lr2e-9-s1338/diagnostics.riglog filter=lfs diff=lfs merge=lfs -text
|
| 219 |
+
lr-batch-sweep-125M/125m-5tpp-bs128-lr2e-9-s1339/diagnostics.riglog filter=lfs diff=lfs merge=lfs -text
|
| 220 |
+
lr-batch-sweep-125M/125m-5tpp-bs256-lr2e-7-s1337/diagnostics.riglog filter=lfs diff=lfs merge=lfs -text
|
| 221 |
+
lr-batch-sweep-125M/125m-5tpp-bs256-lr2e-7-s1338/diagnostics.riglog filter=lfs diff=lfs merge=lfs -text
|
| 222 |
+
lr-batch-sweep-125M/125m-5tpp-bs256-lr2e-7-s1339/diagnostics.riglog filter=lfs diff=lfs merge=lfs -text
|
| 223 |
+
lr-batch-sweep-125M/125m-5tpp-bs256-lr2e-8-s1337/diagnostics.riglog filter=lfs diff=lfs merge=lfs -text
|
| 224 |
+
lr-batch-sweep-125M/125m-5tpp-bs256-lr2e-8-s1338/diagnostics.riglog filter=lfs diff=lfs merge=lfs -text
|
| 225 |
+
lr-batch-sweep-125M/125m-5tpp-bs256-lr2e-8-s1339/diagnostics.riglog filter=lfs diff=lfs merge=lfs -text
|
| 226 |
+
lr-batch-sweep-125M/125m-5tpp-bs256-lr2e-9-s1337/diagnostics.riglog filter=lfs diff=lfs merge=lfs -text
|
| 227 |
+
lr-batch-sweep-125M/125m-5tpp-bs256-lr2e-9-s1338/diagnostics.riglog filter=lfs diff=lfs merge=lfs -text
|
| 228 |
+
lr-batch-sweep-125M/125m-5tpp-bs256-lr2e-9-s1339/diagnostics.riglog filter=lfs diff=lfs merge=lfs -text
|
| 229 |
+
lr-batch-sweep-125M/125m-5tpp-bs64-lr2e-7-s1337/diagnostics.riglog filter=lfs diff=lfs merge=lfs -text
|
| 230 |
+
lr-batch-sweep-125M/125m-5tpp-bs64-lr2e-7-s1337/training.riglog filter=lfs diff=lfs merge=lfs -text
|
| 231 |
+
lr-batch-sweep-125M/125m-5tpp-bs64-lr2e-7-s1338/diagnostics.riglog filter=lfs diff=lfs merge=lfs -text
|
| 232 |
+
lr-batch-sweep-125M/125m-5tpp-bs64-lr2e-7-s1338/training.riglog filter=lfs diff=lfs merge=lfs -text
|
| 233 |
+
lr-batch-sweep-125M/125m-5tpp-bs64-lr2e-7-s1339/diagnostics.riglog filter=lfs diff=lfs merge=lfs -text
|
| 234 |
+
lr-batch-sweep-125M/125m-5tpp-bs64-lr2e-7-s1339/training.riglog filter=lfs diff=lfs merge=lfs -text
|
| 235 |
+
lr-batch-sweep-125M/125m-5tpp-bs64-lr2e-8-s1337/diagnostics.riglog filter=lfs diff=lfs merge=lfs -text
|
| 236 |
+
lr-batch-sweep-125M/125m-5tpp-bs64-lr2e-8-s1337/training.riglog filter=lfs diff=lfs merge=lfs -text
|
| 237 |
+
lr-batch-sweep-125M/125m-5tpp-bs64-lr2e-8-s1338/diagnostics.riglog filter=lfs diff=lfs merge=lfs -text
|
| 238 |
+
lr-batch-sweep-125M/125m-5tpp-bs64-lr2e-8-s1338/training.riglog filter=lfs diff=lfs merge=lfs -text
|
| 239 |
+
lr-batch-sweep-125M/125m-5tpp-bs64-lr2e-8-s1339/diagnostics.riglog filter=lfs diff=lfs merge=lfs -text
|
| 240 |
+
lr-batch-sweep-125M/125m-5tpp-bs64-lr2e-8-s1339/training.riglog filter=lfs diff=lfs merge=lfs -text
|
| 241 |
+
lr-batch-sweep-125M/125m-5tpp-bs64-lr2e-9-s1337/diagnostics.riglog filter=lfs diff=lfs merge=lfs -text
|
| 242 |
+
lr-batch-sweep-125M/125m-5tpp-bs64-lr2e-9-s1337/training.riglog filter=lfs diff=lfs merge=lfs -text
|
batch-sweep-60M/60m-5tpp-bs512-lr2e-6-s1339/metrics.json
ADDED
|
@@ -0,0 +1,238 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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
| 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": 1024,
|
| 26 |
+
"tokenizer_id": "gpt2"
|
| 27 |
+
},
|
| 28 |
+
"evaluations": {
|
| 29 |
+
"fineweb": {
|
| 30 |
+
"canonical": true,
|
| 31 |
+
"loss": 5.460958361625671,
|
| 32 |
+
"perplexity": 235.3228407129802,
|
| 33 |
+
"scored_tokens": 4194304,
|
| 34 |
+
"seconds": 0.41062728301039897
|
| 35 |
+
}
|
| 36 |
+
},
|
| 37 |
+
"implementation": {
|
| 38 |
+
"attention_backend": "tpu_flash",
|
| 39 |
+
"attention_tuning": {
|
| 40 |
+
"key_digest": "95bc05cbf51b0f72ad8508ff3fd06150efd4c9fb645177f2678c63050ddcb857",
|
| 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 |
+
"study_batch_size": 512,
|
| 59 |
+
"tokens_per_parameter_micros": 5000000
|
| 60 |
+
},
|
| 61 |
+
"path": "config.yaml",
|
| 62 |
+
"profile": "dev",
|
| 63 |
+
"resolved": {
|
| 64 |
+
"evaluation": {
|
| 65 |
+
"eval_batches": 8,
|
| 66 |
+
"val_every": 0,
|
| 67 |
+
"val_probe_batches": 8
|
| 68 |
+
},
|
| 69 |
+
"kernels": {
|
| 70 |
+
"attention_backend": "tpu_flash",
|
| 71 |
+
"loss_backend": "tiled",
|
| 72 |
+
"vocab_tile_size": 2048
|
| 73 |
+
},
|
| 74 |
+
"logging": {
|
| 75 |
+
"diagnostics_every": 10,
|
| 76 |
+
"log_every": 10
|
| 77 |
+
},
|
| 78 |
+
"model": {
|
| 79 |
+
"d_model": 384,
|
| 80 |
+
"heads": 6,
|
| 81 |
+
"layers": 12,
|
| 82 |
+
"mlp_activation": "gelu",
|
| 83 |
+
"mlp_mult": 4,
|
| 84 |
+
"normalization": "rms_norm",
|
| 85 |
+
"parameterization": "complete_d_p",
|
| 86 |
+
"position_encoding": "rope_base_10000",
|
| 87 |
+
"semantic_vocab_size": 50304,
|
| 88 |
+
"tied_embeddings": false,
|
| 89 |
+
"tier": "60m",
|
| 90 |
+
"vocab_size": 50304
|
| 91 |
+
},
|
| 92 |
+
"optimizer": {
|
| 93 |
+
"adam_epsilon": 1e-08,
|
| 94 |
+
"beta1": 0.9,
|
| 95 |
+
"beta2": 0.95,
|
| 96 |
+
"effective": {
|
| 97 |
+
"adam_epsilon_horizon_multiplier": 0.5,
|
| 98 |
+
"beta1": 0.6000000000000001,
|
| 99 |
+
"beta2": 0.7999999999999998,
|
| 100 |
+
"global_peak_learning_rate": 0.03125,
|
| 101 |
+
"weight_decay_horizon_multiplier": 2.0
|
| 102 |
+
},
|
| 103 |
+
"grad_clip": 0.0,
|
| 104 |
+
"learning_rate": 0.015625,
|
| 105 |
+
"min_lr_ratio": 0.1,
|
| 106 |
+
"warmup_steps": 57,
|
| 107 |
+
"weight_decay": 0.1
|
| 108 |
+
},
|
| 109 |
+
"parameterization": {
|
| 110 |
+
"attention_scale": "inverse_head_dim",
|
| 111 |
+
"base_depth": 12,
|
| 112 |
+
"base_width": 384,
|
| 113 |
+
"batch_multiplier": 4.0,
|
| 114 |
+
"data_multiplier": 1.0,
|
| 115 |
+
"depth_alpha": 1.0,
|
| 116 |
+
"depth_multiplier": 1.0,
|
| 117 |
+
"embeddings": "untied",
|
| 118 |
+
"init_std": 0.02,
|
| 119 |
+
"name": "complete_d_p",
|
| 120 |
+
"width_multiplier": 1.0
|
| 121 |
+
},
|
| 122 |
+
"training": {
|
| 123 |
+
"batch_size": 512,
|
| 124 |
+
"dtype": "bfloat16",
|
| 125 |
+
"sampling": "shuffled_epochs",
|
| 126 |
+
"seq_len": 1024,
|
| 127 |
+
"steps": 571,
|
| 128 |
+
"tokens_per_parameter": 4.996285069139584,
|
| 129 |
+
"train_tokens": 299368448
|
| 130 |
+
}
|
| 131 |
+
},
|
| 132 |
+
"schema_version": 2,
|
| 133 |
+
"sha256": "64473be07689abbf926027ef96fa7b679206510e29bae19403d94890c4fa1a7c"
|
| 134 |
+
},
|
| 135 |
+
"loss_backend": "tiled",
|
| 136 |
+
"vocab_tile_size": 2048
|
| 137 |
+
},
|
| 138 |
+
"metrics": {
|
| 139 |
+
"achieved_tflops": 1383.864309241445,
|
| 140 |
+
"attention_tune_seconds": 0.0,
|
| 141 |
+
"base_learning_rate": 0.015625,
|
| 142 |
+
"diagnostic_compile_seconds": 55.9644927130139,
|
| 143 |
+
"diagnostic_point_count": 59,
|
| 144 |
+
"diagnostics_every": 10,
|
| 145 |
+
"estimated_total_flops": 102178120362098688,
|
| 146 |
+
"eval_compile_seconds": 9.425732080009766,
|
| 147 |
+
"final_validation_seconds": 0.41062728301039897,
|
| 148 |
+
"flop_accounting": {
|
| 149 |
+
"by_site": {
|
| 150 |
+
"dot_general": 291521691648,
|
| 151 |
+
"tpu_flash_causal_attention_bwd_dkv": 19327352832,
|
| 152 |
+
"tpu_flash_causal_attention_bwd_dq": 19327352832,
|
| 153 |
+
"tpu_flash_causal_attention_fwd": 19327352832
|
| 154 |
+
},
|
| 155 |
+
"elementwise_per_sequence": 1149350130,
|
| 156 |
+
"matmul_per_sequence": 349503750144,
|
| 157 |
+
"method": "traced-jaxpr",
|
| 158 |
+
"warnings": []
|
| 159 |
+
},
|
| 160 |
+
"flops_per_token": 341312256,
|
| 161 |
+
"mfu_estimate": 0.31451461573669204,
|
| 162 |
+
"model_tier": "60m",
|
| 163 |
+
"parameter_count": 59918208,
|
| 164 |
+
"parameters": 59918208,
|
| 165 |
+
"tokens_per_parameter": 4.996285069139584,
|
| 166 |
+
"tokens_per_second": 4054540.3363465653,
|
| 167 |
+
"tokens_processed": 299368448,
|
| 168 |
+
"total_compile_seconds": 93.20995718400809,
|
| 169 |
+
"train_compile_seconds": 27.819732390984427,
|
| 170 |
+
"train_loss": 5.450981616973877,
|
| 171 |
+
"train_seconds": 73.83536064898362,
|
| 172 |
+
"training_data_epochs": 0.037894837263947954,
|
| 173 |
+
"training_data_sharding": "rank_disjoint_shuffled_windows",
|
| 174 |
+
"training_sampling": "shuffled_epochs",
|
| 175 |
+
"training_steps": 571,
|
| 176 |
+
"training_token_budget": 299368448,
|
| 177 |
+
"training_usable_tokens_per_epoch": 7899979776,
|
| 178 |
+
"validation_loss": 5.460958361625671,
|
| 179 |
+
"validation_probe_count": 0,
|
| 180 |
+
"validation_probe_seconds": 0.0,
|
| 181 |
+
"validation_tokens": 4194304
|
| 182 |
+
},
|
| 183 |
+
"profile": "dev",
|
| 184 |
+
"schema_version": 1,
|
| 185 |
+
"seed": 1339,
|
| 186 |
+
"status": "ok",
|
| 187 |
+
"system": {
|
| 188 |
+
"controller_process_index": 1,
|
| 189 |
+
"device_count": 16,
|
| 190 |
+
"device_ids": [
|
| 191 |
+
0,
|
| 192 |
+
1,
|
| 193 |
+
2,
|
| 194 |
+
3,
|
| 195 |
+
4,
|
| 196 |
+
5,
|
| 197 |
+
6,
|
| 198 |
+
7,
|
| 199 |
+
8,
|
| 200 |
+
9,
|
| 201 |
+
10,
|
| 202 |
+
11,
|
| 203 |
+
12,
|
| 204 |
+
13,
|
| 205 |
+
14,
|
| 206 |
+
15
|
| 207 |
+
],
|
| 208 |
+
"device_kinds": [
|
| 209 |
+
"TPU v4"
|
| 210 |
+
],
|
| 211 |
+
"jax_version": "0.11.0",
|
| 212 |
+
"jaxlib_version": "0.11.0",
|
| 213 |
+
"libtpu_version": "0.0.44.1",
|
| 214 |
+
"local_device_count": 4,
|
| 215 |
+
"platform": "tpu",
|
| 216 |
+
"process_count": 4,
|
| 217 |
+
"process_indices": [
|
| 218 |
+
0,
|
| 219 |
+
0,
|
| 220 |
+
0,
|
| 221 |
+
0,
|
| 222 |
+
1,
|
| 223 |
+
1,
|
| 224 |
+
1,
|
| 225 |
+
1,
|
| 226 |
+
2,
|
| 227 |
+
2,
|
| 228 |
+
2,
|
| 229 |
+
2,
|
| 230 |
+
3,
|
| 231 |
+
3,
|
| 232 |
+
3,
|
| 233 |
+
3
|
| 234 |
+
],
|
| 235 |
+
"python_version": "3.12.13"
|
| 236 |
+
},
|
| 237 |
+
"track": "open"
|
| 238 |
+
}
|
batch-sweep-60M/60m-5tpp-bs512-lr2e-6-s1339/result.json
ADDED
|
@@ -0,0 +1,238 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 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": 1024,
|
| 26 |
+
"tokenizer_id": "gpt2"
|
| 27 |
+
},
|
| 28 |
+
"evaluations": {
|
| 29 |
+
"fineweb": {
|
| 30 |
+
"canonical": true,
|
| 31 |
+
"loss": 5.460958361625671,
|
| 32 |
+
"perplexity": 235.3228407129802,
|
| 33 |
+
"scored_tokens": 4194304,
|
| 34 |
+
"seconds": 0.41062728301039897
|
| 35 |
+
}
|
| 36 |
+
},
|
| 37 |
+
"implementation": {
|
| 38 |
+
"attention_backend": "tpu_flash",
|
| 39 |
+
"attention_tuning": {
|
| 40 |
+
"key_digest": "95bc05cbf51b0f72ad8508ff3fd06150efd4c9fb645177f2678c63050ddcb857",
|
| 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 |
+
"study_batch_size": 512,
|
| 59 |
+
"tokens_per_parameter_micros": 5000000
|
| 60 |
+
},
|
| 61 |
+
"path": "config.yaml",
|
| 62 |
+
"profile": "dev",
|
| 63 |
+
"resolved": {
|
| 64 |
+
"evaluation": {
|
| 65 |
+
"eval_batches": 8,
|
| 66 |
+
"val_every": 0,
|
| 67 |
+
"val_probe_batches": 8
|
| 68 |
+
},
|
| 69 |
+
"kernels": {
|
| 70 |
+
"attention_backend": "tpu_flash",
|
| 71 |
+
"loss_backend": "tiled",
|
| 72 |
+
"vocab_tile_size": 2048
|
| 73 |
+
},
|
| 74 |
+
"logging": {
|
| 75 |
+
"diagnostics_every": 10,
|
| 76 |
+
"log_every": 10
|
| 77 |
+
},
|
| 78 |
+
"model": {
|
| 79 |
+
"d_model": 384,
|
| 80 |
+
"heads": 6,
|
| 81 |
+
"layers": 12,
|
| 82 |
+
"mlp_activation": "gelu",
|
| 83 |
+
"mlp_mult": 4,
|
| 84 |
+
"normalization": "rms_norm",
|
| 85 |
+
"parameterization": "complete_d_p",
|
| 86 |
+
"position_encoding": "rope_base_10000",
|
| 87 |
+
"semantic_vocab_size": 50304,
|
| 88 |
+
"tied_embeddings": false,
|
| 89 |
+
"tier": "60m",
|
| 90 |
+
"vocab_size": 50304
|
| 91 |
+
},
|
| 92 |
+
"optimizer": {
|
| 93 |
+
"adam_epsilon": 1e-08,
|
| 94 |
+
"beta1": 0.9,
|
| 95 |
+
"beta2": 0.95,
|
| 96 |
+
"effective": {
|
| 97 |
+
"adam_epsilon_horizon_multiplier": 0.5,
|
| 98 |
+
"beta1": 0.6000000000000001,
|
| 99 |
+
"beta2": 0.7999999999999998,
|
| 100 |
+
"global_peak_learning_rate": 0.03125,
|
| 101 |
+
"weight_decay_horizon_multiplier": 2.0
|
| 102 |
+
},
|
| 103 |
+
"grad_clip": 0.0,
|
| 104 |
+
"learning_rate": 0.015625,
|
| 105 |
+
"min_lr_ratio": 0.1,
|
| 106 |
+
"warmup_steps": 57,
|
| 107 |
+
"weight_decay": 0.1
|
| 108 |
+
},
|
| 109 |
+
"parameterization": {
|
| 110 |
+
"attention_scale": "inverse_head_dim",
|
| 111 |
+
"base_depth": 12,
|
| 112 |
+
"base_width": 384,
|
| 113 |
+
"batch_multiplier": 4.0,
|
| 114 |
+
"data_multiplier": 1.0,
|
| 115 |
+
"depth_alpha": 1.0,
|
| 116 |
+
"depth_multiplier": 1.0,
|
| 117 |
+
"embeddings": "untied",
|
| 118 |
+
"init_std": 0.02,
|
| 119 |
+
"name": "complete_d_p",
|
| 120 |
+
"width_multiplier": 1.0
|
| 121 |
+
},
|
| 122 |
+
"training": {
|
| 123 |
+
"batch_size": 512,
|
| 124 |
+
"dtype": "bfloat16",
|
| 125 |
+
"sampling": "shuffled_epochs",
|
| 126 |
+
"seq_len": 1024,
|
| 127 |
+
"steps": 571,
|
| 128 |
+
"tokens_per_parameter": 4.996285069139584,
|
| 129 |
+
"train_tokens": 299368448
|
| 130 |
+
}
|
| 131 |
+
},
|
| 132 |
+
"schema_version": 2,
|
| 133 |
+
"sha256": "64473be07689abbf926027ef96fa7b679206510e29bae19403d94890c4fa1a7c"
|
| 134 |
+
},
|
| 135 |
+
"loss_backend": "tiled",
|
| 136 |
+
"vocab_tile_size": 2048
|
| 137 |
+
},
|
| 138 |
+
"metrics": {
|
| 139 |
+
"achieved_tflops": 1383.864309241445,
|
| 140 |
+
"attention_tune_seconds": 0.0,
|
| 141 |
+
"base_learning_rate": 0.015625,
|
| 142 |
+
"diagnostic_compile_seconds": 55.9644927130139,
|
| 143 |
+
"diagnostic_point_count": 59,
|
| 144 |
+
"diagnostics_every": 10,
|
| 145 |
+
"estimated_total_flops": 102178120362098688,
|
| 146 |
+
"eval_compile_seconds": 9.425732080009766,
|
| 147 |
+
"final_validation_seconds": 0.41062728301039897,
|
| 148 |
+
"flop_accounting": {
|
| 149 |
+
"by_site": {
|
| 150 |
+
"dot_general": 291521691648,
|
| 151 |
+
"tpu_flash_causal_attention_bwd_dkv": 19327352832,
|
| 152 |
+
"tpu_flash_causal_attention_bwd_dq": 19327352832,
|
| 153 |
+
"tpu_flash_causal_attention_fwd": 19327352832
|
| 154 |
+
},
|
| 155 |
+
"elementwise_per_sequence": 1149350130,
|
| 156 |
+
"matmul_per_sequence": 349503750144,
|
| 157 |
+
"method": "traced-jaxpr",
|
| 158 |
+
"warnings": []
|
| 159 |
+
},
|
| 160 |
+
"flops_per_token": 341312256,
|
| 161 |
+
"mfu_estimate": 0.31451461573669204,
|
| 162 |
+
"model_tier": "60m",
|
| 163 |
+
"parameter_count": 59918208,
|
| 164 |
+
"parameters": 59918208,
|
| 165 |
+
"tokens_per_parameter": 4.996285069139584,
|
| 166 |
+
"tokens_per_second": 4054540.3363465653,
|
| 167 |
+
"tokens_processed": 299368448,
|
| 168 |
+
"total_compile_seconds": 93.20995718400809,
|
| 169 |
+
"train_compile_seconds": 27.819732390984427,
|
| 170 |
+
"train_loss": 5.450981616973877,
|
| 171 |
+
"train_seconds": 73.83536064898362,
|
| 172 |
+
"training_data_epochs": 0.037894837263947954,
|
| 173 |
+
"training_data_sharding": "rank_disjoint_shuffled_windows",
|
| 174 |
+
"training_sampling": "shuffled_epochs",
|
| 175 |
+
"training_steps": 571,
|
| 176 |
+
"training_token_budget": 299368448,
|
| 177 |
+
"training_usable_tokens_per_epoch": 7899979776,
|
| 178 |
+
"validation_loss": 5.460958361625671,
|
| 179 |
+
"validation_probe_count": 0,
|
| 180 |
+
"validation_probe_seconds": 0.0,
|
| 181 |
+
"validation_tokens": 4194304
|
| 182 |
+
},
|
| 183 |
+
"profile": "dev",
|
| 184 |
+
"schema_version": 1,
|
| 185 |
+
"seed": 1339,
|
| 186 |
+
"status": "ok",
|
| 187 |
+
"system": {
|
| 188 |
+
"controller_process_index": 1,
|
| 189 |
+
"device_count": 16,
|
| 190 |
+
"device_ids": [
|
| 191 |
+
0,
|
| 192 |
+
1,
|
| 193 |
+
2,
|
| 194 |
+
3,
|
| 195 |
+
4,
|
| 196 |
+
5,
|
| 197 |
+
6,
|
| 198 |
+
7,
|
| 199 |
+
8,
|
| 200 |
+
9,
|
| 201 |
+
10,
|
| 202 |
+
11,
|
| 203 |
+
12,
|
| 204 |
+
13,
|
| 205 |
+
14,
|
| 206 |
+
15
|
| 207 |
+
],
|
| 208 |
+
"device_kinds": [
|
| 209 |
+
"TPU v4"
|
| 210 |
+
],
|
| 211 |
+
"jax_version": "0.11.0",
|
| 212 |
+
"jaxlib_version": "0.11.0",
|
| 213 |
+
"libtpu_version": "0.0.44.1",
|
| 214 |
+
"local_device_count": 4,
|
| 215 |
+
"platform": "tpu",
|
| 216 |
+
"process_count": 4,
|
| 217 |
+
"process_indices": [
|
| 218 |
+
0,
|
| 219 |
+
0,
|
| 220 |
+
0,
|
| 221 |
+
0,
|
| 222 |
+
1,
|
| 223 |
+
1,
|
| 224 |
+
1,
|
| 225 |
+
1,
|
| 226 |
+
2,
|
| 227 |
+
2,
|
| 228 |
+
2,
|
| 229 |
+
2,
|
| 230 |
+
3,
|
| 231 |
+
3,
|
| 232 |
+
3,
|
| 233 |
+
3
|
| 234 |
+
],
|
| 235 |
+
"python_version": "3.12.13"
|
| 236 |
+
},
|
| 237 |
+
"track": "open"
|
| 238 |
+
}
|
batch-sweep-60M/60m-5tpp-bs512-lr2e-6-s1339/training.riglog
ADDED
|
Binary file (9.24 kB). View file
|
|
|
batch-sweep-60M/60m-5tpp-bs512-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 |
+
571,299368448,fineweb,fineweb,4194304,5.460958361625671,235.3228407129802,0.41062728301039897,true
|
batch-sweep-60M/60m-5tpp-bs512-lr2e-7-s1337/diagnostics.riglog
ADDED
|
Binary file (75.1 kB). View file
|
|
|
batch-sweep-60M/60m-5tpp-bs512-lr2e-7-s1337/metrics.json
ADDED
|
@@ -0,0 +1,238 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"artifacts": {
|
| 3 |
+
"diagnostics": "diagnostics.csv",
|
| 4 |
+
"training_curve": "training.csv",
|
| 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": 1024,
|
| 26 |
+
"tokenizer_id": "gpt2"
|
| 27 |
+
},
|
| 28 |
+
"evaluations": {
|
| 29 |
+
"fineweb": {
|
| 30 |
+
"canonical": true,
|
| 31 |
+
"loss": 5.322399616241455,
|
| 32 |
+
"perplexity": 204.87491378400054,
|
| 33 |
+
"scored_tokens": 4194304,
|
| 34 |
+
"seconds": 0.42063087900169194
|
| 35 |
+
}
|
| 36 |
+
},
|
| 37 |
+
"implementation": {
|
| 38 |
+
"attention_backend": "tpu_flash",
|
| 39 |
+
"attention_tuning": {
|
| 40 |
+
"key_digest": "95bc05cbf51b0f72ad8508ff3fd06150efd4c9fb645177f2678c63050ddcb857",
|
| 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 |
+
"study_batch_size": 512,
|
| 59 |
+
"tokens_per_parameter_micros": 5000000
|
| 60 |
+
},
|
| 61 |
+
"path": "config.yaml",
|
| 62 |
+
"profile": "dev",
|
| 63 |
+
"resolved": {
|
| 64 |
+
"evaluation": {
|
| 65 |
+
"eval_batches": 8,
|
| 66 |
+
"val_every": 0,
|
| 67 |
+
"val_probe_batches": 8
|
| 68 |
+
},
|
| 69 |
+
"kernels": {
|
| 70 |
+
"attention_backend": "tpu_flash",
|
| 71 |
+
"loss_backend": "tiled",
|
| 72 |
+
"vocab_tile_size": 2048
|
| 73 |
+
},
|
| 74 |
+
"logging": {
|
| 75 |
+
"diagnostics_every": 10,
|
| 76 |
+
"log_every": 10
|
| 77 |
+
},
|
| 78 |
+
"model": {
|
| 79 |
+
"d_model": 384,
|
| 80 |
+
"heads": 6,
|
| 81 |
+
"layers": 12,
|
| 82 |
+
"mlp_activation": "gelu",
|
| 83 |
+
"mlp_mult": 4,
|
| 84 |
+
"normalization": "rms_norm",
|
| 85 |
+
"parameterization": "complete_d_p",
|
| 86 |
+
"position_encoding": "rope_base_10000",
|
| 87 |
+
"semantic_vocab_size": 50304,
|
| 88 |
+
"tied_embeddings": false,
|
| 89 |
+
"tier": "60m",
|
| 90 |
+
"vocab_size": 50304
|
| 91 |
+
},
|
| 92 |
+
"optimizer": {
|
| 93 |
+
"adam_epsilon": 1e-08,
|
| 94 |
+
"beta1": 0.9,
|
| 95 |
+
"beta2": 0.95,
|
| 96 |
+
"effective": {
|
| 97 |
+
"adam_epsilon_horizon_multiplier": 0.5,
|
| 98 |
+
"beta1": 0.6000000000000001,
|
| 99 |
+
"beta2": 0.7999999999999998,
|
| 100 |
+
"global_peak_learning_rate": 0.015625,
|
| 101 |
+
"weight_decay_horizon_multiplier": 2.0
|
| 102 |
+
},
|
| 103 |
+
"grad_clip": 0.0,
|
| 104 |
+
"learning_rate": 0.0078125,
|
| 105 |
+
"min_lr_ratio": 0.1,
|
| 106 |
+
"warmup_steps": 57,
|
| 107 |
+
"weight_decay": 0.1
|
| 108 |
+
},
|
| 109 |
+
"parameterization": {
|
| 110 |
+
"attention_scale": "inverse_head_dim",
|
| 111 |
+
"base_depth": 12,
|
| 112 |
+
"base_width": 384,
|
| 113 |
+
"batch_multiplier": 4.0,
|
| 114 |
+
"data_multiplier": 1.0,
|
| 115 |
+
"depth_alpha": 1.0,
|
| 116 |
+
"depth_multiplier": 1.0,
|
| 117 |
+
"embeddings": "untied",
|
| 118 |
+
"init_std": 0.02,
|
| 119 |
+
"name": "complete_d_p",
|
| 120 |
+
"width_multiplier": 1.0
|
| 121 |
+
},
|
| 122 |
+
"training": {
|
| 123 |
+
"batch_size": 512,
|
| 124 |
+
"dtype": "bfloat16",
|
| 125 |
+
"sampling": "shuffled_epochs",
|
| 126 |
+
"seq_len": 1024,
|
| 127 |
+
"steps": 571,
|
| 128 |
+
"tokens_per_parameter": 4.996285069139584,
|
| 129 |
+
"train_tokens": 299368448
|
| 130 |
+
}
|
| 131 |
+
},
|
| 132 |
+
"schema_version": 2,
|
| 133 |
+
"sha256": "64473be07689abbf926027ef96fa7b679206510e29bae19403d94890c4fa1a7c"
|
| 134 |
+
},
|
| 135 |
+
"loss_backend": "tiled",
|
| 136 |
+
"vocab_tile_size": 2048
|
| 137 |
+
},
|
| 138 |
+
"metrics": {
|
| 139 |
+
"achieved_tflops": 1382.2561720529945,
|
| 140 |
+
"attention_tune_seconds": 0.0,
|
| 141 |
+
"base_learning_rate": 0.0078125,
|
| 142 |
+
"diagnostic_compile_seconds": 56.02680520899594,
|
| 143 |
+
"diagnostic_point_count": 59,
|
| 144 |
+
"diagnostics_every": 10,
|
| 145 |
+
"estimated_total_flops": 102178120362098688,
|
| 146 |
+
"eval_compile_seconds": 9.010083241009852,
|
| 147 |
+
"final_validation_seconds": 0.42063087900169194,
|
| 148 |
+
"flop_accounting": {
|
| 149 |
+
"by_site": {
|
| 150 |
+
"dot_general": 291521691648,
|
| 151 |
+
"tpu_flash_causal_attention_bwd_dkv": 19327352832,
|
| 152 |
+
"tpu_flash_causal_attention_bwd_dq": 19327352832,
|
| 153 |
+
"tpu_flash_causal_attention_fwd": 19327352832
|
| 154 |
+
},
|
| 155 |
+
"elementwise_per_sequence": 1149350130,
|
| 156 |
+
"matmul_per_sequence": 349503750144,
|
| 157 |
+
"method": "traced-jaxpr",
|
| 158 |
+
"warnings": []
|
| 159 |
+
},
|
| 160 |
+
"flops_per_token": 341312256,
|
| 161 |
+
"mfu_estimate": 0.3141491300120442,
|
| 162 |
+
"model_tier": "60m",
|
| 163 |
+
"parameter_count": 59918208,
|
| 164 |
+
"parameters": 59918208,
|
| 165 |
+
"tokens_per_parameter": 4.996285069139584,
|
| 166 |
+
"tokens_per_second": 4049828.7059841016,
|
| 167 |
+
"tokens_processed": 299368448,
|
| 168 |
+
"total_compile_seconds": 92.69887297399691,
|
| 169 |
+
"train_compile_seconds": 27.661984523991123,
|
| 170 |
+
"train_loss": 5.302313804626465,
|
| 171 |
+
"train_seconds": 73.92126179501065,
|
| 172 |
+
"training_data_epochs": 0.037894837263947954,
|
| 173 |
+
"training_data_sharding": "rank_disjoint_shuffled_windows",
|
| 174 |
+
"training_sampling": "shuffled_epochs",
|
| 175 |
+
"training_steps": 571,
|
| 176 |
+
"training_token_budget": 299368448,
|
| 177 |
+
"training_usable_tokens_per_epoch": 7899979776,
|
| 178 |
+
"validation_loss": 5.322399616241455,
|
| 179 |
+
"validation_probe_count": 0,
|
| 180 |
+
"validation_probe_seconds": 0.0,
|
| 181 |
+
"validation_tokens": 4194304
|
| 182 |
+
},
|
| 183 |
+
"profile": "dev",
|
| 184 |
+
"schema_version": 1,
|
| 185 |
+
"seed": 1337,
|
| 186 |
+
"status": "ok",
|
| 187 |
+
"system": {
|
| 188 |
+
"controller_process_index": 1,
|
| 189 |
+
"device_count": 16,
|
| 190 |
+
"device_ids": [
|
| 191 |
+
0,
|
| 192 |
+
1,
|
| 193 |
+
2,
|
| 194 |
+
3,
|
| 195 |
+
4,
|
| 196 |
+
5,
|
| 197 |
+
6,
|
| 198 |
+
7,
|
| 199 |
+
8,
|
| 200 |
+
9,
|
| 201 |
+
10,
|
| 202 |
+
11,
|
| 203 |
+
12,
|
| 204 |
+
13,
|
| 205 |
+
14,
|
| 206 |
+
15
|
| 207 |
+
],
|
| 208 |
+
"device_kinds": [
|
| 209 |
+
"TPU v4"
|
| 210 |
+
],
|
| 211 |
+
"jax_version": "0.11.0",
|
| 212 |
+
"jaxlib_version": "0.11.0",
|
| 213 |
+
"libtpu_version": "0.0.44.1",
|
| 214 |
+
"local_device_count": 4,
|
| 215 |
+
"platform": "tpu",
|
| 216 |
+
"process_count": 4,
|
| 217 |
+
"process_indices": [
|
| 218 |
+
0,
|
| 219 |
+
0,
|
| 220 |
+
0,
|
| 221 |
+
0,
|
| 222 |
+
1,
|
| 223 |
+
1,
|
| 224 |
+
1,
|
| 225 |
+
1,
|
| 226 |
+
2,
|
| 227 |
+
2,
|
| 228 |
+
2,
|
| 229 |
+
2,
|
| 230 |
+
3,
|
| 231 |
+
3,
|
| 232 |
+
3,
|
| 233 |
+
3
|
| 234 |
+
],
|
| 235 |
+
"python_version": "3.12.13"
|
| 236 |
+
},
|
| 237 |
+
"track": "open"
|
| 238 |
+
}
|
batch-sweep-60M/60m-5tpp-bs512-lr2e-7-s1337/result.json
ADDED
|
@@ -0,0 +1,238 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 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": 1024,
|
| 26 |
+
"tokenizer_id": "gpt2"
|
| 27 |
+
},
|
| 28 |
+
"evaluations": {
|
| 29 |
+
"fineweb": {
|
| 30 |
+
"canonical": true,
|
| 31 |
+
"loss": 5.322399616241455,
|
| 32 |
+
"perplexity": 204.87491378400054,
|
| 33 |
+
"scored_tokens": 4194304,
|
| 34 |
+
"seconds": 0.42063087900169194
|
| 35 |
+
}
|
| 36 |
+
},
|
| 37 |
+
"implementation": {
|
| 38 |
+
"attention_backend": "tpu_flash",
|
| 39 |
+
"attention_tuning": {
|
| 40 |
+
"key_digest": "95bc05cbf51b0f72ad8508ff3fd06150efd4c9fb645177f2678c63050ddcb857",
|
| 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 |
+
"study_batch_size": 512,
|
| 59 |
+
"tokens_per_parameter_micros": 5000000
|
| 60 |
+
},
|
| 61 |
+
"path": "config.yaml",
|
| 62 |
+
"profile": "dev",
|
| 63 |
+
"resolved": {
|
| 64 |
+
"evaluation": {
|
| 65 |
+
"eval_batches": 8,
|
| 66 |
+
"val_every": 0,
|
| 67 |
+
"val_probe_batches": 8
|
| 68 |
+
},
|
| 69 |
+
"kernels": {
|
| 70 |
+
"attention_backend": "tpu_flash",
|
| 71 |
+
"loss_backend": "tiled",
|
| 72 |
+
"vocab_tile_size": 2048
|
| 73 |
+
},
|
| 74 |
+
"logging": {
|
| 75 |
+
"diagnostics_every": 10,
|
| 76 |
+
"log_every": 10
|
| 77 |
+
},
|
| 78 |
+
"model": {
|
| 79 |
+
"d_model": 384,
|
| 80 |
+
"heads": 6,
|
| 81 |
+
"layers": 12,
|
| 82 |
+
"mlp_activation": "gelu",
|
| 83 |
+
"mlp_mult": 4,
|
| 84 |
+
"normalization": "rms_norm",
|
| 85 |
+
"parameterization": "complete_d_p",
|
| 86 |
+
"position_encoding": "rope_base_10000",
|
| 87 |
+
"semantic_vocab_size": 50304,
|
| 88 |
+
"tied_embeddings": false,
|
| 89 |
+
"tier": "60m",
|
| 90 |
+
"vocab_size": 50304
|
| 91 |
+
},
|
| 92 |
+
"optimizer": {
|
| 93 |
+
"adam_epsilon": 1e-08,
|
| 94 |
+
"beta1": 0.9,
|
| 95 |
+
"beta2": 0.95,
|
| 96 |
+
"effective": {
|
| 97 |
+
"adam_epsilon_horizon_multiplier": 0.5,
|
| 98 |
+
"beta1": 0.6000000000000001,
|
| 99 |
+
"beta2": 0.7999999999999998,
|
| 100 |
+
"global_peak_learning_rate": 0.015625,
|
| 101 |
+
"weight_decay_horizon_multiplier": 2.0
|
| 102 |
+
},
|
| 103 |
+
"grad_clip": 0.0,
|
| 104 |
+
"learning_rate": 0.0078125,
|
| 105 |
+
"min_lr_ratio": 0.1,
|
| 106 |
+
"warmup_steps": 57,
|
| 107 |
+
"weight_decay": 0.1
|
| 108 |
+
},
|
| 109 |
+
"parameterization": {
|
| 110 |
+
"attention_scale": "inverse_head_dim",
|
| 111 |
+
"base_depth": 12,
|
| 112 |
+
"base_width": 384,
|
| 113 |
+
"batch_multiplier": 4.0,
|
| 114 |
+
"data_multiplier": 1.0,
|
| 115 |
+
"depth_alpha": 1.0,
|
| 116 |
+
"depth_multiplier": 1.0,
|
| 117 |
+
"embeddings": "untied",
|
| 118 |
+
"init_std": 0.02,
|
| 119 |
+
"name": "complete_d_p",
|
| 120 |
+
"width_multiplier": 1.0
|
| 121 |
+
},
|
| 122 |
+
"training": {
|
| 123 |
+
"batch_size": 512,
|
| 124 |
+
"dtype": "bfloat16",
|
| 125 |
+
"sampling": "shuffled_epochs",
|
| 126 |
+
"seq_len": 1024,
|
| 127 |
+
"steps": 571,
|
| 128 |
+
"tokens_per_parameter": 4.996285069139584,
|
| 129 |
+
"train_tokens": 299368448
|
| 130 |
+
}
|
| 131 |
+
},
|
| 132 |
+
"schema_version": 2,
|
| 133 |
+
"sha256": "64473be07689abbf926027ef96fa7b679206510e29bae19403d94890c4fa1a7c"
|
| 134 |
+
},
|
| 135 |
+
"loss_backend": "tiled",
|
| 136 |
+
"vocab_tile_size": 2048
|
| 137 |
+
},
|
| 138 |
+
"metrics": {
|
| 139 |
+
"achieved_tflops": 1382.2561720529945,
|
| 140 |
+
"attention_tune_seconds": 0.0,
|
| 141 |
+
"base_learning_rate": 0.0078125,
|
| 142 |
+
"diagnostic_compile_seconds": 56.02680520899594,
|
| 143 |
+
"diagnostic_point_count": 59,
|
| 144 |
+
"diagnostics_every": 10,
|
| 145 |
+
"estimated_total_flops": 102178120362098688,
|
| 146 |
+
"eval_compile_seconds": 9.010083241009852,
|
| 147 |
+
"final_validation_seconds": 0.42063087900169194,
|
| 148 |
+
"flop_accounting": {
|
| 149 |
+
"by_site": {
|
| 150 |
+
"dot_general": 291521691648,
|
| 151 |
+
"tpu_flash_causal_attention_bwd_dkv": 19327352832,
|
| 152 |
+
"tpu_flash_causal_attention_bwd_dq": 19327352832,
|
| 153 |
+
"tpu_flash_causal_attention_fwd": 19327352832
|
| 154 |
+
},
|
| 155 |
+
"elementwise_per_sequence": 1149350130,
|
| 156 |
+
"matmul_per_sequence": 349503750144,
|
| 157 |
+
"method": "traced-jaxpr",
|
| 158 |
+
"warnings": []
|
| 159 |
+
},
|
| 160 |
+
"flops_per_token": 341312256,
|
| 161 |
+
"mfu_estimate": 0.3141491300120442,
|
| 162 |
+
"model_tier": "60m",
|
| 163 |
+
"parameter_count": 59918208,
|
| 164 |
+
"parameters": 59918208,
|
| 165 |
+
"tokens_per_parameter": 4.996285069139584,
|
| 166 |
+
"tokens_per_second": 4049828.7059841016,
|
| 167 |
+
"tokens_processed": 299368448,
|
| 168 |
+
"total_compile_seconds": 92.69887297399691,
|
| 169 |
+
"train_compile_seconds": 27.661984523991123,
|
| 170 |
+
"train_loss": 5.302313804626465,
|
| 171 |
+
"train_seconds": 73.92126179501065,
|
| 172 |
+
"training_data_epochs": 0.037894837263947954,
|
| 173 |
+
"training_data_sharding": "rank_disjoint_shuffled_windows",
|
| 174 |
+
"training_sampling": "shuffled_epochs",
|
| 175 |
+
"training_steps": 571,
|
| 176 |
+
"training_token_budget": 299368448,
|
| 177 |
+
"training_usable_tokens_per_epoch": 7899979776,
|
| 178 |
+
"validation_loss": 5.322399616241455,
|
| 179 |
+
"validation_probe_count": 0,
|
| 180 |
+
"validation_probe_seconds": 0.0,
|
| 181 |
+
"validation_tokens": 4194304
|
| 182 |
+
},
|
| 183 |
+
"profile": "dev",
|
| 184 |
+
"schema_version": 1,
|
| 185 |
+
"seed": 1337,
|
| 186 |
+
"status": "ok",
|
| 187 |
+
"system": {
|
| 188 |
+
"controller_process_index": 1,
|
| 189 |
+
"device_count": 16,
|
| 190 |
+
"device_ids": [
|
| 191 |
+
0,
|
| 192 |
+
1,
|
| 193 |
+
2,
|
| 194 |
+
3,
|
| 195 |
+
4,
|
| 196 |
+
5,
|
| 197 |
+
6,
|
| 198 |
+
7,
|
| 199 |
+
8,
|
| 200 |
+
9,
|
| 201 |
+
10,
|
| 202 |
+
11,
|
| 203 |
+
12,
|
| 204 |
+
13,
|
| 205 |
+
14,
|
| 206 |
+
15
|
| 207 |
+
],
|
| 208 |
+
"device_kinds": [
|
| 209 |
+
"TPU v4"
|
| 210 |
+
],
|
| 211 |
+
"jax_version": "0.11.0",
|
| 212 |
+
"jaxlib_version": "0.11.0",
|
| 213 |
+
"libtpu_version": "0.0.44.1",
|
| 214 |
+
"local_device_count": 4,
|
| 215 |
+
"platform": "tpu",
|
| 216 |
+
"process_count": 4,
|
| 217 |
+
"process_indices": [
|
| 218 |
+
0,
|
| 219 |
+
0,
|
| 220 |
+
0,
|
| 221 |
+
0,
|
| 222 |
+
1,
|
| 223 |
+
1,
|
| 224 |
+
1,
|
| 225 |
+
1,
|
| 226 |
+
2,
|
| 227 |
+
2,
|
| 228 |
+
2,
|
| 229 |
+
2,
|
| 230 |
+
3,
|
| 231 |
+
3,
|
| 232 |
+
3,
|
| 233 |
+
3
|
| 234 |
+
],
|
| 235 |
+
"python_version": "3.12.13"
|
| 236 |
+
},
|
| 237 |
+
"track": "open"
|
| 238 |
+
}
|
batch-sweep-60M/60m-5tpp-bs512-lr2e-7-s1337/training.riglog
ADDED
|
Binary file (9.24 kB). View file
|
|
|
batch-sweep-60M/60m-5tpp-bs512-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 |
+
571,299368448,fineweb,fineweb,4194304,5.322399616241455,204.87491378400054,0.42063087900169194,true
|
batch-sweep-60M/60m-5tpp-bs512-lr2e-7-s1338/diagnostics.riglog
ADDED
|
Binary file (75.1 kB). View file
|
|
|
batch-sweep-60M/60m-5tpp-bs512-lr2e-7-s1338/metrics.json
ADDED
|
@@ -0,0 +1,238 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"artifacts": {
|
| 3 |
+
"diagnostics": "diagnostics.csv",
|
| 4 |
+
"training_curve": "training.csv",
|
| 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": 1024,
|
| 26 |
+
"tokenizer_id": "gpt2"
|
| 27 |
+
},
|
| 28 |
+
"evaluations": {
|
| 29 |
+
"fineweb": {
|
| 30 |
+
"canonical": true,
|
| 31 |
+
"loss": 5.34379643201828,
|
| 32 |
+
"perplexity": 209.30581915802543,
|
| 33 |
+
"scored_tokens": 4194304,
|
| 34 |
+
"seconds": 0.43600330100161955
|
| 35 |
+
}
|
| 36 |
+
},
|
| 37 |
+
"implementation": {
|
| 38 |
+
"attention_backend": "tpu_flash",
|
| 39 |
+
"attention_tuning": {
|
| 40 |
+
"key_digest": "95bc05cbf51b0f72ad8508ff3fd06150efd4c9fb645177f2678c63050ddcb857",
|
| 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 |
+
"study_batch_size": 512,
|
| 59 |
+
"tokens_per_parameter_micros": 5000000
|
| 60 |
+
},
|
| 61 |
+
"path": "config.yaml",
|
| 62 |
+
"profile": "dev",
|
| 63 |
+
"resolved": {
|
| 64 |
+
"evaluation": {
|
| 65 |
+
"eval_batches": 8,
|
| 66 |
+
"val_every": 0,
|
| 67 |
+
"val_probe_batches": 8
|
| 68 |
+
},
|
| 69 |
+
"kernels": {
|
| 70 |
+
"attention_backend": "tpu_flash",
|
| 71 |
+
"loss_backend": "tiled",
|
| 72 |
+
"vocab_tile_size": 2048
|
| 73 |
+
},
|
| 74 |
+
"logging": {
|
| 75 |
+
"diagnostics_every": 10,
|
| 76 |
+
"log_every": 10
|
| 77 |
+
},
|
| 78 |
+
"model": {
|
| 79 |
+
"d_model": 384,
|
| 80 |
+
"heads": 6,
|
| 81 |
+
"layers": 12,
|
| 82 |
+
"mlp_activation": "gelu",
|
| 83 |
+
"mlp_mult": 4,
|
| 84 |
+
"normalization": "rms_norm",
|
| 85 |
+
"parameterization": "complete_d_p",
|
| 86 |
+
"position_encoding": "rope_base_10000",
|
| 87 |
+
"semantic_vocab_size": 50304,
|
| 88 |
+
"tied_embeddings": false,
|
| 89 |
+
"tier": "60m",
|
| 90 |
+
"vocab_size": 50304
|
| 91 |
+
},
|
| 92 |
+
"optimizer": {
|
| 93 |
+
"adam_epsilon": 1e-08,
|
| 94 |
+
"beta1": 0.9,
|
| 95 |
+
"beta2": 0.95,
|
| 96 |
+
"effective": {
|
| 97 |
+
"adam_epsilon_horizon_multiplier": 0.5,
|
| 98 |
+
"beta1": 0.6000000000000001,
|
| 99 |
+
"beta2": 0.7999999999999998,
|
| 100 |
+
"global_peak_learning_rate": 0.015625,
|
| 101 |
+
"weight_decay_horizon_multiplier": 2.0
|
| 102 |
+
},
|
| 103 |
+
"grad_clip": 0.0,
|
| 104 |
+
"learning_rate": 0.0078125,
|
| 105 |
+
"min_lr_ratio": 0.1,
|
| 106 |
+
"warmup_steps": 57,
|
| 107 |
+
"weight_decay": 0.1
|
| 108 |
+
},
|
| 109 |
+
"parameterization": {
|
| 110 |
+
"attention_scale": "inverse_head_dim",
|
| 111 |
+
"base_depth": 12,
|
| 112 |
+
"base_width": 384,
|
| 113 |
+
"batch_multiplier": 4.0,
|
| 114 |
+
"data_multiplier": 1.0,
|
| 115 |
+
"depth_alpha": 1.0,
|
| 116 |
+
"depth_multiplier": 1.0,
|
| 117 |
+
"embeddings": "untied",
|
| 118 |
+
"init_std": 0.02,
|
| 119 |
+
"name": "complete_d_p",
|
| 120 |
+
"width_multiplier": 1.0
|
| 121 |
+
},
|
| 122 |
+
"training": {
|
| 123 |
+
"batch_size": 512,
|
| 124 |
+
"dtype": "bfloat16",
|
| 125 |
+
"sampling": "shuffled_epochs",
|
| 126 |
+
"seq_len": 1024,
|
| 127 |
+
"steps": 571,
|
| 128 |
+
"tokens_per_parameter": 4.996285069139584,
|
| 129 |
+
"train_tokens": 299368448
|
| 130 |
+
}
|
| 131 |
+
},
|
| 132 |
+
"schema_version": 2,
|
| 133 |
+
"sha256": "64473be07689abbf926027ef96fa7b679206510e29bae19403d94890c4fa1a7c"
|
| 134 |
+
},
|
| 135 |
+
"loss_backend": "tiled",
|
| 136 |
+
"vocab_tile_size": 2048
|
| 137 |
+
},
|
| 138 |
+
"metrics": {
|
| 139 |
+
"achieved_tflops": 1363.4246614226945,
|
| 140 |
+
"attention_tune_seconds": 0.0,
|
| 141 |
+
"base_learning_rate": 0.0078125,
|
| 142 |
+
"diagnostic_compile_seconds": 60.228304310003296,
|
| 143 |
+
"diagnostic_point_count": 59,
|
| 144 |
+
"diagnostics_every": 10,
|
| 145 |
+
"estimated_total_flops": 102178120362098688,
|
| 146 |
+
"eval_compile_seconds": 9.48511767500895,
|
| 147 |
+
"final_validation_seconds": 0.43600330100161955,
|
| 148 |
+
"flop_accounting": {
|
| 149 |
+
"by_site": {
|
| 150 |
+
"dot_general": 291521691648,
|
| 151 |
+
"tpu_flash_causal_attention_bwd_dkv": 19327352832,
|
| 152 |
+
"tpu_flash_causal_attention_bwd_dq": 19327352832,
|
| 153 |
+
"tpu_flash_causal_attention_fwd": 19327352832
|
| 154 |
+
},
|
| 155 |
+
"elementwise_per_sequence": 1149350130,
|
| 156 |
+
"matmul_per_sequence": 349503750144,
|
| 157 |
+
"method": "traced-jaxpr",
|
| 158 |
+
"warnings": []
|
| 159 |
+
},
|
| 160 |
+
"flops_per_token": 341312256,
|
| 161 |
+
"mfu_estimate": 0.3098692412324306,
|
| 162 |
+
"model_tier": "60m",
|
| 163 |
+
"parameter_count": 59918208,
|
| 164 |
+
"parameters": 59918208,
|
| 165 |
+
"tokens_per_parameter": 4.996285069139584,
|
| 166 |
+
"tokens_per_second": 3994654.8576992634,
|
| 167 |
+
"tokens_processed": 299368448,
|
| 168 |
+
"total_compile_seconds": 96.713636622997,
|
| 169 |
+
"train_compile_seconds": 27.000214637984755,
|
| 170 |
+
"train_loss": 5.338647842407227,
|
| 171 |
+
"train_seconds": 74.94225625600666,
|
| 172 |
+
"training_data_epochs": 0.037894837263947954,
|
| 173 |
+
"training_data_sharding": "rank_disjoint_shuffled_windows",
|
| 174 |
+
"training_sampling": "shuffled_epochs",
|
| 175 |
+
"training_steps": 571,
|
| 176 |
+
"training_token_budget": 299368448,
|
| 177 |
+
"training_usable_tokens_per_epoch": 7899979776,
|
| 178 |
+
"validation_loss": 5.34379643201828,
|
| 179 |
+
"validation_probe_count": 0,
|
| 180 |
+
"validation_probe_seconds": 0.0,
|
| 181 |
+
"validation_tokens": 4194304
|
| 182 |
+
},
|
| 183 |
+
"profile": "dev",
|
| 184 |
+
"schema_version": 1,
|
| 185 |
+
"seed": 1338,
|
| 186 |
+
"status": "ok",
|
| 187 |
+
"system": {
|
| 188 |
+
"controller_process_index": 1,
|
| 189 |
+
"device_count": 16,
|
| 190 |
+
"device_ids": [
|
| 191 |
+
0,
|
| 192 |
+
1,
|
| 193 |
+
2,
|
| 194 |
+
3,
|
| 195 |
+
4,
|
| 196 |
+
5,
|
| 197 |
+
6,
|
| 198 |
+
7,
|
| 199 |
+
8,
|
| 200 |
+
9,
|
| 201 |
+
10,
|
| 202 |
+
11,
|
| 203 |
+
12,
|
| 204 |
+
13,
|
| 205 |
+
14,
|
| 206 |
+
15
|
| 207 |
+
],
|
| 208 |
+
"device_kinds": [
|
| 209 |
+
"TPU v4"
|
| 210 |
+
],
|
| 211 |
+
"jax_version": "0.11.0",
|
| 212 |
+
"jaxlib_version": "0.11.0",
|
| 213 |
+
"libtpu_version": "0.0.44.1",
|
| 214 |
+
"local_device_count": 4,
|
| 215 |
+
"platform": "tpu",
|
| 216 |
+
"process_count": 4,
|
| 217 |
+
"process_indices": [
|
| 218 |
+
0,
|
| 219 |
+
0,
|
| 220 |
+
0,
|
| 221 |
+
0,
|
| 222 |
+
1,
|
| 223 |
+
1,
|
| 224 |
+
1,
|
| 225 |
+
1,
|
| 226 |
+
2,
|
| 227 |
+
2,
|
| 228 |
+
2,
|
| 229 |
+
2,
|
| 230 |
+
3,
|
| 231 |
+
3,
|
| 232 |
+
3,
|
| 233 |
+
3
|
| 234 |
+
],
|
| 235 |
+
"python_version": "3.12.13"
|
| 236 |
+
},
|
| 237 |
+
"track": "open"
|
| 238 |
+
}
|
batch-sweep-60M/60m-5tpp-bs512-lr2e-7-s1338/result.json
ADDED
|
@@ -0,0 +1,238 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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ostics": "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": 1024,
|
| 26 |
+
"tokenizer_id": "gpt2"
|
| 27 |
+
},
|
| 28 |
+
"evaluations": {
|
| 29 |
+
"fineweb": {
|
| 30 |
+
"canonical": true,
|
| 31 |
+
"loss": 5.34379643201828,
|
| 32 |
+
"perplexity": 209.30581915802543,
|
| 33 |
+
"scored_tokens": 4194304,
|
| 34 |
+
"seconds": 0.43600330100161955
|
| 35 |
+
}
|
| 36 |
+
},
|
| 37 |
+
"implementation": {
|
| 38 |
+
"attention_backend": "tpu_flash",
|
| 39 |
+
"attention_tuning": {
|
| 40 |
+
"key_digest": "95bc05cbf51b0f72ad8508ff3fd06150efd4c9fb645177f2678c63050ddcb857",
|
| 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 |
+
"study_batch_size": 512,
|
| 59 |
+
"tokens_per_parameter_micros": 5000000
|
| 60 |
+
},
|
| 61 |
+
"path": "config.yaml",
|
| 62 |
+
"profile": "dev",
|
| 63 |
+
"resolved": {
|
| 64 |
+
"evaluation": {
|
| 65 |
+
"eval_batches": 8,
|
| 66 |
+
"val_every": 0,
|
| 67 |
+
"val_probe_batches": 8
|
| 68 |
+
},
|
| 69 |
+
"kernels": {
|
| 70 |
+
"attention_backend": "tpu_flash",
|
| 71 |
+
"loss_backend": "tiled",
|
| 72 |
+
"vocab_tile_size": 2048
|
| 73 |
+
},
|
| 74 |
+
"logging": {
|
| 75 |
+
"diagnostics_every": 10,
|
| 76 |
+
"log_every": 10
|
| 77 |
+
},
|
| 78 |
+
"model": {
|
| 79 |
+
"d_model": 384,
|
| 80 |
+
"heads": 6,
|
| 81 |
+
"layers": 12,
|
| 82 |
+
"mlp_activation": "gelu",
|
| 83 |
+
"mlp_mult": 4,
|
| 84 |
+
"normalization": "rms_norm",
|
| 85 |
+
"parameterization": "complete_d_p",
|
| 86 |
+
"position_encoding": "rope_base_10000",
|
| 87 |
+
"semantic_vocab_size": 50304,
|
| 88 |
+
"tied_embeddings": false,
|
| 89 |
+
"tier": "60m",
|
| 90 |
+
"vocab_size": 50304
|
| 91 |
+
},
|
| 92 |
+
"optimizer": {
|
| 93 |
+
"adam_epsilon": 1e-08,
|
| 94 |
+
"beta1": 0.9,
|
| 95 |
+
"beta2": 0.95,
|
| 96 |
+
"effective": {
|
| 97 |
+
"adam_epsilon_horizon_multiplier": 0.5,
|
| 98 |
+
"beta1": 0.6000000000000001,
|
| 99 |
+
"beta2": 0.7999999999999998,
|
| 100 |
+
"global_peak_learning_rate": 0.015625,
|
| 101 |
+
"weight_decay_horizon_multiplier": 2.0
|
| 102 |
+
},
|
| 103 |
+
"grad_clip": 0.0,
|
| 104 |
+
"learning_rate": 0.0078125,
|
| 105 |
+
"min_lr_ratio": 0.1,
|
| 106 |
+
"warmup_steps": 57,
|
| 107 |
+
"weight_decay": 0.1
|
| 108 |
+
},
|
| 109 |
+
"parameterization": {
|
| 110 |
+
"attention_scale": "inverse_head_dim",
|
| 111 |
+
"base_depth": 12,
|
| 112 |
+
"base_width": 384,
|
| 113 |
+
"batch_multiplier": 4.0,
|
| 114 |
+
"data_multiplier": 1.0,
|
| 115 |
+
"depth_alpha": 1.0,
|
| 116 |
+
"depth_multiplier": 1.0,
|
| 117 |
+
"embeddings": "untied",
|
| 118 |
+
"init_std": 0.02,
|
| 119 |
+
"name": "complete_d_p",
|
| 120 |
+
"width_multiplier": 1.0
|
| 121 |
+
},
|
| 122 |
+
"training": {
|
| 123 |
+
"batch_size": 512,
|
| 124 |
+
"dtype": "bfloat16",
|
| 125 |
+
"sampling": "shuffled_epochs",
|
| 126 |
+
"seq_len": 1024,
|
| 127 |
+
"steps": 571,
|
| 128 |
+
"tokens_per_parameter": 4.996285069139584,
|
| 129 |
+
"train_tokens": 299368448
|
| 130 |
+
}
|
| 131 |
+
},
|
| 132 |
+
"schema_version": 2,
|
| 133 |
+
"sha256": "64473be07689abbf926027ef96fa7b679206510e29bae19403d94890c4fa1a7c"
|
| 134 |
+
},
|
| 135 |
+
"loss_backend": "tiled",
|
| 136 |
+
"vocab_tile_size": 2048
|
| 137 |
+
},
|
| 138 |
+
"metrics": {
|
| 139 |
+
"achieved_tflops": 1363.4246614226945,
|
| 140 |
+
"attention_tune_seconds": 0.0,
|
| 141 |
+
"base_learning_rate": 0.0078125,
|
| 142 |
+
"diagnostic_compile_seconds": 60.228304310003296,
|
| 143 |
+
"diagnostic_point_count": 59,
|
| 144 |
+
"diagnostics_every": 10,
|
| 145 |
+
"estimated_total_flops": 102178120362098688,
|
| 146 |
+
"eval_compile_seconds": 9.48511767500895,
|
| 147 |
+
"final_validation_seconds": 0.43600330100161955,
|
| 148 |
+
"flop_accounting": {
|
| 149 |
+
"by_site": {
|
| 150 |
+
"dot_general": 291521691648,
|
| 151 |
+
"tpu_flash_causal_attention_bwd_dkv": 19327352832,
|
| 152 |
+
"tpu_flash_causal_attention_bwd_dq": 19327352832,
|
| 153 |
+
"tpu_flash_causal_attention_fwd": 19327352832
|
| 154 |
+
},
|
| 155 |
+
"elementwise_per_sequence": 1149350130,
|
| 156 |
+
"matmul_per_sequence": 349503750144,
|
| 157 |
+
"method": "traced-jaxpr",
|
| 158 |
+
"warnings": []
|
| 159 |
+
},
|
| 160 |
+
"flops_per_token": 341312256,
|
| 161 |
+
"mfu_estimate": 0.3098692412324306,
|
| 162 |
+
"model_tier": "60m",
|
| 163 |
+
"parameter_count": 59918208,
|
| 164 |
+
"parameters": 59918208,
|
| 165 |
+
"tokens_per_parameter": 4.996285069139584,
|
| 166 |
+
"tokens_per_second": 3994654.8576992634,
|
| 167 |
+
"tokens_processed": 299368448,
|
| 168 |
+
"total_compile_seconds": 96.713636622997,
|
| 169 |
+
"train_compile_seconds": 27.000214637984755,
|
| 170 |
+
"train_loss": 5.338647842407227,
|
| 171 |
+
"train_seconds": 74.94225625600666,
|
| 172 |
+
"training_data_epochs": 0.037894837263947954,
|
| 173 |
+
"training_data_sharding": "rank_disjoint_shuffled_windows",
|
| 174 |
+
"training_sampling": "shuffled_epochs",
|
| 175 |
+
"training_steps": 571,
|
| 176 |
+
"training_token_budget": 299368448,
|
| 177 |
+
"training_usable_tokens_per_epoch": 7899979776,
|
| 178 |
+
"validation_loss": 5.34379643201828,
|
| 179 |
+
"validation_probe_count": 0,
|
| 180 |
+
"validation_probe_seconds": 0.0,
|
| 181 |
+
"validation_tokens": 4194304
|
| 182 |
+
},
|
| 183 |
+
"profile": "dev",
|
| 184 |
+
"schema_version": 1,
|
| 185 |
+
"seed": 1338,
|
| 186 |
+
"status": "ok",
|
| 187 |
+
"system": {
|
| 188 |
+
"controller_process_index": 1,
|
| 189 |
+
"device_count": 16,
|
| 190 |
+
"device_ids": [
|
| 191 |
+
0,
|
| 192 |
+
1,
|
| 193 |
+
2,
|
| 194 |
+
3,
|
| 195 |
+
4,
|
| 196 |
+
5,
|
| 197 |
+
6,
|
| 198 |
+
7,
|
| 199 |
+
8,
|
| 200 |
+
9,
|
| 201 |
+
10,
|
| 202 |
+
11,
|
| 203 |
+
12,
|
| 204 |
+
13,
|
| 205 |
+
14,
|
| 206 |
+
15
|
| 207 |
+
],
|
| 208 |
+
"device_kinds": [
|
| 209 |
+
"TPU v4"
|
| 210 |
+
],
|
| 211 |
+
"jax_version": "0.11.0",
|
| 212 |
+
"jaxlib_version": "0.11.0",
|
| 213 |
+
"libtpu_version": "0.0.44.1",
|
| 214 |
+
"local_device_count": 4,
|
| 215 |
+
"platform": "tpu",
|
| 216 |
+
"process_count": 4,
|
| 217 |
+
"process_indices": [
|
| 218 |
+
0,
|
| 219 |
+
0,
|
| 220 |
+
0,
|
| 221 |
+
0,
|
| 222 |
+
1,
|
| 223 |
+
1,
|
| 224 |
+
1,
|
| 225 |
+
1,
|
| 226 |
+
2,
|
| 227 |
+
2,
|
| 228 |
+
2,
|
| 229 |
+
2,
|
| 230 |
+
3,
|
| 231 |
+
3,
|
| 232 |
+
3,
|
| 233 |
+
3
|
| 234 |
+
],
|
| 235 |
+
"python_version": "3.12.13"
|
| 236 |
+
},
|
| 237 |
+
"track": "open"
|
| 238 |
+
}
|
batch-sweep-60M/60m-5tpp-bs512-lr2e-7-s1338/training.riglog
ADDED
|
Binary file (9.24 kB). View file
|
|
|
batch-sweep-60M/60m-5tpp-bs512-lr2e-7-s1338/validation.csv
ADDED
|
@@ -0,0 +1,2 @@
|
|
|
|
|
|
|
|
|
|
| 1 |
+
step,tokens_processed,kind,domain,validation_tokens,validation_loss,perplexity,validation_seconds,canonical
|
| 2 |
+
571,299368448,fineweb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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"artifacts": {
|
| 3 |
+
"diagnostics": "diagnostics.csv",
|
| 4 |
+
"training_curve": "training.csv",
|
| 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": 1024,
|
| 26 |
+
"tokenizer_id": "gpt2"
|
| 27 |
+
},
|
| 28 |
+
"evaluations": {
|
| 29 |
+
"fineweb": {
|
| 30 |
+
"canonical": true,
|
| 31 |
+
"loss": 5.223019599914551,
|
| 32 |
+
"perplexity": 185.49345527979634,
|
| 33 |
+
"scored_tokens": 4194304,
|
| 34 |
+
"seconds": 0.4288240910100285
|
| 35 |
+
}
|
| 36 |
+
},
|
| 37 |
+
"implementation": {
|
| 38 |
+
"attention_backend": "tpu_flash",
|
| 39 |
+
"attention_tuning": {
|
| 40 |
+
"key_digest": "95bc05cbf51b0f72ad8508ff3fd06150efd4c9fb645177f2678c63050ddcb857",
|
| 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 |
+
"study_batch_size": 512,
|
| 59 |
+
"tokens_per_parameter_micros": 5000000
|
| 60 |
+
},
|
| 61 |
+
"path": "config.yaml",
|
| 62 |
+
"profile": "dev",
|
| 63 |
+
"resolved": {
|
| 64 |
+
"evaluation": {
|
| 65 |
+
"eval_batches": 8,
|
| 66 |
+
"val_every": 0,
|
| 67 |
+
"val_probe_batches": 8
|
| 68 |
+
},
|
| 69 |
+
"kernels": {
|
| 70 |
+
"attention_backend": "tpu_flash",
|
| 71 |
+
"loss_backend": "tiled",
|
| 72 |
+
"vocab_tile_size": 2048
|
| 73 |
+
},
|
| 74 |
+
"logging": {
|
| 75 |
+
"diagnostics_every": 10,
|
| 76 |
+
"log_every": 10
|
| 77 |
+
},
|
| 78 |
+
"model": {
|
| 79 |
+
"d_model": 384,
|
| 80 |
+
"heads": 6,
|
| 81 |
+
"layers": 12,
|
| 82 |
+
"mlp_activation": "gelu",
|
| 83 |
+
"mlp_mult": 4,
|
| 84 |
+
"normalization": "rms_norm",
|
| 85 |
+
"parameterization": "complete_d_p",
|
| 86 |
+
"position_encoding": "rope_base_10000",
|
| 87 |
+
"semantic_vocab_size": 50304,
|
| 88 |
+
"tied_embeddings": false,
|
| 89 |
+
"tier": "60m",
|
| 90 |
+
"vocab_size": 50304
|
| 91 |
+
},
|
| 92 |
+
"optimizer": {
|
| 93 |
+
"adam_epsilon": 1e-08,
|
| 94 |
+
"beta1": 0.9,
|
| 95 |
+
"beta2": 0.95,
|
| 96 |
+
"effective": {
|
| 97 |
+
"adam_epsilon_horizon_multiplier": 0.5,
|
| 98 |
+
"beta1": 0.6000000000000001,
|
| 99 |
+
"beta2": 0.7999999999999998,
|
| 100 |
+
"global_peak_learning_rate": 0.015625,
|
| 101 |
+
"weight_decay_horizon_multiplier": 2.0
|
| 102 |
+
},
|
| 103 |
+
"grad_clip": 0.0,
|
| 104 |
+
"learning_rate": 0.0078125,
|
| 105 |
+
"min_lr_ratio": 0.1,
|
| 106 |
+
"warmup_steps": 57,
|
| 107 |
+
"weight_decay": 0.1
|
| 108 |
+
},
|
| 109 |
+
"parameterization": {
|
| 110 |
+
"attention_scale": "inverse_head_dim",
|
| 111 |
+
"base_depth": 12,
|
| 112 |
+
"base_width": 384,
|
| 113 |
+
"batch_multiplier": 4.0,
|
| 114 |
+
"data_multiplier": 1.0,
|
| 115 |
+
"depth_alpha": 1.0,
|
| 116 |
+
"depth_multiplier": 1.0,
|
| 117 |
+
"embeddings": "untied",
|
| 118 |
+
"init_std": 0.02,
|
| 119 |
+
"name": "complete_d_p",
|
| 120 |
+
"width_multiplier": 1.0
|
| 121 |
+
},
|
| 122 |
+
"training": {
|
| 123 |
+
"batch_size": 512,
|
| 124 |
+
"dtype": "bfloat16",
|
| 125 |
+
"sampling": "shuffled_epochs",
|
| 126 |
+
"seq_len": 1024,
|
| 127 |
+
"steps": 571,
|
| 128 |
+
"tokens_per_parameter": 4.996285069139584,
|
| 129 |
+
"train_tokens": 299368448
|
| 130 |
+
}
|
| 131 |
+
},
|
| 132 |
+
"schema_version": 2,
|
| 133 |
+
"sha256": "64473be07689abbf926027ef96fa7b679206510e29bae19403d94890c4fa1a7c"
|
| 134 |
+
},
|
| 135 |
+
"loss_backend": "tiled",
|
| 136 |
+
"vocab_tile_size": 2048
|
| 137 |
+
},
|
| 138 |
+
"metrics": {
|
| 139 |
+
"achieved_tflops": 1344.763268570482,
|
| 140 |
+
"attention_tune_seconds": 0.0,
|
| 141 |
+
"base_learning_rate": 0.0078125,
|
| 142 |
+
"diagnostic_compile_seconds": 55.81962695502443,
|
| 143 |
+
"diagnostic_point_count": 59,
|
| 144 |
+
"diagnostics_every": 10,
|
| 145 |
+
"estimated_total_flops": 102178120362098688,
|
| 146 |
+
"eval_compile_seconds": 9.311239109985763,
|
| 147 |
+
"final_validation_seconds": 0.4288240910100285,
|
| 148 |
+
"flop_accounting": {
|
| 149 |
+
"by_site": {
|
| 150 |
+
"dot_general": 291521691648,
|
| 151 |
+
"tpu_flash_causal_attention_bwd_dkv": 19327352832,
|
| 152 |
+
"tpu_flash_causal_attention_bwd_dq": 19327352832,
|
| 153 |
+
"tpu_flash_causal_attention_fwd": 19327352832
|
| 154 |
+
},
|
| 155 |
+
"elementwise_per_sequence": 1149350130,
|
| 156 |
+
"matmul_per_sequence": 349503750144,
|
| 157 |
+
"method": "traced-jaxpr",
|
| 158 |
+
"warnings": []
|
| 159 |
+
},
|
| 160 |
+
"flops_per_token": 341312256,
|
| 161 |
+
"mfu_estimate": 0.3056280155842005,
|
| 162 |
+
"model_tier": "60m",
|
| 163 |
+
"parameter_count": 59918208,
|
| 164 |
+
"parameters": 59918208,
|
| 165 |
+
"tokens_per_parameter": 4.996285069139584,
|
| 166 |
+
"tokens_per_second": 3939979.4321200172,
|
| 167 |
+
"tokens_processed": 299368448,
|
| 168 |
+
"total_compile_seconds": 92.52819242299302,
|
| 169 |
+
"train_compile_seconds": 27.39732635798282,
|
| 170 |
+
"train_loss": 5.221643447875977,
|
| 171 |
+
"train_seconds": 75.9822362420091,
|
| 172 |
+
"training_data_epochs": 0.037894837263947954,
|
| 173 |
+
"training_data_sharding": "rank_disjoint_shuffled_windows",
|
| 174 |
+
"training_sampling": "shuffled_epochs",
|
| 175 |
+
"training_steps": 571,
|
| 176 |
+
"training_token_budget": 299368448,
|
| 177 |
+
"training_usable_tokens_per_epoch": 7899979776,
|
| 178 |
+
"validation_loss": 5.223019599914551,
|
| 179 |
+
"validation_probe_count": 0,
|
| 180 |
+
"validation_probe_seconds": 0.0,
|
| 181 |
+
"validation_tokens": 4194304
|
| 182 |
+
},
|
| 183 |
+
"profile": "dev",
|
| 184 |
+
"schema_version": 1,
|
| 185 |
+
"seed": 1339,
|
| 186 |
+
"status": "ok",
|
| 187 |
+
"system": {
|
| 188 |
+
"controller_process_index": 1,
|
| 189 |
+
"device_count": 16,
|
| 190 |
+
"device_ids": [
|
| 191 |
+
0,
|
| 192 |
+
1,
|
| 193 |
+
2,
|
| 194 |
+
3,
|
| 195 |
+
4,
|
| 196 |
+
5,
|
| 197 |
+
6,
|
| 198 |
+
7,
|
| 199 |
+
8,
|
| 200 |
+
9,
|
| 201 |
+
10,
|
| 202 |
+
11,
|
| 203 |
+
12,
|
| 204 |
+
13,
|
| 205 |
+
14,
|
| 206 |
+
15
|
| 207 |
+
],
|
| 208 |
+
"device_kinds": [
|
| 209 |
+
"TPU v4"
|
| 210 |
+
],
|
| 211 |
+
"jax_version": "0.11.0",
|
| 212 |
+
"jaxlib_version": "0.11.0",
|
| 213 |
+
"libtpu_version": "0.0.44.1",
|
| 214 |
+
"local_device_count": 4,
|
| 215 |
+
"platform": "tpu",
|
| 216 |
+
"process_count": 4,
|
| 217 |
+
"process_indices": [
|
| 218 |
+
0,
|
| 219 |
+
0,
|
| 220 |
+
0,
|
| 221 |
+
0,
|
| 222 |
+
1,
|
| 223 |
+
1,
|
| 224 |
+
1,
|
| 225 |
+
1,
|
| 226 |
+
2,
|
| 227 |
+
2,
|
| 228 |
+
2,
|
| 229 |
+
2,
|
| 230 |
+
3,
|
| 231 |
+
3,
|
| 232 |
+
3,
|
| 233 |
+
3
|
| 234 |
+
],
|
| 235 |
+
"python_version": "3.12.13"
|
| 236 |
+
},
|
| 237 |
+
"track": "open"
|
| 238 |
+
}
|
batch-sweep-60M/60m-5tpp-bs512-lr2e-7-s1339/result.json
ADDED
|
@@ -0,0 +1,238 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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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": 1024,
|
| 26 |
+
"tokenizer_id": "gpt2"
|
| 27 |
+
},
|
| 28 |
+
"evaluations": {
|
| 29 |
+
"fineweb": {
|
| 30 |
+
"canonical": true,
|
| 31 |
+
"loss": 5.223019599914551,
|
| 32 |
+
"perplexity": 185.49345527979634,
|
| 33 |
+
"scored_tokens": 4194304,
|
| 34 |
+
"seconds": 0.4288240910100285
|
| 35 |
+
}
|
| 36 |
+
},
|
| 37 |
+
"implementation": {
|
| 38 |
+
"attention_backend": "tpu_flash",
|
| 39 |
+
"attention_tuning": {
|
| 40 |
+
"key_digest": "95bc05cbf51b0f72ad8508ff3fd06150efd4c9fb645177f2678c63050ddcb857",
|
| 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 |
+
"study_batch_size": 512,
|
| 59 |
+
"tokens_per_parameter_micros": 5000000
|
| 60 |
+
},
|
| 61 |
+
"path": "config.yaml",
|
| 62 |
+
"profile": "dev",
|
| 63 |
+
"resolved": {
|
| 64 |
+
"evaluation": {
|
| 65 |
+
"eval_batches": 8,
|
| 66 |
+
"val_every": 0,
|
| 67 |
+
"val_probe_batches": 8
|
| 68 |
+
},
|
| 69 |
+
"kernels": {
|
| 70 |
+
"attention_backend": "tpu_flash",
|
| 71 |
+
"loss_backend": "tiled",
|
| 72 |
+
"vocab_tile_size": 2048
|
| 73 |
+
},
|
| 74 |
+
"logging": {
|
| 75 |
+
"diagnostics_every": 10,
|
| 76 |
+
"log_every": 10
|
| 77 |
+
},
|
| 78 |
+
"model": {
|
| 79 |
+
"d_model": 384,
|
| 80 |
+
"heads": 6,
|
| 81 |
+
"layers": 12,
|
| 82 |
+
"mlp_activation": "gelu",
|
| 83 |
+
"mlp_mult": 4,
|
| 84 |
+
"normalization": "rms_norm",
|
| 85 |
+
"parameterization": "complete_d_p",
|
| 86 |
+
"position_encoding": "rope_base_10000",
|
| 87 |
+
"semantic_vocab_size": 50304,
|
| 88 |
+
"tied_embeddings": false,
|
| 89 |
+
"tier": "60m",
|
| 90 |
+
"vocab_size": 50304
|
| 91 |
+
},
|
| 92 |
+
"optimizer": {
|
| 93 |
+
"adam_epsilon": 1e-08,
|
| 94 |
+
"beta1": 0.9,
|
| 95 |
+
"beta2": 0.95,
|
| 96 |
+
"effective": {
|
| 97 |
+
"adam_epsilon_horizon_multiplier": 0.5,
|
| 98 |
+
"beta1": 0.6000000000000001,
|
| 99 |
+
"beta2": 0.7999999999999998,
|
| 100 |
+
"global_peak_learning_rate": 0.015625,
|
| 101 |
+
"weight_decay_horizon_multiplier": 2.0
|
| 102 |
+
},
|
| 103 |
+
"grad_clip": 0.0,
|
| 104 |
+
"learning_rate": 0.0078125,
|
| 105 |
+
"min_lr_ratio": 0.1,
|
| 106 |
+
"warmup_steps": 57,
|
| 107 |
+
"weight_decay": 0.1
|
| 108 |
+
},
|
| 109 |
+
"parameterization": {
|
| 110 |
+
"attention_scale": "inverse_head_dim",
|
| 111 |
+
"base_depth": 12,
|
| 112 |
+
"base_width": 384,
|
| 113 |
+
"batch_multiplier": 4.0,
|
| 114 |
+
"data_multiplier": 1.0,
|
| 115 |
+
"depth_alpha": 1.0,
|
| 116 |
+
"depth_multiplier": 1.0,
|
| 117 |
+
"embeddings": "untied",
|
| 118 |
+
"init_std": 0.02,
|
| 119 |
+
"name": "complete_d_p",
|
| 120 |
+
"width_multiplier": 1.0
|
| 121 |
+
},
|
| 122 |
+
"training": {
|
| 123 |
+
"batch_size": 512,
|
| 124 |
+
"dtype": "bfloat16",
|
| 125 |
+
"sampling": "shuffled_epochs",
|
| 126 |
+
"seq_len": 1024,
|
| 127 |
+
"steps": 571,
|
| 128 |
+
"tokens_per_parameter": 4.996285069139584,
|
| 129 |
+
"train_tokens": 299368448
|
| 130 |
+
}
|
| 131 |
+
},
|
| 132 |
+
"schema_version": 2,
|
| 133 |
+
"sha256": "64473be07689abbf926027ef96fa7b679206510e29bae19403d94890c4fa1a7c"
|
| 134 |
+
},
|
| 135 |
+
"loss_backend": "tiled",
|
| 136 |
+
"vocab_tile_size": 2048
|
| 137 |
+
},
|
| 138 |
+
"metrics": {
|
| 139 |
+
"achieved_tflops": 1344.763268570482,
|
| 140 |
+
"attention_tune_seconds": 0.0,
|
| 141 |
+
"base_learning_rate": 0.0078125,
|
| 142 |
+
"diagnostic_compile_seconds": 55.81962695502443,
|
| 143 |
+
"diagnostic_point_count": 59,
|
| 144 |
+
"diagnostics_every": 10,
|
| 145 |
+
"estimated_total_flops": 102178120362098688,
|
| 146 |
+
"eval_compile_seconds": 9.311239109985763,
|
| 147 |
+
"final_validation_seconds": 0.4288240910100285,
|
| 148 |
+
"flop_accounting": {
|
| 149 |
+
"by_site": {
|
| 150 |
+
"dot_general": 291521691648,
|
| 151 |
+
"tpu_flash_causal_attention_bwd_dkv": 19327352832,
|
| 152 |
+
"tpu_flash_causal_attention_bwd_dq": 19327352832,
|
| 153 |
+
"tpu_flash_causal_attention_fwd": 19327352832
|
| 154 |
+
},
|
| 155 |
+
"elementwise_per_sequence": 1149350130,
|
| 156 |
+
"matmul_per_sequence": 349503750144,
|
| 157 |
+
"method": "traced-jaxpr",
|
| 158 |
+
"warnings": []
|
| 159 |
+
},
|
| 160 |
+
"flops_per_token": 341312256,
|
| 161 |
+
"mfu_estimate": 0.3056280155842005,
|
| 162 |
+
"model_tier": "60m",
|
| 163 |
+
"parameter_count": 59918208,
|
| 164 |
+
"parameters": 59918208,
|
| 165 |
+
"tokens_per_parameter": 4.996285069139584,
|
| 166 |
+
"tokens_per_second": 3939979.4321200172,
|
| 167 |
+
"tokens_processed": 299368448,
|
| 168 |
+
"total_compile_seconds": 92.52819242299302,
|
| 169 |
+
"train_compile_seconds": 27.39732635798282,
|
| 170 |
+
"train_loss": 5.221643447875977,
|
| 171 |
+
"train_seconds": 75.9822362420091,
|
| 172 |
+
"training_data_epochs": 0.037894837263947954,
|
| 173 |
+
"training_data_sharding": "rank_disjoint_shuffled_windows",
|
| 174 |
+
"training_sampling": "shuffled_epochs",
|
| 175 |
+
"training_steps": 571,
|
| 176 |
+
"training_token_budget": 299368448,
|
| 177 |
+
"training_usable_tokens_per_epoch": 7899979776,
|
| 178 |
+
"validation_loss": 5.223019599914551,
|
| 179 |
+
"validation_probe_count": 0,
|
| 180 |
+
"validation_probe_seconds": 0.0,
|
| 181 |
+
"validation_tokens": 4194304
|
| 182 |
+
},
|
| 183 |
+
"profile": "dev",
|
| 184 |
+
"schema_version": 1,
|
| 185 |
+
"seed": 1339,
|
| 186 |
+
"status": "ok",
|
| 187 |
+
"system": {
|
| 188 |
+
"controller_process_index": 1,
|
| 189 |
+
"device_count": 16,
|
| 190 |
+
"device_ids": [
|
| 191 |
+
0,
|
| 192 |
+
1,
|
| 193 |
+
2,
|
| 194 |
+
3,
|
| 195 |
+
4,
|
| 196 |
+
5,
|
| 197 |
+
6,
|
| 198 |
+
7,
|
| 199 |
+
8,
|
| 200 |
+
9,
|
| 201 |
+
10,
|
| 202 |
+
11,
|
| 203 |
+
12,
|
| 204 |
+
13,
|
| 205 |
+
14,
|
| 206 |
+
15
|
| 207 |
+
],
|
| 208 |
+
"device_kinds": [
|
| 209 |
+
"TPU v4"
|
| 210 |
+
],
|
| 211 |
+
"jax_version": "0.11.0",
|
| 212 |
+
"jaxlib_version": "0.11.0",
|
| 213 |
+
"libtpu_version": "0.0.44.1",
|
| 214 |
+
"local_device_count": 4,
|
| 215 |
+
"platform": "tpu",
|
| 216 |
+
"process_count": 4,
|
| 217 |
+
"process_indices": [
|
| 218 |
+
0,
|
| 219 |
+
0,
|
| 220 |
+
0,
|
| 221 |
+
0,
|
| 222 |
+
1,
|
| 223 |
+
1,
|
| 224 |
+
1,
|
| 225 |
+
1,
|
| 226 |
+
2,
|
| 227 |
+
2,
|
| 228 |
+
2,
|
| 229 |
+
2,
|
| 230 |
+
3,
|
| 231 |
+
3,
|
| 232 |
+
3,
|
| 233 |
+
3
|
| 234 |
+
],
|
| 235 |
+
"python_version": "3.12.13"
|
| 236 |
+
},
|
| 237 |
+
"track": "open"
|
| 238 |
+
}
|
batch-sweep-60M/60m-5tpp-bs512-lr2e-7-s1339/training.riglog
ADDED
|
Binary file (9.24 kB). View file
|
|
|
batch-sweep-60M/60m-5tpp-bs512-lr2e-7-s1339/validation.csv
ADDED
|
@@ -0,0 +1,2 @@
|
|
|
|
|
|
|
|
|
|
| 1 |
+
step,tokens_processed,kind,domain,validation_tokens,validation_loss,perplexity,validation_seconds,canonical
|
| 2 |
+
571,299368448,fineweb,fineweb,4194304,5.223019599914551,185.49345527979634,0.4288240910100285,true
|
batch-sweep-60M/60m-5tpp-bs512-lr2e-8-s1337/diagnostics.riglog
ADDED
|
Binary file (75.1 kB). View file
|
|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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"artifacts": {
|
| 3 |
+
"diagnostics": "diagnostics.csv",
|
| 4 |
+
"training_curve": "training.csv",
|
| 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": 1024,
|
| 26 |
+
"tokenizer_id": "gpt2"
|
| 27 |
+
},
|
| 28 |
+
"evaluations": {
|
| 29 |
+
"fineweb": {
|
| 30 |
+
"canonical": true,
|
| 31 |
+
"loss": 5.341884195804596,
|
| 32 |
+
"perplexity": 208.90595942587223,
|
| 33 |
+
"scored_tokens": 4194304,
|
| 34 |
+
"seconds": 0.4429857379873283
|
| 35 |
+
}
|
| 36 |
+
},
|
| 37 |
+
"implementation": {
|
| 38 |
+
"attention_backend": "tpu_flash",
|
| 39 |
+
"attention_tuning": {
|
| 40 |
+
"key_digest": "95bc05cbf51b0f72ad8508ff3fd06150efd4c9fb645177f2678c63050ddcb857",
|
| 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 |
+
"study_batch_size": 512,
|
| 59 |
+
"tokens_per_parameter_micros": 5000000
|
| 60 |
+
},
|
| 61 |
+
"path": "config.yaml",
|
| 62 |
+
"profile": "dev",
|
| 63 |
+
"resolved": {
|
| 64 |
+
"evaluation": {
|
| 65 |
+
"eval_batches": 8,
|
| 66 |
+
"val_every": 0,
|
| 67 |
+
"val_probe_batches": 8
|
| 68 |
+
},
|
| 69 |
+
"kernels": {
|
| 70 |
+
"attention_backend": "tpu_flash",
|
| 71 |
+
"loss_backend": "tiled",
|
| 72 |
+
"vocab_tile_size": 2048
|
| 73 |
+
},
|
| 74 |
+
"logging": {
|
| 75 |
+
"diagnostics_every": 10,
|
| 76 |
+
"log_every": 10
|
| 77 |
+
},
|
| 78 |
+
"model": {
|
| 79 |
+
"d_model": 384,
|
| 80 |
+
"heads": 6,
|
| 81 |
+
"layers": 12,
|
| 82 |
+
"mlp_activation": "gelu",
|
| 83 |
+
"mlp_mult": 4,
|
| 84 |
+
"normalization": "rms_norm",
|
| 85 |
+
"parameterization": "complete_d_p",
|
| 86 |
+
"position_encoding": "rope_base_10000",
|
| 87 |
+
"semantic_vocab_size": 50304,
|
| 88 |
+
"tied_embeddings": false,
|
| 89 |
+
"tier": "60m",
|
| 90 |
+
"vocab_size": 50304
|
| 91 |
+
},
|
| 92 |
+
"optimizer": {
|
| 93 |
+
"adam_epsilon": 1e-08,
|
| 94 |
+
"beta1": 0.9,
|
| 95 |
+
"beta2": 0.95,
|
| 96 |
+
"effective": {
|
| 97 |
+
"adam_epsilon_horizon_multiplier": 0.5,
|
| 98 |
+
"beta1": 0.6000000000000001,
|
| 99 |
+
"beta2": 0.7999999999999998,
|
| 100 |
+
"global_peak_learning_rate": 0.0078125,
|
| 101 |
+
"weight_decay_horizon_multiplier": 2.0
|
| 102 |
+
},
|
| 103 |
+
"grad_clip": 0.0,
|
| 104 |
+
"learning_rate": 0.00390625,
|
| 105 |
+
"min_lr_ratio": 0.1,
|
| 106 |
+
"warmup_steps": 57,
|
| 107 |
+
"weight_decay": 0.1
|
| 108 |
+
},
|
| 109 |
+
"parameterization": {
|
| 110 |
+
"attention_scale": "inverse_head_dim",
|
| 111 |
+
"base_depth": 12,
|
| 112 |
+
"base_width": 384,
|
| 113 |
+
"batch_multiplier": 4.0,
|
| 114 |
+
"data_multiplier": 1.0,
|
| 115 |
+
"depth_alpha": 1.0,
|
| 116 |
+
"depth_multiplier": 1.0,
|
| 117 |
+
"embeddings": "untied",
|
| 118 |
+
"init_std": 0.02,
|
| 119 |
+
"name": "complete_d_p",
|
| 120 |
+
"width_multiplier": 1.0
|
| 121 |
+
},
|
| 122 |
+
"training": {
|
| 123 |
+
"batch_size": 512,
|
| 124 |
+
"dtype": "bfloat16",
|
| 125 |
+
"sampling": "shuffled_epochs",
|
| 126 |
+
"seq_len": 1024,
|
| 127 |
+
"steps": 571,
|
| 128 |
+
"tokens_per_parameter": 4.996285069139584,
|
| 129 |
+
"train_tokens": 299368448
|
| 130 |
+
}
|
| 131 |
+
},
|
| 132 |
+
"schema_version": 2,
|
| 133 |
+
"sha256": "64473be07689abbf926027ef96fa7b679206510e29bae19403d94890c4fa1a7c"
|
| 134 |
+
},
|
| 135 |
+
"loss_backend": "tiled",
|
| 136 |
+
"vocab_tile_size": 2048
|
| 137 |
+
},
|
| 138 |
+
"metrics": {
|
| 139 |
+
"achieved_tflops": 1356.7598127989045,
|
| 140 |
+
"attention_tune_seconds": 0.0,
|
| 141 |
+
"base_learning_rate": 0.00390625,
|
| 142 |
+
"diagnostic_compile_seconds": 56.21652633999474,
|
| 143 |
+
"diagnostic_point_count": 59,
|
| 144 |
+
"diagnostics_every": 10,
|
| 145 |
+
"estimated_total_flops": 102178120362098688,
|
| 146 |
+
"eval_compile_seconds": 9.699034475022927,
|
| 147 |
+
"final_validation_seconds": 0.4429857379873283,
|
| 148 |
+
"flop_accounting": {
|
| 149 |
+
"by_site": {
|
| 150 |
+
"dot_general": 291521691648,
|
| 151 |
+
"tpu_flash_causal_attention_bwd_dkv": 19327352832,
|
| 152 |
+
"tpu_flash_causal_attention_bwd_dq": 19327352832,
|
| 153 |
+
"tpu_flash_causal_attention_fwd": 19327352832
|
| 154 |
+
},
|
| 155 |
+
"elementwise_per_sequence": 1149350130,
|
| 156 |
+
"matmul_per_sequence": 349503750144,
|
| 157 |
+
"method": "traced-jaxpr",
|
| 158 |
+
"warnings": []
|
| 159 |
+
},
|
| 160 |
+
"flops_per_token": 341312256,
|
| 161 |
+
"mfu_estimate": 0.3083545029088419,
|
| 162 |
+
"model_tier": "60m",
|
| 163 |
+
"parameter_count": 59918208,
|
| 164 |
+
"parameters": 59918208,
|
| 165 |
+
"tokens_per_parameter": 4.996285069139584,
|
| 166 |
+
"tokens_per_second": 3975127.728196507,
|
| 167 |
+
"tokens_processed": 299368448,
|
| 168 |
+
"total_compile_seconds": 94.05379035303486,
|
| 169 |
+
"train_compile_seconds": 28.138229538017185,
|
| 170 |
+
"train_loss": 5.310612678527832,
|
| 171 |
+
"train_seconds": 75.3103971669916,
|
| 172 |
+
"training_data_epochs": 0.037894837263947954,
|
| 173 |
+
"training_data_sharding": "rank_disjoint_shuffled_windows",
|
| 174 |
+
"training_sampling": "shuffled_epochs",
|
| 175 |
+
"training_steps": 571,
|
| 176 |
+
"training_token_budget": 299368448,
|
| 177 |
+
"training_usable_tokens_per_epoch": 7899979776,
|
| 178 |
+
"validation_loss": 5.341884195804596,
|
| 179 |
+
"validation_probe_count": 0,
|
| 180 |
+
"validation_probe_seconds": 0.0,
|
| 181 |
+
"validation_tokens": 4194304
|
| 182 |
+
},
|
| 183 |
+
"profile": "dev",
|
| 184 |
+
"schema_version": 1,
|
| 185 |
+
"seed": 1337,
|
| 186 |
+
"status": "ok",
|
| 187 |
+
"system": {
|
| 188 |
+
"controller_process_index": 1,
|
| 189 |
+
"device_count": 16,
|
| 190 |
+
"device_ids": [
|
| 191 |
+
0,
|
| 192 |
+
1,
|
| 193 |
+
2,
|
| 194 |
+
3,
|
| 195 |
+
4,
|
| 196 |
+
5,
|
| 197 |
+
6,
|
| 198 |
+
7,
|
| 199 |
+
8,
|
| 200 |
+
9,
|
| 201 |
+
10,
|
| 202 |
+
11,
|
| 203 |
+
12,
|
| 204 |
+
13,
|
| 205 |
+
14,
|
| 206 |
+
15
|
| 207 |
+
],
|
| 208 |
+
"device_kinds": [
|
| 209 |
+
"TPU v4"
|
| 210 |
+
],
|
| 211 |
+
"jax_version": "0.11.0",
|
| 212 |
+
"jaxlib_version": "0.11.0",
|
| 213 |
+
"libtpu_version": "0.0.44.1",
|
| 214 |
+
"local_device_count": 4,
|
| 215 |
+
"platform": "tpu",
|
| 216 |
+
"process_count": 4,
|
| 217 |
+
"process_indices": [
|
| 218 |
+
0,
|
| 219 |
+
0,
|
| 220 |
+
0,
|
| 221 |
+
0,
|
| 222 |
+
1,
|
| 223 |
+
1,
|
| 224 |
+
1,
|
| 225 |
+
1,
|
| 226 |
+
2,
|
| 227 |
+
2,
|
| 228 |
+
2,
|
| 229 |
+
2,
|
| 230 |
+
3,
|
| 231 |
+
3,
|
| 232 |
+
3,
|
| 233 |
+
3
|
| 234 |
+
],
|
| 235 |
+
"python_version": "3.12.13"
|
| 236 |
+
},
|
| 237 |
+
"track": "open"
|
| 238 |
+
}
|
batch-sweep-60M/60m-5tpp-bs512-lr2e-8-s1337/result.json
ADDED
|
@@ -0,0 +1,238 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 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": 1024,
|
| 26 |
+
"tokenizer_id": "gpt2"
|
| 27 |
+
},
|
| 28 |
+
"evaluations": {
|
| 29 |
+
"fineweb": {
|
| 30 |
+
"canonical": true,
|
| 31 |
+
"loss": 5.341884195804596,
|
| 32 |
+
"perplexity": 208.90595942587223,
|
| 33 |
+
"scored_tokens": 4194304,
|
| 34 |
+
"seconds": 0.4429857379873283
|
| 35 |
+
}
|
| 36 |
+
},
|
| 37 |
+
"implementation": {
|
| 38 |
+
"attention_backend": "tpu_flash",
|
| 39 |
+
"attention_tuning": {
|
| 40 |
+
"key_digest": "95bc05cbf51b0f72ad8508ff3fd06150efd4c9fb645177f2678c63050ddcb857",
|
| 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 |
+
"study_batch_size": 512,
|
| 59 |
+
"tokens_per_parameter_micros": 5000000
|
| 60 |
+
},
|
| 61 |
+
"path": "config.yaml",
|
| 62 |
+
"profile": "dev",
|
| 63 |
+
"resolved": {
|
| 64 |
+
"evaluation": {
|
| 65 |
+
"eval_batches": 8,
|
| 66 |
+
"val_every": 0,
|
| 67 |
+
"val_probe_batches": 8
|
| 68 |
+
},
|
| 69 |
+
"kernels": {
|
| 70 |
+
"attention_backend": "tpu_flash",
|
| 71 |
+
"loss_backend": "tiled",
|
| 72 |
+
"vocab_tile_size": 2048
|
| 73 |
+
},
|
| 74 |
+
"logging": {
|
| 75 |
+
"diagnostics_every": 10,
|
| 76 |
+
"log_every": 10
|
| 77 |
+
},
|
| 78 |
+
"model": {
|
| 79 |
+
"d_model": 384,
|
| 80 |
+
"heads": 6,
|
| 81 |
+
"layers": 12,
|
| 82 |
+
"mlp_activation": "gelu",
|
| 83 |
+
"mlp_mult": 4,
|
| 84 |
+
"normalization": "rms_norm",
|
| 85 |
+
"parameterization": "complete_d_p",
|
| 86 |
+
"position_encoding": "rope_base_10000",
|
| 87 |
+
"semantic_vocab_size": 50304,
|
| 88 |
+
"tied_embeddings": false,
|
| 89 |
+
"tier": "60m",
|
| 90 |
+
"vocab_size": 50304
|
| 91 |
+
},
|
| 92 |
+
"optimizer": {
|
| 93 |
+
"adam_epsilon": 1e-08,
|
| 94 |
+
"beta1": 0.9,
|
| 95 |
+
"beta2": 0.95,
|
| 96 |
+
"effective": {
|
| 97 |
+
"adam_epsilon_horizon_multiplier": 0.5,
|
| 98 |
+
"beta1": 0.6000000000000001,
|
| 99 |
+
"beta2": 0.7999999999999998,
|
| 100 |
+
"global_peak_learning_rate": 0.0078125,
|
| 101 |
+
"weight_decay_horizon_multiplier": 2.0
|
| 102 |
+
},
|
| 103 |
+
"grad_clip": 0.0,
|
| 104 |
+
"learning_rate": 0.00390625,
|
| 105 |
+
"min_lr_ratio": 0.1,
|
| 106 |
+
"warmup_steps": 57,
|
| 107 |
+
"weight_decay": 0.1
|
| 108 |
+
},
|
| 109 |
+
"parameterization": {
|
| 110 |
+
"attention_scale": "inverse_head_dim",
|
| 111 |
+
"base_depth": 12,
|
| 112 |
+
"base_width": 384,
|
| 113 |
+
"batch_multiplier": 4.0,
|
| 114 |
+
"data_multiplier": 1.0,
|
| 115 |
+
"depth_alpha": 1.0,
|
| 116 |
+
"depth_multiplier": 1.0,
|
| 117 |
+
"embeddings": "untied",
|
| 118 |
+
"init_std": 0.02,
|
| 119 |
+
"name": "complete_d_p",
|
| 120 |
+
"width_multiplier": 1.0
|
| 121 |
+
},
|
| 122 |
+
"training": {
|
| 123 |
+
"batch_size": 512,
|
| 124 |
+
"dtype": "bfloat16",
|
| 125 |
+
"sampling": "shuffled_epochs",
|
| 126 |
+
"seq_len": 1024,
|
| 127 |
+
"steps": 571,
|
| 128 |
+
"tokens_per_parameter": 4.996285069139584,
|
| 129 |
+
"train_tokens": 299368448
|
| 130 |
+
}
|
| 131 |
+
},
|
| 132 |
+
"schema_version": 2,
|
| 133 |
+
"sha256": "64473be07689abbf926027ef96fa7b679206510e29bae19403d94890c4fa1a7c"
|
| 134 |
+
},
|
| 135 |
+
"loss_backend": "tiled",
|
| 136 |
+
"vocab_tile_size": 2048
|
| 137 |
+
},
|
| 138 |
+
"metrics": {
|
| 139 |
+
"achieved_tflops": 1356.7598127989045,
|
| 140 |
+
"attention_tune_seconds": 0.0,
|
| 141 |
+
"base_learning_rate": 0.00390625,
|
| 142 |
+
"diagnostic_compile_seconds": 56.21652633999474,
|
| 143 |
+
"diagnostic_point_count": 59,
|
| 144 |
+
"diagnostics_every": 10,
|
| 145 |
+
"estimated_total_flops": 102178120362098688,
|
| 146 |
+
"eval_compile_seconds": 9.699034475022927,
|
| 147 |
+
"final_validation_seconds": 0.4429857379873283,
|
| 148 |
+
"flop_accounting": {
|
| 149 |
+
"by_site": {
|
| 150 |
+
"dot_general": 291521691648,
|
| 151 |
+
"tpu_flash_causal_attention_bwd_dkv": 19327352832,
|
| 152 |
+
"tpu_flash_causal_attention_bwd_dq": 19327352832,
|
| 153 |
+
"tpu_flash_causal_attention_fwd": 19327352832
|
| 154 |
+
},
|
| 155 |
+
"elementwise_per_sequence": 1149350130,
|
| 156 |
+
"matmul_per_sequence": 349503750144,
|
| 157 |
+
"method": "traced-jaxpr",
|
| 158 |
+
"warnings": []
|
| 159 |
+
},
|
| 160 |
+
"flops_per_token": 341312256,
|
| 161 |
+
"mfu_estimate": 0.3083545029088419,
|
| 162 |
+
"model_tier": "60m",
|
| 163 |
+
"parameter_count": 59918208,
|
| 164 |
+
"parameters": 59918208,
|
| 165 |
+
"tokens_per_parameter": 4.996285069139584,
|
| 166 |
+
"tokens_per_second": 3975127.728196507,
|
| 167 |
+
"tokens_processed": 299368448,
|
| 168 |
+
"total_compile_seconds": 94.05379035303486,
|
| 169 |
+
"train_compile_seconds": 28.138229538017185,
|
| 170 |
+
"train_loss": 5.310612678527832,
|
| 171 |
+
"train_seconds": 75.3103971669916,
|
| 172 |
+
"training_data_epochs": 0.037894837263947954,
|
| 173 |
+
"training_data_sharding": "rank_disjoint_shuffled_windows",
|
| 174 |
+
"training_sampling": "shuffled_epochs",
|
| 175 |
+
"training_steps": 571,
|
| 176 |
+
"training_token_budget": 299368448,
|
| 177 |
+
"training_usable_tokens_per_epoch": 7899979776,
|
| 178 |
+
"validation_loss": 5.341884195804596,
|
| 179 |
+
"validation_probe_count": 0,
|
| 180 |
+
"validation_probe_seconds": 0.0,
|
| 181 |
+
"validation_tokens": 4194304
|
| 182 |
+
},
|
| 183 |
+
"profile": "dev",
|
| 184 |
+
"schema_version": 1,
|
| 185 |
+
"seed": 1337,
|
| 186 |
+
"status": "ok",
|
| 187 |
+
"system": {
|
| 188 |
+
"controller_process_index": 1,
|
| 189 |
+
"device_count": 16,
|
| 190 |
+
"device_ids": [
|
| 191 |
+
0,
|
| 192 |
+
1,
|
| 193 |
+
2,
|
| 194 |
+
3,
|
| 195 |
+
4,
|
| 196 |
+
5,
|
| 197 |
+
6,
|
| 198 |
+
7,
|
| 199 |
+
8,
|
| 200 |
+
9,
|
| 201 |
+
10,
|
| 202 |
+
11,
|
| 203 |
+
12,
|
| 204 |
+
13,
|
| 205 |
+
14,
|
| 206 |
+
15
|
| 207 |
+
],
|
| 208 |
+
"device_kinds": [
|
| 209 |
+
"TPU v4"
|
| 210 |
+
],
|
| 211 |
+
"jax_version": "0.11.0",
|
| 212 |
+
"jaxlib_version": "0.11.0",
|
| 213 |
+
"libtpu_version": "0.0.44.1",
|
| 214 |
+
"local_device_count": 4,
|
| 215 |
+
"platform": "tpu",
|
| 216 |
+
"process_count": 4,
|
| 217 |
+
"process_indices": [
|
| 218 |
+
0,
|
| 219 |
+
0,
|
| 220 |
+
0,
|
| 221 |
+
0,
|
| 222 |
+
1,
|
| 223 |
+
1,
|
| 224 |
+
1,
|
| 225 |
+
1,
|
| 226 |
+
2,
|
| 227 |
+
2,
|
| 228 |
+
2,
|
| 229 |
+
2,
|
| 230 |
+
3,
|
| 231 |
+
3,
|
| 232 |
+
3,
|
| 233 |
+
3
|
| 234 |
+
],
|
| 235 |
+
"python_version": "3.12.13"
|
| 236 |
+
},
|
| 237 |
+
"track": "open"
|
| 238 |
+
}
|
batch-sweep-60M/60m-5tpp-bs512-lr2e-8-s1337/training.riglog
ADDED
|
Binary file (9.24 kB). View file
|
|
|
batch-sweep-60M/60m-5tpp-bs512-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 |
+
571,299368448,fineweb,fineweb,4194304,5.341884195804596,208.90595942587223,0.4429857379873283,true
|
batch-sweep-60M/60m-5tpp-bs512-lr2e-8-s1338/diagnostics.riglog
ADDED
|
Binary file (75.1 kB). View file
|
|
|
batch-sweep-60M/60m-5tpp-bs512-lr2e-8-s1338/metrics.json
ADDED
|
@@ -0,0 +1,238 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"artifacts": {
|
| 3 |
+
"diagnostics": "diagnostics.csv",
|
| 4 |
+
"training_curve": "training.csv",
|
| 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": 1024,
|
| 26 |
+
"tokenizer_id": "gpt2"
|
| 27 |
+
},
|
| 28 |
+
"evaluations": {
|
| 29 |
+
"fineweb": {
|
| 30 |
+
"canonical": true,
|
| 31 |
+
"loss": 5.181924104690552,
|
| 32 |
+
"perplexity": 178.0250204412524,
|
| 33 |
+
"scored_tokens": 4194304,
|
| 34 |
+
"seconds": 0.4242735180014279
|
| 35 |
+
}
|
| 36 |
+
},
|
| 37 |
+
"implementation": {
|
| 38 |
+
"attention_backend": "tpu_flash",
|
| 39 |
+
"attention_tuning": {
|
| 40 |
+
"key_digest": "95bc05cbf51b0f72ad8508ff3fd06150efd4c9fb645177f2678c63050ddcb857",
|
| 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 |
+
"study_batch_size": 512,
|
| 59 |
+
"tokens_per_parameter_micros": 5000000
|
| 60 |
+
},
|
| 61 |
+
"path": "config.yaml",
|
| 62 |
+
"profile": "dev",
|
| 63 |
+
"resolved": {
|
| 64 |
+
"evaluation": {
|
| 65 |
+
"eval_batches": 8,
|
| 66 |
+
"val_every": 0,
|
| 67 |
+
"val_probe_batches": 8
|
| 68 |
+
},
|
| 69 |
+
"kernels": {
|
| 70 |
+
"attention_backend": "tpu_flash",
|
| 71 |
+
"loss_backend": "tiled",
|
| 72 |
+
"vocab_tile_size": 2048
|
| 73 |
+
},
|
| 74 |
+
"logging": {
|
| 75 |
+
"diagnostics_every": 10,
|
| 76 |
+
"log_every": 10
|
| 77 |
+
},
|
| 78 |
+
"model": {
|
| 79 |
+
"d_model": 384,
|
| 80 |
+
"heads": 6,
|
| 81 |
+
"layers": 12,
|
| 82 |
+
"mlp_activation": "gelu",
|
| 83 |
+
"mlp_mult": 4,
|
| 84 |
+
"normalization": "rms_norm",
|
| 85 |
+
"parameterization": "complete_d_p",
|
| 86 |
+
"position_encoding": "rope_base_10000",
|
| 87 |
+
"semantic_vocab_size": 50304,
|
| 88 |
+
"tied_embeddings": false,
|
| 89 |
+
"tier": "60m",
|
| 90 |
+
"vocab_size": 50304
|
| 91 |
+
},
|
| 92 |
+
"optimizer": {
|
| 93 |
+
"adam_epsilon": 1e-08,
|
| 94 |
+
"beta1": 0.9,
|
| 95 |
+
"beta2": 0.95,
|
| 96 |
+
"effective": {
|
| 97 |
+
"adam_epsilon_horizon_multiplier": 0.5,
|
| 98 |
+
"beta1": 0.6000000000000001,
|
| 99 |
+
"beta2": 0.7999999999999998,
|
| 100 |
+
"global_peak_learning_rate": 0.0078125,
|
| 101 |
+
"weight_decay_horizon_multiplier": 2.0
|
| 102 |
+
},
|
| 103 |
+
"grad_clip": 0.0,
|
| 104 |
+
"learning_rate": 0.00390625,
|
| 105 |
+
"min_lr_ratio": 0.1,
|
| 106 |
+
"warmup_steps": 57,
|
| 107 |
+
"weight_decay": 0.1
|
| 108 |
+
},
|
| 109 |
+
"parameterization": {
|
| 110 |
+
"attention_scale": "inverse_head_dim",
|
| 111 |
+
"base_depth": 12,
|
| 112 |
+
"base_width": 384,
|
| 113 |
+
"batch_multiplier": 4.0,
|
| 114 |
+
"data_multiplier": 1.0,
|
| 115 |
+
"depth_alpha": 1.0,
|
| 116 |
+
"depth_multiplier": 1.0,
|
| 117 |
+
"embeddings": "untied",
|
| 118 |
+
"init_std": 0.02,
|
| 119 |
+
"name": "complete_d_p",
|
| 120 |
+
"width_multiplier": 1.0
|
| 121 |
+
},
|
| 122 |
+
"training": {
|
| 123 |
+
"batch_size": 512,
|
| 124 |
+
"dtype": "bfloat16",
|
| 125 |
+
"sampling": "shuffled_epochs",
|
| 126 |
+
"seq_len": 1024,
|
| 127 |
+
"steps": 571,
|
| 128 |
+
"tokens_per_parameter": 4.996285069139584,
|
| 129 |
+
"train_tokens": 299368448
|
| 130 |
+
}
|
| 131 |
+
},
|
| 132 |
+
"schema_version": 2,
|
| 133 |
+
"sha256": "64473be07689abbf926027ef96fa7b679206510e29bae19403d94890c4fa1a7c"
|
| 134 |
+
},
|
| 135 |
+
"loss_backend": "tiled",
|
| 136 |
+
"vocab_tile_size": 2048
|
| 137 |
+
},
|
| 138 |
+
"metrics": {
|
| 139 |
+
"achieved_tflops": 1383.2889057202904,
|
| 140 |
+
"attention_tune_seconds": 0.0,
|
| 141 |
+
"base_learning_rate": 0.00390625,
|
| 142 |
+
"diagnostic_compile_seconds": 55.31145549900248,
|
| 143 |
+
"diagnostic_point_count": 59,
|
| 144 |
+
"diagnostics_every": 10,
|
| 145 |
+
"estimated_total_flops": 102178120362098688,
|
| 146 |
+
"eval_compile_seconds": 9.539940550021129,
|
| 147 |
+
"final_validation_seconds": 0.4242735180014279,
|
| 148 |
+
"flop_accounting": {
|
| 149 |
+
"by_site": {
|
| 150 |
+
"dot_general": 291521691648,
|
| 151 |
+
"tpu_flash_causal_attention_bwd_dkv": 19327352832,
|
| 152 |
+
"tpu_flash_causal_attention_bwd_dq": 19327352832,
|
| 153 |
+
"tpu_flash_causal_attention_fwd": 19327352832
|
| 154 |
+
},
|
| 155 |
+
"elementwise_per_sequence": 1149350130,
|
| 156 |
+
"matmul_per_sequence": 349503750144,
|
| 157 |
+
"method": "traced-jaxpr",
|
| 158 |
+
"warnings": []
|
| 159 |
+
},
|
| 160 |
+
"flops_per_token": 341312256,
|
| 161 |
+
"mfu_estimate": 0.3143838422091569,
|
| 162 |
+
"model_tier": "60m",
|
| 163 |
+
"parameter_count": 59918208,
|
| 164 |
+
"parameters": 59918208,
|
| 165 |
+
"tokens_per_parameter": 4.996285069139584,
|
| 166 |
+
"tokens_per_second": 4052854.4797415365,
|
| 167 |
+
"tokens_processed": 299368448,
|
| 168 |
+
"total_compile_seconds": 93.02705095303827,
|
| 169 |
+
"train_compile_seconds": 28.175654904014664,
|
| 170 |
+
"train_loss": 5.17849063873291,
|
| 171 |
+
"train_seconds": 73.86607377501787,
|
| 172 |
+
"training_data_epochs": 0.037894837263947954,
|
| 173 |
+
"training_data_sharding": "rank_disjoint_shuffled_windows",
|
| 174 |
+
"training_sampling": "shuffled_epochs",
|
| 175 |
+
"training_steps": 571,
|
| 176 |
+
"training_token_budget": 299368448,
|
| 177 |
+
"training_usable_tokens_per_epoch": 7899979776,
|
| 178 |
+
"validation_loss": 5.181924104690552,
|
| 179 |
+
"validation_probe_count": 0,
|
| 180 |
+
"validation_probe_seconds": 0.0,
|
| 181 |
+
"validation_tokens": 4194304
|
| 182 |
+
},
|
| 183 |
+
"profile": "dev",
|
| 184 |
+
"schema_version": 1,
|
| 185 |
+
"seed": 1338,
|
| 186 |
+
"status": "ok",
|
| 187 |
+
"system": {
|
| 188 |
+
"controller_process_index": 1,
|
| 189 |
+
"device_count": 16,
|
| 190 |
+
"device_ids": [
|
| 191 |
+
0,
|
| 192 |
+
1,
|
| 193 |
+
2,
|
| 194 |
+
3,
|
| 195 |
+
4,
|
| 196 |
+
5,
|
| 197 |
+
6,
|
| 198 |
+
7,
|
| 199 |
+
8,
|
| 200 |
+
9,
|
| 201 |
+
10,
|
| 202 |
+
11,
|
| 203 |
+
12,
|
| 204 |
+
13,
|
| 205 |
+
14,
|
| 206 |
+
15
|
| 207 |
+
],
|
| 208 |
+
"device_kinds": [
|
| 209 |
+
"TPU v4"
|
| 210 |
+
],
|
| 211 |
+
"jax_version": "0.11.0",
|
| 212 |
+
"jaxlib_version": "0.11.0",
|
| 213 |
+
"libtpu_version": "0.0.44.1",
|
| 214 |
+
"local_device_count": 4,
|
| 215 |
+
"platform": "tpu",
|
| 216 |
+
"process_count": 4,
|
| 217 |
+
"process_indices": [
|
| 218 |
+
0,
|
| 219 |
+
0,
|
| 220 |
+
0,
|
| 221 |
+
0,
|
| 222 |
+
1,
|
| 223 |
+
1,
|
| 224 |
+
1,
|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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 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": 1024,
|
| 26 |
+
"tokenizer_id": "gpt2"
|
| 27 |
+
},
|
| 28 |
+
"evaluations": {
|
| 29 |
+
"fineweb": {
|
| 30 |
+
"canonical": true,
|
| 31 |
+
"loss": 5.181924104690552,
|
| 32 |
+
"perplexity": 178.0250204412524,
|
| 33 |
+
"scored_tokens": 4194304,
|
| 34 |
+
"seconds": 0.4242735180014279
|
| 35 |
+
}
|
| 36 |
+
},
|
| 37 |
+
"implementation": {
|
| 38 |
+
"attention_backend": "tpu_flash",
|
| 39 |
+
"attention_tuning": {
|
| 40 |
+
"key_digest": "95bc05cbf51b0f72ad8508ff3fd06150efd4c9fb645177f2678c63050ddcb857",
|
| 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 |
+
"study_batch_size": 512,
|
| 59 |
+
"tokens_per_parameter_micros": 5000000
|
| 60 |
+
},
|
| 61 |
+
"path": "config.yaml",
|
| 62 |
+
"profile": "dev",
|
| 63 |
+
"resolved": {
|
| 64 |
+
"evaluation": {
|
| 65 |
+
"eval_batches": 8,
|
| 66 |
+
"val_every": 0,
|
| 67 |
+
"val_probe_batches": 8
|
| 68 |
+
},
|
| 69 |
+
"kernels": {
|
| 70 |
+
"attention_backend": "tpu_flash",
|
| 71 |
+
"loss_backend": "tiled",
|
| 72 |
+
"vocab_tile_size": 2048
|
| 73 |
+
},
|
| 74 |
+
"logging": {
|
| 75 |
+
"diagnostics_every": 10,
|
| 76 |
+
"log_every": 10
|
| 77 |
+
},
|
| 78 |
+
"model": {
|
| 79 |
+
"d_model": 384,
|
| 80 |
+
"heads": 6,
|
| 81 |
+
"layers": 12,
|
| 82 |
+
"mlp_activation": "gelu",
|
| 83 |
+
"mlp_mult": 4,
|
| 84 |
+
"normalization": "rms_norm",
|
| 85 |
+
"parameterization": "complete_d_p",
|
| 86 |
+
"position_encoding": "rope_base_10000",
|
| 87 |
+
"semantic_vocab_size": 50304,
|
| 88 |
+
"tied_embeddings": false,
|
| 89 |
+
"tier": "60m",
|
| 90 |
+
"vocab_size": 50304
|
| 91 |
+
},
|
| 92 |
+
"optimizer": {
|
| 93 |
+
"adam_epsilon": 1e-08,
|
| 94 |
+
"beta1": 0.9,
|
| 95 |
+
"beta2": 0.95,
|
| 96 |
+
"effective": {
|
| 97 |
+
"adam_epsilon_horizon_multiplier": 0.5,
|
| 98 |
+
"beta1": 0.6000000000000001,
|
| 99 |
+
"beta2": 0.7999999999999998,
|
| 100 |
+
"global_peak_learning_rate": 0.0078125,
|
| 101 |
+
"weight_decay_horizon_multiplier": 2.0
|
| 102 |
+
},
|
| 103 |
+
"grad_clip": 0.0,
|
| 104 |
+
"learning_rate": 0.00390625,
|
| 105 |
+
"min_lr_ratio": 0.1,
|
| 106 |
+
"warmup_steps": 57,
|
| 107 |
+
"weight_decay": 0.1
|
| 108 |
+
},
|
| 109 |
+
"parameterization": {
|
| 110 |
+
"attention_scale": "inverse_head_dim",
|
| 111 |
+
"base_depth": 12,
|
| 112 |
+
"base_width": 384,
|
| 113 |
+
"batch_multiplier": 4.0,
|
| 114 |
+
"data_multiplier": 1.0,
|
| 115 |
+
"depth_alpha": 1.0,
|
| 116 |
+
"depth_multiplier": 1.0,
|
| 117 |
+
"embeddings": "untied",
|
| 118 |
+
"init_std": 0.02,
|
| 119 |
+
"name": "complete_d_p",
|
| 120 |
+
"width_multiplier": 1.0
|
| 121 |
+
},
|
| 122 |
+
"training": {
|
| 123 |
+
"batch_size": 512,
|
| 124 |
+
"dtype": "bfloat16",
|
| 125 |
+
"sampling": "shuffled_epochs",
|
| 126 |
+
"seq_len": 1024,
|
| 127 |
+
"steps": 571,
|
| 128 |
+
"tokens_per_parameter": 4.996285069139584,
|
| 129 |
+
"train_tokens": 299368448
|
| 130 |
+
}
|
| 131 |
+
},
|
| 132 |
+
"schema_version": 2,
|
| 133 |
+
"sha256": "64473be07689abbf926027ef96fa7b679206510e29bae19403d94890c4fa1a7c"
|
| 134 |
+
},
|
| 135 |
+
"loss_backend": "tiled",
|
| 136 |
+
"vocab_tile_size": 2048
|
| 137 |
+
},
|
| 138 |
+
"metrics": {
|
| 139 |
+
"achieved_tflops": 1383.2889057202904,
|
| 140 |
+
"attention_tune_seconds": 0.0,
|
| 141 |
+
"base_learning_rate": 0.00390625,
|
| 142 |
+
"diagnostic_compile_seconds": 55.31145549900248,
|
| 143 |
+
"diagnostic_point_count": 59,
|
| 144 |
+
"diagnostics_every": 10,
|
| 145 |
+
"estimated_total_flops": 102178120362098688,
|
| 146 |
+
"eval_compile_seconds": 9.539940550021129,
|
| 147 |
+
"final_validation_seconds": 0.4242735180014279,
|
| 148 |
+
"flop_accounting": {
|
| 149 |
+
"by_site": {
|
| 150 |
+
"dot_general": 291521691648,
|
| 151 |
+
"tpu_flash_causal_attention_bwd_dkv": 19327352832,
|
| 152 |
+
"tpu_flash_causal_attention_bwd_dq": 19327352832,
|
| 153 |
+
"tpu_flash_causal_attention_fwd": 19327352832
|
| 154 |
+
},
|
| 155 |
+
"elementwise_per_sequence": 1149350130,
|
| 156 |
+
"matmul_per_sequence": 349503750144,
|
| 157 |
+
"method": "traced-jaxpr",
|
| 158 |
+
"warnings": []
|
| 159 |
+
},
|
| 160 |
+
"flops_per_token": 341312256,
|
| 161 |
+
"mfu_estimate": 0.3143838422091569,
|
| 162 |
+
"model_tier": "60m",
|
| 163 |
+
"parameter_count": 59918208,
|
| 164 |
+
"parameters": 59918208,
|
| 165 |
+
"tokens_per_parameter": 4.996285069139584,
|
| 166 |
+
"tokens_per_second": 4052854.4797415365,
|
| 167 |
+
"tokens_processed": 299368448,
|
| 168 |
+
"total_compile_seconds": 93.02705095303827,
|
| 169 |
+
"train_compile_seconds": 28.175654904014664,
|
| 170 |
+
"train_loss": 5.17849063873291,
|
| 171 |
+
"train_seconds": 73.86607377501787,
|
| 172 |
+
"training_data_epochs": 0.037894837263947954,
|
| 173 |
+
"training_data_sharding": "rank_disjoint_shuffled_windows",
|
| 174 |
+
"training_sampling": "shuffled_epochs",
|
| 175 |
+
"training_steps": 571,
|
| 176 |
+
"training_token_budget": 299368448,
|
| 177 |
+
"training_usable_tokens_per_epoch": 7899979776,
|
| 178 |
+
"validation_loss": 5.181924104690552,
|
| 179 |
+
"validation_probe_count": 0,
|
| 180 |
+
"validation_probe_seconds": 0.0,
|
| 181 |
+
"validation_tokens": 4194304
|
| 182 |
+
},
|
| 183 |
+
"profile": "dev",
|
| 184 |
+
"schema_version": 1,
|
| 185 |
+
"seed": 1338,
|
| 186 |
+
"status": "ok",
|
| 187 |
+
"system": {
|
| 188 |
+
"controller_process_index": 1,
|
| 189 |
+
"device_count": 16,
|
| 190 |
+
"device_ids": [
|
| 191 |
+
0,
|
| 192 |
+
1,
|
| 193 |
+
2,
|
| 194 |
+
3,
|
| 195 |
+
4,
|
| 196 |
+
5,
|
| 197 |
+
6,
|
| 198 |
+
7,
|
| 199 |
+
8,
|
| 200 |
+
9,
|
| 201 |
+
10,
|
| 202 |
+
11,
|
| 203 |
+
12,
|
| 204 |
+
13,
|
| 205 |
+
14,
|
| 206 |
+
15
|
| 207 |
+
],
|
| 208 |
+
"device_kinds": [
|
| 209 |
+
"TPU v4"
|
| 210 |
+
],
|
| 211 |
+
"jax_version": "0.11.0",
|
| 212 |
+
"jaxlib_version": "0.11.0",
|
| 213 |
+
"libtpu_version": "0.0.44.1",
|
| 214 |
+
"local_device_count": 4,
|
| 215 |
+
"platform": "tpu",
|
| 216 |
+
"process_count": 4,
|
| 217 |
+
"process_indices": [
|
| 218 |
+
0,
|
| 219 |
+
0,
|
| 220 |
+
0,
|
| 221 |
+
0,
|
| 222 |
+
1,
|
| 223 |
+
1,
|
| 224 |
+
1,
|
| 225 |
+
1,
|
| 226 |
+
2,
|
| 227 |
+
2,
|
| 228 |
+
2,
|
| 229 |
+
2,
|
| 230 |
+
3,
|
| 231 |
+
3,
|
| 232 |
+
3,
|
| 233 |
+
3
|
| 234 |
+
],
|
| 235 |
+
"python_version": "3.12.13"
|
| 236 |
+
},
|
| 237 |
+
"track": "open"
|
| 238 |
+
}
|
batch-sweep-60M/60m-5tpp-bs512-lr2e-8-s1338/training.riglog
ADDED
|
Binary file (9.24 kB). View file
|
|
|
batch-sweep-60M/60m-5tpp-bs512-lr2e-8-s1338/validation.csv
ADDED
|
@@ -0,0 +1,2 @@
|
|
|
|
|
|
|
|
|
|
| 1 |
+
step,tokens_processed,kind,domain,validation_tokens,validation_loss,perplexity,validation_seconds,canonical
|
| 2 |
+
571,299368448,fineweb,fineweb,4194304,5.181924104690552,178.0250204412524,0.4242735180014279,true
|
batch-sweep-60M/60m-5tpp-bs512-lr2e-8-s1339/diagnostics.riglog
ADDED
|
Binary file (75.1 kB). View file
|
|
|
batch-sweep-60M/60m-5tpp-bs512-lr2e-8-s1339/metrics.json
ADDED
|
@@ -0,0 +1,238 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"artifacts": {
|
| 3 |
+
"diagnostics": "diagnostics.csv",
|
| 4 |
+
"training_curve": "training.csv",
|
| 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": 1024,
|
| 26 |
+
"tokenizer_id": "gpt2"
|
| 27 |
+
},
|
| 28 |
+
"evaluations": {
|
| 29 |
+
"fineweb": {
|
| 30 |
+
"canonical": true,
|
| 31 |
+
"loss": 5.217997610569,
|
| 32 |
+
"perplexity": 184.56424432040083,
|
| 33 |
+
"scored_tokens": 4194304,
|
| 34 |
+
"seconds": 0.4158219499804545
|
| 35 |
+
}
|
| 36 |
+
},
|
| 37 |
+
"implementation": {
|
| 38 |
+
"attention_backend": "tpu_flash",
|
| 39 |
+
"attention_tuning": {
|
| 40 |
+
"key_digest": "95bc05cbf51b0f72ad8508ff3fd06150efd4c9fb645177f2678c63050ddcb857",
|
| 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 |
+
"study_batch_size": 512,
|
| 59 |
+
"tokens_per_parameter_micros": 5000000
|
| 60 |
+
},
|
| 61 |
+
"path": "config.yaml",
|
| 62 |
+
"profile": "dev",
|
| 63 |
+
"resolved": {
|
| 64 |
+
"evaluation": {
|
| 65 |
+
"eval_batches": 8,
|
| 66 |
+
"val_every": 0,
|
| 67 |
+
"val_probe_batches": 8
|
| 68 |
+
},
|
| 69 |
+
"kernels": {
|
| 70 |
+
"attention_backend": "tpu_flash",
|
| 71 |
+
"loss_backend": "tiled",
|
| 72 |
+
"vocab_tile_size": 2048
|
| 73 |
+
},
|
| 74 |
+
"logging": {
|
| 75 |
+
"diagnostics_every": 10,
|
| 76 |
+
"log_every": 10
|
| 77 |
+
},
|
| 78 |
+
"model": {
|
| 79 |
+
"d_model": 384,
|
| 80 |
+
"heads": 6,
|
| 81 |
+
"layers": 12,
|
| 82 |
+
"mlp_activation": "gelu",
|
| 83 |
+
"mlp_mult": 4,
|
| 84 |
+
"normalization": "rms_norm",
|
| 85 |
+
"parameterization": "complete_d_p",
|
| 86 |
+
"position_encoding": "rope_base_10000",
|
| 87 |
+
"semantic_vocab_size": 50304,
|
| 88 |
+
"tied_embeddings": false,
|
| 89 |
+
"tier": "60m",
|
| 90 |
+
"vocab_size": 50304
|
| 91 |
+
},
|
| 92 |
+
"optimizer": {
|
| 93 |
+
"adam_epsilon": 1e-08,
|
| 94 |
+
"beta1": 0.9,
|
| 95 |
+
"beta2": 0.95,
|
| 96 |
+
"effective": {
|
| 97 |
+
"adam_epsilon_horizon_multiplier": 0.5,
|
| 98 |
+
"beta1": 0.6000000000000001,
|
| 99 |
+
"beta2": 0.7999999999999998,
|
| 100 |
+
"global_peak_learning_rate": 0.0078125,
|
| 101 |
+
"weight_decay_horizon_multiplier": 2.0
|
| 102 |
+
},
|
| 103 |
+
"grad_clip": 0.0,
|
| 104 |
+
"learning_rate": 0.00390625,
|
| 105 |
+
"min_lr_ratio": 0.1,
|
| 106 |
+
"warmup_steps": 57,
|
| 107 |
+
"weight_decay": 0.1
|
| 108 |
+
},
|
| 109 |
+
"parameterization": {
|
| 110 |
+
"attention_scale": "inverse_head_dim",
|
| 111 |
+
"base_depth": 12,
|
| 112 |
+
"base_width": 384,
|
| 113 |
+
"batch_multiplier": 4.0,
|
| 114 |
+
"data_multiplier": 1.0,
|
| 115 |
+
"depth_alpha": 1.0,
|
| 116 |
+
"depth_multiplier": 1.0,
|
| 117 |
+
"embeddings": "untied",
|
| 118 |
+
"init_std": 0.02,
|
| 119 |
+
"name": "complete_d_p",
|
| 120 |
+
"width_multiplier": 1.0
|
| 121 |
+
},
|
| 122 |
+
"training": {
|
| 123 |
+
"batch_size": 512,
|
| 124 |
+
"dtype": "bfloat16",
|
| 125 |
+
"sampling": "shuffled_epochs",
|
| 126 |
+
"seq_len": 1024,
|
| 127 |
+
"steps": 571,
|
| 128 |
+
"tokens_per_parameter": 4.996285069139584,
|
| 129 |
+
"train_tokens": 299368448
|
| 130 |
+
}
|
| 131 |
+
},
|
| 132 |
+
"schema_version": 2,
|
| 133 |
+
"sha256": "64473be07689abbf926027ef96fa7b679206510e29bae19403d94890c4fa1a7c"
|
| 134 |
+
},
|
| 135 |
+
"loss_backend": "tiled",
|
| 136 |
+
"vocab_tile_size": 2048
|
| 137 |
+
},
|
| 138 |
+
"metrics": {
|
| 139 |
+
"achieved_tflops": 1383.881224560212,
|
| 140 |
+
"attention_tune_seconds": 0.0,
|
| 141 |
+
"base_learning_rate": 0.00390625,
|
| 142 |
+
"diagnostic_compile_seconds": 55.70425781101221,
|
| 143 |
+
"diagnostic_point_count": 59,
|
| 144 |
+
"diagnostics_every": 10,
|
| 145 |
+
"estimated_total_flops": 102178120362098688,
|
| 146 |
+
"eval_compile_seconds": 9.562512876989786,
|
| 147 |
+
"final_validation_seconds": 0.4158219499804545,
|
| 148 |
+
"flop_accounting": {
|
| 149 |
+
"by_site": {
|
| 150 |
+
"dot_general": 291521691648,
|
| 151 |
+
"tpu_flash_causal_attention_bwd_dkv": 19327352832,
|
| 152 |
+
"tpu_flash_causal_attention_bwd_dq": 19327352832,
|
| 153 |
+
"tpu_flash_causal_attention_fwd": 19327352832
|
| 154 |
+
},
|
| 155 |
+
"elementwise_per_sequence": 1149350130,
|
| 156 |
+
"matmul_per_sequence": 349503750144,
|
| 157 |
+
"method": "traced-jaxpr",
|
| 158 |
+
"warnings": []
|
| 159 |
+
},
|
| 160 |
+
"flops_per_token": 341312256,
|
| 161 |
+
"mfu_estimate": 0.31451846012732093,
|
| 162 |
+
"model_tier": "60m",
|
| 163 |
+
"parameter_count": 59918208,
|
| 164 |
+
"parameters": 59918208,
|
| 165 |
+
"tokens_per_parameter": 4.996285069139584,
|
| 166 |
+
"tokens_per_second": 4054589.8960048244,
|
| 167 |
+
"tokens_processed": 299368448,
|
| 168 |
+
"total_compile_seconds": 95.73574358801125,
|
| 169 |
+
"train_compile_seconds": 30.46897290000925,
|
| 170 |
+
"train_loss": 5.217545509338379,
|
| 171 |
+
"train_seconds": 73.83445815197774,
|
| 172 |
+
"training_data_epochs": 0.037894837263947954,
|
| 173 |
+
"training_data_sharding": "rank_disjoint_shuffled_windows",
|
| 174 |
+
"training_sampling": "shuffled_epochs",
|
| 175 |
+
"training_steps": 571,
|
| 176 |
+
"training_token_budget": 299368448,
|
| 177 |
+
"training_usable_tokens_per_epoch": 7899979776,
|
| 178 |
+
"validation_loss": 5.217997610569,
|
| 179 |
+
"validation_probe_count": 0,
|
| 180 |
+
"validation_probe_seconds": 0.0,
|
| 181 |
+
"validation_tokens": 4194304
|
| 182 |
+
},
|
| 183 |
+
"profile": "dev",
|
| 184 |
+
"schema_version": 1,
|
| 185 |
+
"seed": 1339,
|
| 186 |
+
"status": "ok",
|
| 187 |
+
"system": {
|
| 188 |
+
"controller_process_index": 1,
|
| 189 |
+
"device_count": 16,
|
| 190 |
+
"device_ids": [
|
| 191 |
+
0,
|
| 192 |
+
1,
|
| 193 |
+
2,
|
| 194 |
+
3,
|
| 195 |
+
4,
|
| 196 |
+
5,
|
| 197 |
+
6,
|
| 198 |
+
7,
|
| 199 |
+
8,
|
| 200 |
+
9,
|
| 201 |
+
10,
|
| 202 |
+
11,
|
| 203 |
+
12,
|
| 204 |
+
13,
|
| 205 |
+
14,
|
| 206 |
+
15
|
| 207 |
+
],
|
| 208 |
+
"device_kinds": [
|
| 209 |
+
"TPU v4"
|
| 210 |
+
],
|
| 211 |
+
"jax_version": "0.11.0",
|
| 212 |
+
"jaxlib_version": "0.11.0",
|
| 213 |
+
"libtpu_version": "0.0.44.1",
|
| 214 |
+
"local_device_count": 4,
|
| 215 |
+
"platform": "tpu",
|
| 216 |
+
"process_count": 4,
|
| 217 |
+
"process_indices": [
|
| 218 |
+
0,
|
| 219 |
+
0,
|
| 220 |
+
0,
|
| 221 |
+
0,
|
| 222 |
+
1,
|
| 223 |
+
1,
|
| 224 |
+
1,
|
| 225 |
+
1,
|
| 226 |
+
2,
|
| 227 |
+
2,
|
| 228 |
+
2,
|
| 229 |
+
2,
|
| 230 |
+
3,
|
| 231 |
+
3,
|
| 232 |
+
3,
|
|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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 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": 1024,
|
| 26 |
+
"tokenizer_id": "gpt2"
|
| 27 |
+
},
|
| 28 |
+
"evaluations": {
|
| 29 |
+
"fineweb": {
|
| 30 |
+
"canonical": true,
|
| 31 |
+
"loss": 5.217997610569,
|
| 32 |
+
"perplexity": 184.56424432040083,
|
| 33 |
+
"scored_tokens": 4194304,
|
| 34 |
+
"seconds": 0.4158219499804545
|
| 35 |
+
}
|
| 36 |
+
},
|
| 37 |
+
"implementation": {
|
| 38 |
+
"attention_backend": "tpu_flash",
|
| 39 |
+
"attention_tuning": {
|
| 40 |
+
"key_digest": "95bc05cbf51b0f72ad8508ff3fd06150efd4c9fb645177f2678c63050ddcb857",
|
| 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 |
+
"study_batch_size": 512,
|
| 59 |
+
"tokens_per_parameter_micros": 5000000
|
| 60 |
+
},
|
| 61 |
+
"path": "config.yaml",
|
| 62 |
+
"profile": "dev",
|
| 63 |
+
"resolved": {
|
| 64 |
+
"evaluation": {
|
| 65 |
+
"eval_batches": 8,
|
| 66 |
+
"val_every": 0,
|
| 67 |
+
"val_probe_batches": 8
|
| 68 |
+
},
|
| 69 |
+
"kernels": {
|
| 70 |
+
"attention_backend": "tpu_flash",
|
| 71 |
+
"loss_backend": "tiled",
|
| 72 |
+
"vocab_tile_size": 2048
|
| 73 |
+
},
|
| 74 |
+
"logging": {
|
| 75 |
+
"diagnostics_every": 10,
|
| 76 |
+
"log_every": 10
|
| 77 |
+
},
|
| 78 |
+
"model": {
|
| 79 |
+
"d_model": 384,
|
| 80 |
+
"heads": 6,
|
| 81 |
+
"layers": 12,
|
| 82 |
+
"mlp_activation": "gelu",
|
| 83 |
+
"mlp_mult": 4,
|
| 84 |
+
"normalization": "rms_norm",
|
| 85 |
+
"parameterization": "complete_d_p",
|
| 86 |
+
"position_encoding": "rope_base_10000",
|
| 87 |
+
"semantic_vocab_size": 50304,
|
| 88 |
+
"tied_embeddings": false,
|
| 89 |
+
"tier": "60m",
|
| 90 |
+
"vocab_size": 50304
|
| 91 |
+
},
|
| 92 |
+
"optimizer": {
|
| 93 |
+
"adam_epsilon": 1e-08,
|
| 94 |
+
"beta1": 0.9,
|
| 95 |
+
"beta2": 0.95,
|
| 96 |
+
"effective": {
|
| 97 |
+
"adam_epsilon_horizon_multiplier": 0.5,
|
| 98 |
+
"beta1": 0.6000000000000001,
|
| 99 |
+
"beta2": 0.7999999999999998,
|
| 100 |
+
"global_peak_learning_rate": 0.0078125,
|
| 101 |
+
"weight_decay_horizon_multiplier": 2.0
|
| 102 |
+
},
|
| 103 |
+
"grad_clip": 0.0,
|
| 104 |
+
"learning_rate": 0.00390625,
|
| 105 |
+
"min_lr_ratio": 0.1,
|
| 106 |
+
"warmup_steps": 57,
|
| 107 |
+
"weight_decay": 0.1
|
| 108 |
+
},
|
| 109 |
+
"parameterization": {
|
| 110 |
+
"attention_scale": "inverse_head_dim",
|
| 111 |
+
"base_depth": 12,
|
| 112 |
+
"base_width": 384,
|
| 113 |
+
"batch_multiplier": 4.0,
|
| 114 |
+
"data_multiplier": 1.0,
|
| 115 |
+
"depth_alpha": 1.0,
|
| 116 |
+
"depth_multiplier": 1.0,
|
| 117 |
+
"embeddings": "untied",
|
| 118 |
+
"init_std": 0.02,
|
| 119 |
+
"name": "complete_d_p",
|
| 120 |
+
"width_multiplier": 1.0
|
| 121 |
+
},
|
| 122 |
+
"training": {
|
| 123 |
+
"batch_size": 512,
|
| 124 |
+
"dtype": "bfloat16",
|
| 125 |
+
"sampling": "shuffled_epochs",
|
| 126 |
+
"seq_len": 1024,
|
| 127 |
+
"steps": 571,
|
| 128 |
+
"tokens_per_parameter": 4.996285069139584,
|
| 129 |
+
"train_tokens": 299368448
|
| 130 |
+
}
|
| 131 |
+
},
|
| 132 |
+
"schema_version": 2,
|
| 133 |
+
"sha256": "64473be07689abbf926027ef96fa7b679206510e29bae19403d94890c4fa1a7c"
|
| 134 |
+
},
|
| 135 |
+
"loss_backend": "tiled",
|
| 136 |
+
"vocab_tile_size": 2048
|
| 137 |
+
},
|
| 138 |
+
"metrics": {
|
| 139 |
+
"achieved_tflops": 1383.881224560212,
|
| 140 |
+
"attention_tune_seconds": 0.0,
|
| 141 |
+
"base_learning_rate": 0.00390625,
|
| 142 |
+
"diagnostic_compile_seconds": 55.70425781101221,
|
| 143 |
+
"diagnostic_point_count": 59,
|
| 144 |
+
"diagnostics_every": 10,
|
| 145 |
+
"estimated_total_flops": 102178120362098688,
|
| 146 |
+
"eval_compile_seconds": 9.562512876989786,
|
| 147 |
+
"final_validation_seconds": 0.4158219499804545,
|
| 148 |
+
"flop_accounting": {
|
| 149 |
+
"by_site": {
|
| 150 |
+
"dot_general": 291521691648,
|
| 151 |
+
"tpu_flash_causal_attention_bwd_dkv": 19327352832,
|
| 152 |
+
"tpu_flash_causal_attention_bwd_dq": 19327352832,
|
| 153 |
+
"tpu_flash_causal_attention_fwd": 19327352832
|
| 154 |
+
},
|
| 155 |
+
"elementwise_per_sequence": 1149350130,
|
| 156 |
+
"matmul_per_sequence": 349503750144,
|
| 157 |
+
"method": "traced-jaxpr",
|
| 158 |
+
"warnings": []
|
| 159 |
+
},
|
| 160 |
+
"flops_per_token": 341312256,
|
| 161 |
+
"mfu_estimate": 0.31451846012732093,
|
| 162 |
+
"model_tier": "60m",
|
| 163 |
+
"parameter_count": 59918208,
|
| 164 |
+
"parameters": 59918208,
|
| 165 |
+
"tokens_per_parameter": 4.996285069139584,
|
| 166 |
+
"tokens_per_second": 4054589.8960048244,
|
| 167 |
+
"tokens_processed": 299368448,
|
| 168 |
+
"total_compile_seconds": 95.73574358801125,
|
| 169 |
+
"train_compile_seconds": 30.46897290000925,
|
| 170 |
+
"train_loss": 5.217545509338379,
|
| 171 |
+
"train_seconds": 73.83445815197774,
|
| 172 |
+
"training_data_epochs": 0.037894837263947954,
|
| 173 |
+
"training_data_sharding": "rank_disjoint_shuffled_windows",
|
| 174 |
+
"training_sampling": "shuffled_epochs",
|
| 175 |
+
"training_steps": 571,
|
| 176 |
+
"training_token_budget": 299368448,
|
| 177 |
+
"training_usable_tokens_per_epoch": 7899979776,
|
| 178 |
+
"validation_loss": 5.217997610569,
|
| 179 |
+
"validation_probe_count": 0,
|
| 180 |
+
"validation_probe_seconds": 0.0,
|
| 181 |
+
"validation_tokens": 4194304
|
| 182 |
+
},
|
| 183 |
+
"profile": "dev",
|
| 184 |
+
"schema_version": 1,
|
| 185 |
+
"seed": 1339,
|
| 186 |
+
"status": "ok",
|
| 187 |
+
"system": {
|
| 188 |
+
"controller_process_index": 1,
|
| 189 |
+
"device_count": 16,
|
| 190 |
+
"device_ids": [
|
| 191 |
+
0,
|
| 192 |
+
1,
|
| 193 |
+
2,
|
| 194 |
+
3,
|
| 195 |
+
4,
|
| 196 |
+
5,
|
| 197 |
+
6,
|
| 198 |
+
7,
|
| 199 |
+
8,
|
| 200 |
+
9,
|
| 201 |
+
10,
|
| 202 |
+
11,
|
| 203 |
+
12,
|
| 204 |
+
13,
|
| 205 |
+
14,
|
| 206 |
+
15
|
| 207 |
+
],
|
| 208 |
+
"device_kinds": [
|
| 209 |
+
"TPU v4"
|
| 210 |
+
],
|
| 211 |
+
"jax_version": "0.11.0",
|
| 212 |
+
"jaxlib_version": "0.11.0",
|
| 213 |
+
"libtpu_version": "0.0.44.1",
|
| 214 |
+
"local_device_count": 4,
|
| 215 |
+
"platform": "tpu",
|
| 216 |
+
"process_count": 4,
|
| 217 |
+
"process_indices": [
|
| 218 |
+
0,
|
| 219 |
+
0,
|
| 220 |
+
0,
|
| 221 |
+
0,
|
| 222 |
+
1,
|
| 223 |
+
1,
|
| 224 |
+
1,
|
| 225 |
+
1,
|
| 226 |
+
2,
|
| 227 |
+
2,
|
| 228 |
+
2,
|
| 229 |
+
2,
|
| 230 |
+
3,
|
| 231 |
+
3,
|
| 232 |
+
3,
|
| 233 |
+
3
|
| 234 |
+
],
|
| 235 |
+
"python_version": "3.12.13"
|
| 236 |
+
},
|
| 237 |
+
"track": "open"
|
| 238 |
+
}
|
batch-sweep-60M/60m-5tpp-bs512-lr2e-8-s1339/training.riglog
ADDED
|
Binary file (9.24 kB). View file
|
|
|
batch-sweep-60M/60m-5tpp-bs512-lr2e-8-s1339/validation.csv
ADDED
|
@@ -0,0 +1,2 @@
|
|
|
|
|
|
|
|
|
|
| 1 |
+
step,tokens_processed,kind,domain,validation_tokens,validation_loss,perplexity,validation_seconds,canonical
|
| 2 |
+
571,299368448,fineweb,fineweb,4194304,5.217997610569,184.56424432040083,0.4158219499804545,true
|
batch-sweep-60M/60m-5tpp-bs512-lr2e-9-s1337/diagnostics.riglog
ADDED
|
Binary file (75.1 kB). View file
|
|
|
batch-sweep-60M/60m-5tpp-bs512-lr2e-9-s1337/metrics.json
ADDED
|
@@ -0,0 +1,238 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"artifacts": {
|
| 3 |
+
"diagnostics": "diagnostics.csv",
|
| 4 |
+
"training_curve": "training.csv",
|
| 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": 1024,
|
| 26 |
+
"tokenizer_id": "gpt2"
|
| 27 |
+
},
|
| 28 |
+
"evaluations": {
|
| 29 |
+
"fineweb": {
|
| 30 |
+
"canonical": true,
|
| 31 |
+
"loss": 5.298588216304779,
|
| 32 |
+
"perplexity": 200.0541772879699,
|
| 33 |
+
"scored_tokens": 4194304,
|
| 34 |
+
"seconds": 0.41527405998203903
|
| 35 |
+
}
|
| 36 |
+
},
|
| 37 |
+
"implementation": {
|
| 38 |
+
"attention_backend": "tpu_flash",
|
| 39 |
+
"attention_tuning": {
|
| 40 |
+
"key_digest": "95bc05cbf51b0f72ad8508ff3fd06150efd4c9fb645177f2678c63050ddcb857",
|
| 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 |
+
"study_batch_size": 512,
|
| 59 |
+
"tokens_per_parameter_micros": 5000000
|
| 60 |
+
},
|
| 61 |
+
"path": "config.yaml",
|
| 62 |
+
"profile": "dev",
|
| 63 |
+
"resolved": {
|
| 64 |
+
"evaluation": {
|
| 65 |
+
"eval_batches": 8,
|
| 66 |
+
"val_every": 0,
|
| 67 |
+
"val_probe_batches": 8
|
| 68 |
+
},
|
| 69 |
+
"kernels": {
|
| 70 |
+
"attention_backend": "tpu_flash",
|
| 71 |
+
"loss_backend": "tiled",
|
| 72 |
+
"vocab_tile_size": 2048
|
| 73 |
+
},
|
| 74 |
+
"logging": {
|
| 75 |
+
"diagnostics_every": 10,
|
| 76 |
+
"log_every": 10
|
| 77 |
+
},
|
| 78 |
+
"model": {
|
| 79 |
+
"d_model": 384,
|
| 80 |
+
"heads": 6,
|
| 81 |
+
"layers": 12,
|
| 82 |
+
"mlp_activation": "gelu",
|
| 83 |
+
"mlp_mult": 4,
|
| 84 |
+
"normalization": "rms_norm",
|
| 85 |
+
"parameterization": "complete_d_p",
|
| 86 |
+
"position_encoding": "rope_base_10000",
|
| 87 |
+
"semantic_vocab_size": 50304,
|
| 88 |
+
"tied_embeddings": false,
|
| 89 |
+
"tier": "60m",
|
| 90 |
+
"vocab_size": 50304
|
| 91 |
+
},
|
| 92 |
+
"optimizer": {
|
| 93 |
+
"adam_epsilon": 1e-08,
|
| 94 |
+
"beta1": 0.9,
|
| 95 |
+
"beta2": 0.95,
|
| 96 |
+
"effective": {
|
| 97 |
+
"adam_epsilon_horizon_multiplier": 0.5,
|
| 98 |
+
"beta1": 0.6000000000000001,
|
| 99 |
+
"beta2": 0.7999999999999998,
|
| 100 |
+
"global_peak_learning_rate": 0.00390625,
|
| 101 |
+
"weight_decay_horizon_multiplier": 2.0
|
| 102 |
+
},
|
| 103 |
+
"grad_clip": 0.0,
|
| 104 |
+
"learning_rate": 0.001953125,
|
| 105 |
+
"min_lr_ratio": 0.1,
|
| 106 |
+
"warmup_steps": 57,
|
| 107 |
+
"weight_decay": 0.1
|
| 108 |
+
},
|
| 109 |
+
"parameterization": {
|
| 110 |
+
"attention_scale": "inverse_head_dim",
|
| 111 |
+
"base_depth": 12,
|
| 112 |
+
"base_width": 384,
|
| 113 |
+
"batch_multiplier": 4.0,
|
| 114 |
+
"data_multiplier": 1.0,
|
| 115 |
+
"depth_alpha": 1.0,
|
| 116 |
+
"depth_multiplier": 1.0,
|
| 117 |
+
"embeddings": "untied",
|
| 118 |
+
"init_std": 0.02,
|
| 119 |
+
"name": "complete_d_p",
|
| 120 |
+
"width_multiplier": 1.0
|
| 121 |
+
},
|
| 122 |
+
"training": {
|
| 123 |
+
"batch_size": 512,
|
| 124 |
+
"dtype": "bfloat16",
|
| 125 |
+
"sampling": "shuffled_epochs",
|
| 126 |
+
"seq_len": 1024,
|
| 127 |
+
"steps": 571,
|
| 128 |
+
"tokens_per_parameter": 4.996285069139584,
|
| 129 |
+
"train_tokens": 299368448
|
| 130 |
+
}
|
| 131 |
+
},
|
| 132 |
+
"schema_version": 2,
|
| 133 |
+
"sha256": "64473be07689abbf926027ef96fa7b679206510e29bae19403d94890c4fa1a7c"
|
| 134 |
+
},
|
| 135 |
+
"loss_backend": "tiled",
|
| 136 |
+
"vocab_tile_size": 2048
|
| 137 |
+
},
|
| 138 |
+
"metrics": {
|
| 139 |
+
"achieved_tflops": 1382.8013549102852,
|
| 140 |
+
"attention_tune_seconds": 0.0,
|
| 141 |
+
"base_learning_rate": 0.001953125,
|
| 142 |
+
"diagnostic_compile_seconds": 58.170241445011925,
|
| 143 |
+
"diagnostic_point_count": 59,
|
| 144 |
+
"diagnostics_every": 10,
|
| 145 |
+
"estimated_total_flops": 102178120362098688,
|
| 146 |
+
"eval_compile_seconds": 9.443252083001425,
|
| 147 |
+
"final_validation_seconds": 0.41527405998203903,
|
| 148 |
+
"flop_accounting": {
|
| 149 |
+
"by_site": {
|
| 150 |
+
"dot_general": 291521691648,
|
| 151 |
+
"tpu_flash_causal_attention_bwd_dkv": 19327352832,
|
| 152 |
+
"tpu_flash_causal_attention_bwd_dq": 19327352832,
|
| 153 |
+
"tpu_flash_causal_attention_fwd": 19327352832
|
| 154 |
+
},
|
| 155 |
+
"elementwise_per_sequence": 1149350130,
|
| 156 |
+
"matmul_per_sequence": 349503750144,
|
| 157 |
+
"method": "traced-jaxpr",
|
| 158 |
+
"warnings": []
|
| 159 |
+
},
|
| 160 |
+
"flops_per_token": 341312256,
|
| 161 |
+
"mfu_estimate": 0.314273035206883,
|
| 162 |
+
"model_tier": "60m",
|
| 163 |
+
"parameter_count": 59918208,
|
| 164 |
+
"parameters": 59918208,
|
| 165 |
+
"tokens_per_parameter": 4.996285069139584,
|
| 166 |
+
"tokens_per_second": 4051426.020020463,
|
| 167 |
+
"tokens_processed": 299368448,
|
| 168 |
+
"total_compile_seconds": 94.62185434199637,
|
| 169 |
+
"train_compile_seconds": 27.008360813983018,
|
| 170 |
+
"train_loss": 5.2749786376953125,
|
| 171 |
+
"train_seconds": 73.89211761998013,
|
| 172 |
+
"training_data_epochs": 0.037894837263947954,
|
| 173 |
+
"training_data_sharding": "rank_disjoint_shuffled_windows",
|
| 174 |
+
"training_sampling": "shuffled_epochs",
|
| 175 |
+
"training_steps": 571,
|
| 176 |
+
"training_token_budget": 299368448,
|
| 177 |
+
"training_usable_tokens_per_epoch": 7899979776,
|
| 178 |
+
"validation_loss": 5.298588216304779,
|
| 179 |
+
"validation_probe_count": 0,
|
| 180 |
+
"validation_probe_seconds": 0.0,
|
| 181 |
+
"validation_tokens": 4194304
|
| 182 |
+
},
|
| 183 |
+
"profile": "dev",
|
| 184 |
+
"schema_version": 1,
|
| 185 |
+
"seed": 1337,
|
| 186 |
+
"status": "ok",
|
| 187 |
+
"system": {
|
| 188 |
+
"controller_process_index": 1,
|
| 189 |
+
"device_count": 16,
|
| 190 |
+
"device_ids": [
|
| 191 |
+
0,
|
| 192 |
+
1,
|
| 193 |
+
2,
|
| 194 |
+
3,
|
| 195 |
+
4,
|
| 196 |
+
5,
|
| 197 |
+
6,
|
| 198 |
+
7,
|
| 199 |
+
8,
|
| 200 |
+
9,
|
| 201 |
+
10,
|
| 202 |
+
11,
|
| 203 |
+
12,
|
| 204 |
+
13,
|
| 205 |
+
14,
|
| 206 |
+
15
|
| 207 |
+
],
|
| 208 |
+
"device_kinds": [
|
| 209 |
+
"TPU v4"
|
| 210 |
+
],
|
| 211 |
+
"jax_version": "0.11.0",
|
| 212 |
+
"jaxlib_version": "0.11.0",
|
| 213 |
+
"libtpu_version": "0.0.44.1",
|
| 214 |
+
"local_device_count": 4,
|
| 215 |
+
"platform": "tpu",
|
| 216 |
+
"process_count": 4,
|
| 217 |
+
"process_indices": [
|
| 218 |
+
0,
|
| 219 |
+
0,
|
| 220 |
+
0,
|
| 221 |
+
0,
|
| 222 |
+
1,
|
| 223 |
+
1,
|
| 224 |
+
1,
|
| 225 |
+
1,
|
| 226 |
+
2,
|
| 227 |
+
2,
|
| 228 |
+
2,
|
| 229 |
+
2,
|
| 230 |
+
3,
|
| 231 |
+
3,
|
| 232 |
+
3,
|
| 233 |
+
3
|
| 234 |
+
],
|
| 235 |
+
"python_version": "3.12.13"
|
| 236 |
+
},
|
| 237 |
+
"track": "open"
|
| 238 |
+
}
|
batch-sweep-60M/60m-5tpp-bs512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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 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": 1024,
|
| 26 |
+
"tokenizer_id": "gpt2"
|
| 27 |
+
},
|
| 28 |
+
"evaluations": {
|
| 29 |
+
"fineweb": {
|
| 30 |
+
"canonical": true,
|
| 31 |
+
"loss": 5.298588216304779,
|
| 32 |
+
"perplexity": 200.0541772879699,
|
| 33 |
+
"scored_tokens": 4194304,
|
| 34 |
+
"seconds": 0.41527405998203903
|
| 35 |
+
}
|
| 36 |
+
},
|
| 37 |
+
"implementation": {
|
| 38 |
+
"attention_backend": "tpu_flash",
|
| 39 |
+
"attention_tuning": {
|
| 40 |
+
"key_digest": "95bc05cbf51b0f72ad8508ff3fd06150efd4c9fb645177f2678c63050ddcb857",
|
| 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 |
+
"study_batch_size": 512,
|
| 59 |
+
"tokens_per_parameter_micros": 5000000
|
| 60 |
+
},
|
| 61 |
+
"path": "config.yaml",
|
| 62 |
+
"profile": "dev",
|
| 63 |
+
"resolved": {
|
| 64 |
+
"evaluation": {
|
| 65 |
+
"eval_batches": 8,
|
| 66 |
+
"val_every": 0,
|
| 67 |
+
"val_probe_batches": 8
|
| 68 |
+
},
|
| 69 |
+
"kernels": {
|
| 70 |
+
"attention_backend": "tpu_flash",
|
| 71 |
+
"loss_backend": "tiled",
|
| 72 |
+
"vocab_tile_size": 2048
|
| 73 |
+
},
|
| 74 |
+
"logging": {
|
| 75 |
+
"diagnostics_every": 10,
|
| 76 |
+
"log_every": 10
|
| 77 |
+
},
|
| 78 |
+
"model": {
|
| 79 |
+
"d_model": 384,
|
| 80 |
+
"heads": 6,
|
| 81 |
+
"layers": 12,
|
| 82 |
+
"mlp_activation": "gelu",
|
| 83 |
+
"mlp_mult": 4,
|
| 84 |
+
"normalization": "rms_norm",
|
| 85 |
+
"parameterization": "complete_d_p",
|
| 86 |
+
"position_encoding": "rope_base_10000",
|
| 87 |
+
"semantic_vocab_size": 50304,
|
| 88 |
+
"tied_embeddings": false,
|
| 89 |
+
"tier": "60m",
|
| 90 |
+
"vocab_size": 50304
|
| 91 |
+
},
|
| 92 |
+
"optimizer": {
|
| 93 |
+
"adam_epsilon": 1e-08,
|
| 94 |
+
"beta1": 0.9,
|
| 95 |
+
"beta2": 0.95,
|
| 96 |
+
"effective": {
|
| 97 |
+
"adam_epsilon_horizon_multiplier": 0.5,
|
| 98 |
+
"beta1": 0.6000000000000001,
|
| 99 |
+
"beta2": 0.7999999999999998,
|
| 100 |
+
"global_peak_learning_rate": 0.00390625,
|
| 101 |
+
"weight_decay_horizon_multiplier": 2.0
|
| 102 |
+
},
|
| 103 |
+
"grad_clip": 0.0,
|
| 104 |
+
"learning_rate": 0.001953125,
|
| 105 |
+
"min_lr_ratio": 0.1,
|
| 106 |
+
"warmup_steps": 57,
|
| 107 |
+
"weight_decay": 0.1
|
| 108 |
+
},
|
| 109 |
+
"parameterization": {
|
| 110 |
+
"attention_scale": "inverse_head_dim",
|
| 111 |
+
"base_depth": 12,
|
| 112 |
+
"base_width": 384,
|
| 113 |
+
"batch_multiplier": 4.0,
|
| 114 |
+
"data_multiplier": 1.0,
|
| 115 |
+
"depth_alpha": 1.0,
|
| 116 |
+
"depth_multiplier": 1.0,
|
| 117 |
+
"embeddings": "untied",
|
| 118 |
+
"init_std": 0.02,
|
| 119 |
+
"name": "complete_d_p",
|
| 120 |
+
"width_multiplier": 1.0
|
| 121 |
+
},
|
| 122 |
+
"training": {
|
| 123 |
+
"batch_size": 512,
|
| 124 |
+
"dtype": "bfloat16",
|
| 125 |
+
"sampling": "shuffled_epochs",
|
| 126 |
+
"seq_len": 1024,
|
| 127 |
+
"steps": 571,
|
| 128 |
+
"tokens_per_parameter": 4.996285069139584,
|
| 129 |
+
"train_tokens": 299368448
|
| 130 |
+
}
|
| 131 |
+
},
|
| 132 |
+
"schema_version": 2,
|
| 133 |
+
"sha256": "64473be07689abbf926027ef96fa7b679206510e29bae19403d94890c4fa1a7c"
|
| 134 |
+
},
|
| 135 |
+
"loss_backend": "tiled",
|
| 136 |
+
"vocab_tile_size": 2048
|
| 137 |
+
},
|
| 138 |
+
"metrics": {
|
| 139 |
+
"achieved_tflops": 1382.8013549102852,
|
| 140 |
+
"attention_tune_seconds": 0.0,
|
| 141 |
+
"base_learning_rate": 0.001953125,
|
| 142 |
+
"diagnostic_compile_seconds": 58.170241445011925,
|
| 143 |
+
"diagnostic_point_count": 59,
|
| 144 |
+
"diagnostics_every": 10,
|
| 145 |
+
"estimated_total_flops": 102178120362098688,
|
| 146 |
+
"eval_compile_seconds": 9.443252083001425,
|
| 147 |
+
"final_validation_seconds": 0.41527405998203903,
|
| 148 |
+
"flop_accounting": {
|
| 149 |
+
"by_site": {
|
| 150 |
+
"dot_general": 291521691648,
|
| 151 |
+
"tpu_flash_causal_attention_bwd_dkv": 19327352832,
|
| 152 |
+
"tpu_flash_causal_attention_bwd_dq": 19327352832,
|
| 153 |
+
"tpu_flash_causal_attention_fwd": 19327352832
|
| 154 |
+
},
|
| 155 |
+
"elementwise_per_sequence": 1149350130,
|
| 156 |
+
"matmul_per_sequence": 349503750144,
|
| 157 |
+
"method": "traced-jaxpr",
|
| 158 |
+
"warnings": []
|
| 159 |
+
},
|
| 160 |
+
"flops_per_token": 341312256,
|
| 161 |
+
"mfu_estimate": 0.314273035206883,
|
| 162 |
+
"model_tier": "60m",
|
| 163 |
+
"parameter_count": 59918208,
|
| 164 |
+
"parameters": 59918208,
|
| 165 |
+
"tokens_per_parameter": 4.996285069139584,
|
| 166 |
+
"tokens_per_second": 4051426.020020463,
|
| 167 |
+
"tokens_processed": 299368448,
|
| 168 |
+
"total_compile_seconds": 94.62185434199637,
|
| 169 |
+
"train_compile_seconds": 27.008360813983018,
|
| 170 |
+
"train_loss": 5.2749786376953125,
|
| 171 |
+
"train_seconds": 73.89211761998013,
|
| 172 |
+
"training_data_epochs": 0.037894837263947954,
|
| 173 |
+
"training_data_sharding": "rank_disjoint_shuffled_windows",
|
| 174 |
+
"training_sampling": "shuffled_epochs",
|
| 175 |
+
"training_steps": 571,
|
| 176 |
+
"training_token_budget": 299368448,
|
| 177 |
+
"training_usable_tokens_per_epoch": 7899979776,
|
| 178 |
+
"validation_loss": 5.298588216304779,
|
| 179 |
+
"validation_probe_count": 0,
|
| 180 |
+
"validation_probe_seconds": 0.0,
|
| 181 |
+
"validation_tokens": 4194304
|
| 182 |
+
},
|
| 183 |
+
"profile": "dev",
|
| 184 |
+
"schema_version": 1,
|
| 185 |
+
"seed": 1337,
|
| 186 |
+
"status": "ok",
|
| 187 |
+
"system": {
|
| 188 |
+
"controller_process_index": 1,
|
| 189 |
+
"device_count": 16,
|
| 190 |
+
"device_ids": [
|
| 191 |
+
0,
|
| 192 |
+
1,
|
| 193 |
+
2,
|
| 194 |
+
3,
|
| 195 |
+
4,
|
| 196 |
+
5,
|
| 197 |
+
6,
|
| 198 |
+
7,
|
| 199 |
+
8,
|
| 200 |
+
9,
|
| 201 |
+
10,
|
| 202 |
+
11,
|
| 203 |
+
12,
|
| 204 |
+
13,
|
| 205 |
+
14,
|
| 206 |
+
15
|
| 207 |
+
],
|
| 208 |
+
"device_kinds": [
|
| 209 |
+
"TPU v4"
|
| 210 |
+
],
|
| 211 |
+
"jax_version": "0.11.0",
|
| 212 |
+
"jaxlib_version": "0.11.0",
|
| 213 |
+
"libtpu_version": "0.0.44.1",
|
| 214 |
+
"local_device_count": 4,
|
| 215 |
+
"platform": "tpu",
|
| 216 |
+
"process_count": 4,
|
| 217 |
+
"process_indices": [
|
| 218 |
+
0,
|
| 219 |
+
0,
|
| 220 |
+
0,
|
| 221 |
+
0,
|
| 222 |
+
1,
|
| 223 |
+
1,
|
| 224 |
+
1,
|
| 225 |
+
1,
|
| 226 |
+
2,
|
| 227 |
+
2,
|
| 228 |
+
2,
|
| 229 |
+
2,
|
| 230 |
+
3,
|
| 231 |
+
3,
|
| 232 |
+
3,
|
| 233 |
+
3
|
| 234 |
+
],
|
| 235 |
+
"python_version": "3.12.13"
|
| 236 |
+
},
|
| 237 |
+
"track": "open"
|
| 238 |
+
}
|
batch-sweep-60M/60m-5tpp-bs512-lr2e-9-s1337/training.riglog
ADDED
|
Binary file (9.24 kB). View file
|
|
|
batch-sweep-60M/60m-5tpp-bs512-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 |
+
571,299368448,fineweb,fineweb,4194304,5.298588216304779,200.0541772879699,0.41527405998203903,true
|
batch-sweep-60M/60m-5tpp-bs512-lr2e-9-s1338/diagnostics.riglog
ADDED
|
Binary file (75.1 kB). View file
|
|
|
batch-sweep-60M/60m-5tpp-bs512-lr2e-9-s1338/metrics.json
ADDED
|
@@ -0,0 +1,238 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"artifacts": {
|
| 3 |
+
"diagnostics": "diagnostics.csv",
|
| 4 |
+
"training_curve": "training.csv",
|
| 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": 1024,
|
| 26 |
+
"tokenizer_id": "gpt2"
|
| 27 |
+
},
|
| 28 |
+
"evaluations": {
|
| 29 |
+
"fineweb": {
|
| 30 |
+
"canonical": true,
|
| 31 |
+
"loss": 5.610827386379242,
|
| 32 |
+
"perplexity": 273.37032734557306,
|
| 33 |
+
"scored_tokens": 4194304,
|
| 34 |
+
"seconds": 0.4116269589867443
|
| 35 |
+
}
|
| 36 |
+
},
|
| 37 |
+
"implementation": {
|
| 38 |
+
"attention_backend": "tpu_flash",
|
| 39 |
+
"attention_tuning": {
|
| 40 |
+
"key_digest": "95bc05cbf51b0f72ad8508ff3fd06150efd4c9fb645177f2678c63050ddcb857",
|
| 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 |
+
"study_batch_size": 512,
|
| 59 |
+
"tokens_per_parameter_micros": 5000000
|
| 60 |
+
},
|
| 61 |
+
"path": "config.yaml",
|
| 62 |
+
"profile": "dev",
|
| 63 |
+
"resolved": {
|
| 64 |
+
"evaluation": {
|
| 65 |
+
"eval_batches": 8,
|
| 66 |
+
"val_every": 0,
|
| 67 |
+
"val_probe_batches": 8
|
| 68 |
+
},
|
| 69 |
+
"kernels": {
|
| 70 |
+
"attention_backend": "tpu_flash",
|
| 71 |
+
"loss_backend": "tiled",
|
| 72 |
+
"vocab_tile_size": 2048
|
| 73 |
+
},
|
| 74 |
+
"logging": {
|
| 75 |
+
"diagnostics_every": 10,
|
| 76 |
+
"log_every": 10
|
| 77 |
+
},
|
| 78 |
+
"model": {
|
| 79 |
+
"d_model": 384,
|
| 80 |
+
"heads": 6,
|
| 81 |
+
"layers": 12,
|
| 82 |
+
"mlp_activation": "gelu",
|
| 83 |
+
"mlp_mult": 4,
|
| 84 |
+
"normalization": "rms_norm",
|
| 85 |
+
"parameterization": "complete_d_p",
|
| 86 |
+
"position_encoding": "rope_base_10000",
|
| 87 |
+
"semantic_vocab_size": 50304,
|
| 88 |
+
"tied_embeddings": false,
|
| 89 |
+
"tier": "60m",
|
| 90 |
+
"vocab_size": 50304
|
| 91 |
+
},
|
| 92 |
+
"optimizer": {
|
| 93 |
+
"adam_epsilon": 1e-08,
|
| 94 |
+
"beta1": 0.9,
|
| 95 |
+
"beta2": 0.95,
|
| 96 |
+
"effective": {
|
| 97 |
+
"adam_epsilon_horizon_multiplier": 0.5,
|
| 98 |
+
"beta1": 0.6000000000000001,
|
| 99 |
+
"beta2": 0.7999999999999998,
|
| 100 |
+
"global_peak_learning_rate": 0.00390625,
|
| 101 |
+
"weight_decay_horizon_multiplier": 2.0
|
| 102 |
+
},
|
| 103 |
+
"grad_clip": 0.0,
|
| 104 |
+
"learning_rate": 0.001953125,
|
| 105 |
+
"min_lr_ratio": 0.1,
|
| 106 |
+
"warmup_steps": 57,
|
| 107 |
+
"weight_decay": 0.1
|
| 108 |
+
},
|
| 109 |
+
"parameterization": {
|
| 110 |
+
"attention_scale": "inverse_head_dim",
|
| 111 |
+
"base_depth": 12,
|
| 112 |
+
"base_width": 384,
|
| 113 |
+
"batch_multiplier": 4.0,
|
| 114 |
+
"data_multiplier": 1.0,
|
| 115 |
+
"depth_alpha": 1.0,
|
| 116 |
+
"depth_multiplier": 1.0,
|
| 117 |
+
"embeddings": "untied",
|
| 118 |
+
"init_std": 0.02,
|
| 119 |
+
"name": "complete_d_p",
|
| 120 |
+
"width_multiplier": 1.0
|
| 121 |
+
},
|
| 122 |
+
"training": {
|
| 123 |
+
"batch_size": 512,
|
| 124 |
+
"dtype": "bfloat16",
|
| 125 |
+
"sampling": "shuffled_epochs",
|
| 126 |
+
"seq_len": 1024,
|
| 127 |
+
"steps": 571,
|
| 128 |
+
"tokens_per_parameter": 4.996285069139584,
|
| 129 |
+
"train_tokens": 299368448
|
| 130 |
+
}
|
| 131 |
+
},
|
| 132 |
+
"schema_version": 2,
|
| 133 |
+
"sha256": "64473be07689abbf926027ef96fa7b679206510e29bae19403d94890c4fa1a7c"
|
| 134 |
+
},
|
| 135 |
+
"loss_backend": "tiled",
|
| 136 |
+
"vocab_tile_size": 2048
|
| 137 |
+
},
|
| 138 |
+
"metrics": {
|
| 139 |
+
"achieved_tflops": 1358.4621183159854,
|
| 140 |
+
"attention_tune_seconds": 0.0,
|
| 141 |
+
"base_learning_rate": 0.001953125,
|
| 142 |
+
"diagnostic_compile_seconds": 55.512101172003895,
|
| 143 |
+
"diagnostic_point_count": 59,
|
| 144 |
+
"diagnostics_every": 10,
|
| 145 |
+
"estimated_total_flops": 102178120362098688,
|
| 146 |
+
"eval_compile_seconds": 9.259877471020445,
|
| 147 |
+
"final_validation_seconds": 0.4116269589867443,
|
| 148 |
+
"flop_accounting": {
|
| 149 |
+
"by_site": {
|
| 150 |
+
"dot_general": 291521691648,
|
| 151 |
+
"tpu_flash_causal_attention_bwd_dkv": 19327352832,
|
| 152 |
+
"tpu_flash_causal_attention_bwd_dq": 19327352832,
|
| 153 |
+
"tpu_flash_causal_attention_fwd": 19327352832
|
| 154 |
+
},
|
| 155 |
+
"elementwise_per_sequence": 1149350130,
|
| 156 |
+
"matmul_per_sequence": 349503750144,
|
| 157 |
+
"method": "traced-jaxpr",
|
| 158 |
+
"warnings": []
|
| 159 |
+
},
|
| 160 |
+
"flops_per_token": 341312256,
|
| 161 |
+
"mfu_estimate": 0.30874139052636035,
|
| 162 |
+
"model_tier": "60m",
|
| 163 |
+
"parameter_count": 59918208,
|
| 164 |
+
"parameters": 59918208,
|
| 165 |
+
"tokens_per_parameter": 4.996285069139584,
|
| 166 |
+
"tokens_per_second": 3980115.2593711303,
|
| 167 |
+
"tokens_processed": 299368448,
|
| 168 |
+
"total_compile_seconds": 93.47292305802694,
|
| 169 |
+
"train_compile_seconds": 28.700944415002596,
|
| 170 |
+
"train_loss": 5.606378555297852,
|
| 171 |
+
"train_seconds": 75.21602478600107,
|
| 172 |
+
"training_data_epochs": 0.037894837263947954,
|
| 173 |
+
"training_data_sharding": "rank_disjoint_shuffled_windows",
|
| 174 |
+
"training_sampling": "shuffled_epochs",
|
| 175 |
+
"training_steps": 571,
|
| 176 |
+
"training_token_budget": 299368448,
|
| 177 |
+
"training_usable_tokens_per_epoch": 7899979776,
|
| 178 |
+
"validation_loss": 5.610827386379242,
|
| 179 |
+
"validation_probe_count": 0,
|
| 180 |
+
"validation_probe_seconds": 0.0,
|
| 181 |
+
"validation_tokens": 4194304
|
| 182 |
+
},
|
| 183 |
+
"profile": "dev",
|
| 184 |
+
"schema_version": 1,
|
| 185 |
+
"seed": 1338,
|
| 186 |
+
"status": "ok",
|
| 187 |
+
"system": {
|
| 188 |
+
"controller_process_index": 1,
|
| 189 |
+
"device_count": 16,
|
| 190 |
+
"device_ids": [
|
| 191 |
+
0,
|
| 192 |
+
1,
|
| 193 |
+
2,
|
| 194 |
+
3,
|
| 195 |
+
4,
|
| 196 |
+
5,
|
| 197 |
+
6,
|
| 198 |
+
7,
|
| 199 |
+
8,
|
| 200 |
+
9,
|
| 201 |
+
10,
|
| 202 |
+
11,
|
| 203 |
+
12,
|
| 204 |
+
13,
|
| 205 |
+
14,
|
| 206 |
+
15
|
| 207 |
+
],
|
| 208 |
+
"device_kinds": [
|
| 209 |
+
"TPU v4"
|
| 210 |
+
],
|
| 211 |
+
"jax_version": "0.11.0",
|
| 212 |
+
"jaxlib_version": "0.11.0",
|
| 213 |
+
"libtpu_version": "0.0.44.1",
|
| 214 |
+
"local_device_count": 4,
|
| 215 |
+
"platform": "tpu",
|
| 216 |
+
"process_count": 4,
|
| 217 |
+
"process_indices": [
|
| 218 |
+
0,
|
| 219 |
+
0,
|
| 220 |
+
0,
|
| 221 |
+
0,
|
| 222 |
+
1,
|
| 223 |
+
1,
|
| 224 |
+
1,
|
| 225 |
+
1,
|
| 226 |
+
2,
|
| 227 |
+
2,
|
| 228 |
+
2,
|
| 229 |
+
2,
|
| 230 |
+
3,
|
| 231 |
+
3,
|
| 232 |
+
3,
|
| 233 |
+
3
|
| 234 |
+
],
|
| 235 |
+
"python_version": "3.12.13"
|
| 236 |
+
},
|
| 237 |
+
"track": "open"
|
| 238 |
+
}
|
batch-sweep-60M/60m-5tpp-bs512-lr2e-9-s1338/result.json
ADDED
|
@@ -0,0 +1,238 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 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": 1024,
|
| 26 |
+
"tokenizer_id": "gpt2"
|
| 27 |
+
},
|
| 28 |
+
"evaluations": {
|
| 29 |
+
"fineweb": {
|
| 30 |
+
"canonical": true,
|
| 31 |
+
"loss": 5.610827386379242,
|
| 32 |
+
"perplexity": 273.37032734557306,
|
| 33 |
+
"scored_tokens": 4194304,
|
| 34 |
+
"seconds": 0.4116269589867443
|
| 35 |
+
}
|
| 36 |
+
},
|
| 37 |
+
"implementation": {
|
| 38 |
+
"attention_backend": "tpu_flash",
|
| 39 |
+
"attention_tuning": {
|
| 40 |
+
"key_digest": "95bc05cbf51b0f72ad8508ff3fd06150efd4c9fb645177f2678c63050ddcb857",
|
| 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 |
+
"study_batch_size": 512,
|
| 59 |
+
"tokens_per_parameter_micros": 5000000
|
| 60 |
+
},
|
| 61 |
+
"path": "config.yaml",
|
| 62 |
+
"profile": "dev",
|
| 63 |
+
"resolved": {
|
| 64 |
+
"evaluation": {
|
| 65 |
+
"eval_batches": 8,
|
| 66 |
+
"val_every": 0,
|
| 67 |
+
"val_probe_batches": 8
|
| 68 |
+
},
|
| 69 |
+
"kernels": {
|
| 70 |
+
"attention_backend": "tpu_flash",
|
| 71 |
+
"loss_backend": "tiled",
|
| 72 |
+
"vocab_tile_size": 2048
|
| 73 |
+
},
|
| 74 |
+
"logging": {
|
| 75 |
+
"diagnostics_every": 10,
|
| 76 |
+
"log_every": 10
|
| 77 |
+
},
|
| 78 |
+
"model": {
|
| 79 |
+
"d_model": 384,
|
| 80 |
+
"heads": 6,
|
| 81 |
+
"layers": 12,
|
| 82 |
+
"mlp_activation": "gelu",
|
| 83 |
+
"mlp_mult": 4,
|
| 84 |
+
"normalization": "rms_norm",
|
| 85 |
+
"parameterization": "complete_d_p",
|
| 86 |
+
"position_encoding": "rope_base_10000",
|
| 87 |
+
"semantic_vocab_size": 50304,
|
| 88 |
+
"tied_embeddings": false,
|
| 89 |
+
"tier": "60m",
|
| 90 |
+
"vocab_size": 50304
|
| 91 |
+
},
|
| 92 |
+
"optimizer": {
|
| 93 |
+
"adam_epsilon": 1e-08,
|
| 94 |
+
"beta1": 0.9,
|
| 95 |
+
"beta2": 0.95,
|
| 96 |
+
"effective": {
|
| 97 |
+
"adam_epsilon_horizon_multiplier": 0.5,
|
| 98 |
+
"beta1": 0.6000000000000001,
|
| 99 |
+
"beta2": 0.7999999999999998,
|
| 100 |
+
"global_peak_learning_rate": 0.00390625,
|
| 101 |
+
"weight_decay_horizon_multiplier": 2.0
|
| 102 |
+
},
|
| 103 |
+
"grad_clip": 0.0,
|
| 104 |
+
"learning_rate": 0.001953125,
|
| 105 |
+
"min_lr_ratio": 0.1,
|
| 106 |
+
"warmup_steps": 57,
|
| 107 |
+
"weight_decay": 0.1
|
| 108 |
+
},
|
| 109 |
+
"parameterization": {
|
| 110 |
+
"attention_scale": "inverse_head_dim",
|
| 111 |
+
"base_depth": 12,
|
| 112 |
+
"base_width": 384,
|
| 113 |
+
"batch_multiplier": 4.0,
|
| 114 |
+
"data_multiplier": 1.0,
|
| 115 |
+
"depth_alpha": 1.0,
|
| 116 |
+
"depth_multiplier": 1.0,
|
| 117 |
+
"embeddings": "untied",
|
| 118 |
+
"init_std": 0.02,
|
| 119 |
+
"name": "complete_d_p",
|
| 120 |
+
"width_multiplier": 1.0
|
| 121 |
+
},
|
| 122 |
+
"training": {
|
| 123 |
+
"batch_size": 512,
|
| 124 |
+
"dtype": "bfloat16",
|
| 125 |
+
"sampling": "shuffled_epochs",
|
| 126 |
+
"seq_len": 1024,
|
| 127 |
+
"steps": 571,
|
| 128 |
+
"tokens_per_parameter": 4.996285069139584,
|
| 129 |
+
"train_tokens": 299368448
|
| 130 |
+
}
|
| 131 |
+
},
|
| 132 |
+
"schema_version": 2,
|
| 133 |
+
"sha256": "64473be07689abbf926027ef96fa7b679206510e29bae19403d94890c4fa1a7c"
|
| 134 |
+
},
|
| 135 |
+
"loss_backend": "tiled",
|
| 136 |
+
"vocab_tile_size": 2048
|
| 137 |
+
},
|
| 138 |
+
"metrics": {
|
| 139 |
+
"achieved_tflops": 1358.4621183159854,
|
| 140 |
+
"attention_tune_seconds": 0.0,
|
| 141 |
+
"base_learning_rate": 0.001953125,
|
| 142 |
+
"diagnostic_compile_seconds": 55.512101172003895,
|
| 143 |
+
"diagnostic_point_count": 59,
|
| 144 |
+
"diagnostics_every": 10,
|
| 145 |
+
"estimated_total_flops": 102178120362098688,
|
| 146 |
+
"eval_compile_seconds": 9.259877471020445,
|
| 147 |
+
"final_validation_seconds": 0.4116269589867443,
|
| 148 |
+
"flop_accounting": {
|
| 149 |
+
"by_site": {
|
| 150 |
+
"dot_general": 291521691648,
|
| 151 |
+
"tpu_flash_causal_attention_bwd_dkv": 19327352832,
|
| 152 |
+
"tpu_flash_causal_attention_bwd_dq": 19327352832,
|
| 153 |
+
"tpu_flash_causal_attention_fwd": 19327352832
|
| 154 |
+
},
|
| 155 |
+
"elementwise_per_sequence": 1149350130,
|
| 156 |
+
"matmul_per_sequence": 349503750144,
|
| 157 |
+
"method": "traced-jaxpr",
|
| 158 |
+
"warnings": []
|
| 159 |
+
},
|
| 160 |
+
"flops_per_token": 341312256,
|
| 161 |
+
"mfu_estimate": 0.30874139052636035,
|
| 162 |
+
"model_tier": "60m",
|
| 163 |
+
"parameter_count": 59918208,
|
| 164 |
+
"parameters": 59918208,
|
| 165 |
+
"tokens_per_parameter": 4.996285069139584,
|
| 166 |
+
"tokens_per_second": 3980115.2593711303,
|
| 167 |
+
"tokens_processed": 299368448,
|
| 168 |
+
"total_compile_seconds": 93.47292305802694,
|
| 169 |
+
"train_compile_seconds": 28.700944415002596,
|
| 170 |
+
"train_loss": 5.606378555297852,
|
| 171 |
+
"train_seconds": 75.21602478600107,
|
| 172 |
+
"training_data_epochs": 0.037894837263947954,
|
| 173 |
+
"training_data_sharding": "rank_disjoint_shuffled_windows",
|
| 174 |
+
"training_sampling": "shuffled_epochs",
|
| 175 |
+
"training_steps": 571,
|
| 176 |
+
"training_token_budget": 299368448,
|
| 177 |
+
"training_usable_tokens_per_epoch": 7899979776,
|
| 178 |
+
"validation_loss": 5.610827386379242,
|
| 179 |
+
"validation_probe_count": 0,
|
| 180 |
+
"validation_probe_seconds": 0.0,
|
| 181 |
+
"validation_tokens": 4194304
|
| 182 |
+
},
|
| 183 |
+
"profile": "dev",
|
| 184 |
+
"schema_version": 1,
|
| 185 |
+
"seed": 1338,
|
| 186 |
+
"status": "ok",
|
| 187 |
+
"system": {
|
| 188 |
+
"controller_process_index": 1,
|
| 189 |
+
"device_count": 16,
|
| 190 |
+
"device_ids": [
|
| 191 |
+
0,
|
| 192 |
+
1,
|
| 193 |
+
2,
|
| 194 |
+
3,
|
| 195 |
+
4,
|
| 196 |
+
5,
|
| 197 |
+
6,
|
| 198 |
+
7,
|
| 199 |
+
8,
|
| 200 |
+
9,
|
| 201 |
+
10,
|
| 202 |
+
11,
|
| 203 |
+
12,
|
| 204 |
+
13,
|
| 205 |
+
14,
|
| 206 |
+
15
|
| 207 |
+
],
|
| 208 |
+
"device_kinds": [
|
| 209 |
+
"TPU v4"
|
| 210 |
+
],
|
| 211 |
+
"jax_version": "0.11.0",
|
| 212 |
+
"jaxlib_version": "0.11.0",
|
| 213 |
+
"libtpu_version": "0.0.44.1",
|
| 214 |
+
"local_device_count": 4,
|
| 215 |
+
"platform": "tpu",
|
| 216 |
+
"process_count": 4,
|
| 217 |
+
"process_indices": [
|
| 218 |
+
0,
|
| 219 |
+
0,
|
| 220 |
+
0,
|
| 221 |
+
0,
|
| 222 |
+
1,
|
| 223 |
+
1,
|
| 224 |
+
1,
|
| 225 |
+
1,
|
| 226 |
+
2,
|
| 227 |
+
2,
|
| 228 |
+
2,
|
| 229 |
+
2,
|
| 230 |
+
3,
|
| 231 |
+
3,
|
| 232 |
+
3,
|
| 233 |
+
3
|
| 234 |
+
],
|
| 235 |
+
"python_version": "3.12.13"
|
| 236 |
+
},
|
| 237 |
+
"track": "open"
|
| 238 |
+
}
|
batch-sweep-60M/60m-5tpp-bs512-lr2e-9-s1338/training.riglog
ADDED
|
Binary file (9.24 kB). View file
|
|
|
batch-sweep-60M/60m-5tpp-bs512-lr2e-9-s1338/validation.csv
ADDED
|
@@ -0,0 +1,2 @@
|
|
|
|
|
|
|
|
|
|
| 1 |
+
step,tokens_processed,kind,domain,validation_tokens,validation_loss,perplexity,validation_seconds,canonical
|
| 2 |
+
571,299368448,fineweb,fineweb,4194304,5.610827386379242,273.37032734557306,0.4116269589867443,true
|
batch-sweep-60M/60m-5tpp-bs512-lr2e-9-s1339/diagnostics.riglog
ADDED
|
Binary file (75.1 kB). View file
|
|
|
batch-sweep-60M/60m-5tpp-bs512-lr2e-9-s1339/metrics.json
ADDED
|
@@ -0,0 +1,238 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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ostics.csv",
|
| 4 |
+
"training_curve": "training.csv",
|
| 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": 1024,
|
| 26 |
+
"tokenizer_id": "gpt2"
|
| 27 |
+
},
|
| 28 |
+
"evaluations": {
|
| 29 |
+
"fineweb": {
|
| 30 |
+
"canonical": true,
|
| 31 |
+
"loss": 5.322995722293854,
|
| 32 |
+
"perplexity": 204.99707736770014,
|
| 33 |
+
"scored_tokens": 4194304,
|
| 34 |
+
"seconds": 0.41537890999461524
|
| 35 |
+
}
|
| 36 |
+
},
|
| 37 |
+
"implementation": {
|
| 38 |
+
"attention_backend": "tpu_flash",
|
| 39 |
+
"attention_tuning": {
|
| 40 |
+
"key_digest": "95bc05cbf51b0f72ad8508ff3fd06150efd4c9fb645177f2678c63050ddcb857",
|
| 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 |
+
"study_batch_size": 512,
|
| 59 |
+
"tokens_per_parameter_micros": 5000000
|
| 60 |
+
},
|
| 61 |
+
"path": "config.yaml",
|
| 62 |
+
"profile": "dev",
|
| 63 |
+
"resolved": {
|
| 64 |
+
"evaluation": {
|
| 65 |
+
"eval_batches": 8,
|
| 66 |
+
"val_every": 0,
|
| 67 |
+
"val_probe_batches": 8
|
| 68 |
+
},
|
| 69 |
+
"kernels": {
|
| 70 |
+
"attention_backend": "tpu_flash",
|
| 71 |
+
"loss_backend": "tiled",
|
| 72 |
+
"vocab_tile_size": 2048
|
| 73 |
+
},
|
| 74 |
+
"logging": {
|
| 75 |
+
"diagnostics_every": 10,
|
| 76 |
+
"log_every": 10
|
| 77 |
+
},
|
| 78 |
+
"model": {
|
| 79 |
+
"d_model": 384,
|
| 80 |
+
"heads": 6,
|
| 81 |
+
"layers": 12,
|
| 82 |
+
"mlp_activation": "gelu",
|
| 83 |
+
"mlp_mult": 4,
|
| 84 |
+
"normalization": "rms_norm",
|
| 85 |
+
"parameterization": "complete_d_p",
|
| 86 |
+
"position_encoding": "rope_base_10000",
|
| 87 |
+
"semantic_vocab_size": 50304,
|
| 88 |
+
"tied_embeddings": false,
|
| 89 |
+
"tier": "60m",
|
| 90 |
+
"vocab_size": 50304
|
| 91 |
+
},
|
| 92 |
+
"optimizer": {
|
| 93 |
+
"adam_epsilon": 1e-08,
|
| 94 |
+
"beta1": 0.9,
|
| 95 |
+
"beta2": 0.95,
|
| 96 |
+
"effective": {
|
| 97 |
+
"adam_epsilon_horizon_multiplier": 0.5,
|
| 98 |
+
"beta1": 0.6000000000000001,
|
| 99 |
+
"beta2": 0.7999999999999998,
|
| 100 |
+
"global_peak_learning_rate": 0.00390625,
|
| 101 |
+
"weight_decay_horizon_multiplier": 2.0
|
| 102 |
+
},
|
| 103 |
+
"grad_clip": 0.0,
|
| 104 |
+
"learning_rate": 0.001953125,
|
| 105 |
+
"min_lr_ratio": 0.1,
|
| 106 |
+
"warmup_steps": 57,
|
| 107 |
+
"weight_decay": 0.1
|
| 108 |
+
},
|
| 109 |
+
"parameterization": {
|
| 110 |
+
"attention_scale": "inverse_head_dim",
|
| 111 |
+
"base_depth": 12,
|
| 112 |
+
"base_width": 384,
|
| 113 |
+
"batch_multiplier": 4.0,
|
| 114 |
+
"data_multiplier": 1.0,
|
| 115 |
+
"depth_alpha": 1.0,
|
| 116 |
+
"depth_multiplier": 1.0,
|
| 117 |
+
"embeddings": "untied",
|
| 118 |
+
"init_std": 0.02,
|
| 119 |
+
"name": "complete_d_p",
|
| 120 |
+
"width_multiplier": 1.0
|
| 121 |
+
},
|
| 122 |
+
"training": {
|
| 123 |
+
"batch_size": 512,
|
| 124 |
+
"dtype": "bfloat16",
|
| 125 |
+
"sampling": "shuffled_epochs",
|
| 126 |
+
"seq_len": 1024,
|
| 127 |
+
"steps": 571,
|
| 128 |
+
"tokens_per_parameter": 4.996285069139584,
|
| 129 |
+
"train_tokens": 299368448
|
| 130 |
+
}
|
| 131 |
+
},
|
| 132 |
+
"schema_version": 2,
|
| 133 |
+
"sha256": "64473be07689abbf926027ef96fa7b679206510e29bae19403d94890c4fa1a7c"
|
| 134 |
+
},
|
| 135 |
+
"loss_backend": "tiled",
|
| 136 |
+
"vocab_tile_size": 2048
|
| 137 |
+
},
|
| 138 |
+
"metrics": {
|
| 139 |
+
"achieved_tflops": 1384.0606298826538,
|
| 140 |
+
"attention_tune_seconds": 0.0,
|
| 141 |
+
"base_learning_rate": 0.001953125,
|
| 142 |
+
"diagnostic_compile_seconds": 55.89432832199964,
|
| 143 |
+
"diagnostic_point_count": 59,
|
| 144 |
+
"diagnostics_every": 10,
|
| 145 |
+
"estimated_total_flops": 102178120362098688,
|
| 146 |
+
"eval_compile_seconds": 9.284253924008226,
|
| 147 |
+
"final_validation_seconds": 0.41537890999461524,
|
| 148 |
+
"flop_accounting": {
|
| 149 |
+
"by_site": {
|
| 150 |
+
"dot_general": 291521691648,
|
| 151 |
+
"tpu_flash_causal_attention_bwd_dkv": 19327352832,
|
| 152 |
+
"tpu_flash_causal_attention_bwd_dq": 19327352832,
|
| 153 |
+
"tpu_flash_causal_attention_fwd": 19327352832
|
| 154 |
+
},
|
| 155 |
+
"elementwise_per_sequence": 1149350130,
|
| 156 |
+
"matmul_per_sequence": 349503750144,
|
| 157 |
+
"method": "traced-jaxpr",
|
| 158 |
+
"warnings": []
|
| 159 |
+
},
|
| 160 |
+
"flops_per_token": 341312256,
|
| 161 |
+
"mfu_estimate": 0.31455923406423947,
|
| 162 |
+
"model_tier": "60m",
|
| 163 |
+
"parameter_count": 59918208,
|
| 164 |
+
"parameters": 59918208,
|
| 165 |
+
"tokens_per_parameter": 4.996285069139584,
|
| 166 |
+
"tokens_per_second": 4055115.5299933143,
|
| 167 |
+
"tokens_processed": 299368448,
|
| 168 |
+
"total_compile_seconds": 98.10837958700722,
|
| 169 |
+
"train_compile_seconds": 32.92979734099936,
|
| 170 |
+
"train_loss": 5.319055557250977,
|
| 171 |
+
"train_seconds": 73.82488754900987,
|
| 172 |
+
"training_data_epochs": 0.037894837263947954,
|
| 173 |
+
"training_data_sharding": "rank_disjoint_shuffled_windows",
|
| 174 |
+
"training_sampling": "shuffled_epochs",
|
| 175 |
+
"training_steps": 571,
|
| 176 |
+
"training_token_budget": 299368448,
|
| 177 |
+
"training_usable_tokens_per_epoch": 7899979776,
|
| 178 |
+
"validation_loss": 5.322995722293854,
|
| 179 |
+
"validation_probe_count": 0,
|
| 180 |
+
"validation_probe_seconds": 0.0,
|
| 181 |
+
"validation_tokens": 4194304
|
| 182 |
+
},
|
| 183 |
+
"profile": "dev",
|
| 184 |
+
"schema_version": 1,
|
| 185 |
+
"seed": 1339,
|
| 186 |
+
"status": "ok",
|
| 187 |
+
"system": {
|
| 188 |
+
"controller_process_index": 1,
|
| 189 |
+
"device_count": 16,
|
| 190 |
+
"device_ids": [
|
| 191 |
+
0,
|
| 192 |
+
1,
|
| 193 |
+
2,
|
| 194 |
+
3,
|
| 195 |
+
4,
|
| 196 |
+
5,
|
| 197 |
+
6,
|
| 198 |
+
7,
|
| 199 |
+
8,
|
| 200 |
+
9,
|
| 201 |
+
10,
|
| 202 |
+
11,
|
| 203 |
+
12,
|
| 204 |
+
13,
|
| 205 |
+
14,
|
| 206 |
+
15
|
| 207 |
+
],
|
| 208 |
+
"device_kinds": [
|
| 209 |
+
"TPU v4"
|
| 210 |
+
],
|
| 211 |
+
"jax_version": "0.11.0",
|
| 212 |
+
"jaxlib_version": "0.11.0",
|
| 213 |
+
"libtpu_version": "0.0.44.1",
|
| 214 |
+
"local_device_count": 4,
|
| 215 |
+
"platform": "tpu",
|
| 216 |
+
"process_count": 4,
|
| 217 |
+
"process_indices": [
|
| 218 |
+
0,
|
| 219 |
+
0,
|
| 220 |
+
0,
|
| 221 |
+
0,
|
| 222 |
+
1,
|
| 223 |
+
1,
|
| 224 |
+
1,
|
| 225 |
+
1,
|
| 226 |
+
2,
|
| 227 |
+
2,
|
| 228 |
+
2,
|
| 229 |
+
2,
|
| 230 |
+
3,
|
| 231 |
+
3,
|
| 232 |
+
3,
|
| 233 |
+
3
|
| 234 |
+
],
|
| 235 |
+
"python_version": "3.12.13"
|
| 236 |
+
},
|
| 237 |
+
"track": "open"
|
| 238 |
+
}
|
batch-sweep-60M/60m-5tpp-bs512-lr2e-9-s1339/result.json
ADDED
|
@@ -0,0 +1,238 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 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": 1024,
|
| 26 |
+
"tokenizer_id": "gpt2"
|
| 27 |
+
},
|
| 28 |
+
"evaluations": {
|
| 29 |
+
"fineweb": {
|
| 30 |
+
"canonical": true,
|
| 31 |
+
"loss": 5.322995722293854,
|
| 32 |
+
"perplexity": 204.99707736770014,
|
| 33 |
+
"scored_tokens": 4194304,
|
| 34 |
+
"seconds": 0.41537890999461524
|
| 35 |
+
}
|
| 36 |
+
},
|
| 37 |
+
"implementation": {
|
| 38 |
+
"attention_backend": "tpu_flash",
|
| 39 |
+
"attention_tuning": {
|
| 40 |
+
"key_digest": "95bc05cbf51b0f72ad8508ff3fd06150efd4c9fb645177f2678c63050ddcb857",
|
| 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 |
+
"study_batch_size": 512,
|
| 59 |
+
"tokens_per_parameter_micros": 5000000
|
| 60 |
+
},
|
| 61 |
+
"path": "config.yaml",
|
| 62 |
+
"profile": "dev",
|
| 63 |
+
"resolved": {
|
| 64 |
+
"evaluation": {
|
| 65 |
+
"eval_batches": 8,
|
| 66 |
+
"val_every": 0,
|
| 67 |
+
"val_probe_batches": 8
|
| 68 |
+
},
|
| 69 |
+
"kernels": {
|
| 70 |
+
"attention_backend": "tpu_flash",
|
| 71 |
+
"loss_backend": "tiled",
|
| 72 |
+
"vocab_tile_size": 2048
|
| 73 |
+
},
|
| 74 |
+
"logging": {
|
| 75 |
+
"diagnostics_every": 10,
|
| 76 |
+
"log_every": 10
|
| 77 |
+
},
|
| 78 |
+
"model": {
|
| 79 |
+
"d_model": 384,
|
| 80 |
+
"heads": 6,
|
| 81 |
+
"layers": 12,
|
| 82 |
+
"mlp_activation": "gelu",
|
| 83 |
+
"mlp_mult": 4,
|
| 84 |
+
"normalization": "rms_norm",
|
| 85 |
+
"parameterization": "complete_d_p",
|
| 86 |
+
"position_encoding": "rope_base_10000",
|
| 87 |
+
"semantic_vocab_size": 50304,
|
| 88 |
+
"tied_embeddings": false,
|
| 89 |
+
"tier": "60m",
|
| 90 |
+
"vocab_size": 50304
|
| 91 |
+
},
|
| 92 |
+
"optimizer": {
|
| 93 |
+
"adam_epsilon": 1e-08,
|
| 94 |
+
"beta1": 0.9,
|
| 95 |
+
"beta2": 0.95,
|
| 96 |
+
"effective": {
|
| 97 |
+
"adam_epsilon_horizon_multiplier": 0.5,
|
| 98 |
+
"beta1": 0.6000000000000001,
|
| 99 |
+
"beta2": 0.7999999999999998,
|
| 100 |
+
"global_peak_learning_rate": 0.00390625,
|
| 101 |
+
"weight_decay_horizon_multiplier": 2.0
|
| 102 |
+
},
|
| 103 |
+
"grad_clip": 0.0,
|
| 104 |
+
"learning_rate": 0.001953125,
|
| 105 |
+
"min_lr_ratio": 0.1,
|
| 106 |
+
"warmup_steps": 57,
|
| 107 |
+
"weight_decay": 0.1
|
| 108 |
+
},
|
| 109 |
+
"parameterization": {
|
| 110 |
+
"attention_scale": "inverse_head_dim",
|
| 111 |
+
"base_depth": 12,
|
| 112 |
+
"base_width": 384,
|
| 113 |
+
"batch_multiplier": 4.0,
|
| 114 |
+
"data_multiplier": 1.0,
|
| 115 |
+
"depth_alpha": 1.0,
|
| 116 |
+
"depth_multiplier": 1.0,
|
| 117 |
+
"embeddings": "untied",
|
| 118 |
+
"init_std": 0.02,
|
| 119 |
+
"name": "complete_d_p",
|
| 120 |
+
"width_multiplier": 1.0
|
| 121 |
+
},
|
| 122 |
+
"training": {
|
| 123 |
+
"batch_size": 512,
|
| 124 |
+
"dtype": "bfloat16",
|
| 125 |
+
"sampling": "shuffled_epochs",
|
| 126 |
+
"seq_len": 1024,
|
| 127 |
+
"steps": 571,
|
| 128 |
+
"tokens_per_parameter": 4.996285069139584,
|
| 129 |
+
"train_tokens": 299368448
|
| 130 |
+
}
|
| 131 |
+
},
|
| 132 |
+
"schema_version": 2,
|
| 133 |
+
"sha256": "64473be07689abbf926027ef96fa7b679206510e29bae19403d94890c4fa1a7c"
|
| 134 |
+
},
|
| 135 |
+
"loss_backend": "tiled",
|
| 136 |
+
"vocab_tile_size": 2048
|
| 137 |
+
},
|
| 138 |
+
"metrics": {
|
| 139 |
+
"achieved_tflops": 1384.0606298826538,
|
| 140 |
+
"attention_tune_seconds": 0.0,
|
| 141 |
+
"base_learning_rate": 0.001953125,
|
| 142 |
+
"diagnostic_compile_seconds": 55.89432832199964,
|
| 143 |
+
"diagnostic_point_count": 59,
|
| 144 |
+
"diagnostics_every": 10,
|
| 145 |
+
"estimated_total_flops": 102178120362098688,
|
| 146 |
+
"eval_compile_seconds": 9.284253924008226,
|
| 147 |
+
"final_validation_seconds": 0.41537890999461524,
|
| 148 |
+
"flop_accounting": {
|
| 149 |
+
"by_site": {
|
| 150 |
+
"dot_general": 291521691648,
|
| 151 |
+
"tpu_flash_causal_attention_bwd_dkv": 19327352832,
|
| 152 |
+
"tpu_flash_causal_attention_bwd_dq": 19327352832,
|
| 153 |
+
"tpu_flash_causal_attention_fwd": 19327352832
|
| 154 |
+
},
|
| 155 |
+
"elementwise_per_sequence": 1149350130,
|
| 156 |
+
"matmul_per_sequence": 349503750144,
|
| 157 |
+
"method": "traced-jaxpr",
|
| 158 |
+
"warnings": []
|
| 159 |
+
},
|
| 160 |
+
"flops_per_token": 341312256,
|
| 161 |
+
"mfu_estimate": 0.31455923406423947,
|
| 162 |
+
"model_tier": "60m",
|
| 163 |
+
"parameter_count": 59918208,
|
| 164 |
+
"parameters": 59918208,
|
| 165 |
+
"tokens_per_parameter": 4.996285069139584,
|
| 166 |
+
"tokens_per_second": 4055115.5299933143,
|
| 167 |
+
"tokens_processed": 299368448,
|
| 168 |
+
"total_compile_seconds": 98.10837958700722,
|
| 169 |
+
"train_compile_seconds": 32.92979734099936,
|
| 170 |
+
"train_loss": 5.319055557250977,
|
| 171 |
+
"train_seconds": 73.82488754900987,
|
| 172 |
+
"training_data_epochs": 0.037894837263947954,
|
| 173 |
+
"training_data_sharding": "rank_disjoint_shuffled_windows",
|
| 174 |
+
"training_sampling": "shuffled_epochs",
|
| 175 |
+
"training_steps": 571,
|
| 176 |
+
"training_token_budget": 299368448,
|
| 177 |
+
"training_usable_tokens_per_epoch": 7899979776,
|
| 178 |
+
"validation_loss": 5.322995722293854,
|
| 179 |
+
"validation_probe_count": 0,
|
| 180 |
+
"validation_probe_seconds": 0.0,
|
| 181 |
+
"validation_tokens": 4194304
|
| 182 |
+
},
|
| 183 |
+
"profile": "dev",
|
| 184 |
+
"schema_version": 1,
|
| 185 |
+
"seed": 1339,
|
| 186 |
+
"status": "ok",
|
| 187 |
+
"system": {
|
| 188 |
+
"controller_process_index": 1,
|
| 189 |
+
"device_count": 16,
|
| 190 |
+
"device_ids": [
|
| 191 |
+
0,
|
| 192 |
+
1,
|
| 193 |
+
2,
|
| 194 |
+
3,
|
| 195 |
+
4,
|
| 196 |
+
5,
|
| 197 |
+
6,
|
| 198 |
+
7,
|
| 199 |
+
8,
|
| 200 |
+
9,
|
| 201 |
+
10,
|
| 202 |
+
11,
|
| 203 |
+
12,
|
| 204 |
+
13,
|
| 205 |
+
14,
|
| 206 |
+
15
|
| 207 |
+
],
|
| 208 |
+
"device_kinds": [
|
| 209 |
+
"TPU v4"
|
| 210 |
+
],
|
| 211 |
+
"jax_version": "0.11.0",
|
| 212 |
+
"jaxlib_version": "0.11.0",
|
| 213 |
+
"libtpu_version": "0.0.44.1",
|
| 214 |
+
"local_device_count": 4,
|
| 215 |
+
"platform": "tpu",
|
| 216 |
+
"process_count": 4,
|
| 217 |
+
"process_indices": [
|
| 218 |
+
0,
|
| 219 |
+
0,
|
| 220 |
+
0,
|
| 221 |
+
0,
|
| 222 |
+
1,
|
| 223 |
+
1,
|
| 224 |
+
1,
|
| 225 |
+
1,
|
| 226 |
+
2,
|
| 227 |
+
2,
|
| 228 |
+
2,
|
| 229 |
+
2,
|
| 230 |
+
3,
|
| 231 |
+
3,
|
| 232 |
+
3,
|
| 233 |
+
3
|
| 234 |
+
],
|
| 235 |
+
"python_version": "3.12.13"
|
| 236 |
+
},
|
| 237 |
+
"track": "open"
|
| 238 |
+
}
|
batch-sweep-60M/60m-5tpp-bs512-lr2e-9-s1339/training.riglog
ADDED
|
Binary file (9.24 kB). View file
|
|
|
batch-sweep-60M/60m-5tpp-bs512-lr2e-9-s1339/validation.csv
ADDED
|
@@ -0,0 +1,2 @@
|
|
|
|
|
|
|
|
|
|
| 1 |
+
step,tokens_processed,kind,domain,validation_tokens,validation_loss,perplexity,validation_seconds,canonical
|
| 2 |
+
571,299368448,fineweb,fineweb,4194304,5.322995722293854,204.99707736770014,0.41537890999461524,true
|