Add rig training logs: 177 runs across six studies, full resolution (part 2)
Browse filesThis view is limited to 50 files because it contains too many changes. See raw diff
- .gitattributes +59 -0
- batch-sweep-60M/60m-5tpp-bs128-lr2e-10-s1337/metrics.json +238 -0
- batch-sweep-60M/60m-5tpp-bs128-lr2e-10-s1337/result.json +238 -0
- batch-sweep-60M/60m-5tpp-bs128-lr2e-10-s1337/training.riglog +0 -0
- batch-sweep-60M/60m-5tpp-bs128-lr2e-10-s1337/validation.csv +2 -0
- batch-sweep-60M/60m-5tpp-bs128-lr2e-10-s1338/diagnostics.riglog +3 -0
- batch-sweep-60M/60m-5tpp-bs128-lr2e-10-s1338/metrics.json +238 -0
- batch-sweep-60M/60m-5tpp-bs128-lr2e-10-s1338/result.json +238 -0
- batch-sweep-60M/60m-5tpp-bs128-lr2e-10-s1338/training.riglog +0 -0
- batch-sweep-60M/60m-5tpp-bs128-lr2e-10-s1338/validation.csv +2 -0
- batch-sweep-60M/60m-5tpp-bs128-lr2e-10-s1339/diagnostics.riglog +3 -0
- batch-sweep-60M/60m-5tpp-bs128-lr2e-10-s1339/metrics.json +238 -0
- batch-sweep-60M/60m-5tpp-bs128-lr2e-10-s1339/result.json +238 -0
- batch-sweep-60M/60m-5tpp-bs128-lr2e-10-s1339/training.riglog +0 -0
- batch-sweep-60M/60m-5tpp-bs128-lr2e-10-s1339/validation.csv +2 -0
- batch-sweep-60M/60m-5tpp-bs128-lr2e-6-s1337/diagnostics.riglog +3 -0
- batch-sweep-60M/60m-5tpp-bs128-lr2e-6-s1337/metrics.json +238 -0
- batch-sweep-60M/60m-5tpp-bs128-lr2e-6-s1337/result.json +238 -0
- batch-sweep-60M/60m-5tpp-bs128-lr2e-6-s1337/training.riglog +0 -0
- batch-sweep-60M/60m-5tpp-bs128-lr2e-6-s1337/validation.csv +2 -0
- batch-sweep-60M/60m-5tpp-bs128-lr2e-6-s1338/diagnostics.riglog +3 -0
- batch-sweep-60M/60m-5tpp-bs128-lr2e-6-s1338/metrics.json +238 -0
- batch-sweep-60M/60m-5tpp-bs128-lr2e-6-s1338/result.json +238 -0
- batch-sweep-60M/60m-5tpp-bs128-lr2e-6-s1338/training.riglog +0 -0
- batch-sweep-60M/60m-5tpp-bs128-lr2e-6-s1338/validation.csv +2 -0
- batch-sweep-60M/60m-5tpp-bs128-lr2e-6-s1339/diagnostics.riglog +3 -0
- batch-sweep-60M/60m-5tpp-bs128-lr2e-6-s1339/metrics.json +238 -0
- batch-sweep-60M/60m-5tpp-bs128-lr2e-6-s1339/result.json +238 -0
- batch-sweep-60M/60m-5tpp-bs128-lr2e-6-s1339/training.riglog +0 -0
- batch-sweep-60M/60m-5tpp-bs128-lr2e-6-s1339/validation.csv +2 -0
- batch-sweep-60M/60m-5tpp-bs128-lr2e-7-s1337/diagnostics.riglog +3 -0
- batch-sweep-60M/60m-5tpp-bs128-lr2e-7-s1337/metrics.json +238 -0
- batch-sweep-60M/60m-5tpp-bs128-lr2e-7-s1337/result.json +238 -0
- batch-sweep-60M/60m-5tpp-bs128-lr2e-7-s1337/training.riglog +0 -0
- batch-sweep-60M/60m-5tpp-bs128-lr2e-7-s1337/validation.csv +2 -0
- batch-sweep-60M/60m-5tpp-bs128-lr2e-7-s1338/diagnostics.riglog +3 -0
- batch-sweep-60M/60m-5tpp-bs128-lr2e-7-s1338/metrics.json +238 -0
- batch-sweep-60M/60m-5tpp-bs128-lr2e-7-s1338/result.json +238 -0
- batch-sweep-60M/60m-5tpp-bs128-lr2e-7-s1338/training.riglog +0 -0
- batch-sweep-60M/60m-5tpp-bs128-lr2e-7-s1338/validation.csv +2 -0
- batch-sweep-60M/60m-5tpp-bs128-lr2e-7-s1339/diagnostics.riglog +3 -0
- batch-sweep-60M/60m-5tpp-bs128-lr2e-7-s1339/metrics.json +238 -0
- batch-sweep-60M/60m-5tpp-bs128-lr2e-7-s1339/result.json +238 -0
- batch-sweep-60M/60m-5tpp-bs128-lr2e-7-s1339/training.riglog +0 -0
- batch-sweep-60M/60m-5tpp-bs128-lr2e-7-s1339/validation.csv +2 -0
- batch-sweep-60M/60m-5tpp-bs128-lr2e-8-s1337/diagnostics.riglog +3 -0
- batch-sweep-60M/60m-5tpp-bs128-lr2e-8-s1337/metrics.json +238 -0
- batch-sweep-60M/60m-5tpp-bs128-lr2e-8-s1337/result.json +238 -0
- batch-sweep-60M/60m-5tpp-bs128-lr2e-8-s1337/training.riglog +0 -0
- batch-sweep-60M/60m-5tpp-bs128-lr2e-8-s1337/validation.csv +2 -0
.gitattributes
CHANGED
|
@@ -134,3 +134,62 @@ batch-sweep-500M/500m-5tpp-bs256-lr2e-8-s1338/training.riglog filter=lfs diff=lf
|
|
| 134 |
batch-sweep-500M/500m-5tpp-bs256-lr2e-8-s1339/diagnostics.riglog filter=lfs diff=lfs merge=lfs -text
|
| 135 |
batch-sweep-500M/500m-5tpp-bs256-lr2e-8-s1339/training.riglog filter=lfs diff=lfs merge=lfs -text
|
| 136 |
batch-sweep-60M/60m-5tpp-bs128-lr2e-10-s1337/diagnostics.riglog filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 134 |
batch-sweep-500M/500m-5tpp-bs256-lr2e-8-s1339/diagnostics.riglog filter=lfs diff=lfs merge=lfs -text
|
| 135 |
batch-sweep-500M/500m-5tpp-bs256-lr2e-8-s1339/training.riglog filter=lfs diff=lfs merge=lfs -text
|
| 136 |
batch-sweep-60M/60m-5tpp-bs128-lr2e-10-s1337/diagnostics.riglog filter=lfs diff=lfs merge=lfs -text
|
| 137 |
+
batch-sweep-60M/60m-5tpp-bs128-lr2e-10-s1338/diagnostics.riglog filter=lfs diff=lfs merge=lfs -text
|
| 138 |
+
batch-sweep-60M/60m-5tpp-bs128-lr2e-10-s1339/diagnostics.riglog filter=lfs diff=lfs merge=lfs -text
|
| 139 |
+
batch-sweep-60M/60m-5tpp-bs128-lr2e-6-s1337/diagnostics.riglog filter=lfs diff=lfs merge=lfs -text
|
| 140 |
+
batch-sweep-60M/60m-5tpp-bs128-lr2e-6-s1338/diagnostics.riglog filter=lfs diff=lfs merge=lfs -text
|
| 141 |
+
batch-sweep-60M/60m-5tpp-bs128-lr2e-6-s1339/diagnostics.riglog filter=lfs diff=lfs merge=lfs -text
|
| 142 |
+
batch-sweep-60M/60m-5tpp-bs128-lr2e-7-s1337/diagnostics.riglog filter=lfs diff=lfs merge=lfs -text
|
| 143 |
+
batch-sweep-60M/60m-5tpp-bs128-lr2e-7-s1338/diagnostics.riglog filter=lfs diff=lfs merge=lfs -text
|
| 144 |
+
batch-sweep-60M/60m-5tpp-bs128-lr2e-7-s1339/diagnostics.riglog filter=lfs diff=lfs merge=lfs -text
|
| 145 |
+
batch-sweep-60M/60m-5tpp-bs128-lr2e-8-s1337/diagnostics.riglog filter=lfs diff=lfs merge=lfs -text
|
| 146 |
+
batch-sweep-60M/60m-5tpp-bs128-lr2e-8-s1338/diagnostics.riglog filter=lfs diff=lfs merge=lfs -text
|
| 147 |
+
batch-sweep-60M/60m-5tpp-bs128-lr2e-8-s1339/diagnostics.riglog filter=lfs diff=lfs merge=lfs -text
|
| 148 |
+
batch-sweep-60M/60m-5tpp-bs128-lr2e-9-s1337/diagnostics.riglog filter=lfs diff=lfs merge=lfs -text
|
| 149 |
+
batch-sweep-60M/60m-5tpp-bs128-lr2e-9-s1338/diagnostics.riglog filter=lfs diff=lfs merge=lfs -text
|
| 150 |
+
batch-sweep-60M/60m-5tpp-bs128-lr2e-9-s1339/diagnostics.riglog filter=lfs diff=lfs merge=lfs -text
|
| 151 |
+
batch-sweep-60M/60m-5tpp-bs256-lr2e-10-s1337/diagnostics.riglog filter=lfs diff=lfs merge=lfs -text
|
| 152 |
+
batch-sweep-60M/60m-5tpp-bs256-lr2e-10-s1338/diagnostics.riglog filter=lfs diff=lfs merge=lfs -text
|
| 153 |
+
batch-sweep-60M/60m-5tpp-bs256-lr2e-10-s1339/diagnostics.riglog filter=lfs diff=lfs merge=lfs -text
|
| 154 |
+
batch-sweep-60M/60m-5tpp-bs256-lr2e-6-s1337/diagnostics.riglog filter=lfs diff=lfs merge=lfs -text
|
| 155 |
+
batch-sweep-60M/60m-5tpp-bs256-lr2e-6-s1338/diagnostics.riglog filter=lfs diff=lfs merge=lfs -text
|
| 156 |
+
batch-sweep-60M/60m-5tpp-bs256-lr2e-6-s1339/diagnostics.riglog filter=lfs diff=lfs merge=lfs -text
|
| 157 |
+
batch-sweep-60M/60m-5tpp-bs256-lr2e-7-s1337/diagnostics.riglog filter=lfs diff=lfs merge=lfs -text
|
| 158 |
+
batch-sweep-60M/60m-5tpp-bs256-lr2e-7-s1338/diagnostics.riglog filter=lfs diff=lfs merge=lfs -text
|
| 159 |
+
batch-sweep-60M/60m-5tpp-bs256-lr2e-7-s1339/diagnostics.riglog filter=lfs diff=lfs merge=lfs -text
|
| 160 |
+
batch-sweep-60M/60m-5tpp-bs256-lr2e-8-s1337/diagnostics.riglog filter=lfs diff=lfs merge=lfs -text
|
| 161 |
+
batch-sweep-60M/60m-5tpp-bs256-lr2e-8-s1338/diagnostics.riglog filter=lfs diff=lfs merge=lfs -text
|
| 162 |
+
batch-sweep-60M/60m-5tpp-bs256-lr2e-8-s1339/diagnostics.riglog filter=lfs diff=lfs merge=lfs -text
|
| 163 |
+
batch-sweep-60M/60m-5tpp-bs256-lr2e-9-s1337/diagnostics.riglog filter=lfs diff=lfs merge=lfs -text
|
| 164 |
+
batch-sweep-60M/60m-5tpp-bs256-lr2e-9-s1338/diagnostics.riglog filter=lfs diff=lfs merge=lfs -text
|
| 165 |
+
batch-sweep-60M/60m-5tpp-bs256-lr2e-9-s1339/diagnostics.riglog filter=lfs diff=lfs merge=lfs -text
|
| 166 |
+
batch-sweep-60M/60m-5tpp-bs32-lr2e-10-s1337/diagnostics.riglog filter=lfs diff=lfs merge=lfs -text
|
| 167 |
+
batch-sweep-60M/60m-5tpp-bs32-lr2e-10-s1337/training.riglog filter=lfs diff=lfs merge=lfs -text
|
| 168 |
+
batch-sweep-60M/60m-5tpp-bs32-lr2e-10-s1338/diagnostics.riglog filter=lfs diff=lfs merge=lfs -text
|
| 169 |
+
batch-sweep-60M/60m-5tpp-bs32-lr2e-10-s1338/training.riglog filter=lfs diff=lfs merge=lfs -text
|
| 170 |
+
batch-sweep-60M/60m-5tpp-bs32-lr2e-10-s1339/diagnostics.riglog filter=lfs diff=lfs merge=lfs -text
|
| 171 |
+
batch-sweep-60M/60m-5tpp-bs32-lr2e-10-s1339/training.riglog filter=lfs diff=lfs merge=lfs -text
|
| 172 |
+
batch-sweep-60M/60m-5tpp-bs32-lr2e-6-s1337/diagnostics.riglog filter=lfs diff=lfs merge=lfs -text
|
| 173 |
+
batch-sweep-60M/60m-5tpp-bs32-lr2e-6-s1337/training.riglog filter=lfs diff=lfs merge=lfs -text
|
| 174 |
+
batch-sweep-60M/60m-5tpp-bs32-lr2e-6-s1338/diagnostics.riglog filter=lfs diff=lfs merge=lfs -text
|
| 175 |
+
batch-sweep-60M/60m-5tpp-bs32-lr2e-6-s1338/training.riglog filter=lfs diff=lfs merge=lfs -text
|
| 176 |
+
batch-sweep-60M/60m-5tpp-bs32-lr2e-6-s1339/diagnostics.riglog filter=lfs diff=lfs merge=lfs -text
|
| 177 |
+
batch-sweep-60M/60m-5tpp-bs32-lr2e-6-s1339/training.riglog filter=lfs diff=lfs merge=lfs -text
|
| 178 |
+
batch-sweep-60M/60m-5tpp-bs32-lr2e-7-s1337/diagnostics.riglog filter=lfs diff=lfs merge=lfs -text
|
| 179 |
+
batch-sweep-60M/60m-5tpp-bs32-lr2e-7-s1337/training.riglog filter=lfs diff=lfs merge=lfs -text
|
| 180 |
+
batch-sweep-60M/60m-5tpp-bs32-lr2e-7-s1338/diagnostics.riglog filter=lfs diff=lfs merge=lfs -text
|
| 181 |
+
batch-sweep-60M/60m-5tpp-bs32-lr2e-7-s1338/training.riglog filter=lfs diff=lfs merge=lfs -text
|
| 182 |
+
batch-sweep-60M/60m-5tpp-bs32-lr2e-7-s1339/diagnostics.riglog filter=lfs diff=lfs merge=lfs -text
|
| 183 |
+
batch-sweep-60M/60m-5tpp-bs32-lr2e-7-s1339/training.riglog filter=lfs diff=lfs merge=lfs -text
|
| 184 |
+
batch-sweep-60M/60m-5tpp-bs32-lr2e-8-s1337/diagnostics.riglog filter=lfs diff=lfs merge=lfs -text
|
| 185 |
+
batch-sweep-60M/60m-5tpp-bs32-lr2e-8-s1337/training.riglog filter=lfs diff=lfs merge=lfs -text
|
| 186 |
+
batch-sweep-60M/60m-5tpp-bs32-lr2e-8-s1338/diagnostics.riglog filter=lfs diff=lfs merge=lfs -text
|
| 187 |
+
batch-sweep-60M/60m-5tpp-bs32-lr2e-8-s1338/training.riglog filter=lfs diff=lfs merge=lfs -text
|
| 188 |
+
batch-sweep-60M/60m-5tpp-bs32-lr2e-8-s1339/diagnostics.riglog filter=lfs diff=lfs merge=lfs -text
|
| 189 |
+
batch-sweep-60M/60m-5tpp-bs32-lr2e-8-s1339/training.riglog filter=lfs diff=lfs merge=lfs -text
|
| 190 |
+
batch-sweep-60M/60m-5tpp-bs32-lr2e-9-s1337/diagnostics.riglog filter=lfs diff=lfs merge=lfs -text
|
| 191 |
+
batch-sweep-60M/60m-5tpp-bs32-lr2e-9-s1337/training.riglog filter=lfs diff=lfs merge=lfs -text
|
| 192 |
+
batch-sweep-60M/60m-5tpp-bs32-lr2e-9-s1338/diagnostics.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
|
batch-sweep-60M/60m-5tpp-bs128-lr2e-10-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": 4.231022298336029,
|
| 32 |
+
"perplexity": 68.78751760617332,
|
| 33 |
+
"scored_tokens": 1048576,
|
| 34 |
+
"seconds": 0.11371587699977681
|
| 35 |
+
}
|
| 36 |
+
},
|
| 37 |
+
"implementation": {
|
| 38 |
+
"attention_backend": "tpu_flash",
|
| 39 |
+
"attention_tuning": {
|
| 40 |
+
"key_digest": "239f36c4cb1e574c1b4adbbe01104d4d17828e8a85abffb21ba4f0037f0c08ef",
|
| 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": 128,
|
| 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": 1.0,
|
| 98 |
+
"beta1": 0.9,
|
| 99 |
+
"beta2": 0.95,
|
| 100 |
+
"global_peak_learning_rate": 0.0009765625,
|
| 101 |
+
"weight_decay_horizon_multiplier": 1.0
|
| 102 |
+
},
|
| 103 |
+
"grad_clip": 0.0,
|
| 104 |
+
"learning_rate": 0.0009765625,
|
| 105 |
+
"min_lr_ratio": 0.1,
|
| 106 |
+
"warmup_steps": 229,
|
| 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": 1.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": 128,
|
| 124 |
+
"dtype": "bfloat16",
|
| 125 |
+
"sampling": "shuffled_epochs",
|
| 126 |
+
"seq_len": 1024,
|
| 127 |
+
"steps": 2286,
|
| 128 |
+
"tokens_per_parameter": 5.000660099848113,
|
| 129 |
+
"train_tokens": 299630592
|
| 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": 1226.5817067241096,
|
| 140 |
+
"attention_tune_seconds": 0.0,
|
| 141 |
+
"base_learning_rate": 0.0009765625,
|
| 142 |
+
"diagnostic_compile_seconds": 62.016062223003246,
|
| 143 |
+
"diagnostic_point_count": 230,
|
| 144 |
+
"diagnostics_every": 10,
|
| 145 |
+
"estimated_total_flops": 102267593322135552,
|
| 146 |
+
"eval_compile_seconds": 6.4254490790190175,
|
| 147 |
+
"final_validation_seconds": 0.11371587699977681,
|
| 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.2787685697100249,
|
| 162 |
+
"model_tier": "60m",
|
| 163 |
+
"parameter_count": 59918208,
|
| 164 |
+
"parameters": 59918208,
|
| 165 |
+
"tokens_per_parameter": 5.000660099848113,
|
| 166 |
+
"tokens_per_second": 3593723.0063139293,
|
| 167 |
+
"tokens_processed": 299630592,
|
| 168 |
+
"total_compile_seconds": 99.85941846802598,
|
| 169 |
+
"train_compile_seconds": 31.417907166003715,
|
| 170 |
+
"train_loss": 4.179998874664307,
|
| 171 |
+
"train_seconds": 83.37609534000512,
|
| 172 |
+
"training_data_epochs": 0.037928020133706226,
|
| 173 |
+
"training_data_sharding": "rank_disjoint_shuffled_windows",
|
| 174 |
+
"training_sampling": "shuffled_epochs",
|
| 175 |
+
"training_steps": 2286,
|
| 176 |
+
"training_token_budget": 299630592,
|
| 177 |
+
"training_usable_tokens_per_epoch": 7899979776,
|
| 178 |
+
"validation_loss": 4.231022298336029,
|
| 179 |
+
"validation_probe_count": 0,
|
| 180 |
+
"validation_probe_seconds": 0.0,
|
| 181 |
+
"validation_tokens": 1048576
|
| 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-bs128-lr2e-10-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": 4.231022298336029,
|
| 32 |
+
"perplexity": 68.78751760617332,
|
| 33 |
+
"scored_tokens": 1048576,
|
| 34 |
+
"seconds": 0.11371587699977681
|
| 35 |
+
}
|
| 36 |
+
},
|
| 37 |
+
"implementation": {
|
| 38 |
+
"attention_backend": "tpu_flash",
|
| 39 |
+
"attention_tuning": {
|
| 40 |
+
"key_digest": "239f36c4cb1e574c1b4adbbe01104d4d17828e8a85abffb21ba4f0037f0c08ef",
|
| 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": 128,
|
| 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": 1.0,
|
| 98 |
+
"beta1": 0.9,
|
| 99 |
+
"beta2": 0.95,
|
| 100 |
+
"global_peak_learning_rate": 0.0009765625,
|
| 101 |
+
"weight_decay_horizon_multiplier": 1.0
|
| 102 |
+
},
|
| 103 |
+
"grad_clip": 0.0,
|
| 104 |
+
"learning_rate": 0.0009765625,
|
| 105 |
+
"min_lr_ratio": 0.1,
|
| 106 |
+
"warmup_steps": 229,
|
| 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": 1.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": 128,
|
| 124 |
+
"dtype": "bfloat16",
|
| 125 |
+
"sampling": "shuffled_epochs",
|
| 126 |
+
"seq_len": 1024,
|
| 127 |
+
"steps": 2286,
|
| 128 |
+
"tokens_per_parameter": 5.000660099848113,
|
| 129 |
+
"train_tokens": 299630592
|
| 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": 1226.5817067241096,
|
| 140 |
+
"attention_tune_seconds": 0.0,
|
| 141 |
+
"base_learning_rate": 0.0009765625,
|
| 142 |
+
"diagnostic_compile_seconds": 62.016062223003246,
|
| 143 |
+
"diagnostic_point_count": 230,
|
| 144 |
+
"diagnostics_every": 10,
|
| 145 |
+
"estimated_total_flops": 102267593322135552,
|
| 146 |
+
"eval_compile_seconds": 6.4254490790190175,
|
| 147 |
+
"final_validation_seconds": 0.11371587699977681,
|
| 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.2787685697100249,
|
| 162 |
+
"model_tier": "60m",
|
| 163 |
+
"parameter_count": 59918208,
|
| 164 |
+
"parameters": 59918208,
|
| 165 |
+
"tokens_per_parameter": 5.000660099848113,
|
| 166 |
+
"tokens_per_second": 3593723.0063139293,
|
| 167 |
+
"tokens_processed": 299630592,
|
| 168 |
+
"total_compile_seconds": 99.85941846802598,
|
| 169 |
+
"train_compile_seconds": 31.417907166003715,
|
| 170 |
+
"train_loss": 4.179998874664307,
|
| 171 |
+
"train_seconds": 83.37609534000512,
|
| 172 |
+
"training_data_epochs": 0.037928020133706226,
|
| 173 |
+
"training_data_sharding": "rank_disjoint_shuffled_windows",
|
| 174 |
+
"training_sampling": "shuffled_epochs",
|
| 175 |
+
"training_steps": 2286,
|
| 176 |
+
"training_token_budget": 299630592,
|
| 177 |
+
"training_usable_tokens_per_epoch": 7899979776,
|
| 178 |
+
"validation_loss": 4.231022298336029,
|
| 179 |
+
"validation_probe_count": 0,
|
| 180 |
+
"validation_probe_seconds": 0.0,
|
| 181 |
+
"validation_tokens": 1048576
|
| 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-bs128-lr2e-10-s1337/training.riglog
ADDED
|
Binary file (36.7 kB). View file
|
|
|
batch-sweep-60M/60m-5tpp-bs128-lr2e-10-s1337/validation.csv
ADDED
|
@@ -0,0 +1,2 @@
|
|
|
|
|
|
|
|
|
|
| 1 |
+
step,tokens_processed,kind,domain,validation_tokens,validation_loss,perplexity,validation_seconds,canonical
|
| 2 |
+
2286,299630592,fineweb,fineweb,1048576,4.231022298336029,68.78751760617332,0.11371587699977681,true
|
batch-sweep-60M/60m-5tpp-bs128-lr2e-10-s1338/diagnostics.riglog
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:e457af3ed771dcf138f2bca03cbc4c37a43401a74065653fafe2bd6c358abc1e
|
| 3 |
+
size 272824
|
batch-sweep-60M/60m-5tpp-bs128-lr2e-10-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": 4.234494388103485,
|
| 32 |
+
"perplexity": 69.02676915325046,
|
| 33 |
+
"scored_tokens": 1048576,
|
| 34 |
+
"seconds": 0.11434176698094234
|
| 35 |
+
}
|
| 36 |
+
},
|
| 37 |
+
"implementation": {
|
| 38 |
+
"attention_backend": "tpu_flash",
|
| 39 |
+
"attention_tuning": {
|
| 40 |
+
"key_digest": "239f36c4cb1e574c1b4adbbe01104d4d17828e8a85abffb21ba4f0037f0c08ef",
|
| 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": 128,
|
| 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": 1.0,
|
| 98 |
+
"beta1": 0.9,
|
| 99 |
+
"beta2": 0.95,
|
| 100 |
+
"global_peak_learning_rate": 0.0009765625,
|
| 101 |
+
"weight_decay_horizon_multiplier": 1.0
|
| 102 |
+
},
|
| 103 |
+
"grad_clip": 0.0,
|
| 104 |
+
"learning_rate": 0.0009765625,
|
| 105 |
+
"min_lr_ratio": 0.1,
|
| 106 |
+
"warmup_steps": 229,
|
| 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": 1.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": 128,
|
| 124 |
+
"dtype": "bfloat16",
|
| 125 |
+
"sampling": "shuffled_epochs",
|
| 126 |
+
"seq_len": 1024,
|
| 127 |
+
"steps": 2286,
|
| 128 |
+
"tokens_per_parameter": 5.000660099848113,
|
| 129 |
+
"train_tokens": 299630592
|
| 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": 1205.1196077005113,
|
| 140 |
+
"attention_tune_seconds": 0.0,
|
| 141 |
+
"base_learning_rate": 0.0009765625,
|
| 142 |
+
"diagnostic_compile_seconds": 57.62204757099971,
|
| 143 |
+
"diagnostic_point_count": 230,
|
| 144 |
+
"diagnostics_every": 10,
|
| 145 |
+
"estimated_total_flops": 102267593322135552,
|
| 146 |
+
"eval_compile_seconds": 6.784824261005269,
|
| 147 |
+
"final_validation_seconds": 0.11434176698094234,
|
| 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.27389081993193437,
|
| 162 |
+
"model_tier": "60m",
|
| 163 |
+
"parameter_count": 59918208,
|
| 164 |
+
"parameters": 59918208,
|
| 165 |
+
"tokens_per_parameter": 5.000660099848113,
|
| 166 |
+
"tokens_per_second": 3530841.8801711923,
|
| 167 |
+
"tokens_processed": 299630592,
|
| 168 |
+
"total_compile_seconds": 99.80507420498179,
|
| 169 |
+
"train_compile_seconds": 35.39820237297681,
|
| 170 |
+
"train_loss": 4.222934722900391,
|
| 171 |
+
"train_seconds": 84.86094879600569,
|
| 172 |
+
"training_data_epochs": 0.037928020133706226,
|
| 173 |
+
"training_data_sharding": "rank_disjoint_shuffled_windows",
|
| 174 |
+
"training_sampling": "shuffled_epochs",
|
| 175 |
+
"training_steps": 2286,
|
| 176 |
+
"training_token_budget": 299630592,
|
| 177 |
+
"training_usable_tokens_per_epoch": 7899979776,
|
| 178 |
+
"validation_loss": 4.234494388103485,
|
| 179 |
+
"validation_probe_count": 0,
|
| 180 |
+
"validation_probe_seconds": 0.0,
|
| 181 |
+
"validation_tokens": 1048576
|
| 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-bs128-lr2e-10-s1338/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": 4.234494388103485,
|
| 32 |
+
"perplexity": 69.02676915325046,
|
| 33 |
+
"scored_tokens": 1048576,
|
| 34 |
+
"seconds": 0.11434176698094234
|
| 35 |
+
}
|
| 36 |
+
},
|
| 37 |
+
"implementation": {
|
| 38 |
+
"attention_backend": "tpu_flash",
|
| 39 |
+
"attention_tuning": {
|
| 40 |
+
"key_digest": "239f36c4cb1e574c1b4adbbe01104d4d17828e8a85abffb21ba4f0037f0c08ef",
|
| 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": 128,
|
| 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": 1.0,
|
| 98 |
+
"beta1": 0.9,
|
| 99 |
+
"beta2": 0.95,
|
| 100 |
+
"global_peak_learning_rate": 0.0009765625,
|
| 101 |
+
"weight_decay_horizon_multiplier": 1.0
|
| 102 |
+
},
|
| 103 |
+
"grad_clip": 0.0,
|
| 104 |
+
"learning_rate": 0.0009765625,
|
| 105 |
+
"min_lr_ratio": 0.1,
|
| 106 |
+
"warmup_steps": 229,
|
| 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": 1.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": 128,
|
| 124 |
+
"dtype": "bfloat16",
|
| 125 |
+
"sampling": "shuffled_epochs",
|
| 126 |
+
"seq_len": 1024,
|
| 127 |
+
"steps": 2286,
|
| 128 |
+
"tokens_per_parameter": 5.000660099848113,
|
| 129 |
+
"train_tokens": 299630592
|
| 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": 1205.1196077005113,
|
| 140 |
+
"attention_tune_seconds": 0.0,
|
| 141 |
+
"base_learning_rate": 0.0009765625,
|
| 142 |
+
"diagnostic_compile_seconds": 57.62204757099971,
|
| 143 |
+
"diagnostic_point_count": 230,
|
| 144 |
+
"diagnostics_every": 10,
|
| 145 |
+
"estimated_total_flops": 102267593322135552,
|
| 146 |
+
"eval_compile_seconds": 6.784824261005269,
|
| 147 |
+
"final_validation_seconds": 0.11434176698094234,
|
| 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.27389081993193437,
|
| 162 |
+
"model_tier": "60m",
|
| 163 |
+
"parameter_count": 59918208,
|
| 164 |
+
"parameters": 59918208,
|
| 165 |
+
"tokens_per_parameter": 5.000660099848113,
|
| 166 |
+
"tokens_per_second": 3530841.8801711923,
|
| 167 |
+
"tokens_processed": 299630592,
|
| 168 |
+
"total_compile_seconds": 99.80507420498179,
|
| 169 |
+
"train_compile_seconds": 35.39820237297681,
|
| 170 |
+
"train_loss": 4.222934722900391,
|
| 171 |
+
"train_seconds": 84.86094879600569,
|
| 172 |
+
"training_data_epochs": 0.037928020133706226,
|
| 173 |
+
"training_data_sharding": "rank_disjoint_shuffled_windows",
|
| 174 |
+
"training_sampling": "shuffled_epochs",
|
| 175 |
+
"training_steps": 2286,
|
| 176 |
+
"training_token_budget": 299630592,
|
| 177 |
+
"training_usable_tokens_per_epoch": 7899979776,
|
| 178 |
+
"validation_loss": 4.234494388103485,
|
| 179 |
+
"validation_probe_count": 0,
|
| 180 |
+
"validation_probe_seconds": 0.0,
|
| 181 |
+
"validation_tokens": 1048576
|
| 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-bs128-lr2e-10-s1338/training.riglog
ADDED
|
Binary file (36.7 kB). View file
|
|
|
batch-sweep-60M/60m-5tpp-bs128-lr2e-10-s1338/validation.csv
ADDED
|
@@ -0,0 +1,2 @@
|
|
|
|
|
|
|
|
|
|
| 1 |
+
step,tokens_processed,kind,domain,validation_tokens,validation_loss,perplexity,validation_seconds,canonical
|
| 2 |
+
2286,299630592,fineweb,fineweb,1048576,4.234494388103485,69.02676915325046,0.11434176698094234,true
|
batch-sweep-60M/60m-5tpp-bs128-lr2e-10-s1339/diagnostics.riglog
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:adc6952fc772f08ca554883470ffe406e6a3b4c908afd8da02d749269040778f
|
| 3 |
+
size 272824
|
batch-sweep-60M/60m-5tpp-bs128-lr2e-10-s1339/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": 4.22570413351059,
|
| 32 |
+
"perplexity": 68.42266528193188,
|
| 33 |
+
"scored_tokens": 1048576,
|
| 34 |
+
"seconds": 0.11953467698185705
|
| 35 |
+
}
|
| 36 |
+
},
|
| 37 |
+
"implementation": {
|
| 38 |
+
"attention_backend": "tpu_flash",
|
| 39 |
+
"attention_tuning": {
|
| 40 |
+
"key_digest": "239f36c4cb1e574c1b4adbbe01104d4d17828e8a85abffb21ba4f0037f0c08ef",
|
| 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": 128,
|
| 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": 1.0,
|
| 98 |
+
"beta1": 0.9,
|
| 99 |
+
"beta2": 0.95,
|
| 100 |
+
"global_peak_learning_rate": 0.0009765625,
|
| 101 |
+
"weight_decay_horizon_multiplier": 1.0
|
| 102 |
+
},
|
| 103 |
+
"grad_clip": 0.0,
|
| 104 |
+
"learning_rate": 0.0009765625,
|
| 105 |
+
"min_lr_ratio": 0.1,
|
| 106 |
+
"warmup_steps": 229,
|
| 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": 1.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": 128,
|
| 124 |
+
"dtype": "bfloat16",
|
| 125 |
+
"sampling": "shuffled_epochs",
|
| 126 |
+
"seq_len": 1024,
|
| 127 |
+
"steps": 2286,
|
| 128 |
+
"tokens_per_parameter": 5.000660099848113,
|
| 129 |
+
"train_tokens": 299630592
|
| 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": 1230.2294350520417,
|
| 140 |
+
"attention_tune_seconds": 0.0,
|
| 141 |
+
"base_learning_rate": 0.0009765625,
|
| 142 |
+
"diagnostic_compile_seconds": 57.58028576700599,
|
| 143 |
+
"diagnostic_point_count": 230,
|
| 144 |
+
"diagnostics_every": 10,
|
| 145 |
+
"estimated_total_flops": 102267593322135552,
|
| 146 |
+
"eval_compile_seconds": 6.514255159010645,
|
| 147 |
+
"final_validation_seconds": 0.11953467698185705,
|
| 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.27959759887546404,
|
| 162 |
+
"model_tier": "60m",
|
| 163 |
+
"parameter_count": 59918208,
|
| 164 |
+
"parameters": 59918208,
|
| 165 |
+
"tokens_per_parameter": 5.000660099848113,
|
| 166 |
+
"tokens_per_second": 3604410.370344397,
|
| 167 |
+
"tokens_processed": 299630592,
|
| 168 |
+
"total_compile_seconds": 94.90107854802045,
|
| 169 |
+
"train_compile_seconds": 30.806537622003816,
|
| 170 |
+
"train_loss": 4.224009037017822,
|
| 171 |
+
"train_seconds": 83.1288785719953,
|
| 172 |
+
"training_data_epochs": 0.037928020133706226,
|
| 173 |
+
"training_data_sharding": "rank_disjoint_shuffled_windows",
|
| 174 |
+
"training_sampling": "shuffled_epochs",
|
| 175 |
+
"training_steps": 2286,
|
| 176 |
+
"training_token_budget": 299630592,
|
| 177 |
+
"training_usable_tokens_per_epoch": 7899979776,
|
| 178 |
+
"validation_loss": 4.22570413351059,
|
| 179 |
+
"validation_probe_count": 0,
|
| 180 |
+
"validation_probe_seconds": 0.0,
|
| 181 |
+
"validation_tokens": 1048576
|
| 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-bs128-lr2e-10-s1339/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": 4.22570413351059,
|
| 32 |
+
"perplexity": 68.42266528193188,
|
| 33 |
+
"scored_tokens": 1048576,
|
| 34 |
+
"seconds": 0.11953467698185705
|
| 35 |
+
}
|
| 36 |
+
},
|
| 37 |
+
"implementation": {
|
| 38 |
+
"attention_backend": "tpu_flash",
|
| 39 |
+
"attention_tuning": {
|
| 40 |
+
"key_digest": "239f36c4cb1e574c1b4adbbe01104d4d17828e8a85abffb21ba4f0037f0c08ef",
|
| 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": 128,
|
| 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": 1.0,
|
| 98 |
+
"beta1": 0.9,
|
| 99 |
+
"beta2": 0.95,
|
| 100 |
+
"global_peak_learning_rate": 0.0009765625,
|
| 101 |
+
"weight_decay_horizon_multiplier": 1.0
|
| 102 |
+
},
|
| 103 |
+
"grad_clip": 0.0,
|
| 104 |
+
"learning_rate": 0.0009765625,
|
| 105 |
+
"min_lr_ratio": 0.1,
|
| 106 |
+
"warmup_steps": 229,
|
| 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": 1.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": 128,
|
| 124 |
+
"dtype": "bfloat16",
|
| 125 |
+
"sampling": "shuffled_epochs",
|
| 126 |
+
"seq_len": 1024,
|
| 127 |
+
"steps": 2286,
|
| 128 |
+
"tokens_per_parameter": 5.000660099848113,
|
| 129 |
+
"train_tokens": 299630592
|
| 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": 1230.2294350520417,
|
| 140 |
+
"attention_tune_seconds": 0.0,
|
| 141 |
+
"base_learning_rate": 0.0009765625,
|
| 142 |
+
"diagnostic_compile_seconds": 57.58028576700599,
|
| 143 |
+
"diagnostic_point_count": 230,
|
| 144 |
+
"diagnostics_every": 10,
|
| 145 |
+
"estimated_total_flops": 102267593322135552,
|
| 146 |
+
"eval_compile_seconds": 6.514255159010645,
|
| 147 |
+
"final_validation_seconds": 0.11953467698185705,
|
| 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.27959759887546404,
|
| 162 |
+
"model_tier": "60m",
|
| 163 |
+
"parameter_count": 59918208,
|
| 164 |
+
"parameters": 59918208,
|
| 165 |
+
"tokens_per_parameter": 5.000660099848113,
|
| 166 |
+
"tokens_per_second": 3604410.370344397,
|
| 167 |
+
"tokens_processed": 299630592,
|
| 168 |
+
"total_compile_seconds": 94.90107854802045,
|
| 169 |
+
"train_compile_seconds": 30.806537622003816,
|
| 170 |
+
"train_loss": 4.224009037017822,
|
| 171 |
+
"train_seconds": 83.1288785719953,
|
| 172 |
+
"training_data_epochs": 0.037928020133706226,
|
| 173 |
+
"training_data_sharding": "rank_disjoint_shuffled_windows",
|
| 174 |
+
"training_sampling": "shuffled_epochs",
|
| 175 |
+
"training_steps": 2286,
|
| 176 |
+
"training_token_budget": 299630592,
|
| 177 |
+
"training_usable_tokens_per_epoch": 7899979776,
|
| 178 |
+
"validation_loss": 4.22570413351059,
|
| 179 |
+
"validation_probe_count": 0,
|
| 180 |
+
"validation_probe_seconds": 0.0,
|
| 181 |
+
"validation_tokens": 1048576
|
| 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-bs128-lr2e-10-s1339/training.riglog
ADDED
|
Binary file (36.7 kB). View file
|
|
|
batch-sweep-60M/60m-5tpp-bs128-lr2e-10-s1339/validation.csv
ADDED
|
@@ -0,0 +1,2 @@
|
|
|
|
|
|
|
|
|
|
| 1 |
+
step,tokens_processed,kind,domain,validation_tokens,validation_loss,perplexity,validation_seconds,canonical
|
| 2 |
+
2286,299630592,fineweb,fineweb,1048576,4.22570413351059,68.42266528193188,0.11953467698185705,true
|
batch-sweep-60M/60m-5tpp-bs128-lr2e-6-s1337/diagnostics.riglog
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:8ae7005acc639a8c2dfb5ba44126c2aafd0f819d276bd8a305e1234b4ca1d717
|
| 3 |
+
size 272824
|
batch-sweep-60M/60m-5tpp-bs128-lr2e-6-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": 4.095564603805542,
|
| 32 |
+
"perplexity": 60.07324716821631,
|
| 33 |
+
"scored_tokens": 1048576,
|
| 34 |
+
"seconds": 0.12321466801222414
|
| 35 |
+
}
|
| 36 |
+
},
|
| 37 |
+
"implementation": {
|
| 38 |
+
"attention_backend": "tpu_flash",
|
| 39 |
+
"attention_tuning": {
|
| 40 |
+
"key_digest": "239f36c4cb1e574c1b4adbbe01104d4d17828e8a85abffb21ba4f0037f0c08ef",
|
| 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": 128,
|
| 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": 1.0,
|
| 98 |
+
"beta1": 0.9,
|
| 99 |
+
"beta2": 0.95,
|
| 100 |
+
"global_peak_learning_rate": 0.015625,
|
| 101 |
+
"weight_decay_horizon_multiplier": 1.0
|
| 102 |
+
},
|
| 103 |
+
"grad_clip": 0.0,
|
| 104 |
+
"learning_rate": 0.015625,
|
| 105 |
+
"min_lr_ratio": 0.1,
|
| 106 |
+
"warmup_steps": 229,
|
| 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": 1.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": 128,
|
| 124 |
+
"dtype": "bfloat16",
|
| 125 |
+
"sampling": "shuffled_epochs",
|
| 126 |
+
"seq_len": 1024,
|
| 127 |
+
"steps": 2286,
|
| 128 |
+
"tokens_per_parameter": 5.000660099848113,
|
| 129 |
+
"train_tokens": 299630592
|
| 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": 1220.6404960310078,
|
| 140 |
+
"attention_tune_seconds": 0.0,
|
| 141 |
+
"base_learning_rate": 0.015625,
|
| 142 |
+
"diagnostic_compile_seconds": 62.52575223299209,
|
| 143 |
+
"diagnostic_point_count": 230,
|
| 144 |
+
"diagnostics_every": 10,
|
| 145 |
+
"estimated_total_flops": 102267593322135552,
|
| 146 |
+
"eval_compile_seconds": 6.569469711976126,
|
| 147 |
+
"final_validation_seconds": 0.12321466801222414,
|
| 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.2774182945525018,
|
| 162 |
+
"model_tier": "60m",
|
| 163 |
+
"parameter_count": 59918208,
|
| 164 |
+
"parameters": 59918208,
|
| 165 |
+
"tokens_per_parameter": 5.000660099848113,
|
| 166 |
+
"tokens_per_second": 3576316.0407313583,
|
| 167 |
+
"tokens_processed": 299630592,
|
| 168 |
+
"total_compile_seconds": 98.82152125096763,
|
| 169 |
+
"train_compile_seconds": 29.72629930599942,
|
| 170 |
+
"train_loss": 4.049431800842285,
|
| 171 |
+
"train_seconds": 83.78191093500936,
|
| 172 |
+
"training_data_epochs": 0.037928020133706226,
|
| 173 |
+
"training_data_sharding": "rank_disjoint_shuffled_windows",
|
| 174 |
+
"training_sampling": "shuffled_epochs",
|
| 175 |
+
"training_steps": 2286,
|
| 176 |
+
"training_token_budget": 299630592,
|
| 177 |
+
"training_usable_tokens_per_epoch": 7899979776,
|
| 178 |
+
"validation_loss": 4.095564603805542,
|
| 179 |
+
"validation_probe_count": 0,
|
| 180 |
+
"validation_probe_seconds": 0.0,
|
| 181 |
+
"validation_tokens": 1048576
|
| 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-bs128-lr2e-6-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": 4.095564603805542,
|
| 32 |
+
"perplexity": 60.07324716821631,
|
| 33 |
+
"scored_tokens": 1048576,
|
| 34 |
+
"seconds": 0.12321466801222414
|
| 35 |
+
}
|
| 36 |
+
},
|
| 37 |
+
"implementation": {
|
| 38 |
+
"attention_backend": "tpu_flash",
|
| 39 |
+
"attention_tuning": {
|
| 40 |
+
"key_digest": "239f36c4cb1e574c1b4adbbe01104d4d17828e8a85abffb21ba4f0037f0c08ef",
|
| 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": 128,
|
| 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": 1.0,
|
| 98 |
+
"beta1": 0.9,
|
| 99 |
+
"beta2": 0.95,
|
| 100 |
+
"global_peak_learning_rate": 0.015625,
|
| 101 |
+
"weight_decay_horizon_multiplier": 1.0
|
| 102 |
+
},
|
| 103 |
+
"grad_clip": 0.0,
|
| 104 |
+
"learning_rate": 0.015625,
|
| 105 |
+
"min_lr_ratio": 0.1,
|
| 106 |
+
"warmup_steps": 229,
|
| 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": 1.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": 128,
|
| 124 |
+
"dtype": "bfloat16",
|
| 125 |
+
"sampling": "shuffled_epochs",
|
| 126 |
+
"seq_len": 1024,
|
| 127 |
+
"steps": 2286,
|
| 128 |
+
"tokens_per_parameter": 5.000660099848113,
|
| 129 |
+
"train_tokens": 299630592
|
| 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": 1220.6404960310078,
|
| 140 |
+
"attention_tune_seconds": 0.0,
|
| 141 |
+
"base_learning_rate": 0.015625,
|
| 142 |
+
"diagnostic_compile_seconds": 62.52575223299209,
|
| 143 |
+
"diagnostic_point_count": 230,
|
| 144 |
+
"diagnostics_every": 10,
|
| 145 |
+
"estimated_total_flops": 102267593322135552,
|
| 146 |
+
"eval_compile_seconds": 6.569469711976126,
|
| 147 |
+
"final_validation_seconds": 0.12321466801222414,
|
| 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.2774182945525018,
|
| 162 |
+
"model_tier": "60m",
|
| 163 |
+
"parameter_count": 59918208,
|
| 164 |
+
"parameters": 59918208,
|
| 165 |
+
"tokens_per_parameter": 5.000660099848113,
|
| 166 |
+
"tokens_per_second": 3576316.0407313583,
|
| 167 |
+
"tokens_processed": 299630592,
|
| 168 |
+
"total_compile_seconds": 98.82152125096763,
|
| 169 |
+
"train_compile_seconds": 29.72629930599942,
|
| 170 |
+
"train_loss": 4.049431800842285,
|
| 171 |
+
"train_seconds": 83.78191093500936,
|
| 172 |
+
"training_data_epochs": 0.037928020133706226,
|
| 173 |
+
"training_data_sharding": "rank_disjoint_shuffled_windows",
|
| 174 |
+
"training_sampling": "shuffled_epochs",
|
| 175 |
+
"training_steps": 2286,
|
| 176 |
+
"training_token_budget": 299630592,
|
| 177 |
+
"training_usable_tokens_per_epoch": 7899979776,
|
| 178 |
+
"validation_loss": 4.095564603805542,
|
| 179 |
+
"validation_probe_count": 0,
|
| 180 |
+
"validation_probe_seconds": 0.0,
|
| 181 |
+
"validation_tokens": 1048576
|
| 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-bs128-lr2e-6-s1337/training.riglog
ADDED
|
Binary file (36.7 kB). View file
|
|
|
batch-sweep-60M/60m-5tpp-bs128-lr2e-6-s1337/validation.csv
ADDED
|
@@ -0,0 +1,2 @@
|
|
|
|
|
|
|
|
|
|
| 1 |
+
step,tokens_processed,kind,domain,validation_tokens,validation_loss,perplexity,validation_seconds,canonical
|
| 2 |
+
2286,299630592,fineweb,fineweb,1048576,4.095564603805542,60.07324716821631,0.12321466801222414,true
|
batch-sweep-60M/60m-5tpp-bs128-lr2e-6-s1338/diagnostics.riglog
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:ce9c382973c6d6d3b7cee14c7ef6dad4213e6eabaa350832adac55e2cb24941c
|
| 3 |
+
size 272824
|
batch-sweep-60M/60m-5tpp-bs128-lr2e-6-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": 4.123899519443512,
|
| 32 |
+
"perplexity": 61.799762378212606,
|
| 33 |
+
"scored_tokens": 1048576,
|
| 34 |
+
"seconds": 0.12320758801070042
|
| 35 |
+
}
|
| 36 |
+
},
|
| 37 |
+
"implementation": {
|
| 38 |
+
"attention_backend": "tpu_flash",
|
| 39 |
+
"attention_tuning": {
|
| 40 |
+
"key_digest": "239f36c4cb1e574c1b4adbbe01104d4d17828e8a85abffb21ba4f0037f0c08ef",
|
| 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": 128,
|
| 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": 1.0,
|
| 98 |
+
"beta1": 0.9,
|
| 99 |
+
"beta2": 0.95,
|
| 100 |
+
"global_peak_learning_rate": 0.015625,
|
| 101 |
+
"weight_decay_horizon_multiplier": 1.0
|
| 102 |
+
},
|
| 103 |
+
"grad_clip": 0.0,
|
| 104 |
+
"learning_rate": 0.015625,
|
| 105 |
+
"min_lr_ratio": 0.1,
|
| 106 |
+
"warmup_steps": 229,
|
| 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": 1.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": 128,
|
| 124 |
+
"dtype": "bfloat16",
|
| 125 |
+
"sampling": "shuffled_epochs",
|
| 126 |
+
"seq_len": 1024,
|
| 127 |
+
"steps": 2286,
|
| 128 |
+
"tokens_per_parameter": 5.000660099848113,
|
| 129 |
+
"train_tokens": 299630592
|
| 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": 1231.1065312499722,
|
| 140 |
+
"attention_tune_seconds": 0.0,
|
| 141 |
+
"base_learning_rate": 0.015625,
|
| 142 |
+
"diagnostic_compile_seconds": 61.87786437702016,
|
| 143 |
+
"diagnostic_point_count": 230,
|
| 144 |
+
"diagnostics_every": 10,
|
| 145 |
+
"estimated_total_flops": 102267593322135552,
|
| 146 |
+
"eval_compile_seconds": 6.20147384799202,
|
| 147 |
+
"final_validation_seconds": 0.12320758801070042,
|
| 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.2797969389204482,
|
| 162 |
+
"model_tier": "60m",
|
| 163 |
+
"parameter_count": 59918208,
|
| 164 |
+
"parameters": 59918208,
|
| 165 |
+
"tokens_per_parameter": 5.000660099848113,
|
| 166 |
+
"tokens_per_second": 3606980.146795468,
|
| 167 |
+
"tokens_processed": 299630592,
|
| 168 |
+
"total_compile_seconds": 98.26842717602267,
|
| 169 |
+
"train_compile_seconds": 30.18908895101049,
|
| 170 |
+
"train_loss": 4.1150898933410645,
|
| 171 |
+
"train_seconds": 83.06965378398309,
|
| 172 |
+
"training_data_epochs": 0.037928020133706226,
|
| 173 |
+
"training_data_sharding": "rank_disjoint_shuffled_windows",
|
| 174 |
+
"training_sampling": "shuffled_epochs",
|
| 175 |
+
"training_steps": 2286,
|
| 176 |
+
"training_token_budget": 299630592,
|
| 177 |
+
"training_usable_tokens_per_epoch": 7899979776,
|
| 178 |
+
"validation_loss": 4.123899519443512,
|
| 179 |
+
"validation_probe_count": 0,
|
| 180 |
+
"validation_probe_seconds": 0.0,
|
| 181 |
+
"validation_tokens": 1048576
|
| 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-bs128-lr2e-6-s1338/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": 4.123899519443512,
|
| 32 |
+
"perplexity": 61.799762378212606,
|
| 33 |
+
"scored_tokens": 1048576,
|
| 34 |
+
"seconds": 0.12320758801070042
|
| 35 |
+
}
|
| 36 |
+
},
|
| 37 |
+
"implementation": {
|
| 38 |
+
"attention_backend": "tpu_flash",
|
| 39 |
+
"attention_tuning": {
|
| 40 |
+
"key_digest": "239f36c4cb1e574c1b4adbbe01104d4d17828e8a85abffb21ba4f0037f0c08ef",
|
| 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": 128,
|
| 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": 1.0,
|
| 98 |
+
"beta1": 0.9,
|
| 99 |
+
"beta2": 0.95,
|
| 100 |
+
"global_peak_learning_rate": 0.015625,
|
| 101 |
+
"weight_decay_horizon_multiplier": 1.0
|
| 102 |
+
},
|
| 103 |
+
"grad_clip": 0.0,
|
| 104 |
+
"learning_rate": 0.015625,
|
| 105 |
+
"min_lr_ratio": 0.1,
|
| 106 |
+
"warmup_steps": 229,
|
| 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": 1.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": 128,
|
| 124 |
+
"dtype": "bfloat16",
|
| 125 |
+
"sampling": "shuffled_epochs",
|
| 126 |
+
"seq_len": 1024,
|
| 127 |
+
"steps": 2286,
|
| 128 |
+
"tokens_per_parameter": 5.000660099848113,
|
| 129 |
+
"train_tokens": 299630592
|
| 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": 1231.1065312499722,
|
| 140 |
+
"attention_tune_seconds": 0.0,
|
| 141 |
+
"base_learning_rate": 0.015625,
|
| 142 |
+
"diagnostic_compile_seconds": 61.87786437702016,
|
| 143 |
+
"diagnostic_point_count": 230,
|
| 144 |
+
"diagnostics_every": 10,
|
| 145 |
+
"estimated_total_flops": 102267593322135552,
|
| 146 |
+
"eval_compile_seconds": 6.20147384799202,
|
| 147 |
+
"final_validation_seconds": 0.12320758801070042,
|
| 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.2797969389204482,
|
| 162 |
+
"model_tier": "60m",
|
| 163 |
+
"parameter_count": 59918208,
|
| 164 |
+
"parameters": 59918208,
|
| 165 |
+
"tokens_per_parameter": 5.000660099848113,
|
| 166 |
+
"tokens_per_second": 3606980.146795468,
|
| 167 |
+
"tokens_processed": 299630592,
|
| 168 |
+
"total_compile_seconds": 98.26842717602267,
|
| 169 |
+
"train_compile_seconds": 30.18908895101049,
|
| 170 |
+
"train_loss": 4.1150898933410645,
|
| 171 |
+
"train_seconds": 83.06965378398309,
|
| 172 |
+
"training_data_epochs": 0.037928020133706226,
|
| 173 |
+
"training_data_sharding": "rank_disjoint_shuffled_windows",
|
| 174 |
+
"training_sampling": "shuffled_epochs",
|
| 175 |
+
"training_steps": 2286,
|
| 176 |
+
"training_token_budget": 299630592,
|
| 177 |
+
"training_usable_tokens_per_epoch": 7899979776,
|
| 178 |
+
"validation_loss": 4.123899519443512,
|
| 179 |
+
"validation_probe_count": 0,
|
| 180 |
+
"validation_probe_seconds": 0.0,
|
| 181 |
+
"validation_tokens": 1048576
|
| 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-bs128-lr2e-6-s1338/training.riglog
ADDED
|
Binary file (36.7 kB). View file
|
|
|
batch-sweep-60M/60m-5tpp-bs128-lr2e-6-s1338/validation.csv
ADDED
|
@@ -0,0 +1,2 @@
|
|
|
|
|
|
|
|
|
|
| 1 |
+
step,tokens_processed,kind,domain,validation_tokens,validation_loss,perplexity,validation_seconds,canonical
|
| 2 |
+
2286,299630592,fineweb,fineweb,1048576,4.123899519443512,61.799762378212606,0.12320758801070042,true
|
batch-sweep-60M/60m-5tpp-bs128-lr2e-6-s1339/diagnostics.riglog
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:c9977da206c34c79f0e1e332fa671cb72ed85db234bbcb240db39f8c44af536a
|
| 3 |
+
size 272824
|
batch-sweep-60M/60m-5tpp-bs128-lr2e-6-s1339/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": 4.1288798451423645,
|
| 32 |
+
"perplexity": 62.108313026564716,
|
| 33 |
+
"scored_tokens": 1048576,
|
| 34 |
+
"seconds": 0.11513088998617604
|
| 35 |
+
}
|
| 36 |
+
},
|
| 37 |
+
"implementation": {
|
| 38 |
+
"attention_backend": "tpu_flash",
|
| 39 |
+
"attention_tuning": {
|
| 40 |
+
"key_digest": "239f36c4cb1e574c1b4adbbe01104d4d17828e8a85abffb21ba4f0037f0c08ef",
|
| 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": 128,
|
| 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": 1.0,
|
| 98 |
+
"beta1": 0.9,
|
| 99 |
+
"beta2": 0.95,
|
| 100 |
+
"global_peak_learning_rate": 0.015625,
|
| 101 |
+
"weight_decay_horizon_multiplier": 1.0
|
| 102 |
+
},
|
| 103 |
+
"grad_clip": 0.0,
|
| 104 |
+
"learning_rate": 0.015625,
|
| 105 |
+
"min_lr_ratio": 0.1,
|
| 106 |
+
"warmup_steps": 229,
|
| 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": 1.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": 128,
|
| 124 |
+
"dtype": "bfloat16",
|
| 125 |
+
"sampling": "shuffled_epochs",
|
| 126 |
+
"seq_len": 1024,
|
| 127 |
+
"steps": 2286,
|
| 128 |
+
"tokens_per_parameter": 5.000660099848113,
|
| 129 |
+
"train_tokens": 299630592
|
| 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": 1229.273374905453,
|
| 140 |
+
"attention_tune_seconds": 0.0,
|
| 141 |
+
"base_learning_rate": 0.015625,
|
| 142 |
+
"diagnostic_compile_seconds": 62.80066886998247,
|
| 143 |
+
"diagnostic_point_count": 230,
|
| 144 |
+
"diagnostics_every": 10,
|
| 145 |
+
"estimated_total_flops": 102267593322135552,
|
| 146 |
+
"eval_compile_seconds": 6.637855462002335,
|
| 147 |
+
"final_validation_seconds": 0.11513088998617604,
|
| 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.279380312478512,
|
| 162 |
+
"model_tier": "60m",
|
| 163 |
+
"parameter_count": 59918208,
|
| 164 |
+
"parameters": 59918208,
|
| 165 |
+
"tokens_per_parameter": 5.000660099848113,
|
| 166 |
+
"tokens_per_second": 3601609.2399138846,
|
| 167 |
+
"tokens_processed": 299630592,
|
| 168 |
+
"total_compile_seconds": 100.527059791988,
|
| 169 |
+
"train_compile_seconds": 31.088535460003186,
|
| 170 |
+
"train_loss": 4.132540702819824,
|
| 171 |
+
"train_seconds": 83.19353156900615,
|
| 172 |
+
"training_data_epochs": 0.037928020133706226,
|
| 173 |
+
"training_data_sharding": "rank_disjoint_shuffled_windows",
|
| 174 |
+
"training_sampling": "shuffled_epochs",
|
| 175 |
+
"training_steps": 2286,
|
| 176 |
+
"training_token_budget": 299630592,
|
| 177 |
+
"training_usable_tokens_per_epoch": 7899979776,
|
| 178 |
+
"validation_loss": 4.1288798451423645,
|
| 179 |
+
"validation_probe_count": 0,
|
| 180 |
+
"validation_probe_seconds": 0.0,
|
| 181 |
+
"validation_tokens": 1048576
|
| 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-bs128-lr2e-6-s1339/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": 4.1288798451423645,
|
| 32 |
+
"perplexity": 62.108313026564716,
|
| 33 |
+
"scored_tokens": 1048576,
|
| 34 |
+
"seconds": 0.11513088998617604
|
| 35 |
+
}
|
| 36 |
+
},
|
| 37 |
+
"implementation": {
|
| 38 |
+
"attention_backend": "tpu_flash",
|
| 39 |
+
"attention_tuning": {
|
| 40 |
+
"key_digest": "239f36c4cb1e574c1b4adbbe01104d4d17828e8a85abffb21ba4f0037f0c08ef",
|
| 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": 128,
|
| 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": 1.0,
|
| 98 |
+
"beta1": 0.9,
|
| 99 |
+
"beta2": 0.95,
|
| 100 |
+
"global_peak_learning_rate": 0.015625,
|
| 101 |
+
"weight_decay_horizon_multiplier": 1.0
|
| 102 |
+
},
|
| 103 |
+
"grad_clip": 0.0,
|
| 104 |
+
"learning_rate": 0.015625,
|
| 105 |
+
"min_lr_ratio": 0.1,
|
| 106 |
+
"warmup_steps": 229,
|
| 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": 1.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": 128,
|
| 124 |
+
"dtype": "bfloat16",
|
| 125 |
+
"sampling": "shuffled_epochs",
|
| 126 |
+
"seq_len": 1024,
|
| 127 |
+
"steps": 2286,
|
| 128 |
+
"tokens_per_parameter": 5.000660099848113,
|
| 129 |
+
"train_tokens": 299630592
|
| 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": 1229.273374905453,
|
| 140 |
+
"attention_tune_seconds": 0.0,
|
| 141 |
+
"base_learning_rate": 0.015625,
|
| 142 |
+
"diagnostic_compile_seconds": 62.80066886998247,
|
| 143 |
+
"diagnostic_point_count": 230,
|
| 144 |
+
"diagnostics_every": 10,
|
| 145 |
+
"estimated_total_flops": 102267593322135552,
|
| 146 |
+
"eval_compile_seconds": 6.637855462002335,
|
| 147 |
+
"final_validation_seconds": 0.11513088998617604,
|
| 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.279380312478512,
|
| 162 |
+
"model_tier": "60m",
|
| 163 |
+
"parameter_count": 59918208,
|
| 164 |
+
"parameters": 59918208,
|
| 165 |
+
"tokens_per_parameter": 5.000660099848113,
|
| 166 |
+
"tokens_per_second": 3601609.2399138846,
|
| 167 |
+
"tokens_processed": 299630592,
|
| 168 |
+
"total_compile_seconds": 100.527059791988,
|
| 169 |
+
"train_compile_seconds": 31.088535460003186,
|
| 170 |
+
"train_loss": 4.132540702819824,
|
| 171 |
+
"train_seconds": 83.19353156900615,
|
| 172 |
+
"training_data_epochs": 0.037928020133706226,
|
| 173 |
+
"training_data_sharding": "rank_disjoint_shuffled_windows",
|
| 174 |
+
"training_sampling": "shuffled_epochs",
|
| 175 |
+
"training_steps": 2286,
|
| 176 |
+
"training_token_budget": 299630592,
|
| 177 |
+
"training_usable_tokens_per_epoch": 7899979776,
|
| 178 |
+
"validation_loss": 4.1288798451423645,
|
| 179 |
+
"validation_probe_count": 0,
|
| 180 |
+
"validation_probe_seconds": 0.0,
|
| 181 |
+
"validation_tokens": 1048576
|
| 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-bs128-lr2e-6-s1339/training.riglog
ADDED
|
Binary file (36.7 kB). View file
|
|
|
batch-sweep-60M/60m-5tpp-bs128-lr2e-6-s1339/validation.csv
ADDED
|
@@ -0,0 +1,2 @@
|
|
|
|
|
|
|
|
|
|
| 1 |
+
step,tokens_processed,kind,domain,validation_tokens,validation_loss,perplexity,validation_seconds,canonical
|
| 2 |
+
2286,299630592,fineweb,fineweb,1048576,4.1288798451423645,62.108313026564716,0.11513088998617604,true
|
batch-sweep-60M/60m-5tpp-bs128-lr2e-7-s1337/diagnostics.riglog
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:47e320ae401697ebd9106108c0800e33410061c9876f888bdd7dbe9224bde653
|
| 3 |
+
size 272824
|
batch-sweep-60M/60m-5tpp-bs128-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": 4.161057770252228,
|
| 32 |
+
"perplexity": 64.13933140730494,
|
| 33 |
+
"scored_tokens": 1048576,
|
| 34 |
+
"seconds": 0.11261016898788512
|
| 35 |
+
}
|
| 36 |
+
},
|
| 37 |
+
"implementation": {
|
| 38 |
+
"attention_backend": "tpu_flash",
|
| 39 |
+
"attention_tuning": {
|
| 40 |
+
"key_digest": "239f36c4cb1e574c1b4adbbe01104d4d17828e8a85abffb21ba4f0037f0c08ef",
|
| 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": 128,
|
| 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": 1.0,
|
| 98 |
+
"beta1": 0.9,
|
| 99 |
+
"beta2": 0.95,
|
| 100 |
+
"global_peak_learning_rate": 0.0078125,
|
| 101 |
+
"weight_decay_horizon_multiplier": 1.0
|
| 102 |
+
},
|
| 103 |
+
"grad_clip": 0.0,
|
| 104 |
+
"learning_rate": 0.0078125,
|
| 105 |
+
"min_lr_ratio": 0.1,
|
| 106 |
+
"warmup_steps": 229,
|
| 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": 1.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": 128,
|
| 124 |
+
"dtype": "bfloat16",
|
| 125 |
+
"sampling": "shuffled_epochs",
|
| 126 |
+
"seq_len": 1024,
|
| 127 |
+
"steps": 2286,
|
| 128 |
+
"tokens_per_parameter": 5.000660099848113,
|
| 129 |
+
"train_tokens": 299630592
|
| 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": 1231.595172992706,
|
| 140 |
+
"attention_tune_seconds": 0.0,
|
| 141 |
+
"base_learning_rate": 0.0078125,
|
| 142 |
+
"diagnostic_compile_seconds": 61.25604649700108,
|
| 143 |
+
"diagnostic_point_count": 230,
|
| 144 |
+
"diagnostics_every": 10,
|
| 145 |
+
"estimated_total_flops": 102267593322135552,
|
| 146 |
+
"eval_compile_seconds": 6.325576535979053,
|
| 147 |
+
"final_validation_seconds": 0.11261016898788512,
|
| 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.2799079938619786,
|
| 162 |
+
"model_tier": "60m",
|
| 163 |
+
"parameter_count": 59918208,
|
| 164 |
+
"parameters": 59918208,
|
| 165 |
+
"tokens_per_parameter": 5.000660099848113,
|
| 166 |
+
"tokens_per_second": 3608411.8028058917,
|
| 167 |
+
"tokens_processed": 299630592,
|
| 168 |
+
"total_compile_seconds": 97.09768495999742,
|
| 169 |
+
"train_compile_seconds": 29.51606192701729,
|
| 170 |
+
"train_loss": 4.113357067108154,
|
| 171 |
+
"train_seconds": 83.03669547001482,
|
| 172 |
+
"training_data_epochs": 0.037928020133706226,
|
| 173 |
+
"training_data_sharding": "rank_disjoint_shuffled_windows",
|
| 174 |
+
"training_sampling": "shuffled_epochs",
|
| 175 |
+
"training_steps": 2286,
|
| 176 |
+
"training_token_budget": 299630592,
|
| 177 |
+
"training_usable_tokens_per_epoch": 7899979776,
|
| 178 |
+
"validation_loss": 4.161057770252228,
|
| 179 |
+
"validation_probe_count": 0,
|
| 180 |
+
"validation_probe_seconds": 0.0,
|
| 181 |
+
"validation_tokens": 1048576
|
| 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-bs128-lr2e-7-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": 4.161057770252228,
|
| 32 |
+
"perplexity": 64.13933140730494,
|
| 33 |
+
"scored_tokens": 1048576,
|
| 34 |
+
"seconds": 0.11261016898788512
|
| 35 |
+
}
|
| 36 |
+
},
|
| 37 |
+
"implementation": {
|
| 38 |
+
"attention_backend": "tpu_flash",
|
| 39 |
+
"attention_tuning": {
|
| 40 |
+
"key_digest": "239f36c4cb1e574c1b4adbbe01104d4d17828e8a85abffb21ba4f0037f0c08ef",
|
| 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": 128,
|
| 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": 1.0,
|
| 98 |
+
"beta1": 0.9,
|
| 99 |
+
"beta2": 0.95,
|
| 100 |
+
"global_peak_learning_rate": 0.0078125,
|
| 101 |
+
"weight_decay_horizon_multiplier": 1.0
|
| 102 |
+
},
|
| 103 |
+
"grad_clip": 0.0,
|
| 104 |
+
"learning_rate": 0.0078125,
|
| 105 |
+
"min_lr_ratio": 0.1,
|
| 106 |
+
"warmup_steps": 229,
|
| 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": 1.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": 128,
|
| 124 |
+
"dtype": "bfloat16",
|
| 125 |
+
"sampling": "shuffled_epochs",
|
| 126 |
+
"seq_len": 1024,
|
| 127 |
+
"steps": 2286,
|
| 128 |
+
"tokens_per_parameter": 5.000660099848113,
|
| 129 |
+
"train_tokens": 299630592
|
| 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": 1231.595172992706,
|
| 140 |
+
"attention_tune_seconds": 0.0,
|
| 141 |
+
"base_learning_rate": 0.0078125,
|
| 142 |
+
"diagnostic_compile_seconds": 61.25604649700108,
|
| 143 |
+
"diagnostic_point_count": 230,
|
| 144 |
+
"diagnostics_every": 10,
|
| 145 |
+
"estimated_total_flops": 102267593322135552,
|
| 146 |
+
"eval_compile_seconds": 6.325576535979053,
|
| 147 |
+
"final_validation_seconds": 0.11261016898788512,
|
| 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.2799079938619786,
|
| 162 |
+
"model_tier": "60m",
|
| 163 |
+
"parameter_count": 59918208,
|
| 164 |
+
"parameters": 59918208,
|
| 165 |
+
"tokens_per_parameter": 5.000660099848113,
|
| 166 |
+
"tokens_per_second": 3608411.8028058917,
|
| 167 |
+
"tokens_processed": 299630592,
|
| 168 |
+
"total_compile_seconds": 97.09768495999742,
|
| 169 |
+
"train_compile_seconds": 29.51606192701729,
|
| 170 |
+
"train_loss": 4.113357067108154,
|
| 171 |
+
"train_seconds": 83.03669547001482,
|
| 172 |
+
"training_data_epochs": 0.037928020133706226,
|
| 173 |
+
"training_data_sharding": "rank_disjoint_shuffled_windows",
|
| 174 |
+
"training_sampling": "shuffled_epochs",
|
| 175 |
+
"training_steps": 2286,
|
| 176 |
+
"training_token_budget": 299630592,
|
| 177 |
+
"training_usable_tokens_per_epoch": 7899979776,
|
| 178 |
+
"validation_loss": 4.161057770252228,
|
| 179 |
+
"validation_probe_count": 0,
|
| 180 |
+
"validation_probe_seconds": 0.0,
|
| 181 |
+
"validation_tokens": 1048576
|
| 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-bs128-lr2e-7-s1337/training.riglog
ADDED
|
Binary file (36.7 kB). View file
|
|
|
batch-sweep-60M/60m-5tpp-bs128-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 |
+
2286,299630592,fineweb,fineweb,1048576,4.161057770252228,64.13933140730494,0.11261016898788512,true
|
batch-sweep-60M/60m-5tpp-bs128-lr2e-7-s1338/diagnostics.riglog
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:c62bb909c29d1688f7508672beaea71259585a7c0a90bbc06b07332370643fec
|
| 3 |
+
size 272824
|
batch-sweep-60M/60m-5tpp-bs128-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": 4.128543436527252,
|
| 32 |
+
"perplexity": 62.087422769020804,
|
| 33 |
+
"scored_tokens": 1048576,
|
| 34 |
+
"seconds": 0.11667717900127172
|
| 35 |
+
}
|
| 36 |
+
},
|
| 37 |
+
"implementation": {
|
| 38 |
+
"attention_backend": "tpu_flash",
|
| 39 |
+
"attention_tuning": {
|
| 40 |
+
"key_digest": "239f36c4cb1e574c1b4adbbe01104d4d17828e8a85abffb21ba4f0037f0c08ef",
|
| 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": 128,
|
| 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": 1.0,
|
| 98 |
+
"beta1": 0.9,
|
| 99 |
+
"beta2": 0.95,
|
| 100 |
+
"global_peak_learning_rate": 0.0078125,
|
| 101 |
+
"weight_decay_horizon_multiplier": 1.0
|
| 102 |
+
},
|
| 103 |
+
"grad_clip": 0.0,
|
| 104 |
+
"learning_rate": 0.0078125,
|
| 105 |
+
"min_lr_ratio": 0.1,
|
| 106 |
+
"warmup_steps": 229,
|
| 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": 1.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": 128,
|
| 124 |
+
"dtype": "bfloat16",
|
| 125 |
+
"sampling": "shuffled_epochs",
|
| 126 |
+
"seq_len": 1024,
|
| 127 |
+
"steps": 2286,
|
| 128 |
+
"tokens_per_parameter": 5.000660099848113,
|
| 129 |
+
"train_tokens": 299630592
|
| 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": 1230.4733700894026,
|
| 140 |
+
"attention_tune_seconds": 0.0,
|
| 141 |
+
"base_learning_rate": 0.0078125,
|
| 142 |
+
"diagnostic_compile_seconds": 61.1994503029855,
|
| 143 |
+
"diagnostic_point_count": 230,
|
| 144 |
+
"diagnostics_every": 10,
|
| 145 |
+
"estimated_total_flops": 102267593322135552,
|
| 146 |
+
"eval_compile_seconds": 6.6018604100099765,
|
| 147 |
+
"final_validation_seconds": 0.11667717900127172,
|
| 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.2796530386566824,
|
| 162 |
+
"model_tier": "60m",
|
| 163 |
+
"parameter_count": 59918208,
|
| 164 |
+
"parameters": 59918208,
|
| 165 |
+
"tokens_per_parameter": 5.000660099848113,
|
| 166 |
+
"tokens_per_second": 3605125.0679067397,
|
| 167 |
+
"tokens_processed": 299630592,
|
| 168 |
+
"total_compile_seconds": 97.69660827299231,
|
| 169 |
+
"train_compile_seconds": 29.895297559996834,
|
| 170 |
+
"train_loss": 4.116345405578613,
|
| 171 |
+
"train_seconds": 83.11239869799465,
|
| 172 |
+
"training_data_epochs": 0.037928020133706226,
|
| 173 |
+
"training_data_sharding": "rank_disjoint_shuffled_windows",
|
| 174 |
+
"training_sampling": "shuffled_epochs",
|
| 175 |
+
"training_steps": 2286,
|
| 176 |
+
"training_token_budget": 299630592,
|
| 177 |
+
"training_usable_tokens_per_epoch": 7899979776,
|
| 178 |
+
"validation_loss": 4.128543436527252,
|
| 179 |
+
"validation_probe_count": 0,
|
| 180 |
+
"validation_probe_seconds": 0.0,
|
| 181 |
+
"validation_tokens": 1048576
|
| 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-bs128-lr2e-7-s1338/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": 4.128543436527252,
|
| 32 |
+
"perplexity": 62.087422769020804,
|
| 33 |
+
"scored_tokens": 1048576,
|
| 34 |
+
"seconds": 0.11667717900127172
|
| 35 |
+
}
|
| 36 |
+
},
|
| 37 |
+
"implementation": {
|
| 38 |
+
"attention_backend": "tpu_flash",
|
| 39 |
+
"attention_tuning": {
|
| 40 |
+
"key_digest": "239f36c4cb1e574c1b4adbbe01104d4d17828e8a85abffb21ba4f0037f0c08ef",
|
| 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": 128,
|
| 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": 1.0,
|
| 98 |
+
"beta1": 0.9,
|
| 99 |
+
"beta2": 0.95,
|
| 100 |
+
"global_peak_learning_rate": 0.0078125,
|
| 101 |
+
"weight_decay_horizon_multiplier": 1.0
|
| 102 |
+
},
|
| 103 |
+
"grad_clip": 0.0,
|
| 104 |
+
"learning_rate": 0.0078125,
|
| 105 |
+
"min_lr_ratio": 0.1,
|
| 106 |
+
"warmup_steps": 229,
|
| 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": 1.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": 128,
|
| 124 |
+
"dtype": "bfloat16",
|
| 125 |
+
"sampling": "shuffled_epochs",
|
| 126 |
+
"seq_len": 1024,
|
| 127 |
+
"steps": 2286,
|
| 128 |
+
"tokens_per_parameter": 5.000660099848113,
|
| 129 |
+
"train_tokens": 299630592
|
| 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": 1230.4733700894026,
|
| 140 |
+
"attention_tune_seconds": 0.0,
|
| 141 |
+
"base_learning_rate": 0.0078125,
|
| 142 |
+
"diagnostic_compile_seconds": 61.1994503029855,
|
| 143 |
+
"diagnostic_point_count": 230,
|
| 144 |
+
"diagnostics_every": 10,
|
| 145 |
+
"estimated_total_flops": 102267593322135552,
|
| 146 |
+
"eval_compile_seconds": 6.6018604100099765,
|
| 147 |
+
"final_validation_seconds": 0.11667717900127172,
|
| 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.2796530386566824,
|
| 162 |
+
"model_tier": "60m",
|
| 163 |
+
"parameter_count": 59918208,
|
| 164 |
+
"parameters": 59918208,
|
| 165 |
+
"tokens_per_parameter": 5.000660099848113,
|
| 166 |
+
"tokens_per_second": 3605125.0679067397,
|
| 167 |
+
"tokens_processed": 299630592,
|
| 168 |
+
"total_compile_seconds": 97.69660827299231,
|
| 169 |
+
"train_compile_seconds": 29.895297559996834,
|
| 170 |
+
"train_loss": 4.116345405578613,
|
| 171 |
+
"train_seconds": 83.11239869799465,
|
| 172 |
+
"training_data_epochs": 0.037928020133706226,
|
| 173 |
+
"training_data_sharding": "rank_disjoint_shuffled_windows",
|
| 174 |
+
"training_sampling": "shuffled_epochs",
|
| 175 |
+
"training_steps": 2286,
|
| 176 |
+
"training_token_budget": 299630592,
|
| 177 |
+
"training_usable_tokens_per_epoch": 7899979776,
|
| 178 |
+
"validation_loss": 4.128543436527252,
|
| 179 |
+
"validation_probe_count": 0,
|
| 180 |
+
"validation_probe_seconds": 0.0,
|
| 181 |
+
"validation_tokens": 1048576
|
| 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-bs128-lr2e-7-s1338/training.riglog
ADDED
|
Binary file (36.7 kB). View file
|
|
|
batch-sweep-60M/60m-5tpp-bs128-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 |
+
2286,299630592,fineweb,fineweb,1048576,4.128543436527252,62.087422769020804,0.11667717900127172,true
|
batch-sweep-60M/60m-5tpp-bs128-lr2e-7-s1339/diagnostics.riglog
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:13d677c5b9648f74728e7eac02e3577b6f4584d69439eaaf462f99415161ea29
|
| 3 |
+
size 272824
|
batch-sweep-60M/60m-5tpp-bs128-lr2e-7-s1339/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": 4.150980353355408,
|
| 32 |
+
"perplexity": 63.49621852610368,
|
| 33 |
+
"scored_tokens": 1048576,
|
| 34 |
+
"seconds": 0.12393446799251251
|
| 35 |
+
}
|
| 36 |
+
},
|
| 37 |
+
"implementation": {
|
| 38 |
+
"attention_backend": "tpu_flash",
|
| 39 |
+
"attention_tuning": {
|
| 40 |
+
"key_digest": "239f36c4cb1e574c1b4adbbe01104d4d17828e8a85abffb21ba4f0037f0c08ef",
|
| 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": 128,
|
| 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": 1.0,
|
| 98 |
+
"beta1": 0.9,
|
| 99 |
+
"beta2": 0.95,
|
| 100 |
+
"global_peak_learning_rate": 0.0078125,
|
| 101 |
+
"weight_decay_horizon_multiplier": 1.0
|
| 102 |
+
},
|
| 103 |
+
"grad_clip": 0.0,
|
| 104 |
+
"learning_rate": 0.0078125,
|
| 105 |
+
"min_lr_ratio": 0.1,
|
| 106 |
+
"warmup_steps": 229,
|
| 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": 1.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": 128,
|
| 124 |
+
"dtype": "bfloat16",
|
| 125 |
+
"sampling": "shuffled_epochs",
|
| 126 |
+
"seq_len": 1024,
|
| 127 |
+
"steps": 2286,
|
| 128 |
+
"tokens_per_parameter": 5.000660099848113,
|
| 129 |
+
"train_tokens": 299630592
|
| 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": 1207.7172178718833,
|
| 140 |
+
"attention_tune_seconds": 0.0,
|
| 141 |
+
"base_learning_rate": 0.0078125,
|
| 142 |
+
"diagnostic_compile_seconds": 61.46536698698765,
|
| 143 |
+
"diagnostic_point_count": 230,
|
| 144 |
+
"diagnostics_every": 10,
|
| 145 |
+
"estimated_total_flops": 102267593322135552,
|
| 146 |
+
"eval_compile_seconds": 6.814937568997266,
|
| 147 |
+
"final_validation_seconds": 0.12393446799251251,
|
| 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.2744811858799735,
|
| 162 |
+
"model_tier": "60m",
|
| 163 |
+
"parameter_count": 59918208,
|
| 164 |
+
"parameters": 59918208,
|
| 165 |
+
"tokens_per_parameter": 5.000660099848113,
|
| 166 |
+
"tokens_per_second": 3538452.5361781423,
|
| 167 |
+
"tokens_processed": 299630592,
|
| 168 |
+
"total_compile_seconds": 97.77288727398263,
|
| 169 |
+
"train_compile_seconds": 29.49258271799772,
|
| 170 |
+
"train_loss": 4.149023056030273,
|
| 171 |
+
"train_seconds": 84.67842621498858,
|
| 172 |
+
"training_data_epochs": 0.037928020133706226,
|
| 173 |
+
"training_data_sharding": "rank_disjoint_shuffled_windows",
|
| 174 |
+
"training_sampling": "shuffled_epochs",
|
| 175 |
+
"training_steps": 2286,
|
| 176 |
+
"training_token_budget": 299630592,
|
| 177 |
+
"training_usable_tokens_per_epoch": 7899979776,
|
| 178 |
+
"validation_loss": 4.150980353355408,
|
| 179 |
+
"validation_probe_count": 0,
|
| 180 |
+
"validation_probe_seconds": 0.0,
|
| 181 |
+
"validation_tokens": 1048576
|
| 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-bs128-lr2e-7-s1339/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": 4.150980353355408,
|
| 32 |
+
"perplexity": 63.49621852610368,
|
| 33 |
+
"scored_tokens": 1048576,
|
| 34 |
+
"seconds": 0.12393446799251251
|
| 35 |
+
}
|
| 36 |
+
},
|
| 37 |
+
"implementation": {
|
| 38 |
+
"attention_backend": "tpu_flash",
|
| 39 |
+
"attention_tuning": {
|
| 40 |
+
"key_digest": "239f36c4cb1e574c1b4adbbe01104d4d17828e8a85abffb21ba4f0037f0c08ef",
|
| 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": 128,
|
| 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": 1.0,
|
| 98 |
+
"beta1": 0.9,
|
| 99 |
+
"beta2": 0.95,
|
| 100 |
+
"global_peak_learning_rate": 0.0078125,
|
| 101 |
+
"weight_decay_horizon_multiplier": 1.0
|
| 102 |
+
},
|
| 103 |
+
"grad_clip": 0.0,
|
| 104 |
+
"learning_rate": 0.0078125,
|
| 105 |
+
"min_lr_ratio": 0.1,
|
| 106 |
+
"warmup_steps": 229,
|
| 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": 1.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": 128,
|
| 124 |
+
"dtype": "bfloat16",
|
| 125 |
+
"sampling": "shuffled_epochs",
|
| 126 |
+
"seq_len": 1024,
|
| 127 |
+
"steps": 2286,
|
| 128 |
+
"tokens_per_parameter": 5.000660099848113,
|
| 129 |
+
"train_tokens": 299630592
|
| 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": 1207.7172178718833,
|
| 140 |
+
"attention_tune_seconds": 0.0,
|
| 141 |
+
"base_learning_rate": 0.0078125,
|
| 142 |
+
"diagnostic_compile_seconds": 61.46536698698765,
|
| 143 |
+
"diagnostic_point_count": 230,
|
| 144 |
+
"diagnostics_every": 10,
|
| 145 |
+
"estimated_total_flops": 102267593322135552,
|
| 146 |
+
"eval_compile_seconds": 6.814937568997266,
|
| 147 |
+
"final_validation_seconds": 0.12393446799251251,
|
| 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.2744811858799735,
|
| 162 |
+
"model_tier": "60m",
|
| 163 |
+
"parameter_count": 59918208,
|
| 164 |
+
"parameters": 59918208,
|
| 165 |
+
"tokens_per_parameter": 5.000660099848113,
|
| 166 |
+
"tokens_per_second": 3538452.5361781423,
|
| 167 |
+
"tokens_processed": 299630592,
|
| 168 |
+
"total_compile_seconds": 97.77288727398263,
|
| 169 |
+
"train_compile_seconds": 29.49258271799772,
|
| 170 |
+
"train_loss": 4.149023056030273,
|
| 171 |
+
"train_seconds": 84.67842621498858,
|
| 172 |
+
"training_data_epochs": 0.037928020133706226,
|
| 173 |
+
"training_data_sharding": "rank_disjoint_shuffled_windows",
|
| 174 |
+
"training_sampling": "shuffled_epochs",
|
| 175 |
+
"training_steps": 2286,
|
| 176 |
+
"training_token_budget": 299630592,
|
| 177 |
+
"training_usable_tokens_per_epoch": 7899979776,
|
| 178 |
+
"validation_loss": 4.150980353355408,
|
| 179 |
+
"validation_probe_count": 0,
|
| 180 |
+
"validation_probe_seconds": 0.0,
|
| 181 |
+
"validation_tokens": 1048576
|
| 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-bs128-lr2e-7-s1339/training.riglog
ADDED
|
Binary file (36.7 kB). View file
|
|
|
batch-sweep-60M/60m-5tpp-bs128-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 |
+
2286,299630592,fineweb,fineweb,1048576,4.150980353355408,63.49621852610368,0.12393446799251251,true
|
batch-sweep-60M/60m-5tpp-bs128-lr2e-8-s1337/diagnostics.riglog
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:040e5450dc9cbc67c105355097c00598335115b2943f726bf1890a53865fa051
|
| 3 |
+
size 272824
|
batch-sweep-60M/60m-5tpp-bs128-lr2e-8-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": 4.00784233212471,
|
| 32 |
+
"perplexity": 55.02801020912352,
|
| 33 |
+
"scored_tokens": 1048576,
|
| 34 |
+
"seconds": 0.11403720901580527
|
| 35 |
+
}
|
| 36 |
+
},
|
| 37 |
+
"implementation": {
|
| 38 |
+
"attention_backend": "tpu_flash",
|
| 39 |
+
"attention_tuning": {
|
| 40 |
+
"key_digest": "239f36c4cb1e574c1b4adbbe01104d4d17828e8a85abffb21ba4f0037f0c08ef",
|
| 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": 128,
|
| 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": 1.0,
|
| 98 |
+
"beta1": 0.9,
|
| 99 |
+
"beta2": 0.95,
|
| 100 |
+
"global_peak_learning_rate": 0.00390625,
|
| 101 |
+
"weight_decay_horizon_multiplier": 1.0
|
| 102 |
+
},
|
| 103 |
+
"grad_clip": 0.0,
|
| 104 |
+
"learning_rate": 0.00390625,
|
| 105 |
+
"min_lr_ratio": 0.1,
|
| 106 |
+
"warmup_steps": 229,
|
| 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": 1.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": 128,
|
| 124 |
+
"dtype": "bfloat16",
|
| 125 |
+
"sampling": "shuffled_epochs",
|
| 126 |
+
"seq_len": 1024,
|
| 127 |
+
"steps": 2286,
|
| 128 |
+
"tokens_per_parameter": 5.000660099848113,
|
| 129 |
+
"train_tokens": 299630592
|
| 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": 1224.1597782331883,
|
| 140 |
+
"attention_tune_seconds": 0.0,
|
| 141 |
+
"base_learning_rate": 0.00390625,
|
| 142 |
+
"diagnostic_compile_seconds": 58.88308360200608,
|
| 143 |
+
"diagnostic_point_count": 230,
|
| 144 |
+
"diagnostics_every": 10,
|
| 145 |
+
"estimated_total_flops": 102267593322135552,
|
| 146 |
+
"eval_compile_seconds": 6.524559412006056,
|
| 147 |
+
"final_validation_seconds": 0.11403720901580527,
|
| 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.2782181314166337,
|
| 162 |
+
"model_tier": "60m",
|
| 163 |
+
"parameter_count": 59918208,
|
| 164 |
+
"parameters": 59918208,
|
| 165 |
+
"tokens_per_parameter": 5.000660099848113,
|
| 166 |
+
"tokens_per_second": 3586627.074514395,
|
| 167 |
+
"tokens_processed": 299630592,
|
| 168 |
+
"total_compile_seconds": 95.66653872502502,
|
| 169 |
+
"train_compile_seconds": 30.258895711012883,
|
| 170 |
+
"train_loss": 3.962064743041992,
|
| 171 |
+
"train_seconds": 83.5410500659782,
|
| 172 |
+
"training_data_epochs": 0.037928020133706226,
|
| 173 |
+
"training_data_sharding": "rank_disjoint_shuffled_windows",
|
| 174 |
+
"training_sampling": "shuffled_epochs",
|
| 175 |
+
"training_steps": 2286,
|
| 176 |
+
"training_token_budget": 299630592,
|
| 177 |
+
"training_usable_tokens_per_epoch": 7899979776,
|
| 178 |
+
"validation_loss": 4.00784233212471,
|
| 179 |
+
"validation_probe_count": 0,
|
| 180 |
+
"validation_probe_seconds": 0.0,
|
| 181 |
+
"validation_tokens": 1048576
|
| 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-bs128-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": 4.00784233212471,
|
| 32 |
+
"perplexity": 55.02801020912352,
|
| 33 |
+
"scored_tokens": 1048576,
|
| 34 |
+
"seconds": 0.11403720901580527
|
| 35 |
+
}
|
| 36 |
+
},
|
| 37 |
+
"implementation": {
|
| 38 |
+
"attention_backend": "tpu_flash",
|
| 39 |
+
"attention_tuning": {
|
| 40 |
+
"key_digest": "239f36c4cb1e574c1b4adbbe01104d4d17828e8a85abffb21ba4f0037f0c08ef",
|
| 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": 128,
|
| 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": 1.0,
|
| 98 |
+
"beta1": 0.9,
|
| 99 |
+
"beta2": 0.95,
|
| 100 |
+
"global_peak_learning_rate": 0.00390625,
|
| 101 |
+
"weight_decay_horizon_multiplier": 1.0
|
| 102 |
+
},
|
| 103 |
+
"grad_clip": 0.0,
|
| 104 |
+
"learning_rate": 0.00390625,
|
| 105 |
+
"min_lr_ratio": 0.1,
|
| 106 |
+
"warmup_steps": 229,
|
| 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": 1.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": 128,
|
| 124 |
+
"dtype": "bfloat16",
|
| 125 |
+
"sampling": "shuffled_epochs",
|
| 126 |
+
"seq_len": 1024,
|
| 127 |
+
"steps": 2286,
|
| 128 |
+
"tokens_per_parameter": 5.000660099848113,
|
| 129 |
+
"train_tokens": 299630592
|
| 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": 1224.1597782331883,
|
| 140 |
+
"attention_tune_seconds": 0.0,
|
| 141 |
+
"base_learning_rate": 0.00390625,
|
| 142 |
+
"diagnostic_compile_seconds": 58.88308360200608,
|
| 143 |
+
"diagnostic_point_count": 230,
|
| 144 |
+
"diagnostics_every": 10,
|
| 145 |
+
"estimated_total_flops": 102267593322135552,
|
| 146 |
+
"eval_compile_seconds": 6.524559412006056,
|
| 147 |
+
"final_validation_seconds": 0.11403720901580527,
|
| 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.2782181314166337,
|
| 162 |
+
"model_tier": "60m",
|
| 163 |
+
"parameter_count": 59918208,
|
| 164 |
+
"parameters": 59918208,
|
| 165 |
+
"tokens_per_parameter": 5.000660099848113,
|
| 166 |
+
"tokens_per_second": 3586627.074514395,
|
| 167 |
+
"tokens_processed": 299630592,
|
| 168 |
+
"total_compile_seconds": 95.66653872502502,
|
| 169 |
+
"train_compile_seconds": 30.258895711012883,
|
| 170 |
+
"train_loss": 3.962064743041992,
|
| 171 |
+
"train_seconds": 83.5410500659782,
|
| 172 |
+
"training_data_epochs": 0.037928020133706226,
|
| 173 |
+
"training_data_sharding": "rank_disjoint_shuffled_windows",
|
| 174 |
+
"training_sampling": "shuffled_epochs",
|
| 175 |
+
"training_steps": 2286,
|
| 176 |
+
"training_token_budget": 299630592,
|
| 177 |
+
"training_usable_tokens_per_epoch": 7899979776,
|
| 178 |
+
"validation_loss": 4.00784233212471,
|
| 179 |
+
"validation_probe_count": 0,
|
| 180 |
+
"validation_probe_seconds": 0.0,
|
| 181 |
+
"validation_tokens": 1048576
|
| 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-bs128-lr2e-8-s1337/training.riglog
ADDED
|
Binary file (36.7 kB). View file
|
|
|
batch-sweep-60M/60m-5tpp-bs128-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 |
+
2286,299630592,fineweb,fineweb,1048576,4.00784233212471,55.02801020912352,0.11403720901580527,true
|