Add Gumbel-local MoE optimization study
Browse files- .gitattributes +16 -0
- README.md +37 -2
- moe-gumbel-local-125M/125m-moe-local-k0-5tpp-bs16-lr2e-8-s1350/diagnostics.riglog +3 -0
- moe-gumbel-local-125M/125m-moe-local-k0-5tpp-bs16-lr2e-8-s1350/metrics.json +262 -0
- moe-gumbel-local-125M/125m-moe-local-k0-5tpp-bs16-lr2e-8-s1350/result.json +262 -0
- moe-gumbel-local-125M/125m-moe-local-k0-5tpp-bs16-lr2e-8-s1350/training.riglog +3 -0
- moe-gumbel-local-125M/125m-moe-local-k0-5tpp-bs16-lr2e-8-s1350/validation.csv +2 -0
- moe-gumbel-local-125M/125m-moe-local-k0-5tpp-bs16-lr2e-8-s1369/diagnostics.riglog +3 -0
- moe-gumbel-local-125M/125m-moe-local-k0-5tpp-bs16-lr2e-8-s1369/metrics.json +262 -0
- moe-gumbel-local-125M/125m-moe-local-k0-5tpp-bs16-lr2e-8-s1369/result.json +262 -0
- moe-gumbel-local-125M/125m-moe-local-k0-5tpp-bs16-lr2e-8-s1369/training.riglog +3 -0
- moe-gumbel-local-125M/125m-moe-local-k0-5tpp-bs16-lr2e-8-s1369/validation.csv +2 -0
- moe-gumbel-local-125M/125m-moe-local-k0-5tpp-bs16-lr2e-8-s1388/diagnostics.riglog +3 -0
- moe-gumbel-local-125M/125m-moe-local-k0-5tpp-bs16-lr2e-8-s1388/metrics.json +262 -0
- moe-gumbel-local-125M/125m-moe-local-k0-5tpp-bs16-lr2e-8-s1388/result.json +262 -0
- moe-gumbel-local-125M/125m-moe-local-k0-5tpp-bs16-lr2e-8-s1388/training.riglog +3 -0
- moe-gumbel-local-125M/125m-moe-local-k0-5tpp-bs16-lr2e-8-s1388/validation.csv +2 -0
- moe-gumbel-local-125M/125m-moe-local-k1-5tpp-bs16-lr2e-8-s1350/diagnostics.riglog +3 -0
- moe-gumbel-local-125M/125m-moe-local-k1-5tpp-bs16-lr2e-8-s1350/metrics.json +266 -0
- moe-gumbel-local-125M/125m-moe-local-k1-5tpp-bs16-lr2e-8-s1350/result.json +266 -0
- moe-gumbel-local-125M/125m-moe-local-k1-5tpp-bs16-lr2e-8-s1350/training.riglog +3 -0
- moe-gumbel-local-125M/125m-moe-local-k1-5tpp-bs16-lr2e-8-s1350/validation.csv +2 -0
- moe-gumbel-local-125M/125m-moe-local-k2-5tpp-bs16-lr2e-8-s1350/diagnostics.riglog +3 -0
- moe-gumbel-local-125M/125m-moe-local-k2-5tpp-bs16-lr2e-8-s1350/metrics.json +266 -0
- moe-gumbel-local-125M/125m-moe-local-k2-5tpp-bs16-lr2e-8-s1350/result.json +266 -0
- moe-gumbel-local-125M/125m-moe-local-k2-5tpp-bs16-lr2e-8-s1350/training.riglog +3 -0
- moe-gumbel-local-125M/125m-moe-local-k2-5tpp-bs16-lr2e-8-s1350/validation.csv +2 -0
- moe-gumbel-local-125M/125m-moe-local-k2-5tpp-bs16-lr2e-8-s1369/diagnostics.riglog +3 -0
- moe-gumbel-local-125M/125m-moe-local-k2-5tpp-bs16-lr2e-8-s1369/metrics.json +266 -0
- moe-gumbel-local-125M/125m-moe-local-k2-5tpp-bs16-lr2e-8-s1369/result.json +266 -0
- moe-gumbel-local-125M/125m-moe-local-k2-5tpp-bs16-lr2e-8-s1369/training.riglog +3 -0
- moe-gumbel-local-125M/125m-moe-local-k2-5tpp-bs16-lr2e-8-s1369/validation.csv +2 -0
- moe-gumbel-local-125M/125m-moe-local-k2-5tpp-bs16-lr2e-8-s1388/diagnostics.riglog +3 -0
- moe-gumbel-local-125M/125m-moe-local-k2-5tpp-bs16-lr2e-8-s1388/metrics.json +266 -0
- moe-gumbel-local-125M/125m-moe-local-k2-5tpp-bs16-lr2e-8-s1388/result.json +266 -0
- moe-gumbel-local-125M/125m-moe-local-k2-5tpp-bs16-lr2e-8-s1388/training.riglog +3 -0
- moe-gumbel-local-125M/125m-moe-local-k2-5tpp-bs16-lr2e-8-s1388/validation.csv +2 -0
- moe-gumbel-local-125M/125m-moe-local-k4-5tpp-bs16-lr2e-8-s1350/diagnostics.riglog +3 -0
- moe-gumbel-local-125M/125m-moe-local-k4-5tpp-bs16-lr2e-8-s1350/metrics.json +266 -0
- moe-gumbel-local-125M/125m-moe-local-k4-5tpp-bs16-lr2e-8-s1350/result.json +266 -0
- moe-gumbel-local-125M/125m-moe-local-k4-5tpp-bs16-lr2e-8-s1350/training.riglog +3 -0
- moe-gumbel-local-125M/125m-moe-local-k4-5tpp-bs16-lr2e-8-s1350/validation.csv +2 -0
- moe-gumbel-local-125M/README.md +174 -0
- moe-gumbel-local-125M/full.json.gz +3 -0
- moe-gumbel-local-125M/records.jsonl +0 -0
- moe-gumbel-local-125M/snapshot.json.gz +3 -0
.gitattributes
CHANGED
|
@@ -708,3 +708,19 @@ moe-weight-decay/60m-moe-wd0p3-5tpp-bs16-lr2e-8-s1338/diagnostics.riglog filter=
|
|
| 708 |
moe-weight-decay/60m-moe-wd0p3-5tpp-bs16-lr2e-8-s1338/training.riglog filter=lfs diff=lfs merge=lfs -text
|
| 709 |
moe-weight-decay/60m-moe-wd0p3-5tpp-bs16-lr2e-8-s1339/diagnostics.riglog filter=lfs diff=lfs merge=lfs -text
|
| 710 |
moe-weight-decay/60m-moe-wd0p3-5tpp-bs16-lr2e-8-s1339/training.riglog filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 708 |
moe-weight-decay/60m-moe-wd0p3-5tpp-bs16-lr2e-8-s1338/training.riglog filter=lfs diff=lfs merge=lfs -text
|
| 709 |
moe-weight-decay/60m-moe-wd0p3-5tpp-bs16-lr2e-8-s1339/diagnostics.riglog filter=lfs diff=lfs merge=lfs -text
|
| 710 |
moe-weight-decay/60m-moe-wd0p3-5tpp-bs16-lr2e-8-s1339/training.riglog filter=lfs diff=lfs merge=lfs -text
|
| 711 |
+
moe-gumbel-local-125M/125m-moe-local-k0-5tpp-bs16-lr2e-8-s1350/diagnostics.riglog filter=lfs diff=lfs merge=lfs -text
|
| 712 |
+
moe-gumbel-local-125M/125m-moe-local-k0-5tpp-bs16-lr2e-8-s1350/training.riglog filter=lfs diff=lfs merge=lfs -text
|
| 713 |
+
moe-gumbel-local-125M/125m-moe-local-k0-5tpp-bs16-lr2e-8-s1369/diagnostics.riglog filter=lfs diff=lfs merge=lfs -text
|
| 714 |
+
moe-gumbel-local-125M/125m-moe-local-k0-5tpp-bs16-lr2e-8-s1369/training.riglog filter=lfs diff=lfs merge=lfs -text
|
| 715 |
+
moe-gumbel-local-125M/125m-moe-local-k0-5tpp-bs16-lr2e-8-s1388/diagnostics.riglog filter=lfs diff=lfs merge=lfs -text
|
| 716 |
+
moe-gumbel-local-125M/125m-moe-local-k0-5tpp-bs16-lr2e-8-s1388/training.riglog filter=lfs diff=lfs merge=lfs -text
|
| 717 |
+
moe-gumbel-local-125M/125m-moe-local-k1-5tpp-bs16-lr2e-8-s1350/diagnostics.riglog filter=lfs diff=lfs merge=lfs -text
|
| 718 |
+
moe-gumbel-local-125M/125m-moe-local-k1-5tpp-bs16-lr2e-8-s1350/training.riglog filter=lfs diff=lfs merge=lfs -text
|
| 719 |
+
moe-gumbel-local-125M/125m-moe-local-k2-5tpp-bs16-lr2e-8-s1350/diagnostics.riglog filter=lfs diff=lfs merge=lfs -text
|
| 720 |
+
moe-gumbel-local-125M/125m-moe-local-k2-5tpp-bs16-lr2e-8-s1350/training.riglog filter=lfs diff=lfs merge=lfs -text
|
| 721 |
+
moe-gumbel-local-125M/125m-moe-local-k2-5tpp-bs16-lr2e-8-s1369/diagnostics.riglog filter=lfs diff=lfs merge=lfs -text
|
| 722 |
+
moe-gumbel-local-125M/125m-moe-local-k2-5tpp-bs16-lr2e-8-s1369/training.riglog filter=lfs diff=lfs merge=lfs -text
|
| 723 |
+
moe-gumbel-local-125M/125m-moe-local-k2-5tpp-bs16-lr2e-8-s1388/diagnostics.riglog filter=lfs diff=lfs merge=lfs -text
|
| 724 |
+
moe-gumbel-local-125M/125m-moe-local-k2-5tpp-bs16-lr2e-8-s1388/training.riglog filter=lfs diff=lfs merge=lfs -text
|
| 725 |
+
moe-gumbel-local-125M/125m-moe-local-k4-5tpp-bs16-lr2e-8-s1350/diagnostics.riglog filter=lfs diff=lfs merge=lfs -text
|
| 726 |
+
moe-gumbel-local-125M/125m-moe-local-k4-5tpp-bs16-lr2e-8-s1350/training.riglog filter=lfs diff=lfs merge=lfs -text
|
README.md
CHANGED
|
@@ -12,7 +12,7 @@ pretty_name: rig training logs
|
|
| 12 |
# rig training logs
|
| 13 |
|
| 14 |
Complete training logs for every GPT pretraining run in
|
| 15 |
-
[honglu2875/rig](https://github.com/honglu2875/rig) —
|
| 16 |
studies, at full recorded resolution. Loss and learning-rate curves at every
|
| 17 |
optimizer step; per-layer parameter, gradient, and update statistics at every
|
| 18 |
diagnostic step. The raw logs themselves are not downsampled.
|
|
@@ -78,6 +78,7 @@ and the dashboards show them beside each run.
|
|
| 78 |
| `moe-router-aux-125M` | TPU v4 — 4 processes, 16 chips |
|
| 79 |
| `moe-expert-load-scaling-125M` | TPU v4 — 4 processes, 16 chips |
|
| 80 |
| `moe-weight-decay` | TPU v4 — 4 processes, 16 chips |
|
|
|
|
| 81 |
|
| 82 |
`batch-sweep-500M` is the only study spanning two chip types, and the split
|
| 83 |
follows its 5- against 20-tokens-per-parameter arms. Those are separate
|
|
@@ -117,7 +118,7 @@ exact.
|
|
| 117 |
## The logs live on HuggingFace
|
| 118 |
|
| 119 |
**[huggingface.co/datasets/quintic/rig-logs](https://huggingface.co/datasets/quintic/rig-logs)**
|
| 120 |
-
—
|
| 121 |
recorded resolution. That is the archive of record; its
|
| 122 |
[dataset card](https://huggingface.co/datasets/quintic/rig-logs/blob/main/README.md)
|
| 123 |
mirrors the GitHub report catalog and adds archive and reproduction metadata.
|
|
@@ -159,6 +160,7 @@ by-product:
|
|
| 159 |
| moe-ablations | 480 bins | — | 0.07 MB |
|
| 160 |
| expert-load-scaling | exact endpoints | — | 0.02 MB |
|
| 161 |
| moe-weight-decay | exact endpoints | — | 0.04 MB |
|
|
|
|
| 162 |
|
| 163 |
The two large ones carry layer detail because gradient spikes are visible in
|
| 164 |
it, and studying them is the point. This is deliberate discretion, not a
|
|
@@ -200,6 +202,13 @@ is a 40 KiB static findings page with exact endpoints, three-seed sample-SD
|
|
| 200 |
whiskers, and paired differences. This dataset retains the full trajectories
|
| 201 |
for all 36 runs and both browser payloads.
|
| 202 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 203 |
Which metrics get charted is a declared list in `rig/report.py`, separate from
|
| 204 |
the metric registry, because how a quantity should be drawn is a judgement the
|
| 205 |
registry cannot make. Everything so far is a line against the time axis; a
|
|
@@ -252,6 +261,7 @@ study that mixes the two topologies.
|
|
| 252 |
| [moe-ablations](https://github.com/honglu2875/rig/blob/main/docs/reports/moe-ablations.html) | 23 | 60M/125M/250M | learned biases; router auxiliary-loss coefficient | [`moe-no-bias`](https://huggingface.co/datasets/quintic/rig-logs/tree/main/moe-no-bias), [`moe-router-aux-125M`](https://huggingface.co/datasets/quintic/rig-logs/tree/main/moe-router-aux-125M) |
|
| 253 |
| [expert-load-scaling](https://github.com/honglu2875/rig/blob/main/docs/reports/expert-load-scaling.html) | 5 | 125M | per-expert gradient/update scaling by current load | [`moe-expert-load-scaling-125M`](https://huggingface.co/datasets/quintic/rig-logs/tree/main/moe-expert-load-scaling-125M) |
|
| 254 |
| [moe-weight-decay](https://github.com/honglu2875/rig/blob/research/moe-weight-decay-sweep/docs/reports/moe-weight-decay.html) | 36 | 60M/125M | base AdamW weight decay × seed | [`moe-weight-decay`](https://huggingface.co/datasets/quintic/rig-logs/tree/main/moe-weight-decay) |
|
|
|
|
| 255 |
| [transfer-charts](https://github.com/honglu2875/rig/blob/main/docs/reports/transfer-charts.html) | — | — | derived figures, not a run dashboard | — |
|
| 256 |
|
| 257 |
Each study also carries a compact `snapshot.json.gz` (0.05–1.1 MB of thinned
|
|
@@ -587,6 +597,31 @@ CompleteP/Complete(d)P scaling interpretation. This study's card contains the
|
|
| 587 |
full tables, exact commits, recorded tree hashes, reproduction command, and
|
| 588 |
the more detailed limitation.
|
| 589 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 590 |
## transfer-charts.html
|
| 591 |
|
| 592 |
Not a run dashboard. It is a self-contained derived visualization in the
|
|
|
|
| 12 |
# rig training logs
|
| 13 |
|
| 14 |
Complete training logs for every GPT pretraining run in
|
| 15 |
+
[honglu2875/rig](https://github.com/honglu2875/rig) — 414 runs across seventeen
|
| 16 |
studies, at full recorded resolution. Loss and learning-rate curves at every
|
| 17 |
optimizer step; per-layer parameter, gradient, and update statistics at every
|
| 18 |
diagnostic step. The raw logs themselves are not downsampled.
|
|
|
|
| 78 |
| `moe-router-aux-125M` | TPU v4 — 4 processes, 16 chips |
|
| 79 |
| `moe-expert-load-scaling-125M` | TPU v4 — 4 processes, 16 chips |
|
| 80 |
| `moe-weight-decay` | TPU v4 — 4 processes, 16 chips |
|
| 81 |
+
| `moe-gumbel-local-125M` | TPU v4 — 4 processes, 16 chips |
|
| 82 |
|
| 83 |
`batch-sweep-500M` is the only study spanning two chip types, and the split
|
| 84 |
follows its 5- against 20-tokens-per-parameter arms. Those are separate
|
|
|
|
| 118 |
## The logs live on HuggingFace
|
| 119 |
|
| 120 |
**[huggingface.co/datasets/quintic/rig-logs](https://huggingface.co/datasets/quintic/rig-logs)**
|
| 121 |
+
— 414 runs across seventeen studies, laid out as `<study>/<run-name>/`, at full
|
| 122 |
recorded resolution. That is the archive of record; its
|
| 123 |
[dataset card](https://huggingface.co/datasets/quintic/rig-logs/blob/main/README.md)
|
| 124 |
mirrors the GitHub report catalog and adds archive and reproduction metadata.
|
|
|
|
| 160 |
| moe-ablations | 480 bins | — | 0.07 MB |
|
| 161 |
| expert-load-scaling | exact endpoints | — | 0.02 MB |
|
| 162 |
| moe-weight-decay | exact endpoints | — | 0.04 MB |
|
| 163 |
+
| gumbel-local-moe | exact endpoints + mechanism reductions | — | 0.03 MB |
|
| 164 |
|
| 165 |
The two large ones carry layer detail because gradient spikes are visible in
|
| 166 |
it, and studying them is the point. This is deliberate discretion, not a
|
|
|
|
| 202 |
whiskers, and paired differences. This dataset retains the full trajectories
|
| 203 |
for all 36 runs and both browser payloads.
|
| 204 |
|
| 205 |
+
The [Gumbel-local MoE report](https://github.com/honglu2875/rig/blob/research/gumbel-local-moe/docs/reports/gumbel-local-moe.html)
|
| 206 |
+
is a prose-led 27 KiB mechanism study. Its three figures use exact endpoints,
|
| 207 |
+
recorded cost multipliers, permutation-invariant router reductions, and the
|
| 208 |
+
first identical update diagnostic. This dataset retains all eight runs, every
|
| 209 |
+
block-local metric, and both browser payloads; the browser overview plots the
|
| 210 |
+
four local metrics after averaging across blocks.
|
| 211 |
+
|
| 212 |
Which metrics get charted is a declared list in `rig/report.py`, separate from
|
| 213 |
the metric registry, because how a quantity should be drawn is a judgement the
|
| 214 |
registry cannot make. Everything so far is a line against the time axis; a
|
|
|
|
| 261 |
| [moe-ablations](https://github.com/honglu2875/rig/blob/main/docs/reports/moe-ablations.html) | 23 | 60M/125M/250M | learned biases; router auxiliary-loss coefficient | [`moe-no-bias`](https://huggingface.co/datasets/quintic/rig-logs/tree/main/moe-no-bias), [`moe-router-aux-125M`](https://huggingface.co/datasets/quintic/rig-logs/tree/main/moe-router-aux-125M) |
|
| 262 |
| [expert-load-scaling](https://github.com/honglu2875/rig/blob/main/docs/reports/expert-load-scaling.html) | 5 | 125M | per-expert gradient/update scaling by current load | [`moe-expert-load-scaling-125M`](https://huggingface.co/datasets/quintic/rig-logs/tree/main/moe-expert-load-scaling-125M) |
|
| 263 |
| [moe-weight-decay](https://github.com/honglu2875/rig/blob/research/moe-weight-decay-sweep/docs/reports/moe-weight-decay.html) | 36 | 60M/125M | base AdamW weight decay × seed | [`moe-weight-decay`](https://huggingface.co/datasets/quintic/rig-logs/tree/main/moe-weight-decay) |
|
| 264 |
+
| [gumbel-local-moe](https://github.com/honglu2875/rig/blob/research/gumbel-local-moe/docs/reports/gumbel-local-moe.html) | 8 | 125M | Gumbel-routed local MoE steps × seed | [`moe-gumbel-local-125M`](https://huggingface.co/datasets/quintic/rig-logs/tree/main/moe-gumbel-local-125M) |
|
| 265 |
| [transfer-charts](https://github.com/honglu2875/rig/blob/main/docs/reports/transfer-charts.html) | — | — | derived figures, not a run dashboard | — |
|
| 266 |
|
| 267 |
Each study also carries a compact `snapshot.json.gz` (0.05–1.1 MB of thinned
|
|
|
|
| 597 |
full tables, exact commits, recorded tree hashes, reproduction command, and
|
| 598 |
the more detailed limitation.
|
| 599 |
|
| 600 |
+
## gumbel-local-moe.html
|
| 601 |
+
|
| 602 |
+
Eight verified 125M runs test `K={0,1,2,4}` extra optimization steps inside
|
| 603 |
+
every routed block. K=0 and K=2 have matched seeds 1350, 1369, and 1388; K=1
|
| 604 |
+
and K=4 are seed-1350 shape probes. Every inner step draws a fresh hard Gumbel
|
| 605 |
+
top-2 route, retains clean mixture weights, and applies raw stateless SGD to a
|
| 606 |
+
single activation/output-gradient-normalized objective. The normal outer
|
| 607 |
+
AdamW update still happens exactly once.
|
| 608 |
+
|
| 609 |
+
K=2 changes the three-seed validation mean by +0.000021 nats while costing
|
| 610 |
+
1.344× traced FLOPs and 1.971× training time. Router balance improves modestly,
|
| 611 |
+
but clean entropy falls and logit RMS rises, consistent with the router
|
| 612 |
+
building margins against the perturbation. The first identical actual-update
|
| 613 |
+
L2 norm changes by only 4.9 parts per million for K=2, showing that the local
|
| 614 |
+
raw-SGD vector is tiny beside the outer AdamW update.
|
| 615 |
+
|
| 616 |
+
This rejects the tested realization, not all extra-compute MoE exploration. A
|
| 617 |
+
follow-up should normalize the local delta against the observed outer MoE delta
|
| 618 |
+
or its predicted output displacement, then log both contributions separately.
|
| 619 |
+
Parameter/gradient/update diagnostics here are block-scoped only; per-expert
|
| 620 |
+
router loads remain complete. The
|
| 621 |
+
[GitHub findings report](https://github.com/honglu2875/rig/blob/research/gumbel-local-moe/docs/reports/gumbel-local-moe.html)
|
| 622 |
+
contains the full interpretation, and this study's card contains exact tables,
|
| 623 |
+
source/config/data hashes, limitations, and the reproduction grid.
|
| 624 |
+
|
| 625 |
## transfer-charts.html
|
| 626 |
|
| 627 |
Not a run dashboard. It is a self-contained derived visualization in the
|
moe-gumbel-local-125M/125m-moe-local-k0-5tpp-bs16-lr2e-8-s1350/diagnostics.riglog
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:240071b44c273bfdc3c78e9171ca196e9132fa556b179919b2f25a51f9ab4a0d
|
| 3 |
+
size 552576
|
moe-gumbel-local-125M/125m-moe-local-k0-5tpp-bs16-lr2e-8-s1350/metrics.json
ADDED
|
@@ -0,0 +1,262 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"artifacts": {
|
| 3 |
+
"diagnostics": "diagnostics.riglog",
|
| 4 |
+
"training_curve": "training.riglog",
|
| 5 |
+
"validation_curve": "validation.csv"
|
| 6 |
+
},
|
| 7 |
+
"checkpoint": null,
|
| 8 |
+
"contract": {
|
| 9 |
+
"context_preset": "8k",
|
| 10 |
+
"dataset_id": "fineweb-8b-gpt2",
|
| 11 |
+
"model": {
|
| 12 |
+
"d_model": 640,
|
| 13 |
+
"heads": 10,
|
| 14 |
+
"layers": 12,
|
| 15 |
+
"mlp_activation": "gelu",
|
| 16 |
+
"mlp_mult": 4,
|
| 17 |
+
"normalization": "rms_norm",
|
| 18 |
+
"parameterization": "completep_fixed_tpp_v1",
|
| 19 |
+
"position_encoding": "rope_base_10000",
|
| 20 |
+
"semantic_vocab_size": 50304,
|
| 21 |
+
"tied_embeddings": false,
|
| 22 |
+
"tier": "125m",
|
| 23 |
+
"vocab_size": 50304
|
| 24 |
+
},
|
| 25 |
+
"model_id": "reference-gpt-v3-family",
|
| 26 |
+
"sequence_length": 8192,
|
| 27 |
+
"tokenizer_id": "gpt2"
|
| 28 |
+
},
|
| 29 |
+
"evaluations": {
|
| 30 |
+
"fineweb": {
|
| 31 |
+
"canonical": true,
|
| 32 |
+
"loss": 3.5807331204414368,
|
| 33 |
+
"perplexity": 35.899850115917495,
|
| 34 |
+
"scored_tokens": 1048576,
|
| 35 |
+
"seconds": 0.8409437269438058
|
| 36 |
+
}
|
| 37 |
+
},
|
| 38 |
+
"implementation": {
|
| 39 |
+
"attention_backend": "tpu_flash",
|
| 40 |
+
"attention_tuning": {
|
| 41 |
+
"key_digest": "3d77f3dec34a89456ba8284f3d7d149016d9913126698de06073a72e1ff1a550",
|
| 42 |
+
"resolution_source": "heuristic",
|
| 43 |
+
"tiles": {
|
| 44 |
+
"block_kv": 512,
|
| 45 |
+
"block_kv_compute": 256,
|
| 46 |
+
"block_kv_dkv": 512,
|
| 47 |
+
"block_kv_dkv_compute": 256,
|
| 48 |
+
"block_kv_dq": 512,
|
| 49 |
+
"block_kv_dq_compute": 256,
|
| 50 |
+
"block_q": 512,
|
| 51 |
+
"block_q_dkv": 512,
|
| 52 |
+
"block_q_dkv_compute": 256,
|
| 53 |
+
"block_q_dq": 256
|
| 54 |
+
},
|
| 55 |
+
"tune_seconds": 0.0
|
| 56 |
+
},
|
| 57 |
+
"configuration": {
|
| 58 |
+
"context_preset": "8k",
|
| 59 |
+
"path": "dev.yaml",
|
| 60 |
+
"profile": "dev",
|
| 61 |
+
"resolved": {
|
| 62 |
+
"evaluation": {
|
| 63 |
+
"eval_batches": 8,
|
| 64 |
+
"final_predictions": 1048576,
|
| 65 |
+
"probe_predictions": 0,
|
| 66 |
+
"val_every": 0,
|
| 67 |
+
"val_probe_batches": 0
|
| 68 |
+
},
|
| 69 |
+
"kernels": {
|
| 70 |
+
"attention_backend": "tpu_flash",
|
| 71 |
+
"document_masking": true,
|
| 72 |
+
"loss_backend": "tiled",
|
| 73 |
+
"vocab_tile_size": 2048
|
| 74 |
+
},
|
| 75 |
+
"logging": {
|
| 76 |
+
"diagnostics_every": 10,
|
| 77 |
+
"log_every": 10
|
| 78 |
+
},
|
| 79 |
+
"model": {
|
| 80 |
+
"d_model": 640,
|
| 81 |
+
"heads": 10,
|
| 82 |
+
"layers": 12,
|
| 83 |
+
"mlp_activation": "gelu",
|
| 84 |
+
"mlp_mult": 4,
|
| 85 |
+
"normalization": "rms_norm",
|
| 86 |
+
"parameterization": "completep_fixed_tpp_v1",
|
| 87 |
+
"position_encoding": "rope_base_10000",
|
| 88 |
+
"semantic_vocab_size": 50304,
|
| 89 |
+
"tied_embeddings": false,
|
| 90 |
+
"tier": "125m",
|
| 91 |
+
"vocab_size": 50304
|
| 92 |
+
},
|
| 93 |
+
"optimizer": {
|
| 94 |
+
"adam_epsilon": 1e-08,
|
| 95 |
+
"beta1": 0.9,
|
| 96 |
+
"beta2": 0.95,
|
| 97 |
+
"effective": {
|
| 98 |
+
"adam_epsilon_horizon_multiplier": 1.4354161175193187,
|
| 99 |
+
"beta1": 0.9514661925028901,
|
| 100 |
+
"beta2": 0.975733096251445,
|
| 101 |
+
"global_peak_learning_rate": 0.0027213363096067,
|
| 102 |
+
"weight_decay_horizon_multiplier": 0.6966620952593152
|
| 103 |
+
},
|
| 104 |
+
"grad_clip": 0.0,
|
| 105 |
+
"learning_rate": 0.00390625,
|
| 106 |
+
"local_moe_steps": 0,
|
| 107 |
+
"min_lr_ratio": 0.1,
|
| 108 |
+
"warmup_steps": 471,
|
| 109 |
+
"weight_decay": 0.1
|
| 110 |
+
},
|
| 111 |
+
"parameterization": {
|
| 112 |
+
"attention_scale": "inverse_head_dim",
|
| 113 |
+
"base_depth": 12,
|
| 114 |
+
"base_width": 384,
|
| 115 |
+
"batch_ratio": 1.0,
|
| 116 |
+
"depth_alpha": 1.0,
|
| 117 |
+
"depth_multiplier": 1.0,
|
| 118 |
+
"embeddings": "untied",
|
| 119 |
+
"init_std": 0.02,
|
| 120 |
+
"ladder_data_multiplier": 2.0604194304342345,
|
| 121 |
+
"name": "completep_fixed_tpp_v1",
|
| 122 |
+
"width_multiplier": 1.6666666666666667
|
| 123 |
+
},
|
| 124 |
+
"training": {
|
| 125 |
+
"batch_size": 16,
|
| 126 |
+
"dtype": "bfloat16",
|
| 127 |
+
"sampling": "shuffled_epochs",
|
| 128 |
+
"seq_len": 8192,
|
| 129 |
+
"steps": 4709,
|
| 130 |
+
"target_tokens_per_parameter": 5.0,
|
| 131 |
+
"tokens_per_parameter": 4.999472268158278,
|
| 132 |
+
"train_tokens": 617218048
|
| 133 |
+
}
|
| 134 |
+
},
|
| 135 |
+
"schema_version": 6,
|
| 136 |
+
"sha256": "92c402bf8365d121c177cfae2a02e7423c09a840ba1cd9e7bdfeb6ca8203bf40"
|
| 137 |
+
},
|
| 138 |
+
"context_preset": "8k",
|
| 139 |
+
"document_masking": true,
|
| 140 |
+
"local_moe_optimization": {
|
| 141 |
+
"inner_optimizer": "stateless_sgd_existing_learning_rate_no_decay",
|
| 142 |
+
"objective": "variance_normalized_output_delta_plus_output_gradient",
|
| 143 |
+
"routing": "standard_gumbel_top_k_selection_clean_gate_weights",
|
| 144 |
+
"statistics": "per_layer_ema_input_output_output_gradient_second_moment",
|
| 145 |
+
"statistics_decay": "effective_adam_beta2",
|
| 146 |
+
"steps": 0
|
| 147 |
+
},
|
| 148 |
+
"loss_backend": "tiled",
|
| 149 |
+
"vocab_tile_size": 2048,
|
| 150 |
+
"weight_decay_policy": "weights_and_embeddings_only_v2"
|
| 151 |
+
},
|
| 152 |
+
"metrics": {
|
| 153 |
+
"achieved_tflops": 541.2808754902078,
|
| 154 |
+
"attention_tune_seconds": 0.0,
|
| 155 |
+
"base_learning_rate": 0.00390625,
|
| 156 |
+
"diagnostic_compile_seconds": 87.95429005206097,
|
| 157 |
+
"diagnostic_point_count": 472,
|
| 158 |
+
"diagnostics_every": 10,
|
| 159 |
+
"estimated_total_flops": 846442363009105920,
|
| 160 |
+
"eval_compile_seconds": 18.992180444067344,
|
| 161 |
+
"expert_top_k": 2,
|
| 162 |
+
"experts": 8,
|
| 163 |
+
"final_validation_seconds": 0.8409437269438058,
|
| 164 |
+
"flop_accounting": {
|
| 165 |
+
"by_site": {
|
| 166 |
+
"dot_general": 3116881674240,
|
| 167 |
+
"pallas_call": 1932735283200,
|
| 168 |
+
"tpu_flash_causal_attention_bwd_dkv": 2061584302080,
|
| 169 |
+
"tpu_flash_causal_attention_bwd_dq": 2061584302080,
|
| 170 |
+
"tpu_flash_causal_attention_fwd": 2061584302080
|
| 171 |
+
},
|
| 172 |
+
"elementwise_per_sequence": 13316951224,
|
| 173 |
+
"matmul_per_sequence": 11234369863680,
|
| 174 |
+
"method": "traced-jaxpr",
|
| 175 |
+
"warnings": []
|
| 176 |
+
},
|
| 177 |
+
"flops_per_token": 1371383040,
|
| 178 |
+
"local_moe": {
|
| 179 |
+
"steps_per_global_update": 0
|
| 180 |
+
},
|
| 181 |
+
"mfu_estimate": 0.12301838079322905,
|
| 182 |
+
"model_tier": "125m",
|
| 183 |
+
"parameter_count": 123525760,
|
| 184 |
+
"parameters": 241628800,
|
| 185 |
+
"schedule_steps": 4709,
|
| 186 |
+
"stop_after_step": null,
|
| 187 |
+
"target_tokens_per_parameter": 5.0,
|
| 188 |
+
"tokens_per_parameter": 4.999472268158278,
|
| 189 |
+
"tokens_per_second": 394697.0756545215,
|
| 190 |
+
"tokens_processed": 617218048,
|
| 191 |
+
"total_compile_seconds": 183.0886801390443,
|
| 192 |
+
"total_parameter_count": 241628800,
|
| 193 |
+
"train_compile_seconds": 76.14220964291599,
|
| 194 |
+
"train_loss": 3.510866403579712,
|
| 195 |
+
"train_seconds": 1563.77659240691,
|
| 196 |
+
"training_data_epochs": 0.07812906684585416,
|
| 197 |
+
"training_data_sharding": "rank_disjoint_shuffled_windows",
|
| 198 |
+
"training_sampling": "shuffled_epochs",
|
| 199 |
+
"training_steps": 4709,
|
| 200 |
+
"training_token_budget": 617218048,
|
| 201 |
+
"training_usable_tokens_per_epoch": 7899979776,
|
| 202 |
+
"validation_loss": 3.5807331204414368,
|
| 203 |
+
"validation_probe_count": 0,
|
| 204 |
+
"validation_probe_seconds": 0.0,
|
| 205 |
+
"validation_tokens": 1048576
|
| 206 |
+
},
|
| 207 |
+
"profile": "dev",
|
| 208 |
+
"schema_version": 1,
|
| 209 |
+
"seed": 1350,
|
| 210 |
+
"status": "ok",
|
| 211 |
+
"system": {
|
| 212 |
+
"controller_process_index": 1,
|
| 213 |
+
"device_count": 16,
|
| 214 |
+
"device_ids": [
|
| 215 |
+
0,
|
| 216 |
+
1,
|
| 217 |
+
2,
|
| 218 |
+
3,
|
| 219 |
+
4,
|
| 220 |
+
5,
|
| 221 |
+
6,
|
| 222 |
+
7,
|
| 223 |
+
8,
|
| 224 |
+
9,
|
| 225 |
+
10,
|
| 226 |
+
11,
|
| 227 |
+
12,
|
| 228 |
+
13,
|
| 229 |
+
14,
|
| 230 |
+
15
|
| 231 |
+
],
|
| 232 |
+
"device_kinds": [
|
| 233 |
+
"TPU v4"
|
| 234 |
+
],
|
| 235 |
+
"jax_version": "0.11.0",
|
| 236 |
+
"jaxlib_version": "0.11.0",
|
| 237 |
+
"libtpu_version": "0.0.44.1",
|
| 238 |
+
"local_device_count": 4,
|
| 239 |
+
"platform": "tpu",
|
| 240 |
+
"process_count": 4,
|
| 241 |
+
"process_indices": [
|
| 242 |
+
0,
|
| 243 |
+
0,
|
| 244 |
+
0,
|
| 245 |
+
0,
|
| 246 |
+
1,
|
| 247 |
+
1,
|
| 248 |
+
1,
|
| 249 |
+
1,
|
| 250 |
+
2,
|
| 251 |
+
2,
|
| 252 |
+
2,
|
| 253 |
+
2,
|
| 254 |
+
3,
|
| 255 |
+
3,
|
| 256 |
+
3,
|
| 257 |
+
3
|
| 258 |
+
],
|
| 259 |
+
"python_version": "3.12.13"
|
| 260 |
+
},
|
| 261 |
+
"track": "open"
|
| 262 |
+
}
|
moe-gumbel-local-125M/125m-moe-local-k0-5tpp-bs16-lr2e-8-s1350/result.json
ADDED
|
@@ -0,0 +1,262 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"artifacts": {
|
| 3 |
+
"diagnostics": "diagnostics.riglog",
|
| 4 |
+
"training_curve": "training.riglog",
|
| 5 |
+
"validation_curve": "validation.csv"
|
| 6 |
+
},
|
| 7 |
+
"checkpoint": null,
|
| 8 |
+
"contract": {
|
| 9 |
+
"context_preset": "8k",
|
| 10 |
+
"dataset_id": "fineweb-8b-gpt2",
|
| 11 |
+
"model": {
|
| 12 |
+
"d_model": 640,
|
| 13 |
+
"heads": 10,
|
| 14 |
+
"layers": 12,
|
| 15 |
+
"mlp_activation": "gelu",
|
| 16 |
+
"mlp_mult": 4,
|
| 17 |
+
"normalization": "rms_norm",
|
| 18 |
+
"parameterization": "completep_fixed_tpp_v1",
|
| 19 |
+
"position_encoding": "rope_base_10000",
|
| 20 |
+
"semantic_vocab_size": 50304,
|
| 21 |
+
"tied_embeddings": false,
|
| 22 |
+
"tier": "125m",
|
| 23 |
+
"vocab_size": 50304
|
| 24 |
+
},
|
| 25 |
+
"model_id": "reference-gpt-v3-family",
|
| 26 |
+
"sequence_length": 8192,
|
| 27 |
+
"tokenizer_id": "gpt2"
|
| 28 |
+
},
|
| 29 |
+
"evaluations": {
|
| 30 |
+
"fineweb": {
|
| 31 |
+
"canonical": true,
|
| 32 |
+
"loss": 3.5807331204414368,
|
| 33 |
+
"perplexity": 35.899850115917495,
|
| 34 |
+
"scored_tokens": 1048576,
|
| 35 |
+
"seconds": 0.8409437269438058
|
| 36 |
+
}
|
| 37 |
+
},
|
| 38 |
+
"implementation": {
|
| 39 |
+
"attention_backend": "tpu_flash",
|
| 40 |
+
"attention_tuning": {
|
| 41 |
+
"key_digest": "3d77f3dec34a89456ba8284f3d7d149016d9913126698de06073a72e1ff1a550",
|
| 42 |
+
"resolution_source": "heuristic",
|
| 43 |
+
"tiles": {
|
| 44 |
+
"block_kv": 512,
|
| 45 |
+
"block_kv_compute": 256,
|
| 46 |
+
"block_kv_dkv": 512,
|
| 47 |
+
"block_kv_dkv_compute": 256,
|
| 48 |
+
"block_kv_dq": 512,
|
| 49 |
+
"block_kv_dq_compute": 256,
|
| 50 |
+
"block_q": 512,
|
| 51 |
+
"block_q_dkv": 512,
|
| 52 |
+
"block_q_dkv_compute": 256,
|
| 53 |
+
"block_q_dq": 256
|
| 54 |
+
},
|
| 55 |
+
"tune_seconds": 0.0
|
| 56 |
+
},
|
| 57 |
+
"configuration": {
|
| 58 |
+
"context_preset": "8k",
|
| 59 |
+
"path": "dev.yaml",
|
| 60 |
+
"profile": "dev",
|
| 61 |
+
"resolved": {
|
| 62 |
+
"evaluation": {
|
| 63 |
+
"eval_batches": 8,
|
| 64 |
+
"final_predictions": 1048576,
|
| 65 |
+
"probe_predictions": 0,
|
| 66 |
+
"val_every": 0,
|
| 67 |
+
"val_probe_batches": 0
|
| 68 |
+
},
|
| 69 |
+
"kernels": {
|
| 70 |
+
"attention_backend": "tpu_flash",
|
| 71 |
+
"document_masking": true,
|
| 72 |
+
"loss_backend": "tiled",
|
| 73 |
+
"vocab_tile_size": 2048
|
| 74 |
+
},
|
| 75 |
+
"logging": {
|
| 76 |
+
"diagnostics_every": 10,
|
| 77 |
+
"log_every": 10
|
| 78 |
+
},
|
| 79 |
+
"model": {
|
| 80 |
+
"d_model": 640,
|
| 81 |
+
"heads": 10,
|
| 82 |
+
"layers": 12,
|
| 83 |
+
"mlp_activation": "gelu",
|
| 84 |
+
"mlp_mult": 4,
|
| 85 |
+
"normalization": "rms_norm",
|
| 86 |
+
"parameterization": "completep_fixed_tpp_v1",
|
| 87 |
+
"position_encoding": "rope_base_10000",
|
| 88 |
+
"semantic_vocab_size": 50304,
|
| 89 |
+
"tied_embeddings": false,
|
| 90 |
+
"tier": "125m",
|
| 91 |
+
"vocab_size": 50304
|
| 92 |
+
},
|
| 93 |
+
"optimizer": {
|
| 94 |
+
"adam_epsilon": 1e-08,
|
| 95 |
+
"beta1": 0.9,
|
| 96 |
+
"beta2": 0.95,
|
| 97 |
+
"effective": {
|
| 98 |
+
"adam_epsilon_horizon_multiplier": 1.4354161175193187,
|
| 99 |
+
"beta1": 0.9514661925028901,
|
| 100 |
+
"beta2": 0.975733096251445,
|
| 101 |
+
"global_peak_learning_rate": 0.0027213363096067,
|
| 102 |
+
"weight_decay_horizon_multiplier": 0.6966620952593152
|
| 103 |
+
},
|
| 104 |
+
"grad_clip": 0.0,
|
| 105 |
+
"learning_rate": 0.00390625,
|
| 106 |
+
"local_moe_steps": 0,
|
| 107 |
+
"min_lr_ratio": 0.1,
|
| 108 |
+
"warmup_steps": 471,
|
| 109 |
+
"weight_decay": 0.1
|
| 110 |
+
},
|
| 111 |
+
"parameterization": {
|
| 112 |
+
"attention_scale": "inverse_head_dim",
|
| 113 |
+
"base_depth": 12,
|
| 114 |
+
"base_width": 384,
|
| 115 |
+
"batch_ratio": 1.0,
|
| 116 |
+
"depth_alpha": 1.0,
|
| 117 |
+
"depth_multiplier": 1.0,
|
| 118 |
+
"embeddings": "untied",
|
| 119 |
+
"init_std": 0.02,
|
| 120 |
+
"ladder_data_multiplier": 2.0604194304342345,
|
| 121 |
+
"name": "completep_fixed_tpp_v1",
|
| 122 |
+
"width_multiplier": 1.6666666666666667
|
| 123 |
+
},
|
| 124 |
+
"training": {
|
| 125 |
+
"batch_size": 16,
|
| 126 |
+
"dtype": "bfloat16",
|
| 127 |
+
"sampling": "shuffled_epochs",
|
| 128 |
+
"seq_len": 8192,
|
| 129 |
+
"steps": 4709,
|
| 130 |
+
"target_tokens_per_parameter": 5.0,
|
| 131 |
+
"tokens_per_parameter": 4.999472268158278,
|
| 132 |
+
"train_tokens": 617218048
|
| 133 |
+
}
|
| 134 |
+
},
|
| 135 |
+
"schema_version": 6,
|
| 136 |
+
"sha256": "92c402bf8365d121c177cfae2a02e7423c09a840ba1cd9e7bdfeb6ca8203bf40"
|
| 137 |
+
},
|
| 138 |
+
"context_preset": "8k",
|
| 139 |
+
"document_masking": true,
|
| 140 |
+
"local_moe_optimization": {
|
| 141 |
+
"inner_optimizer": "stateless_sgd_existing_learning_rate_no_decay",
|
| 142 |
+
"objective": "variance_normalized_output_delta_plus_output_gradient",
|
| 143 |
+
"routing": "standard_gumbel_top_k_selection_clean_gate_weights",
|
| 144 |
+
"statistics": "per_layer_ema_input_output_output_gradient_second_moment",
|
| 145 |
+
"statistics_decay": "effective_adam_beta2",
|
| 146 |
+
"steps": 0
|
| 147 |
+
},
|
| 148 |
+
"loss_backend": "tiled",
|
| 149 |
+
"vocab_tile_size": 2048,
|
| 150 |
+
"weight_decay_policy": "weights_and_embeddings_only_v2"
|
| 151 |
+
},
|
| 152 |
+
"metrics": {
|
| 153 |
+
"achieved_tflops": 541.2808754902078,
|
| 154 |
+
"attention_tune_seconds": 0.0,
|
| 155 |
+
"base_learning_rate": 0.00390625,
|
| 156 |
+
"diagnostic_compile_seconds": 87.95429005206097,
|
| 157 |
+
"diagnostic_point_count": 472,
|
| 158 |
+
"diagnostics_every": 10,
|
| 159 |
+
"estimated_total_flops": 846442363009105920,
|
| 160 |
+
"eval_compile_seconds": 18.992180444067344,
|
| 161 |
+
"expert_top_k": 2,
|
| 162 |
+
"experts": 8,
|
| 163 |
+
"final_validation_seconds": 0.8409437269438058,
|
| 164 |
+
"flop_accounting": {
|
| 165 |
+
"by_site": {
|
| 166 |
+
"dot_general": 3116881674240,
|
| 167 |
+
"pallas_call": 1932735283200,
|
| 168 |
+
"tpu_flash_causal_attention_bwd_dkv": 2061584302080,
|
| 169 |
+
"tpu_flash_causal_attention_bwd_dq": 2061584302080,
|
| 170 |
+
"tpu_flash_causal_attention_fwd": 2061584302080
|
| 171 |
+
},
|
| 172 |
+
"elementwise_per_sequence": 13316951224,
|
| 173 |
+
"matmul_per_sequence": 11234369863680,
|
| 174 |
+
"method": "traced-jaxpr",
|
| 175 |
+
"warnings": []
|
| 176 |
+
},
|
| 177 |
+
"flops_per_token": 1371383040,
|
| 178 |
+
"local_moe": {
|
| 179 |
+
"steps_per_global_update": 0
|
| 180 |
+
},
|
| 181 |
+
"mfu_estimate": 0.12301838079322905,
|
| 182 |
+
"model_tier": "125m",
|
| 183 |
+
"parameter_count": 123525760,
|
| 184 |
+
"parameters": 241628800,
|
| 185 |
+
"schedule_steps": 4709,
|
| 186 |
+
"stop_after_step": null,
|
| 187 |
+
"target_tokens_per_parameter": 5.0,
|
| 188 |
+
"tokens_per_parameter": 4.999472268158278,
|
| 189 |
+
"tokens_per_second": 394697.0756545215,
|
| 190 |
+
"tokens_processed": 617218048,
|
| 191 |
+
"total_compile_seconds": 183.0886801390443,
|
| 192 |
+
"total_parameter_count": 241628800,
|
| 193 |
+
"train_compile_seconds": 76.14220964291599,
|
| 194 |
+
"train_loss": 3.510866403579712,
|
| 195 |
+
"train_seconds": 1563.77659240691,
|
| 196 |
+
"training_data_epochs": 0.07812906684585416,
|
| 197 |
+
"training_data_sharding": "rank_disjoint_shuffled_windows",
|
| 198 |
+
"training_sampling": "shuffled_epochs",
|
| 199 |
+
"training_steps": 4709,
|
| 200 |
+
"training_token_budget": 617218048,
|
| 201 |
+
"training_usable_tokens_per_epoch": 7899979776,
|
| 202 |
+
"validation_loss": 3.5807331204414368,
|
| 203 |
+
"validation_probe_count": 0,
|
| 204 |
+
"validation_probe_seconds": 0.0,
|
| 205 |
+
"validation_tokens": 1048576
|
| 206 |
+
},
|
| 207 |
+
"profile": "dev",
|
| 208 |
+
"schema_version": 1,
|
| 209 |
+
"seed": 1350,
|
| 210 |
+
"status": "ok",
|
| 211 |
+
"system": {
|
| 212 |
+
"controller_process_index": 1,
|
| 213 |
+
"device_count": 16,
|
| 214 |
+
"device_ids": [
|
| 215 |
+
0,
|
| 216 |
+
1,
|
| 217 |
+
2,
|
| 218 |
+
3,
|
| 219 |
+
4,
|
| 220 |
+
5,
|
| 221 |
+
6,
|
| 222 |
+
7,
|
| 223 |
+
8,
|
| 224 |
+
9,
|
| 225 |
+
10,
|
| 226 |
+
11,
|
| 227 |
+
12,
|
| 228 |
+
13,
|
| 229 |
+
14,
|
| 230 |
+
15
|
| 231 |
+
],
|
| 232 |
+
"device_kinds": [
|
| 233 |
+
"TPU v4"
|
| 234 |
+
],
|
| 235 |
+
"jax_version": "0.11.0",
|
| 236 |
+
"jaxlib_version": "0.11.0",
|
| 237 |
+
"libtpu_version": "0.0.44.1",
|
| 238 |
+
"local_device_count": 4,
|
| 239 |
+
"platform": "tpu",
|
| 240 |
+
"process_count": 4,
|
| 241 |
+
"process_indices": [
|
| 242 |
+
0,
|
| 243 |
+
0,
|
| 244 |
+
0,
|
| 245 |
+
0,
|
| 246 |
+
1,
|
| 247 |
+
1,
|
| 248 |
+
1,
|
| 249 |
+
1,
|
| 250 |
+
2,
|
| 251 |
+
2,
|
| 252 |
+
2,
|
| 253 |
+
2,
|
| 254 |
+
3,
|
| 255 |
+
3,
|
| 256 |
+
3,
|
| 257 |
+
3
|
| 258 |
+
],
|
| 259 |
+
"python_version": "3.12.13"
|
| 260 |
+
},
|
| 261 |
+
"track": "open"
|
| 262 |
+
}
|
moe-gumbel-local-125M/125m-moe-local-k0-5tpp-bs16-lr2e-8-s1350/training.riglog
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:42737ace49bee2e464746297b6530d30580dc133dbfda9758fa3246bfeccb399
|
| 3 |
+
size 2678128
|
moe-gumbel-local-125M/125m-moe-local-k0-5tpp-bs16-lr2e-8-s1350/validation.csv
ADDED
|
@@ -0,0 +1,2 @@
|
|
|
|
|
|
|
|
|
|
| 1 |
+
step,tokens_processed,kind,domain,validation_tokens,validation_loss,perplexity,validation_seconds,canonical
|
| 2 |
+
4709,617218048,fineweb,fineweb,1048576,3.5807331204414368,35.899850115917495,0.8409437269438058,true
|
moe-gumbel-local-125M/125m-moe-local-k0-5tpp-bs16-lr2e-8-s1369/diagnostics.riglog
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:7017df36db8aa1980a927518d865039cd3fd550d3b1eb7a062e205dbd76062aa
|
| 3 |
+
size 552576
|
moe-gumbel-local-125M/125m-moe-local-k0-5tpp-bs16-lr2e-8-s1369/metrics.json
ADDED
|
@@ -0,0 +1,262 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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5 |
+
"validation_curve": "validation.csv"
|
| 6 |
+
},
|
| 7 |
+
"checkpoint": null,
|
| 8 |
+
"contract": {
|
| 9 |
+
"context_preset": "8k",
|
| 10 |
+
"dataset_id": "fineweb-8b-gpt2",
|
| 11 |
+
"model": {
|
| 12 |
+
"d_model": 640,
|
| 13 |
+
"heads": 10,
|
| 14 |
+
"layers": 12,
|
| 15 |
+
"mlp_activation": "gelu",
|
| 16 |
+
"mlp_mult": 4,
|
| 17 |
+
"normalization": "rms_norm",
|
| 18 |
+
"parameterization": "completep_fixed_tpp_v1",
|
| 19 |
+
"position_encoding": "rope_base_10000",
|
| 20 |
+
"semantic_vocab_size": 50304,
|
| 21 |
+
"tied_embeddings": false,
|
| 22 |
+
"tier": "125m",
|
| 23 |
+
"vocab_size": 50304
|
| 24 |
+
},
|
| 25 |
+
"model_id": "reference-gpt-v3-family",
|
| 26 |
+
"sequence_length": 8192,
|
| 27 |
+
"tokenizer_id": "gpt2"
|
| 28 |
+
},
|
| 29 |
+
"evaluations": {
|
| 30 |
+
"fineweb": {
|
| 31 |
+
"canonical": true,
|
| 32 |
+
"loss": 3.5836828649044037,
|
| 33 |
+
"perplexity": 36.00590183585885,
|
| 34 |
+
"scored_tokens": 1048576,
|
| 35 |
+
"seconds": 0.8359863869845867
|
| 36 |
+
}
|
| 37 |
+
},
|
| 38 |
+
"implementation": {
|
| 39 |
+
"attention_backend": "tpu_flash",
|
| 40 |
+
"attention_tuning": {
|
| 41 |
+
"key_digest": "3d77f3dec34a89456ba8284f3d7d149016d9913126698de06073a72e1ff1a550",
|
| 42 |
+
"resolution_source": "heuristic",
|
| 43 |
+
"tiles": {
|
| 44 |
+
"block_kv": 512,
|
| 45 |
+
"block_kv_compute": 256,
|
| 46 |
+
"block_kv_dkv": 512,
|
| 47 |
+
"block_kv_dkv_compute": 256,
|
| 48 |
+
"block_kv_dq": 512,
|
| 49 |
+
"block_kv_dq_compute": 256,
|
| 50 |
+
"block_q": 512,
|
| 51 |
+
"block_q_dkv": 512,
|
| 52 |
+
"block_q_dkv_compute": 256,
|
| 53 |
+
"block_q_dq": 256
|
| 54 |
+
},
|
| 55 |
+
"tune_seconds": 0.0
|
| 56 |
+
},
|
| 57 |
+
"configuration": {
|
| 58 |
+
"context_preset": "8k",
|
| 59 |
+
"path": "dev.yaml",
|
| 60 |
+
"profile": "dev",
|
| 61 |
+
"resolved": {
|
| 62 |
+
"evaluation": {
|
| 63 |
+
"eval_batches": 8,
|
| 64 |
+
"final_predictions": 1048576,
|
| 65 |
+
"probe_predictions": 0,
|
| 66 |
+
"val_every": 0,
|
| 67 |
+
"val_probe_batches": 0
|
| 68 |
+
},
|
| 69 |
+
"kernels": {
|
| 70 |
+
"attention_backend": "tpu_flash",
|
| 71 |
+
"document_masking": true,
|
| 72 |
+
"loss_backend": "tiled",
|
| 73 |
+
"vocab_tile_size": 2048
|
| 74 |
+
},
|
| 75 |
+
"logging": {
|
| 76 |
+
"diagnostics_every": 10,
|
| 77 |
+
"log_every": 10
|
| 78 |
+
},
|
| 79 |
+
"model": {
|
| 80 |
+
"d_model": 640,
|
| 81 |
+
"heads": 10,
|
| 82 |
+
"layers": 12,
|
| 83 |
+
"mlp_activation": "gelu",
|
| 84 |
+
"mlp_mult": 4,
|
| 85 |
+
"normalization": "rms_norm",
|
| 86 |
+
"parameterization": "completep_fixed_tpp_v1",
|
| 87 |
+
"position_encoding": "rope_base_10000",
|
| 88 |
+
"semantic_vocab_size": 50304,
|
| 89 |
+
"tied_embeddings": false,
|
| 90 |
+
"tier": "125m",
|
| 91 |
+
"vocab_size": 50304
|
| 92 |
+
},
|
| 93 |
+
"optimizer": {
|
| 94 |
+
"adam_epsilon": 1e-08,
|
| 95 |
+
"beta1": 0.9,
|
| 96 |
+
"beta2": 0.95,
|
| 97 |
+
"effective": {
|
| 98 |
+
"adam_epsilon_horizon_multiplier": 1.4354161175193187,
|
| 99 |
+
"beta1": 0.9514661925028901,
|
| 100 |
+
"beta2": 0.975733096251445,
|
| 101 |
+
"global_peak_learning_rate": 0.0027213363096067,
|
| 102 |
+
"weight_decay_horizon_multiplier": 0.6966620952593152
|
| 103 |
+
},
|
| 104 |
+
"grad_clip": 0.0,
|
| 105 |
+
"learning_rate": 0.00390625,
|
| 106 |
+
"local_moe_steps": 0,
|
| 107 |
+
"min_lr_ratio": 0.1,
|
| 108 |
+
"warmup_steps": 471,
|
| 109 |
+
"weight_decay": 0.1
|
| 110 |
+
},
|
| 111 |
+
"parameterization": {
|
| 112 |
+
"attention_scale": "inverse_head_dim",
|
| 113 |
+
"base_depth": 12,
|
| 114 |
+
"base_width": 384,
|
| 115 |
+
"batch_ratio": 1.0,
|
| 116 |
+
"depth_alpha": 1.0,
|
| 117 |
+
"depth_multiplier": 1.0,
|
| 118 |
+
"embeddings": "untied",
|
| 119 |
+
"init_std": 0.02,
|
| 120 |
+
"ladder_data_multiplier": 2.0604194304342345,
|
| 121 |
+
"name": "completep_fixed_tpp_v1",
|
| 122 |
+
"width_multiplier": 1.6666666666666667
|
| 123 |
+
},
|
| 124 |
+
"training": {
|
| 125 |
+
"batch_size": 16,
|
| 126 |
+
"dtype": "bfloat16",
|
| 127 |
+
"sampling": "shuffled_epochs",
|
| 128 |
+
"seq_len": 8192,
|
| 129 |
+
"steps": 4709,
|
| 130 |
+
"target_tokens_per_parameter": 5.0,
|
| 131 |
+
"tokens_per_parameter": 4.999472268158278,
|
| 132 |
+
"train_tokens": 617218048
|
| 133 |
+
}
|
| 134 |
+
},
|
| 135 |
+
"schema_version": 6,
|
| 136 |
+
"sha256": "92c402bf8365d121c177cfae2a02e7423c09a840ba1cd9e7bdfeb6ca8203bf40"
|
| 137 |
+
},
|
| 138 |
+
"context_preset": "8k",
|
| 139 |
+
"document_masking": true,
|
| 140 |
+
"local_moe_optimization": {
|
| 141 |
+
"inner_optimizer": "stateless_sgd_existing_learning_rate_no_decay",
|
| 142 |
+
"objective": "variance_normalized_output_delta_plus_output_gradient",
|
| 143 |
+
"routing": "standard_gumbel_top_k_selection_clean_gate_weights",
|
| 144 |
+
"statistics": "per_layer_ema_input_output_output_gradient_second_moment",
|
| 145 |
+
"statistics_decay": "effective_adam_beta2",
|
| 146 |
+
"steps": 0
|
| 147 |
+
},
|
| 148 |
+
"loss_backend": "tiled",
|
| 149 |
+
"vocab_tile_size": 2048,
|
| 150 |
+
"weight_decay_policy": "weights_and_embeddings_only_v2"
|
| 151 |
+
},
|
| 152 |
+
"metrics": {
|
| 153 |
+
"achieved_tflops": 541.3326428703234,
|
| 154 |
+
"attention_tune_seconds": 0.0,
|
| 155 |
+
"base_learning_rate": 0.00390625,
|
| 156 |
+
"diagnostic_compile_seconds": 90.38109812198672,
|
| 157 |
+
"diagnostic_point_count": 472,
|
| 158 |
+
"diagnostics_every": 10,
|
| 159 |
+
"estimated_total_flops": 846442363009105920,
|
| 160 |
+
"eval_compile_seconds": 19.333958156057633,
|
| 161 |
+
"expert_top_k": 2,
|
| 162 |
+
"experts": 8,
|
| 163 |
+
"final_validation_seconds": 0.8359863869845867,
|
| 164 |
+
"flop_accounting": {
|
| 165 |
+
"by_site": {
|
| 166 |
+
"dot_general": 3116881674240,
|
| 167 |
+
"pallas_call": 1932735283200,
|
| 168 |
+
"tpu_flash_causal_attention_bwd_dkv": 2061584302080,
|
| 169 |
+
"tpu_flash_causal_attention_bwd_dq": 2061584302080,
|
| 170 |
+
"tpu_flash_causal_attention_fwd": 2061584302080
|
| 171 |
+
},
|
| 172 |
+
"elementwise_per_sequence": 13316951224,
|
| 173 |
+
"matmul_per_sequence": 11234369863680,
|
| 174 |
+
"method": "traced-jaxpr",
|
| 175 |
+
"warnings": []
|
| 176 |
+
},
|
| 177 |
+
"flops_per_token": 1371383040,
|
| 178 |
+
"local_moe": {
|
| 179 |
+
"steps_per_global_update": 0
|
| 180 |
+
},
|
| 181 |
+
"mfu_estimate": 0.12303014610689168,
|
| 182 |
+
"model_tier": "125m",
|
| 183 |
+
"parameter_count": 123525760,
|
| 184 |
+
"parameters": 241628800,
|
| 185 |
+
"schedule_steps": 4709,
|
| 186 |
+
"stop_after_step": null,
|
| 187 |
+
"target_tokens_per_parameter": 5.0,
|
| 188 |
+
"tokens_per_parameter": 4.999472268158278,
|
| 189 |
+
"tokens_per_second": 394734.8239557661,
|
| 190 |
+
"tokens_processed": 617218048,
|
| 191 |
+
"total_compile_seconds": 173.32540834904648,
|
| 192 |
+
"total_parameter_count": 241628800,
|
| 193 |
+
"train_compile_seconds": 63.610352071002126,
|
| 194 |
+
"train_loss": 3.564439535140991,
|
| 195 |
+
"train_seconds": 1563.627049203962,
|
| 196 |
+
"training_data_epochs": 0.07812906684585416,
|
| 197 |
+
"training_data_sharding": "rank_disjoint_shuffled_windows",
|
| 198 |
+
"training_sampling": "shuffled_epochs",
|
| 199 |
+
"training_steps": 4709,
|
| 200 |
+
"training_token_budget": 617218048,
|
| 201 |
+
"training_usable_tokens_per_epoch": 7899979776,
|
| 202 |
+
"validation_loss": 3.5836828649044037,
|
| 203 |
+
"validation_probe_count": 0,
|
| 204 |
+
"validation_probe_seconds": 0.0,
|
| 205 |
+
"validation_tokens": 1048576
|
| 206 |
+
},
|
| 207 |
+
"profile": "dev",
|
| 208 |
+
"schema_version": 1,
|
| 209 |
+
"seed": 1369,
|
| 210 |
+
"status": "ok",
|
| 211 |
+
"system": {
|
| 212 |
+
"controller_process_index": 1,
|
| 213 |
+
"device_count": 16,
|
| 214 |
+
"device_ids": [
|
| 215 |
+
0,
|
| 216 |
+
1,
|
| 217 |
+
2,
|
| 218 |
+
3,
|
| 219 |
+
4,
|
| 220 |
+
5,
|
| 221 |
+
6,
|
| 222 |
+
7,
|
| 223 |
+
8,
|
| 224 |
+
9,
|
| 225 |
+
10,
|
| 226 |
+
11,
|
| 227 |
+
12,
|
| 228 |
+
13,
|
| 229 |
+
14,
|
| 230 |
+
15
|
| 231 |
+
],
|
| 232 |
+
"device_kinds": [
|
| 233 |
+
"TPU v4"
|
| 234 |
+
],
|
| 235 |
+
"jax_version": "0.11.0",
|
| 236 |
+
"jaxlib_version": "0.11.0",
|
| 237 |
+
"libtpu_version": "0.0.44.1",
|
| 238 |
+
"local_device_count": 4,
|
| 239 |
+
"platform": "tpu",
|
| 240 |
+
"process_count": 4,
|
| 241 |
+
"process_indices": [
|
| 242 |
+
0,
|
| 243 |
+
0,
|
| 244 |
+
0,
|
| 245 |
+
0,
|
| 246 |
+
1,
|
| 247 |
+
1,
|
| 248 |
+
1,
|
| 249 |
+
1,
|
| 250 |
+
2,
|
| 251 |
+
2,
|
| 252 |
+
2,
|
| 253 |
+
2,
|
| 254 |
+
3,
|
| 255 |
+
3,
|
| 256 |
+
3,
|
| 257 |
+
3
|
| 258 |
+
],
|
| 259 |
+
"python_version": "3.12.13"
|
| 260 |
+
},
|
| 261 |
+
"track": "open"
|
| 262 |
+
}
|
moe-gumbel-local-125M/125m-moe-local-k0-5tpp-bs16-lr2e-8-s1369/result.json
ADDED
|
@@ -0,0 +1,262 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"artifacts": {
|
| 3 |
+
"diagnostics": "diagnostics.riglog",
|
| 4 |
+
"training_curve": "training.riglog",
|
| 5 |
+
"validation_curve": "validation.csv"
|
| 6 |
+
},
|
| 7 |
+
"checkpoint": null,
|
| 8 |
+
"contract": {
|
| 9 |
+
"context_preset": "8k",
|
| 10 |
+
"dataset_id": "fineweb-8b-gpt2",
|
| 11 |
+
"model": {
|
| 12 |
+
"d_model": 640,
|
| 13 |
+
"heads": 10,
|
| 14 |
+
"layers": 12,
|
| 15 |
+
"mlp_activation": "gelu",
|
| 16 |
+
"mlp_mult": 4,
|
| 17 |
+
"normalization": "rms_norm",
|
| 18 |
+
"parameterization": "completep_fixed_tpp_v1",
|
| 19 |
+
"position_encoding": "rope_base_10000",
|
| 20 |
+
"semantic_vocab_size": 50304,
|
| 21 |
+
"tied_embeddings": false,
|
| 22 |
+
"tier": "125m",
|
| 23 |
+
"vocab_size": 50304
|
| 24 |
+
},
|
| 25 |
+
"model_id": "reference-gpt-v3-family",
|
| 26 |
+
"sequence_length": 8192,
|
| 27 |
+
"tokenizer_id": "gpt2"
|
| 28 |
+
},
|
| 29 |
+
"evaluations": {
|
| 30 |
+
"fineweb": {
|
| 31 |
+
"canonical": true,
|
| 32 |
+
"loss": 3.5836828649044037,
|
| 33 |
+
"perplexity": 36.00590183585885,
|
| 34 |
+
"scored_tokens": 1048576,
|
| 35 |
+
"seconds": 0.8359863869845867
|
| 36 |
+
}
|
| 37 |
+
},
|
| 38 |
+
"implementation": {
|
| 39 |
+
"attention_backend": "tpu_flash",
|
| 40 |
+
"attention_tuning": {
|
| 41 |
+
"key_digest": "3d77f3dec34a89456ba8284f3d7d149016d9913126698de06073a72e1ff1a550",
|
| 42 |
+
"resolution_source": "heuristic",
|
| 43 |
+
"tiles": {
|
| 44 |
+
"block_kv": 512,
|
| 45 |
+
"block_kv_compute": 256,
|
| 46 |
+
"block_kv_dkv": 512,
|
| 47 |
+
"block_kv_dkv_compute": 256,
|
| 48 |
+
"block_kv_dq": 512,
|
| 49 |
+
"block_kv_dq_compute": 256,
|
| 50 |
+
"block_q": 512,
|
| 51 |
+
"block_q_dkv": 512,
|
| 52 |
+
"block_q_dkv_compute": 256,
|
| 53 |
+
"block_q_dq": 256
|
| 54 |
+
},
|
| 55 |
+
"tune_seconds": 0.0
|
| 56 |
+
},
|
| 57 |
+
"configuration": {
|
| 58 |
+
"context_preset": "8k",
|
| 59 |
+
"path": "dev.yaml",
|
| 60 |
+
"profile": "dev",
|
| 61 |
+
"resolved": {
|
| 62 |
+
"evaluation": {
|
| 63 |
+
"eval_batches": 8,
|
| 64 |
+
"final_predictions": 1048576,
|
| 65 |
+
"probe_predictions": 0,
|
| 66 |
+
"val_every": 0,
|
| 67 |
+
"val_probe_batches": 0
|
| 68 |
+
},
|
| 69 |
+
"kernels": {
|
| 70 |
+
"attention_backend": "tpu_flash",
|
| 71 |
+
"document_masking": true,
|
| 72 |
+
"loss_backend": "tiled",
|
| 73 |
+
"vocab_tile_size": 2048
|
| 74 |
+
},
|
| 75 |
+
"logging": {
|
| 76 |
+
"diagnostics_every": 10,
|
| 77 |
+
"log_every": 10
|
| 78 |
+
},
|
| 79 |
+
"model": {
|
| 80 |
+
"d_model": 640,
|
| 81 |
+
"heads": 10,
|
| 82 |
+
"layers": 12,
|
| 83 |
+
"mlp_activation": "gelu",
|
| 84 |
+
"mlp_mult": 4,
|
| 85 |
+
"normalization": "rms_norm",
|
| 86 |
+
"parameterization": "completep_fixed_tpp_v1",
|
| 87 |
+
"position_encoding": "rope_base_10000",
|
| 88 |
+
"semantic_vocab_size": 50304,
|
| 89 |
+
"tied_embeddings": false,
|
| 90 |
+
"tier": "125m",
|
| 91 |
+
"vocab_size": 50304
|
| 92 |
+
},
|
| 93 |
+
"optimizer": {
|
| 94 |
+
"adam_epsilon": 1e-08,
|
| 95 |
+
"beta1": 0.9,
|
| 96 |
+
"beta2": 0.95,
|
| 97 |
+
"effective": {
|
| 98 |
+
"adam_epsilon_horizon_multiplier": 1.4354161175193187,
|
| 99 |
+
"beta1": 0.9514661925028901,
|
| 100 |
+
"beta2": 0.975733096251445,
|
| 101 |
+
"global_peak_learning_rate": 0.0027213363096067,
|
| 102 |
+
"weight_decay_horizon_multiplier": 0.6966620952593152
|
| 103 |
+
},
|
| 104 |
+
"grad_clip": 0.0,
|
| 105 |
+
"learning_rate": 0.00390625,
|
| 106 |
+
"local_moe_steps": 0,
|
| 107 |
+
"min_lr_ratio": 0.1,
|
| 108 |
+
"warmup_steps": 471,
|
| 109 |
+
"weight_decay": 0.1
|
| 110 |
+
},
|
| 111 |
+
"parameterization": {
|
| 112 |
+
"attention_scale": "inverse_head_dim",
|
| 113 |
+
"base_depth": 12,
|
| 114 |
+
"base_width": 384,
|
| 115 |
+
"batch_ratio": 1.0,
|
| 116 |
+
"depth_alpha": 1.0,
|
| 117 |
+
"depth_multiplier": 1.0,
|
| 118 |
+
"embeddings": "untied",
|
| 119 |
+
"init_std": 0.02,
|
| 120 |
+
"ladder_data_multiplier": 2.0604194304342345,
|
| 121 |
+
"name": "completep_fixed_tpp_v1",
|
| 122 |
+
"width_multiplier": 1.6666666666666667
|
| 123 |
+
},
|
| 124 |
+
"training": {
|
| 125 |
+
"batch_size": 16,
|
| 126 |
+
"dtype": "bfloat16",
|
| 127 |
+
"sampling": "shuffled_epochs",
|
| 128 |
+
"seq_len": 8192,
|
| 129 |
+
"steps": 4709,
|
| 130 |
+
"target_tokens_per_parameter": 5.0,
|
| 131 |
+
"tokens_per_parameter": 4.999472268158278,
|
| 132 |
+
"train_tokens": 617218048
|
| 133 |
+
}
|
| 134 |
+
},
|
| 135 |
+
"schema_version": 6,
|
| 136 |
+
"sha256": "92c402bf8365d121c177cfae2a02e7423c09a840ba1cd9e7bdfeb6ca8203bf40"
|
| 137 |
+
},
|
| 138 |
+
"context_preset": "8k",
|
| 139 |
+
"document_masking": true,
|
| 140 |
+
"local_moe_optimization": {
|
| 141 |
+
"inner_optimizer": "stateless_sgd_existing_learning_rate_no_decay",
|
| 142 |
+
"objective": "variance_normalized_output_delta_plus_output_gradient",
|
| 143 |
+
"routing": "standard_gumbel_top_k_selection_clean_gate_weights",
|
| 144 |
+
"statistics": "per_layer_ema_input_output_output_gradient_second_moment",
|
| 145 |
+
"statistics_decay": "effective_adam_beta2",
|
| 146 |
+
"steps": 0
|
| 147 |
+
},
|
| 148 |
+
"loss_backend": "tiled",
|
| 149 |
+
"vocab_tile_size": 2048,
|
| 150 |
+
"weight_decay_policy": "weights_and_embeddings_only_v2"
|
| 151 |
+
},
|
| 152 |
+
"metrics": {
|
| 153 |
+
"achieved_tflops": 541.3326428703234,
|
| 154 |
+
"attention_tune_seconds": 0.0,
|
| 155 |
+
"base_learning_rate": 0.00390625,
|
| 156 |
+
"diagnostic_compile_seconds": 90.38109812198672,
|
| 157 |
+
"diagnostic_point_count": 472,
|
| 158 |
+
"diagnostics_every": 10,
|
| 159 |
+
"estimated_total_flops": 846442363009105920,
|
| 160 |
+
"eval_compile_seconds": 19.333958156057633,
|
| 161 |
+
"expert_top_k": 2,
|
| 162 |
+
"experts": 8,
|
| 163 |
+
"final_validation_seconds": 0.8359863869845867,
|
| 164 |
+
"flop_accounting": {
|
| 165 |
+
"by_site": {
|
| 166 |
+
"dot_general": 3116881674240,
|
| 167 |
+
"pallas_call": 1932735283200,
|
| 168 |
+
"tpu_flash_causal_attention_bwd_dkv": 2061584302080,
|
| 169 |
+
"tpu_flash_causal_attention_bwd_dq": 2061584302080,
|
| 170 |
+
"tpu_flash_causal_attention_fwd": 2061584302080
|
| 171 |
+
},
|
| 172 |
+
"elementwise_per_sequence": 13316951224,
|
| 173 |
+
"matmul_per_sequence": 11234369863680,
|
| 174 |
+
"method": "traced-jaxpr",
|
| 175 |
+
"warnings": []
|
| 176 |
+
},
|
| 177 |
+
"flops_per_token": 1371383040,
|
| 178 |
+
"local_moe": {
|
| 179 |
+
"steps_per_global_update": 0
|
| 180 |
+
},
|
| 181 |
+
"mfu_estimate": 0.12303014610689168,
|
| 182 |
+
"model_tier": "125m",
|
| 183 |
+
"parameter_count": 123525760,
|
| 184 |
+
"parameters": 241628800,
|
| 185 |
+
"schedule_steps": 4709,
|
| 186 |
+
"stop_after_step": null,
|
| 187 |
+
"target_tokens_per_parameter": 5.0,
|
| 188 |
+
"tokens_per_parameter": 4.999472268158278,
|
| 189 |
+
"tokens_per_second": 394734.8239557661,
|
| 190 |
+
"tokens_processed": 617218048,
|
| 191 |
+
"total_compile_seconds": 173.32540834904648,
|
| 192 |
+
"total_parameter_count": 241628800,
|
| 193 |
+
"train_compile_seconds": 63.610352071002126,
|
| 194 |
+
"train_loss": 3.564439535140991,
|
| 195 |
+
"train_seconds": 1563.627049203962,
|
| 196 |
+
"training_data_epochs": 0.07812906684585416,
|
| 197 |
+
"training_data_sharding": "rank_disjoint_shuffled_windows",
|
| 198 |
+
"training_sampling": "shuffled_epochs",
|
| 199 |
+
"training_steps": 4709,
|
| 200 |
+
"training_token_budget": 617218048,
|
| 201 |
+
"training_usable_tokens_per_epoch": 7899979776,
|
| 202 |
+
"validation_loss": 3.5836828649044037,
|
| 203 |
+
"validation_probe_count": 0,
|
| 204 |
+
"validation_probe_seconds": 0.0,
|
| 205 |
+
"validation_tokens": 1048576
|
| 206 |
+
},
|
| 207 |
+
"profile": "dev",
|
| 208 |
+
"schema_version": 1,
|
| 209 |
+
"seed": 1369,
|
| 210 |
+
"status": "ok",
|
| 211 |
+
"system": {
|
| 212 |
+
"controller_process_index": 1,
|
| 213 |
+
"device_count": 16,
|
| 214 |
+
"device_ids": [
|
| 215 |
+
0,
|
| 216 |
+
1,
|
| 217 |
+
2,
|
| 218 |
+
3,
|
| 219 |
+
4,
|
| 220 |
+
5,
|
| 221 |
+
6,
|
| 222 |
+
7,
|
| 223 |
+
8,
|
| 224 |
+
9,
|
| 225 |
+
10,
|
| 226 |
+
11,
|
| 227 |
+
12,
|
| 228 |
+
13,
|
| 229 |
+
14,
|
| 230 |
+
15
|
| 231 |
+
],
|
| 232 |
+
"device_kinds": [
|
| 233 |
+
"TPU v4"
|
| 234 |
+
],
|
| 235 |
+
"jax_version": "0.11.0",
|
| 236 |
+
"jaxlib_version": "0.11.0",
|
| 237 |
+
"libtpu_version": "0.0.44.1",
|
| 238 |
+
"local_device_count": 4,
|
| 239 |
+
"platform": "tpu",
|
| 240 |
+
"process_count": 4,
|
| 241 |
+
"process_indices": [
|
| 242 |
+
0,
|
| 243 |
+
0,
|
| 244 |
+
0,
|
| 245 |
+
0,
|
| 246 |
+
1,
|
| 247 |
+
1,
|
| 248 |
+
1,
|
| 249 |
+
1,
|
| 250 |
+
2,
|
| 251 |
+
2,
|
| 252 |
+
2,
|
| 253 |
+
2,
|
| 254 |
+
3,
|
| 255 |
+
3,
|
| 256 |
+
3,
|
| 257 |
+
3
|
| 258 |
+
],
|
| 259 |
+
"python_version": "3.12.13"
|
| 260 |
+
},
|
| 261 |
+
"track": "open"
|
| 262 |
+
}
|
moe-gumbel-local-125M/125m-moe-local-k0-5tpp-bs16-lr2e-8-s1369/training.riglog
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:5d90a44f12fad68db3596d5541ba41241a46d862deedee3334239b74308d96b3
|
| 3 |
+
size 2678128
|
moe-gumbel-local-125M/125m-moe-local-k0-5tpp-bs16-lr2e-8-s1369/validation.csv
ADDED
|
@@ -0,0 +1,2 @@
|
|
|
|
|
|
|
|
|
|
| 1 |
+
step,tokens_processed,kind,domain,validation_tokens,validation_loss,perplexity,validation_seconds,canonical
|
| 2 |
+
4709,617218048,fineweb,fineweb,1048576,3.5836828649044037,36.00590183585885,0.8359863869845867,true
|
moe-gumbel-local-125M/125m-moe-local-k0-5tpp-bs16-lr2e-8-s1388/diagnostics.riglog
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"artifacts": {
|
| 3 |
+
"diagnostics": "diagnostics.riglog",
|
| 4 |
+
"training_curve": "training.riglog",
|
| 5 |
+
"validation_curve": "validation.csv"
|
| 6 |
+
},
|
| 7 |
+
"checkpoint": null,
|
| 8 |
+
"contract": {
|
| 9 |
+
"context_preset": "8k",
|
| 10 |
+
"dataset_id": "fineweb-8b-gpt2",
|
| 11 |
+
"model": {
|
| 12 |
+
"d_model": 640,
|
| 13 |
+
"heads": 10,
|
| 14 |
+
"layers": 12,
|
| 15 |
+
"mlp_activation": "gelu",
|
| 16 |
+
"mlp_mult": 4,
|
| 17 |
+
"normalization": "rms_norm",
|
| 18 |
+
"parameterization": "completep_fixed_tpp_v1",
|
| 19 |
+
"position_encoding": "rope_base_10000",
|
| 20 |
+
"semantic_vocab_size": 50304,
|
| 21 |
+
"tied_embeddings": false,
|
| 22 |
+
"tier": "125m",
|
| 23 |
+
"vocab_size": 50304
|
| 24 |
+
},
|
| 25 |
+
"model_id": "reference-gpt-v3-family",
|
| 26 |
+
"sequence_length": 8192,
|
| 27 |
+
"tokenizer_id": "gpt2"
|
| 28 |
+
},
|
| 29 |
+
"evaluations": {
|
| 30 |
+
"fineweb": {
|
| 31 |
+
"canonical": true,
|
| 32 |
+
"loss": 3.576480805873871,
|
| 33 |
+
"perplexity": 35.74751677448276,
|
| 34 |
+
"scored_tokens": 1048576,
|
| 35 |
+
"seconds": 0.8418400180526078
|
| 36 |
+
}
|
| 37 |
+
},
|
| 38 |
+
"implementation": {
|
| 39 |
+
"attention_backend": "tpu_flash",
|
| 40 |
+
"attention_tuning": {
|
| 41 |
+
"key_digest": "3d77f3dec34a89456ba8284f3d7d149016d9913126698de06073a72e1ff1a550",
|
| 42 |
+
"resolution_source": "heuristic",
|
| 43 |
+
"tiles": {
|
| 44 |
+
"block_kv": 512,
|
| 45 |
+
"block_kv_compute": 256,
|
| 46 |
+
"block_kv_dkv": 512,
|
| 47 |
+
"block_kv_dkv_compute": 256,
|
| 48 |
+
"block_kv_dq": 512,
|
| 49 |
+
"block_kv_dq_compute": 256,
|
| 50 |
+
"block_q": 512,
|
| 51 |
+
"block_q_dkv": 512,
|
| 52 |
+
"block_q_dkv_compute": 256,
|
| 53 |
+
"block_q_dq": 256
|
| 54 |
+
},
|
| 55 |
+
"tune_seconds": 0.0
|
| 56 |
+
},
|
| 57 |
+
"configuration": {
|
| 58 |
+
"context_preset": "8k",
|
| 59 |
+
"path": "dev.yaml",
|
| 60 |
+
"profile": "dev",
|
| 61 |
+
"resolved": {
|
| 62 |
+
"evaluation": {
|
| 63 |
+
"eval_batches": 8,
|
| 64 |
+
"final_predictions": 1048576,
|
| 65 |
+
"probe_predictions": 0,
|
| 66 |
+
"val_every": 0,
|
| 67 |
+
"val_probe_batches": 0
|
| 68 |
+
},
|
| 69 |
+
"kernels": {
|
| 70 |
+
"attention_backend": "tpu_flash",
|
| 71 |
+
"document_masking": true,
|
| 72 |
+
"loss_backend": "tiled",
|
| 73 |
+
"vocab_tile_size": 2048
|
| 74 |
+
},
|
| 75 |
+
"logging": {
|
| 76 |
+
"diagnostics_every": 10,
|
| 77 |
+
"log_every": 10
|
| 78 |
+
},
|
| 79 |
+
"model": {
|
| 80 |
+
"d_model": 640,
|
| 81 |
+
"heads": 10,
|
| 82 |
+
"layers": 12,
|
| 83 |
+
"mlp_activation": "gelu",
|
| 84 |
+
"mlp_mult": 4,
|
| 85 |
+
"normalization": "rms_norm",
|
| 86 |
+
"parameterization": "completep_fixed_tpp_v1",
|
| 87 |
+
"position_encoding": "rope_base_10000",
|
| 88 |
+
"semantic_vocab_size": 50304,
|
| 89 |
+
"tied_embeddings": false,
|
| 90 |
+
"tier": "125m",
|
| 91 |
+
"vocab_size": 50304
|
| 92 |
+
},
|
| 93 |
+
"optimizer": {
|
| 94 |
+
"adam_epsilon": 1e-08,
|
| 95 |
+
"beta1": 0.9,
|
| 96 |
+
"beta2": 0.95,
|
| 97 |
+
"effective": {
|
| 98 |
+
"adam_epsilon_horizon_multiplier": 1.4354161175193187,
|
| 99 |
+
"beta1": 0.9514661925028901,
|
| 100 |
+
"beta2": 0.975733096251445,
|
| 101 |
+
"global_peak_learning_rate": 0.0027213363096067,
|
| 102 |
+
"weight_decay_horizon_multiplier": 0.6966620952593152
|
| 103 |
+
},
|
| 104 |
+
"grad_clip": 0.0,
|
| 105 |
+
"learning_rate": 0.00390625,
|
| 106 |
+
"local_moe_steps": 0,
|
| 107 |
+
"min_lr_ratio": 0.1,
|
| 108 |
+
"warmup_steps": 471,
|
| 109 |
+
"weight_decay": 0.1
|
| 110 |
+
},
|
| 111 |
+
"parameterization": {
|
| 112 |
+
"attention_scale": "inverse_head_dim",
|
| 113 |
+
"base_depth": 12,
|
| 114 |
+
"base_width": 384,
|
| 115 |
+
"batch_ratio": 1.0,
|
| 116 |
+
"depth_alpha": 1.0,
|
| 117 |
+
"depth_multiplier": 1.0,
|
| 118 |
+
"embeddings": "untied",
|
| 119 |
+
"init_std": 0.02,
|
| 120 |
+
"ladder_data_multiplier": 2.0604194304342345,
|
| 121 |
+
"name": "completep_fixed_tpp_v1",
|
| 122 |
+
"width_multiplier": 1.6666666666666667
|
| 123 |
+
},
|
| 124 |
+
"training": {
|
| 125 |
+
"batch_size": 16,
|
| 126 |
+
"dtype": "bfloat16",
|
| 127 |
+
"sampling": "shuffled_epochs",
|
| 128 |
+
"seq_len": 8192,
|
| 129 |
+
"steps": 4709,
|
| 130 |
+
"target_tokens_per_parameter": 5.0,
|
| 131 |
+
"tokens_per_parameter": 4.999472268158278,
|
| 132 |
+
"train_tokens": 617218048
|
| 133 |
+
}
|
| 134 |
+
},
|
| 135 |
+
"schema_version": 6,
|
| 136 |
+
"sha256": "92c402bf8365d121c177cfae2a02e7423c09a840ba1cd9e7bdfeb6ca8203bf40"
|
| 137 |
+
},
|
| 138 |
+
"context_preset": "8k",
|
| 139 |
+
"document_masking": true,
|
| 140 |
+
"local_moe_optimization": {
|
| 141 |
+
"inner_optimizer": "stateless_sgd_existing_learning_rate_no_decay",
|
| 142 |
+
"objective": "variance_normalized_output_delta_plus_output_gradient",
|
| 143 |
+
"routing": "standard_gumbel_top_k_selection_clean_gate_weights",
|
| 144 |
+
"statistics": "per_layer_ema_input_output_output_gradient_second_moment",
|
| 145 |
+
"statistics_decay": "effective_adam_beta2",
|
| 146 |
+
"steps": 0
|
| 147 |
+
},
|
| 148 |
+
"loss_backend": "tiled",
|
| 149 |
+
"vocab_tile_size": 2048,
|
| 150 |
+
"weight_decay_policy": "weights_and_embeddings_only_v2"
|
| 151 |
+
},
|
| 152 |
+
"metrics": {
|
| 153 |
+
"achieved_tflops": 541.1457294322167,
|
| 154 |
+
"attention_tune_seconds": 0.0,
|
| 155 |
+
"base_learning_rate": 0.00390625,
|
| 156 |
+
"diagnostic_compile_seconds": 89.39137256995309,
|
| 157 |
+
"diagnostic_point_count": 472,
|
| 158 |
+
"diagnostics_every": 10,
|
| 159 |
+
"estimated_total_flops": 846442363009105920,
|
| 160 |
+
"eval_compile_seconds": 18.9479785800213,
|
| 161 |
+
"expert_top_k": 2,
|
| 162 |
+
"experts": 8,
|
| 163 |
+
"final_validation_seconds": 0.8418400180526078,
|
| 164 |
+
"flop_accounting": {
|
| 165 |
+
"by_site": {
|
| 166 |
+
"dot_general": 3116881674240,
|
| 167 |
+
"pallas_call": 1932735283200,
|
| 168 |
+
"tpu_flash_causal_attention_bwd_dkv": 2061584302080,
|
| 169 |
+
"tpu_flash_causal_attention_bwd_dq": 2061584302080,
|
| 170 |
+
"tpu_flash_causal_attention_fwd": 2061584302080
|
| 171 |
+
},
|
| 172 |
+
"elementwise_per_sequence": 13316951224,
|
| 173 |
+
"matmul_per_sequence": 11234369863680,
|
| 174 |
+
"method": "traced-jaxpr",
|
| 175 |
+
"warnings": []
|
| 176 |
+
},
|
| 177 |
+
"flops_per_token": 1371383040,
|
| 178 |
+
"local_moe": {
|
| 179 |
+
"steps_per_global_update": 0
|
| 180 |
+
},
|
| 181 |
+
"mfu_estimate": 0.12298766578004926,
|
| 182 |
+
"model_tier": "125m",
|
| 183 |
+
"parameter_count": 123525760,
|
| 184 |
+
"parameters": 241628800,
|
| 185 |
+
"schedule_steps": 4709,
|
| 186 |
+
"stop_after_step": null,
|
| 187 |
+
"target_tokens_per_parameter": 5.0,
|
| 188 |
+
"tokens_per_parameter": 4.999472268158278,
|
| 189 |
+
"tokens_per_second": 394598.52838213363,
|
| 190 |
+
"tokens_processed": 617218048,
|
| 191 |
+
"total_compile_seconds": 166.29597594495863,
|
| 192 |
+
"total_parameter_count": 241628800,
|
| 193 |
+
"train_compile_seconds": 57.956624794984236,
|
| 194 |
+
"train_loss": 3.565476417541504,
|
| 195 |
+
"train_seconds": 1564.1671309079975,
|
| 196 |
+
"training_data_epochs": 0.07812906684585416,
|
| 197 |
+
"training_data_sharding": "rank_disjoint_shuffled_windows",
|
| 198 |
+
"training_sampling": "shuffled_epochs",
|
| 199 |
+
"training_steps": 4709,
|
| 200 |
+
"training_token_budget": 617218048,
|
| 201 |
+
"training_usable_tokens_per_epoch": 7899979776,
|
| 202 |
+
"validation_loss": 3.576480805873871,
|
| 203 |
+
"validation_probe_count": 0,
|
| 204 |
+
"validation_probe_seconds": 0.0,
|
| 205 |
+
"validation_tokens": 1048576
|
| 206 |
+
},
|
| 207 |
+
"profile": "dev",
|
| 208 |
+
"schema_version": 1,
|
| 209 |
+
"seed": 1388,
|
| 210 |
+
"status": "ok",
|
| 211 |
+
"system": {
|
| 212 |
+
"controller_process_index": 1,
|
| 213 |
+
"device_count": 16,
|
| 214 |
+
"device_ids": [
|
| 215 |
+
0,
|
| 216 |
+
1,
|
| 217 |
+
2,
|
| 218 |
+
3,
|
| 219 |
+
4,
|
| 220 |
+
5,
|
| 221 |
+
6,
|
| 222 |
+
7,
|
| 223 |
+
8,
|
| 224 |
+
9,
|
| 225 |
+
10,
|
| 226 |
+
11,
|
| 227 |
+
12,
|
| 228 |
+
13,
|
| 229 |
+
14,
|
| 230 |
+
15
|
| 231 |
+
],
|
| 232 |
+
"device_kinds": [
|
| 233 |
+
"TPU v4"
|
| 234 |
+
],
|
| 235 |
+
"jax_version": "0.11.0",
|
| 236 |
+
"jaxlib_version": "0.11.0",
|
| 237 |
+
"libtpu_version": "0.0.44.1",
|
| 238 |
+
"local_device_count": 4,
|
| 239 |
+
"platform": "tpu",
|
| 240 |
+
"process_count": 4,
|
| 241 |
+
"process_indices": [
|
| 242 |
+
0,
|
| 243 |
+
0,
|
| 244 |
+
0,
|
| 245 |
+
0,
|
| 246 |
+
1,
|
| 247 |
+
1,
|
| 248 |
+
1,
|
|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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"artifacts": {
|
| 3 |
+
"diagnostics": "diagnostics.riglog",
|
| 4 |
+
"training_curve": "training.riglog",
|
| 5 |
+
"validation_curve": "validation.csv"
|
| 6 |
+
},
|
| 7 |
+
"checkpoint": null,
|
| 8 |
+
"contract": {
|
| 9 |
+
"context_preset": "8k",
|
| 10 |
+
"dataset_id": "fineweb-8b-gpt2",
|
| 11 |
+
"model": {
|
| 12 |
+
"d_model": 640,
|
| 13 |
+
"heads": 10,
|
| 14 |
+
"layers": 12,
|
| 15 |
+
"mlp_activation": "gelu",
|
| 16 |
+
"mlp_mult": 4,
|
| 17 |
+
"normalization": "rms_norm",
|
| 18 |
+
"parameterization": "completep_fixed_tpp_v1",
|
| 19 |
+
"position_encoding": "rope_base_10000",
|
| 20 |
+
"semantic_vocab_size": 50304,
|
| 21 |
+
"tied_embeddings": false,
|
| 22 |
+
"tier": "125m",
|
| 23 |
+
"vocab_size": 50304
|
| 24 |
+
},
|
| 25 |
+
"model_id": "reference-gpt-v3-family",
|
| 26 |
+
"sequence_length": 8192,
|
| 27 |
+
"tokenizer_id": "gpt2"
|
| 28 |
+
},
|
| 29 |
+
"evaluations": {
|
| 30 |
+
"fineweb": {
|
| 31 |
+
"canonical": true,
|
| 32 |
+
"loss": 3.576480805873871,
|
| 33 |
+
"perplexity": 35.74751677448276,
|
| 34 |
+
"scored_tokens": 1048576,
|
| 35 |
+
"seconds": 0.8418400180526078
|
| 36 |
+
}
|
| 37 |
+
},
|
| 38 |
+
"implementation": {
|
| 39 |
+
"attention_backend": "tpu_flash",
|
| 40 |
+
"attention_tuning": {
|
| 41 |
+
"key_digest": "3d77f3dec34a89456ba8284f3d7d149016d9913126698de06073a72e1ff1a550",
|
| 42 |
+
"resolution_source": "heuristic",
|
| 43 |
+
"tiles": {
|
| 44 |
+
"block_kv": 512,
|
| 45 |
+
"block_kv_compute": 256,
|
| 46 |
+
"block_kv_dkv": 512,
|
| 47 |
+
"block_kv_dkv_compute": 256,
|
| 48 |
+
"block_kv_dq": 512,
|
| 49 |
+
"block_kv_dq_compute": 256,
|
| 50 |
+
"block_q": 512,
|
| 51 |
+
"block_q_dkv": 512,
|
| 52 |
+
"block_q_dkv_compute": 256,
|
| 53 |
+
"block_q_dq": 256
|
| 54 |
+
},
|
| 55 |
+
"tune_seconds": 0.0
|
| 56 |
+
},
|
| 57 |
+
"configuration": {
|
| 58 |
+
"context_preset": "8k",
|
| 59 |
+
"path": "dev.yaml",
|
| 60 |
+
"profile": "dev",
|
| 61 |
+
"resolved": {
|
| 62 |
+
"evaluation": {
|
| 63 |
+
"eval_batches": 8,
|
| 64 |
+
"final_predictions": 1048576,
|
| 65 |
+
"probe_predictions": 0,
|
| 66 |
+
"val_every": 0,
|
| 67 |
+
"val_probe_batches": 0
|
| 68 |
+
},
|
| 69 |
+
"kernels": {
|
| 70 |
+
"attention_backend": "tpu_flash",
|
| 71 |
+
"document_masking": true,
|
| 72 |
+
"loss_backend": "tiled",
|
| 73 |
+
"vocab_tile_size": 2048
|
| 74 |
+
},
|
| 75 |
+
"logging": {
|
| 76 |
+
"diagnostics_every": 10,
|
| 77 |
+
"log_every": 10
|
| 78 |
+
},
|
| 79 |
+
"model": {
|
| 80 |
+
"d_model": 640,
|
| 81 |
+
"heads": 10,
|
| 82 |
+
"layers": 12,
|
| 83 |
+
"mlp_activation": "gelu",
|
| 84 |
+
"mlp_mult": 4,
|
| 85 |
+
"normalization": "rms_norm",
|
| 86 |
+
"parameterization": "completep_fixed_tpp_v1",
|
| 87 |
+
"position_encoding": "rope_base_10000",
|
| 88 |
+
"semantic_vocab_size": 50304,
|
| 89 |
+
"tied_embeddings": false,
|
| 90 |
+
"tier": "125m",
|
| 91 |
+
"vocab_size": 50304
|
| 92 |
+
},
|
| 93 |
+
"optimizer": {
|
| 94 |
+
"adam_epsilon": 1e-08,
|
| 95 |
+
"beta1": 0.9,
|
| 96 |
+
"beta2": 0.95,
|
| 97 |
+
"effective": {
|
| 98 |
+
"adam_epsilon_horizon_multiplier": 1.4354161175193187,
|
| 99 |
+
"beta1": 0.9514661925028901,
|
| 100 |
+
"beta2": 0.975733096251445,
|
| 101 |
+
"global_peak_learning_rate": 0.0027213363096067,
|
| 102 |
+
"weight_decay_horizon_multiplier": 0.6966620952593152
|
| 103 |
+
},
|
| 104 |
+
"grad_clip": 0.0,
|
| 105 |
+
"learning_rate": 0.00390625,
|
| 106 |
+
"local_moe_steps": 0,
|
| 107 |
+
"min_lr_ratio": 0.1,
|
| 108 |
+
"warmup_steps": 471,
|
| 109 |
+
"weight_decay": 0.1
|
| 110 |
+
},
|
| 111 |
+
"parameterization": {
|
| 112 |
+
"attention_scale": "inverse_head_dim",
|
| 113 |
+
"base_depth": 12,
|
| 114 |
+
"base_width": 384,
|
| 115 |
+
"batch_ratio": 1.0,
|
| 116 |
+
"depth_alpha": 1.0,
|
| 117 |
+
"depth_multiplier": 1.0,
|
| 118 |
+
"embeddings": "untied",
|
| 119 |
+
"init_std": 0.02,
|
| 120 |
+
"ladder_data_multiplier": 2.0604194304342345,
|
| 121 |
+
"name": "completep_fixed_tpp_v1",
|
| 122 |
+
"width_multiplier": 1.6666666666666667
|
| 123 |
+
},
|
| 124 |
+
"training": {
|
| 125 |
+
"batch_size": 16,
|
| 126 |
+
"dtype": "bfloat16",
|
| 127 |
+
"sampling": "shuffled_epochs",
|
| 128 |
+
"seq_len": 8192,
|
| 129 |
+
"steps": 4709,
|
| 130 |
+
"target_tokens_per_parameter": 5.0,
|
| 131 |
+
"tokens_per_parameter": 4.999472268158278,
|
| 132 |
+
"train_tokens": 617218048
|
| 133 |
+
}
|
| 134 |
+
},
|
| 135 |
+
"schema_version": 6,
|
| 136 |
+
"sha256": "92c402bf8365d121c177cfae2a02e7423c09a840ba1cd9e7bdfeb6ca8203bf40"
|
| 137 |
+
},
|
| 138 |
+
"context_preset": "8k",
|
| 139 |
+
"document_masking": true,
|
| 140 |
+
"local_moe_optimization": {
|
| 141 |
+
"inner_optimizer": "stateless_sgd_existing_learning_rate_no_decay",
|
| 142 |
+
"objective": "variance_normalized_output_delta_plus_output_gradient",
|
| 143 |
+
"routing": "standard_gumbel_top_k_selection_clean_gate_weights",
|
| 144 |
+
"statistics": "per_layer_ema_input_output_output_gradient_second_moment",
|
| 145 |
+
"statistics_decay": "effective_adam_beta2",
|
| 146 |
+
"steps": 0
|
| 147 |
+
},
|
| 148 |
+
"loss_backend": "tiled",
|
| 149 |
+
"vocab_tile_size": 2048,
|
| 150 |
+
"weight_decay_policy": "weights_and_embeddings_only_v2"
|
| 151 |
+
},
|
| 152 |
+
"metrics": {
|
| 153 |
+
"achieved_tflops": 541.1457294322167,
|
| 154 |
+
"attention_tune_seconds": 0.0,
|
| 155 |
+
"base_learning_rate": 0.00390625,
|
| 156 |
+
"diagnostic_compile_seconds": 89.39137256995309,
|
| 157 |
+
"diagnostic_point_count": 472,
|
| 158 |
+
"diagnostics_every": 10,
|
| 159 |
+
"estimated_total_flops": 846442363009105920,
|
| 160 |
+
"eval_compile_seconds": 18.9479785800213,
|
| 161 |
+
"expert_top_k": 2,
|
| 162 |
+
"experts": 8,
|
| 163 |
+
"final_validation_seconds": 0.8418400180526078,
|
| 164 |
+
"flop_accounting": {
|
| 165 |
+
"by_site": {
|
| 166 |
+
"dot_general": 3116881674240,
|
| 167 |
+
"pallas_call": 1932735283200,
|
| 168 |
+
"tpu_flash_causal_attention_bwd_dkv": 2061584302080,
|
| 169 |
+
"tpu_flash_causal_attention_bwd_dq": 2061584302080,
|
| 170 |
+
"tpu_flash_causal_attention_fwd": 2061584302080
|
| 171 |
+
},
|
| 172 |
+
"elementwise_per_sequence": 13316951224,
|
| 173 |
+
"matmul_per_sequence": 11234369863680,
|
| 174 |
+
"method": "traced-jaxpr",
|
| 175 |
+
"warnings": []
|
| 176 |
+
},
|
| 177 |
+
"flops_per_token": 1371383040,
|
| 178 |
+
"local_moe": {
|
| 179 |
+
"steps_per_global_update": 0
|
| 180 |
+
},
|
| 181 |
+
"mfu_estimate": 0.12298766578004926,
|
| 182 |
+
"model_tier": "125m",
|
| 183 |
+
"parameter_count": 123525760,
|
| 184 |
+
"parameters": 241628800,
|
| 185 |
+
"schedule_steps": 4709,
|
| 186 |
+
"stop_after_step": null,
|
| 187 |
+
"target_tokens_per_parameter": 5.0,
|
| 188 |
+
"tokens_per_parameter": 4.999472268158278,
|
| 189 |
+
"tokens_per_second": 394598.52838213363,
|
| 190 |
+
"tokens_processed": 617218048,
|
| 191 |
+
"total_compile_seconds": 166.29597594495863,
|
| 192 |
+
"total_parameter_count": 241628800,
|
| 193 |
+
"train_compile_seconds": 57.956624794984236,
|
| 194 |
+
"train_loss": 3.565476417541504,
|
| 195 |
+
"train_seconds": 1564.1671309079975,
|
| 196 |
+
"training_data_epochs": 0.07812906684585416,
|
| 197 |
+
"training_data_sharding": "rank_disjoint_shuffled_windows",
|
| 198 |
+
"training_sampling": "shuffled_epochs",
|
| 199 |
+
"training_steps": 4709,
|
| 200 |
+
"training_token_budget": 617218048,
|
| 201 |
+
"training_usable_tokens_per_epoch": 7899979776,
|
| 202 |
+
"validation_loss": 3.576480805873871,
|
| 203 |
+
"validation_probe_count": 0,
|
| 204 |
+
"validation_probe_seconds": 0.0,
|
| 205 |
+
"validation_tokens": 1048576
|
| 206 |
+
},
|
| 207 |
+
"profile": "dev",
|
| 208 |
+
"schema_version": 1,
|
| 209 |
+
"seed": 1388,
|
| 210 |
+
"status": "ok",
|
| 211 |
+
"system": {
|
| 212 |
+
"controller_process_index": 1,
|
| 213 |
+
"device_count": 16,
|
| 214 |
+
"device_ids": [
|
| 215 |
+
0,
|
| 216 |
+
1,
|
| 217 |
+
2,
|
| 218 |
+
3,
|
| 219 |
+
4,
|
| 220 |
+
5,
|
| 221 |
+
6,
|
| 222 |
+
7,
|
| 223 |
+
8,
|
| 224 |
+
9,
|
| 225 |
+
10,
|
| 226 |
+
11,
|
| 227 |
+
12,
|
| 228 |
+
13,
|
| 229 |
+
14,
|
| 230 |
+
15
|
| 231 |
+
],
|
| 232 |
+
"device_kinds": [
|
| 233 |
+
"TPU v4"
|
| 234 |
+
],
|
| 235 |
+
"jax_version": "0.11.0",
|
| 236 |
+
"jaxlib_version": "0.11.0",
|
| 237 |
+
"libtpu_version": "0.0.44.1",
|
| 238 |
+
"local_device_count": 4,
|
| 239 |
+
"platform": "tpu",
|
| 240 |
+
"process_count": 4,
|
| 241 |
+
"process_indices": [
|
| 242 |
+
0,
|
| 243 |
+
0,
|
| 244 |
+
0,
|
| 245 |
+
0,
|
| 246 |
+
1,
|
| 247 |
+
1,
|
| 248 |
+
1,
|
| 249 |
+
1,
|
| 250 |
+
2,
|
| 251 |
+
2,
|
| 252 |
+
2,
|
| 253 |
+
2,
|
| 254 |
+
3,
|
| 255 |
+
3,
|
| 256 |
+
3,
|
| 257 |
+
3
|
| 258 |
+
],
|
| 259 |
+
"python_version": "3.12.13"
|
| 260 |
+
},
|
| 261 |
+
"track": "open"
|
| 262 |
+
}
|
moe-gumbel-local-125M/125m-moe-local-k0-5tpp-bs16-lr2e-8-s1388/training.riglog
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:c999a6a6f699f7f371b8717a24df5c7e8496a5bb5bcc47b6fd862825c360c89d
|
| 3 |
+
size 2678128
|
moe-gumbel-local-125M/125m-moe-local-k0-5tpp-bs16-lr2e-8-s1388/validation.csv
ADDED
|
@@ -0,0 +1,2 @@
|
|
|
|
|
|
|
|
|
|
| 1 |
+
step,tokens_processed,kind,domain,validation_tokens,validation_loss,perplexity,validation_seconds,canonical
|
| 2 |
+
4709,617218048,fineweb,fineweb,1048576,3.576480805873871,35.74751677448276,0.8418400180526078,true
|
moe-gumbel-local-125M/125m-moe-local-k1-5tpp-bs16-lr2e-8-s1350/diagnostics.riglog
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:34cc00d12246b7e65b5d2dd15a3b0231302960d600e0615c265acf88f343a4fd
|
| 3 |
+
size 552576
|
moe-gumbel-local-125M/125m-moe-local-k1-5tpp-bs16-lr2e-8-s1350/metrics.json
ADDED
|
@@ -0,0 +1,266 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"artifacts": {
|
| 3 |
+
"diagnostics": "diagnostics.riglog",
|
| 4 |
+
"training_curve": "training.riglog",
|
| 5 |
+
"validation_curve": "validation.csv"
|
| 6 |
+
},
|
| 7 |
+
"checkpoint": null,
|
| 8 |
+
"contract": {
|
| 9 |
+
"context_preset": "8k",
|
| 10 |
+
"dataset_id": "fineweb-8b-gpt2",
|
| 11 |
+
"model": {
|
| 12 |
+
"d_model": 640,
|
| 13 |
+
"heads": 10,
|
| 14 |
+
"layers": 12,
|
| 15 |
+
"mlp_activation": "gelu",
|
| 16 |
+
"mlp_mult": 4,
|
| 17 |
+
"normalization": "rms_norm",
|
| 18 |
+
"parameterization": "completep_fixed_tpp_v1",
|
| 19 |
+
"position_encoding": "rope_base_10000",
|
| 20 |
+
"semantic_vocab_size": 50304,
|
| 21 |
+
"tied_embeddings": false,
|
| 22 |
+
"tier": "125m",
|
| 23 |
+
"vocab_size": 50304
|
| 24 |
+
},
|
| 25 |
+
"model_id": "reference-gpt-v3-family",
|
| 26 |
+
"sequence_length": 8192,
|
| 27 |
+
"tokenizer_id": "gpt2"
|
| 28 |
+
},
|
| 29 |
+
"evaluations": {
|
| 30 |
+
"fineweb": {
|
| 31 |
+
"canonical": true,
|
| 32 |
+
"loss": 3.590303659439087,
|
| 33 |
+
"perplexity": 36.24508041637219,
|
| 34 |
+
"scored_tokens": 1048576,
|
| 35 |
+
"seconds": 0.8584785868879408
|
| 36 |
+
}
|
| 37 |
+
},
|
| 38 |
+
"implementation": {
|
| 39 |
+
"attention_backend": "tpu_flash",
|
| 40 |
+
"attention_tuning": {
|
| 41 |
+
"key_digest": "3d77f3dec34a89456ba8284f3d7d149016d9913126698de06073a72e1ff1a550",
|
| 42 |
+
"resolution_source": "heuristic",
|
| 43 |
+
"tiles": {
|
| 44 |
+
"block_kv": 512,
|
| 45 |
+
"block_kv_compute": 256,
|
| 46 |
+
"block_kv_dkv": 512,
|
| 47 |
+
"block_kv_dkv_compute": 256,
|
| 48 |
+
"block_kv_dq": 512,
|
| 49 |
+
"block_kv_dq_compute": 256,
|
| 50 |
+
"block_q": 512,
|
| 51 |
+
"block_q_dkv": 512,
|
| 52 |
+
"block_q_dkv_compute": 256,
|
| 53 |
+
"block_q_dq": 256
|
| 54 |
+
},
|
| 55 |
+
"tune_seconds": 0.0
|
| 56 |
+
},
|
| 57 |
+
"configuration": {
|
| 58 |
+
"context_preset": "8k",
|
| 59 |
+
"path": "dev.yaml",
|
| 60 |
+
"profile": "dev",
|
| 61 |
+
"resolved": {
|
| 62 |
+
"evaluation": {
|
| 63 |
+
"eval_batches": 8,
|
| 64 |
+
"final_predictions": 1048576,
|
| 65 |
+
"probe_predictions": 0,
|
| 66 |
+
"val_every": 0,
|
| 67 |
+
"val_probe_batches": 0
|
| 68 |
+
},
|
| 69 |
+
"kernels": {
|
| 70 |
+
"attention_backend": "tpu_flash",
|
| 71 |
+
"document_masking": true,
|
| 72 |
+
"loss_backend": "tiled",
|
| 73 |
+
"vocab_tile_size": 2048
|
| 74 |
+
},
|
| 75 |
+
"logging": {
|
| 76 |
+
"diagnostics_every": 10,
|
| 77 |
+
"log_every": 10
|
| 78 |
+
},
|
| 79 |
+
"model": {
|
| 80 |
+
"d_model": 640,
|
| 81 |
+
"heads": 10,
|
| 82 |
+
"layers": 12,
|
| 83 |
+
"mlp_activation": "gelu",
|
| 84 |
+
"mlp_mult": 4,
|
| 85 |
+
"normalization": "rms_norm",
|
| 86 |
+
"parameterization": "completep_fixed_tpp_v1",
|
| 87 |
+
"position_encoding": "rope_base_10000",
|
| 88 |
+
"semantic_vocab_size": 50304,
|
| 89 |
+
"tied_embeddings": false,
|
| 90 |
+
"tier": "125m",
|
| 91 |
+
"vocab_size": 50304
|
| 92 |
+
},
|
| 93 |
+
"optimizer": {
|
| 94 |
+
"adam_epsilon": 1e-08,
|
| 95 |
+
"beta1": 0.9,
|
| 96 |
+
"beta2": 0.95,
|
| 97 |
+
"effective": {
|
| 98 |
+
"adam_epsilon_horizon_multiplier": 1.4354161175193187,
|
| 99 |
+
"beta1": 0.9514661925028901,
|
| 100 |
+
"beta2": 0.975733096251445,
|
| 101 |
+
"global_peak_learning_rate": 0.0027213363096067,
|
| 102 |
+
"weight_decay_horizon_multiplier": 0.6966620952593152
|
| 103 |
+
},
|
| 104 |
+
"grad_clip": 0.0,
|
| 105 |
+
"learning_rate": 0.00390625,
|
| 106 |
+
"local_moe_steps": 1,
|
| 107 |
+
"min_lr_ratio": 0.1,
|
| 108 |
+
"warmup_steps": 471,
|
| 109 |
+
"weight_decay": 0.1
|
| 110 |
+
},
|
| 111 |
+
"parameterization": {
|
| 112 |
+
"attention_scale": "inverse_head_dim",
|
| 113 |
+
"base_depth": 12,
|
| 114 |
+
"base_width": 384,
|
| 115 |
+
"batch_ratio": 1.0,
|
| 116 |
+
"depth_alpha": 1.0,
|
| 117 |
+
"depth_multiplier": 1.0,
|
| 118 |
+
"embeddings": "untied",
|
| 119 |
+
"init_std": 0.02,
|
| 120 |
+
"ladder_data_multiplier": 2.0604194304342345,
|
| 121 |
+
"name": "completep_fixed_tpp_v1",
|
| 122 |
+
"width_multiplier": 1.6666666666666667
|
| 123 |
+
},
|
| 124 |
+
"training": {
|
| 125 |
+
"batch_size": 16,
|
| 126 |
+
"dtype": "bfloat16",
|
| 127 |
+
"sampling": "shuffled_epochs",
|
| 128 |
+
"seq_len": 8192,
|
| 129 |
+
"steps": 4709,
|
| 130 |
+
"target_tokens_per_parameter": 5.0,
|
| 131 |
+
"tokens_per_parameter": 4.999472268158278,
|
| 132 |
+
"train_tokens": 617218048
|
| 133 |
+
}
|
| 134 |
+
},
|
| 135 |
+
"schema_version": 6,
|
| 136 |
+
"sha256": "92c402bf8365d121c177cfae2a02e7423c09a840ba1cd9e7bdfeb6ca8203bf40"
|
| 137 |
+
},
|
| 138 |
+
"context_preset": "8k",
|
| 139 |
+
"document_masking": true,
|
| 140 |
+
"local_moe_optimization": {
|
| 141 |
+
"inner_optimizer": "stateless_sgd_existing_learning_rate_no_decay",
|
| 142 |
+
"objective": "variance_normalized_output_delta_plus_output_gradient",
|
| 143 |
+
"routing": "standard_gumbel_top_k_selection_clean_gate_weights",
|
| 144 |
+
"statistics": "per_layer_ema_input_output_output_gradient_second_moment",
|
| 145 |
+
"statistics_decay": "effective_adam_beta2",
|
| 146 |
+
"steps": 1
|
| 147 |
+
},
|
| 148 |
+
"loss_backend": "tiled",
|
| 149 |
+
"vocab_tile_size": 2048,
|
| 150 |
+
"weight_decay_policy": "weights_and_embeddings_only_v2"
|
| 151 |
+
},
|
| 152 |
+
"metrics": {
|
| 153 |
+
"achieved_tflops": 421.83010666986337,
|
| 154 |
+
"attention_tune_seconds": 0.0,
|
| 155 |
+
"base_learning_rate": 0.00390625,
|
| 156 |
+
"diagnostic_compile_seconds": 118.28180059499573,
|
| 157 |
+
"diagnostic_point_count": 472,
|
| 158 |
+
"diagnostics_every": 10,
|
| 159 |
+
"estimated_total_flops": 992214057694003200,
|
| 160 |
+
"eval_compile_seconds": 18.97056029108353,
|
| 161 |
+
"expert_top_k": 2,
|
| 162 |
+
"experts": 8,
|
| 163 |
+
"final_validation_seconds": 0.8584785868879408,
|
| 164 |
+
"flop_accounting": {
|
| 165 |
+
"by_site": {
|
| 166 |
+
"dot_general": 3118894940160,
|
| 167 |
+
"pallas_call": 3865470566400,
|
| 168 |
+
"tpu_flash_causal_attention_bwd_dkv": 2061584302080,
|
| 169 |
+
"tpu_flash_causal_attention_bwd_dq": 2061584302080,
|
| 170 |
+
"tpu_flash_causal_attention_fwd": 2061584302080
|
| 171 |
+
},
|
| 172 |
+
"elementwise_per_sequence": 20329282026,
|
| 173 |
+
"matmul_per_sequence": 13169118412800,
|
| 174 |
+
"method": "traced-jaxpr",
|
| 175 |
+
"warnings": []
|
| 176 |
+
},
|
| 177 |
+
"flops_per_token": 1607558400,
|
| 178 |
+
"local_moe": {
|
| 179 |
+
"final_mean_input_rms": 3.645251512527466,
|
| 180 |
+
"final_mean_objective": 0.5166307091712952,
|
| 181 |
+
"final_mean_output_gradient_rms": 1.0687347185012186e-07,
|
| 182 |
+
"final_mean_output_rms": 4.138312816619873,
|
| 183 |
+
"steps_per_global_update": 1
|
| 184 |
+
},
|
| 185 |
+
"mfu_estimate": 0.09587047878860532,
|
| 186 |
+
"model_tier": "125m",
|
| 187 |
+
"parameter_count": 123525760,
|
| 188 |
+
"parameters": 241628800,
|
| 189 |
+
"schedule_steps": 4709,
|
| 190 |
+
"stop_after_step": null,
|
| 191 |
+
"target_tokens_per_parameter": 5.0,
|
| 192 |
+
"tokens_per_parameter": 4.999472268158278,
|
| 193 |
+
"tokens_per_second": 262404.21913745924,
|
| 194 |
+
"tokens_processed": 617218048,
|
| 195 |
+
"total_compile_seconds": 219.73423614818603,
|
| 196 |
+
"total_parameter_count": 241628800,
|
| 197 |
+
"train_compile_seconds": 82.48187526210677,
|
| 198 |
+
"train_loss": 3.5214924812316895,
|
| 199 |
+
"train_seconds": 2352.1651062960736,
|
| 200 |
+
"training_data_epochs": 0.07812906684585416,
|
| 201 |
+
"training_data_sharding": "rank_disjoint_shuffled_windows",
|
| 202 |
+
"training_sampling": "shuffled_epochs",
|
| 203 |
+
"training_steps": 4709,
|
| 204 |
+
"training_token_budget": 617218048,
|
| 205 |
+
"training_usable_tokens_per_epoch": 7899979776,
|
| 206 |
+
"validation_loss": 3.590303659439087,
|
| 207 |
+
"validation_probe_count": 0,
|
| 208 |
+
"validation_probe_seconds": 0.0,
|
| 209 |
+
"validation_tokens": 1048576
|
| 210 |
+
},
|
| 211 |
+
"profile": "dev",
|
| 212 |
+
"schema_version": 1,
|
| 213 |
+
"seed": 1350,
|
| 214 |
+
"status": "ok",
|
| 215 |
+
"system": {
|
| 216 |
+
"controller_process_index": 1,
|
| 217 |
+
"device_count": 16,
|
| 218 |
+
"device_ids": [
|
| 219 |
+
0,
|
| 220 |
+
1,
|
| 221 |
+
2,
|
| 222 |
+
3,
|
| 223 |
+
4,
|
| 224 |
+
5,
|
| 225 |
+
6,
|
| 226 |
+
7,
|
| 227 |
+
8,
|
| 228 |
+
9,
|
| 229 |
+
10,
|
| 230 |
+
11,
|
| 231 |
+
12,
|
| 232 |
+
13,
|
| 233 |
+
14,
|
| 234 |
+
15
|
| 235 |
+
],
|
| 236 |
+
"device_kinds": [
|
| 237 |
+
"TPU v4"
|
| 238 |
+
],
|
| 239 |
+
"jax_version": "0.11.0",
|
| 240 |
+
"jaxlib_version": "0.11.0",
|
| 241 |
+
"libtpu_version": "0.0.44.1",
|
| 242 |
+
"local_device_count": 4,
|
| 243 |
+
"platform": "tpu",
|
| 244 |
+
"process_count": 4,
|
| 245 |
+
"process_indices": [
|
| 246 |
+
0,
|
| 247 |
+
0,
|
| 248 |
+
0,
|
| 249 |
+
0,
|
| 250 |
+
1,
|
| 251 |
+
1,
|
| 252 |
+
1,
|
| 253 |
+
1,
|
| 254 |
+
2,
|
| 255 |
+
2,
|
| 256 |
+
2,
|
| 257 |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"artifacts": {
|
| 3 |
+
"diagnostics": "diagnostics.riglog",
|
| 4 |
+
"training_curve": "training.riglog",
|
| 5 |
+
"validation_curve": "validation.csv"
|
| 6 |
+
},
|
| 7 |
+
"checkpoint": null,
|
| 8 |
+
"contract": {
|
| 9 |
+
"context_preset": "8k",
|
| 10 |
+
"dataset_id": "fineweb-8b-gpt2",
|
| 11 |
+
"model": {
|
| 12 |
+
"d_model": 640,
|
| 13 |
+
"heads": 10,
|
| 14 |
+
"layers": 12,
|
| 15 |
+
"mlp_activation": "gelu",
|
| 16 |
+
"mlp_mult": 4,
|
| 17 |
+
"normalization": "rms_norm",
|
| 18 |
+
"parameterization": "completep_fixed_tpp_v1",
|
| 19 |
+
"position_encoding": "rope_base_10000",
|
| 20 |
+
"semantic_vocab_size": 50304,
|
| 21 |
+
"tied_embeddings": false,
|
| 22 |
+
"tier": "125m",
|
| 23 |
+
"vocab_size": 50304
|
| 24 |
+
},
|
| 25 |
+
"model_id": "reference-gpt-v3-family",
|
| 26 |
+
"sequence_length": 8192,
|
| 27 |
+
"tokenizer_id": "gpt2"
|
| 28 |
+
},
|
| 29 |
+
"evaluations": {
|
| 30 |
+
"fineweb": {
|
| 31 |
+
"canonical": true,
|
| 32 |
+
"loss": 3.590303659439087,
|
| 33 |
+
"perplexity": 36.24508041637219,
|
| 34 |
+
"scored_tokens": 1048576,
|
| 35 |
+
"seconds": 0.8584785868879408
|
| 36 |
+
}
|
| 37 |
+
},
|
| 38 |
+
"implementation": {
|
| 39 |
+
"attention_backend": "tpu_flash",
|
| 40 |
+
"attention_tuning": {
|
| 41 |
+
"key_digest": "3d77f3dec34a89456ba8284f3d7d149016d9913126698de06073a72e1ff1a550",
|
| 42 |
+
"resolution_source": "heuristic",
|
| 43 |
+
"tiles": {
|
| 44 |
+
"block_kv": 512,
|
| 45 |
+
"block_kv_compute": 256,
|
| 46 |
+
"block_kv_dkv": 512,
|
| 47 |
+
"block_kv_dkv_compute": 256,
|
| 48 |
+
"block_kv_dq": 512,
|
| 49 |
+
"block_kv_dq_compute": 256,
|
| 50 |
+
"block_q": 512,
|
| 51 |
+
"block_q_dkv": 512,
|
| 52 |
+
"block_q_dkv_compute": 256,
|
| 53 |
+
"block_q_dq": 256
|
| 54 |
+
},
|
| 55 |
+
"tune_seconds": 0.0
|
| 56 |
+
},
|
| 57 |
+
"configuration": {
|
| 58 |
+
"context_preset": "8k",
|
| 59 |
+
"path": "dev.yaml",
|
| 60 |
+
"profile": "dev",
|
| 61 |
+
"resolved": {
|
| 62 |
+
"evaluation": {
|
| 63 |
+
"eval_batches": 8,
|
| 64 |
+
"final_predictions": 1048576,
|
| 65 |
+
"probe_predictions": 0,
|
| 66 |
+
"val_every": 0,
|
| 67 |
+
"val_probe_batches": 0
|
| 68 |
+
},
|
| 69 |
+
"kernels": {
|
| 70 |
+
"attention_backend": "tpu_flash",
|
| 71 |
+
"document_masking": true,
|
| 72 |
+
"loss_backend": "tiled",
|
| 73 |
+
"vocab_tile_size": 2048
|
| 74 |
+
},
|
| 75 |
+
"logging": {
|
| 76 |
+
"diagnostics_every": 10,
|
| 77 |
+
"log_every": 10
|
| 78 |
+
},
|
| 79 |
+
"model": {
|
| 80 |
+
"d_model": 640,
|
| 81 |
+
"heads": 10,
|
| 82 |
+
"layers": 12,
|
| 83 |
+
"mlp_activation": "gelu",
|
| 84 |
+
"mlp_mult": 4,
|
| 85 |
+
"normalization": "rms_norm",
|
| 86 |
+
"parameterization": "completep_fixed_tpp_v1",
|
| 87 |
+
"position_encoding": "rope_base_10000",
|
| 88 |
+
"semantic_vocab_size": 50304,
|
| 89 |
+
"tied_embeddings": false,
|
| 90 |
+
"tier": "125m",
|
| 91 |
+
"vocab_size": 50304
|
| 92 |
+
},
|
| 93 |
+
"optimizer": {
|
| 94 |
+
"adam_epsilon": 1e-08,
|
| 95 |
+
"beta1": 0.9,
|
| 96 |
+
"beta2": 0.95,
|
| 97 |
+
"effective": {
|
| 98 |
+
"adam_epsilon_horizon_multiplier": 1.4354161175193187,
|
| 99 |
+
"beta1": 0.9514661925028901,
|
| 100 |
+
"beta2": 0.975733096251445,
|
| 101 |
+
"global_peak_learning_rate": 0.0027213363096067,
|
| 102 |
+
"weight_decay_horizon_multiplier": 0.6966620952593152
|
| 103 |
+
},
|
| 104 |
+
"grad_clip": 0.0,
|
| 105 |
+
"learning_rate": 0.00390625,
|
| 106 |
+
"local_moe_steps": 1,
|
| 107 |
+
"min_lr_ratio": 0.1,
|
| 108 |
+
"warmup_steps": 471,
|
| 109 |
+
"weight_decay": 0.1
|
| 110 |
+
},
|
| 111 |
+
"parameterization": {
|
| 112 |
+
"attention_scale": "inverse_head_dim",
|
| 113 |
+
"base_depth": 12,
|
| 114 |
+
"base_width": 384,
|
| 115 |
+
"batch_ratio": 1.0,
|
| 116 |
+
"depth_alpha": 1.0,
|
| 117 |
+
"depth_multiplier": 1.0,
|
| 118 |
+
"embeddings": "untied",
|
| 119 |
+
"init_std": 0.02,
|
| 120 |
+
"ladder_data_multiplier": 2.0604194304342345,
|
| 121 |
+
"name": "completep_fixed_tpp_v1",
|
| 122 |
+
"width_multiplier": 1.6666666666666667
|
| 123 |
+
},
|
| 124 |
+
"training": {
|
| 125 |
+
"batch_size": 16,
|
| 126 |
+
"dtype": "bfloat16",
|
| 127 |
+
"sampling": "shuffled_epochs",
|
| 128 |
+
"seq_len": 8192,
|
| 129 |
+
"steps": 4709,
|
| 130 |
+
"target_tokens_per_parameter": 5.0,
|
| 131 |
+
"tokens_per_parameter": 4.999472268158278,
|
| 132 |
+
"train_tokens": 617218048
|
| 133 |
+
}
|
| 134 |
+
},
|
| 135 |
+
"schema_version": 6,
|
| 136 |
+
"sha256": "92c402bf8365d121c177cfae2a02e7423c09a840ba1cd9e7bdfeb6ca8203bf40"
|
| 137 |
+
},
|
| 138 |
+
"context_preset": "8k",
|
| 139 |
+
"document_masking": true,
|
| 140 |
+
"local_moe_optimization": {
|
| 141 |
+
"inner_optimizer": "stateless_sgd_existing_learning_rate_no_decay",
|
| 142 |
+
"objective": "variance_normalized_output_delta_plus_output_gradient",
|
| 143 |
+
"routing": "standard_gumbel_top_k_selection_clean_gate_weights",
|
| 144 |
+
"statistics": "per_layer_ema_input_output_output_gradient_second_moment",
|
| 145 |
+
"statistics_decay": "effective_adam_beta2",
|
| 146 |
+
"steps": 1
|
| 147 |
+
},
|
| 148 |
+
"loss_backend": "tiled",
|
| 149 |
+
"vocab_tile_size": 2048,
|
| 150 |
+
"weight_decay_policy": "weights_and_embeddings_only_v2"
|
| 151 |
+
},
|
| 152 |
+
"metrics": {
|
| 153 |
+
"achieved_tflops": 421.83010666986337,
|
| 154 |
+
"attention_tune_seconds": 0.0,
|
| 155 |
+
"base_learning_rate": 0.00390625,
|
| 156 |
+
"diagnostic_compile_seconds": 118.28180059499573,
|
| 157 |
+
"diagnostic_point_count": 472,
|
| 158 |
+
"diagnostics_every": 10,
|
| 159 |
+
"estimated_total_flops": 992214057694003200,
|
| 160 |
+
"eval_compile_seconds": 18.97056029108353,
|
| 161 |
+
"expert_top_k": 2,
|
| 162 |
+
"experts": 8,
|
| 163 |
+
"final_validation_seconds": 0.8584785868879408,
|
| 164 |
+
"flop_accounting": {
|
| 165 |
+
"by_site": {
|
| 166 |
+
"dot_general": 3118894940160,
|
| 167 |
+
"pallas_call": 3865470566400,
|
| 168 |
+
"tpu_flash_causal_attention_bwd_dkv": 2061584302080,
|
| 169 |
+
"tpu_flash_causal_attention_bwd_dq": 2061584302080,
|
| 170 |
+
"tpu_flash_causal_attention_fwd": 2061584302080
|
| 171 |
+
},
|
| 172 |
+
"elementwise_per_sequence": 20329282026,
|
| 173 |
+
"matmul_per_sequence": 13169118412800,
|
| 174 |
+
"method": "traced-jaxpr",
|
| 175 |
+
"warnings": []
|
| 176 |
+
},
|
| 177 |
+
"flops_per_token": 1607558400,
|
| 178 |
+
"local_moe": {
|
| 179 |
+
"final_mean_input_rms": 3.645251512527466,
|
| 180 |
+
"final_mean_objective": 0.5166307091712952,
|
| 181 |
+
"final_mean_output_gradient_rms": 1.0687347185012186e-07,
|
| 182 |
+
"final_mean_output_rms": 4.138312816619873,
|
| 183 |
+
"steps_per_global_update": 1
|
| 184 |
+
},
|
| 185 |
+
"mfu_estimate": 0.09587047878860532,
|
| 186 |
+
"model_tier": "125m",
|
| 187 |
+
"parameter_count": 123525760,
|
| 188 |
+
"parameters": 241628800,
|
| 189 |
+
"schedule_steps": 4709,
|
| 190 |
+
"stop_after_step": null,
|
| 191 |
+
"target_tokens_per_parameter": 5.0,
|
| 192 |
+
"tokens_per_parameter": 4.999472268158278,
|
| 193 |
+
"tokens_per_second": 262404.21913745924,
|
| 194 |
+
"tokens_processed": 617218048,
|
| 195 |
+
"total_compile_seconds": 219.73423614818603,
|
| 196 |
+
"total_parameter_count": 241628800,
|
| 197 |
+
"train_compile_seconds": 82.48187526210677,
|
| 198 |
+
"train_loss": 3.5214924812316895,
|
| 199 |
+
"train_seconds": 2352.1651062960736,
|
| 200 |
+
"training_data_epochs": 0.07812906684585416,
|
| 201 |
+
"training_data_sharding": "rank_disjoint_shuffled_windows",
|
| 202 |
+
"training_sampling": "shuffled_epochs",
|
| 203 |
+
"training_steps": 4709,
|
| 204 |
+
"training_token_budget": 617218048,
|
| 205 |
+
"training_usable_tokens_per_epoch": 7899979776,
|
| 206 |
+
"validation_loss": 3.590303659439087,
|
| 207 |
+
"validation_probe_count": 0,
|
| 208 |
+
"validation_probe_seconds": 0.0,
|
| 209 |
+
"validation_tokens": 1048576
|
| 210 |
+
},
|
| 211 |
+
"profile": "dev",
|
| 212 |
+
"schema_version": 1,
|
| 213 |
+
"seed": 1350,
|
| 214 |
+
"status": "ok",
|
| 215 |
+
"system": {
|
| 216 |
+
"controller_process_index": 1,
|
| 217 |
+
"device_count": 16,
|
| 218 |
+
"device_ids": [
|
| 219 |
+
0,
|
| 220 |
+
1,
|
| 221 |
+
2,
|
| 222 |
+
3,
|
| 223 |
+
4,
|
| 224 |
+
5,
|
| 225 |
+
6,
|
| 226 |
+
7,
|
| 227 |
+
8,
|
| 228 |
+
9,
|
| 229 |
+
10,
|
| 230 |
+
11,
|
| 231 |
+
12,
|
| 232 |
+
13,
|
| 233 |
+
14,
|
| 234 |
+
15
|
| 235 |
+
],
|
| 236 |
+
"device_kinds": [
|
| 237 |
+
"TPU v4"
|
| 238 |
+
],
|
| 239 |
+
"jax_version": "0.11.0",
|
| 240 |
+
"jaxlib_version": "0.11.0",
|
| 241 |
+
"libtpu_version": "0.0.44.1",
|
| 242 |
+
"local_device_count": 4,
|
| 243 |
+
"platform": "tpu",
|
| 244 |
+
"process_count": 4,
|
| 245 |
+
"process_indices": [
|
| 246 |
+
0,
|
| 247 |
+
0,
|
| 248 |
+
0,
|
| 249 |
+
0,
|
| 250 |
+
1,
|
| 251 |
+
1,
|
| 252 |
+
1,
|
| 253 |
+
1,
|
| 254 |
+
2,
|
| 255 |
+
2,
|
| 256 |
+
2,
|
| 257 |
+
2,
|
| 258 |
+
3,
|
| 259 |
+
3,
|
| 260 |
+
3,
|
| 261 |
+
3
|
| 262 |
+
],
|
| 263 |
+
"python_version": "3.12.13"
|
| 264 |
+
},
|
| 265 |
+
"track": "open"
|
| 266 |
+
}
|
moe-gumbel-local-125M/125m-moe-local-k1-5tpp-bs16-lr2e-8-s1350/training.riglog
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:fc23b811571525b71470f5640425dc066d8de930cb3e7d3a7c54a0582e72d1fc
|
| 3 |
+
size 3583408
|
moe-gumbel-local-125M/125m-moe-local-k1-5tpp-bs16-lr2e-8-s1350/validation.csv
ADDED
|
@@ -0,0 +1,2 @@
|
|
|
|
|
|
|
|
|
|
| 1 |
+
step,tokens_processed,kind,domain,validation_tokens,validation_loss,perplexity,validation_seconds,canonical
|
| 2 |
+
4709,617218048,fineweb,fineweb,1048576,3.590303659439087,36.24508041637219,0.8584785868879408,true
|
moe-gumbel-local-125M/125m-moe-local-k2-5tpp-bs16-lr2e-8-s1350/diagnostics.riglog
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:9e92da86dbe77ed05067241716cb56f4a849f292526930459221112aa5337d46
|
| 3 |
+
size 552576
|
moe-gumbel-local-125M/125m-moe-local-k2-5tpp-bs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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"artifacts": {
|
| 3 |
+
"diagnostics": "diagnostics.riglog",
|
| 4 |
+
"training_curve": "training.riglog",
|
| 5 |
+
"validation_curve": "validation.csv"
|
| 6 |
+
},
|
| 7 |
+
"checkpoint": null,
|
| 8 |
+
"contract": {
|
| 9 |
+
"context_preset": "8k",
|
| 10 |
+
"dataset_id": "fineweb-8b-gpt2",
|
| 11 |
+
"model": {
|
| 12 |
+
"d_model": 640,
|
| 13 |
+
"heads": 10,
|
| 14 |
+
"layers": 12,
|
| 15 |
+
"mlp_activation": "gelu",
|
| 16 |
+
"mlp_mult": 4,
|
| 17 |
+
"normalization": "rms_norm",
|
| 18 |
+
"parameterization": "completep_fixed_tpp_v1",
|
| 19 |
+
"position_encoding": "rope_base_10000",
|
| 20 |
+
"semantic_vocab_size": 50304,
|
| 21 |
+
"tied_embeddings": false,
|
| 22 |
+
"tier": "125m",
|
| 23 |
+
"vocab_size": 50304
|
| 24 |
+
},
|
| 25 |
+
"model_id": "reference-gpt-v3-family",
|
| 26 |
+
"sequence_length": 8192,
|
| 27 |
+
"tokenizer_id": "gpt2"
|
| 28 |
+
},
|
| 29 |
+
"evaluations": {
|
| 30 |
+
"fineweb": {
|
| 31 |
+
"canonical": true,
|
| 32 |
+
"loss": 3.5780301094055176,
|
| 33 |
+
"perplexity": 35.80294345375713,
|
| 34 |
+
"scored_tokens": 1048576,
|
| 35 |
+
"seconds": 0.8424904979765415
|
| 36 |
+
}
|
| 37 |
+
},
|
| 38 |
+
"implementation": {
|
| 39 |
+
"attention_backend": "tpu_flash",
|
| 40 |
+
"attention_tuning": {
|
| 41 |
+
"key_digest": "3d77f3dec34a89456ba8284f3d7d149016d9913126698de06073a72e1ff1a550",
|
| 42 |
+
"resolution_source": "heuristic",
|
| 43 |
+
"tiles": {
|
| 44 |
+
"block_kv": 512,
|
| 45 |
+
"block_kv_compute": 256,
|
| 46 |
+
"block_kv_dkv": 512,
|
| 47 |
+
"block_kv_dkv_compute": 256,
|
| 48 |
+
"block_kv_dq": 512,
|
| 49 |
+
"block_kv_dq_compute": 256,
|
| 50 |
+
"block_q": 512,
|
| 51 |
+
"block_q_dkv": 512,
|
| 52 |
+
"block_q_dkv_compute": 256,
|
| 53 |
+
"block_q_dq": 256
|
| 54 |
+
},
|
| 55 |
+
"tune_seconds": 0.0
|
| 56 |
+
},
|
| 57 |
+
"configuration": {
|
| 58 |
+
"context_preset": "8k",
|
| 59 |
+
"path": "dev.yaml",
|
| 60 |
+
"profile": "dev",
|
| 61 |
+
"resolved": {
|
| 62 |
+
"evaluation": {
|
| 63 |
+
"eval_batches": 8,
|
| 64 |
+
"final_predictions": 1048576,
|
| 65 |
+
"probe_predictions": 0,
|
| 66 |
+
"val_every": 0,
|
| 67 |
+
"val_probe_batches": 0
|
| 68 |
+
},
|
| 69 |
+
"kernels": {
|
| 70 |
+
"attention_backend": "tpu_flash",
|
| 71 |
+
"document_masking": true,
|
| 72 |
+
"loss_backend": "tiled",
|
| 73 |
+
"vocab_tile_size": 2048
|
| 74 |
+
},
|
| 75 |
+
"logging": {
|
| 76 |
+
"diagnostics_every": 10,
|
| 77 |
+
"log_every": 10
|
| 78 |
+
},
|
| 79 |
+
"model": {
|
| 80 |
+
"d_model": 640,
|
| 81 |
+
"heads": 10,
|
| 82 |
+
"layers": 12,
|
| 83 |
+
"mlp_activation": "gelu",
|
| 84 |
+
"mlp_mult": 4,
|
| 85 |
+
"normalization": "rms_norm",
|
| 86 |
+
"parameterization": "completep_fixed_tpp_v1",
|
| 87 |
+
"position_encoding": "rope_base_10000",
|
| 88 |
+
"semantic_vocab_size": 50304,
|
| 89 |
+
"tied_embeddings": false,
|
| 90 |
+
"tier": "125m",
|
| 91 |
+
"vocab_size": 50304
|
| 92 |
+
},
|
| 93 |
+
"optimizer": {
|
| 94 |
+
"adam_epsilon": 1e-08,
|
| 95 |
+
"beta1": 0.9,
|
| 96 |
+
"beta2": 0.95,
|
| 97 |
+
"effective": {
|
| 98 |
+
"adam_epsilon_horizon_multiplier": 1.4354161175193187,
|
| 99 |
+
"beta1": 0.9514661925028901,
|
| 100 |
+
"beta2": 0.975733096251445,
|
| 101 |
+
"global_peak_learning_rate": 0.0027213363096067,
|
| 102 |
+
"weight_decay_horizon_multiplier": 0.6966620952593152
|
| 103 |
+
},
|
| 104 |
+
"grad_clip": 0.0,
|
| 105 |
+
"learning_rate": 0.00390625,
|
| 106 |
+
"local_moe_steps": 2,
|
| 107 |
+
"min_lr_ratio": 0.1,
|
| 108 |
+
"warmup_steps": 471,
|
| 109 |
+
"weight_decay": 0.1
|
| 110 |
+
},
|
| 111 |
+
"parameterization": {
|
| 112 |
+
"attention_scale": "inverse_head_dim",
|
| 113 |
+
"base_depth": 12,
|
| 114 |
+
"base_width": 384,
|
| 115 |
+
"batch_ratio": 1.0,
|
| 116 |
+
"depth_alpha": 1.0,
|
| 117 |
+
"depth_multiplier": 1.0,
|
| 118 |
+
"embeddings": "untied",
|
| 119 |
+
"init_std": 0.02,
|
| 120 |
+
"ladder_data_multiplier": 2.0604194304342345,
|
| 121 |
+
"name": "completep_fixed_tpp_v1",
|
| 122 |
+
"width_multiplier": 1.6666666666666667
|
| 123 |
+
},
|
| 124 |
+
"training": {
|
| 125 |
+
"batch_size": 16,
|
| 126 |
+
"dtype": "bfloat16",
|
| 127 |
+
"sampling": "shuffled_epochs",
|
| 128 |
+
"seq_len": 8192,
|
| 129 |
+
"steps": 4709,
|
| 130 |
+
"target_tokens_per_parameter": 5.0,
|
| 131 |
+
"tokens_per_parameter": 4.999472268158278,
|
| 132 |
+
"train_tokens": 617218048
|
| 133 |
+
}
|
| 134 |
+
},
|
| 135 |
+
"schema_version": 6,
|
| 136 |
+
"sha256": "92c402bf8365d121c177cfae2a02e7423c09a840ba1cd9e7bdfeb6ca8203bf40"
|
| 137 |
+
},
|
| 138 |
+
"context_preset": "8k",
|
| 139 |
+
"document_masking": true,
|
| 140 |
+
"local_moe_optimization": {
|
| 141 |
+
"inner_optimizer": "stateless_sgd_existing_learning_rate_no_decay",
|
| 142 |
+
"objective": "variance_normalized_output_delta_plus_output_gradient",
|
| 143 |
+
"routing": "standard_gumbel_top_k_selection_clean_gate_weights",
|
| 144 |
+
"statistics": "per_layer_ema_input_output_output_gradient_second_moment",
|
| 145 |
+
"statistics_decay": "effective_adam_beta2",
|
| 146 |
+
"steps": 2
|
| 147 |
+
},
|
| 148 |
+
"loss_backend": "tiled",
|
| 149 |
+
"vocab_tile_size": 2048,
|
| 150 |
+
"weight_decay_policy": "weights_and_embeddings_only_v2"
|
| 151 |
+
},
|
| 152 |
+
"metrics": {
|
| 153 |
+
"achieved_tflops": 369.2579097207201,
|
| 154 |
+
"attention_tune_seconds": 0.0,
|
| 155 |
+
"base_learning_rate": 0.00390625,
|
| 156 |
+
"diagnostic_compile_seconds": 146.76210082997568,
|
| 157 |
+
"diagnostic_point_count": 472,
|
| 158 |
+
"diagnostics_every": 10,
|
| 159 |
+
"estimated_total_flops": 1137985752378900480,
|
| 160 |
+
"eval_compile_seconds": 21.248081248952076,
|
| 161 |
+
"expert_top_k": 2,
|
| 162 |
+
"experts": 8,
|
| 163 |
+
"final_validation_seconds": 0.8424904979765415,
|
| 164 |
+
"flop_accounting": {
|
| 165 |
+
"by_site": {
|
| 166 |
+
"dot_general": 3120908206080,
|
| 167 |
+
"pallas_call": 5798205849600,
|
| 168 |
+
"tpu_flash_causal_attention_bwd_dkv": 2061584302080,
|
| 169 |
+
"tpu_flash_causal_attention_bwd_dq": 2061584302080,
|
| 170 |
+
"tpu_flash_causal_attention_fwd": 2061584302080
|
| 171 |
+
},
|
| 172 |
+
"elementwise_per_sequence": 27341612828,
|
| 173 |
+
"matmul_per_sequence": 15103866961920,
|
| 174 |
+
"method": "traced-jaxpr",
|
| 175 |
+
"warnings": []
|
| 176 |
+
},
|
| 177 |
+
"flops_per_token": 1843733760,
|
| 178 |
+
"local_moe": {
|
| 179 |
+
"final_mean_input_rms": 3.490947961807251,
|
| 180 |
+
"final_mean_objective": 0.5151281952857971,
|
| 181 |
+
"final_mean_output_gradient_rms": 9.746236173668876e-08,
|
| 182 |
+
"final_mean_output_rms": 3.9241905212402344,
|
| 183 |
+
"steps_per_global_update": 2
|
| 184 |
+
},
|
| 185 |
+
"mfu_estimate": 0.08392225220925456,
|
| 186 |
+
"model_tier": "125m",
|
| 187 |
+
"parameter_count": 123525760,
|
| 188 |
+
"parameters": 241628800,
|
| 189 |
+
"schedule_steps": 4709,
|
| 190 |
+
"stop_after_step": null,
|
| 191 |
+
"target_tokens_per_parameter": 5.0,
|
| 192 |
+
"tokens_per_parameter": 4.999472268158278,
|
| 193 |
+
"tokens_per_second": 200277.24052778646,
|
| 194 |
+
"tokens_processed": 617218048,
|
| 195 |
+
"total_compile_seconds": 265.645848918939,
|
| 196 |
+
"total_parameter_count": 241628800,
|
| 197 |
+
"train_compile_seconds": 97.63566684001125,
|
| 198 |
+
"train_loss": 3.5107932090759277,
|
| 199 |
+
"train_seconds": 3081.818215457024,
|
| 200 |
+
"training_data_epochs": 0.07812906684585416,
|
| 201 |
+
"training_data_sharding": "rank_disjoint_shuffled_windows",
|
| 202 |
+
"training_sampling": "shuffled_epochs",
|
| 203 |
+
"training_steps": 4709,
|
| 204 |
+
"training_token_budget": 617218048,
|
| 205 |
+
"training_usable_tokens_per_epoch": 7899979776,
|
| 206 |
+
"validation_loss": 3.5780301094055176,
|
| 207 |
+
"validation_probe_count": 0,
|
| 208 |
+
"validation_probe_seconds": 0.0,
|
| 209 |
+
"validation_tokens": 1048576
|
| 210 |
+
},
|
| 211 |
+
"profile": "dev",
|
| 212 |
+
"schema_version": 1,
|
| 213 |
+
"seed": 1350,
|
| 214 |
+
"status": "ok",
|
| 215 |
+
"system": {
|
| 216 |
+
"controller_process_index": 1,
|
| 217 |
+
"device_count": 16,
|
| 218 |
+
"device_ids": [
|
| 219 |
+
0,
|
| 220 |
+
1,
|
| 221 |
+
2,
|
| 222 |
+
3,
|
| 223 |
+
4,
|
| 224 |
+
5,
|
| 225 |
+
6,
|
| 226 |
+
7,
|
| 227 |
+
8,
|
| 228 |
+
9,
|
| 229 |
+
10,
|
| 230 |
+
11,
|
| 231 |
+
12,
|
| 232 |
+
13,
|
| 233 |
+
14,
|
| 234 |
+
15
|
| 235 |
+
],
|
| 236 |
+
"device_kinds": [
|
| 237 |
+
"TPU v4"
|
| 238 |
+
],
|
| 239 |
+
"jax_version": "0.11.0",
|
| 240 |
+
"jaxlib_version": "0.11.0",
|
| 241 |
+
"libtpu_version": "0.0.44.1",
|
| 242 |
+
"local_device_count": 4,
|
| 243 |
+
"platform": "tpu",
|
| 244 |
+
"process_count": 4,
|
| 245 |
+
"process_indices": [
|
| 246 |
+
0,
|
| 247 |
+
0,
|
| 248 |
+
0,
|
| 249 |
+
0,
|
| 250 |
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"contract": {
|
| 9 |
+
"context_preset": "8k",
|
| 10 |
+
"dataset_id": "fineweb-8b-gpt2",
|
| 11 |
+
"model": {
|
| 12 |
+
"d_model": 640,
|
| 13 |
+
"heads": 10,
|
| 14 |
+
"layers": 12,
|
| 15 |
+
"mlp_activation": "gelu",
|
| 16 |
+
"mlp_mult": 4,
|
| 17 |
+
"normalization": "rms_norm",
|
| 18 |
+
"parameterization": "completep_fixed_tpp_v1",
|
| 19 |
+
"position_encoding": "rope_base_10000",
|
| 20 |
+
"semantic_vocab_size": 50304,
|
| 21 |
+
"tied_embeddings": false,
|
| 22 |
+
"tier": "125m",
|
| 23 |
+
"vocab_size": 50304
|
| 24 |
+
},
|
| 25 |
+
"model_id": "reference-gpt-v3-family",
|
| 26 |
+
"sequence_length": 8192,
|
| 27 |
+
"tokenizer_id": "gpt2"
|
| 28 |
+
},
|
| 29 |
+
"evaluations": {
|
| 30 |
+
"fineweb": {
|
| 31 |
+
"canonical": true,
|
| 32 |
+
"loss": 3.5780301094055176,
|
| 33 |
+
"perplexity": 35.80294345375713,
|
| 34 |
+
"scored_tokens": 1048576,
|
| 35 |
+
"seconds": 0.8424904979765415
|
| 36 |
+
}
|
| 37 |
+
},
|
| 38 |
+
"implementation": {
|
| 39 |
+
"attention_backend": "tpu_flash",
|
| 40 |
+
"attention_tuning": {
|
| 41 |
+
"key_digest": "3d77f3dec34a89456ba8284f3d7d149016d9913126698de06073a72e1ff1a550",
|
| 42 |
+
"resolution_source": "heuristic",
|
| 43 |
+
"tiles": {
|
| 44 |
+
"block_kv": 512,
|
| 45 |
+
"block_kv_compute": 256,
|
| 46 |
+
"block_kv_dkv": 512,
|
| 47 |
+
"block_kv_dkv_compute": 256,
|
| 48 |
+
"block_kv_dq": 512,
|
| 49 |
+
"block_kv_dq_compute": 256,
|
| 50 |
+
"block_q": 512,
|
| 51 |
+
"block_q_dkv": 512,
|
| 52 |
+
"block_q_dkv_compute": 256,
|
| 53 |
+
"block_q_dq": 256
|
| 54 |
+
},
|
| 55 |
+
"tune_seconds": 0.0
|
| 56 |
+
},
|
| 57 |
+
"configuration": {
|
| 58 |
+
"context_preset": "8k",
|
| 59 |
+
"path": "dev.yaml",
|
| 60 |
+
"profile": "dev",
|
| 61 |
+
"resolved": {
|
| 62 |
+
"evaluation": {
|
| 63 |
+
"eval_batches": 8,
|
| 64 |
+
"final_predictions": 1048576,
|
| 65 |
+
"probe_predictions": 0,
|
| 66 |
+
"val_every": 0,
|
| 67 |
+
"val_probe_batches": 0
|
| 68 |
+
},
|
| 69 |
+
"kernels": {
|
| 70 |
+
"attention_backend": "tpu_flash",
|
| 71 |
+
"document_masking": true,
|
| 72 |
+
"loss_backend": "tiled",
|
| 73 |
+
"vocab_tile_size": 2048
|
| 74 |
+
},
|
| 75 |
+
"logging": {
|
| 76 |
+
"diagnostics_every": 10,
|
| 77 |
+
"log_every": 10
|
| 78 |
+
},
|
| 79 |
+
"model": {
|
| 80 |
+
"d_model": 640,
|
| 81 |
+
"heads": 10,
|
| 82 |
+
"layers": 12,
|
| 83 |
+
"mlp_activation": "gelu",
|
| 84 |
+
"mlp_mult": 4,
|
| 85 |
+
"normalization": "rms_norm",
|
| 86 |
+
"parameterization": "completep_fixed_tpp_v1",
|
| 87 |
+
"position_encoding": "rope_base_10000",
|
| 88 |
+
"semantic_vocab_size": 50304,
|
| 89 |
+
"tied_embeddings": false,
|
| 90 |
+
"tier": "125m",
|
| 91 |
+
"vocab_size": 50304
|
| 92 |
+
},
|
| 93 |
+
"optimizer": {
|
| 94 |
+
"adam_epsilon": 1e-08,
|
| 95 |
+
"beta1": 0.9,
|
| 96 |
+
"beta2": 0.95,
|
| 97 |
+
"effective": {
|
| 98 |
+
"adam_epsilon_horizon_multiplier": 1.4354161175193187,
|
| 99 |
+
"beta1": 0.9514661925028901,
|
| 100 |
+
"beta2": 0.975733096251445,
|
| 101 |
+
"global_peak_learning_rate": 0.0027213363096067,
|
| 102 |
+
"weight_decay_horizon_multiplier": 0.6966620952593152
|
| 103 |
+
},
|
| 104 |
+
"grad_clip": 0.0,
|
| 105 |
+
"learning_rate": 0.00390625,
|
| 106 |
+
"local_moe_steps": 2,
|
| 107 |
+
"min_lr_ratio": 0.1,
|
| 108 |
+
"warmup_steps": 471,
|
| 109 |
+
"weight_decay": 0.1
|
| 110 |
+
},
|
| 111 |
+
"parameterization": {
|
| 112 |
+
"attention_scale": "inverse_head_dim",
|
| 113 |
+
"base_depth": 12,
|
| 114 |
+
"base_width": 384,
|
| 115 |
+
"batch_ratio": 1.0,
|
| 116 |
+
"depth_alpha": 1.0,
|
| 117 |
+
"depth_multiplier": 1.0,
|
| 118 |
+
"embeddings": "untied",
|
| 119 |
+
"init_std": 0.02,
|
| 120 |
+
"ladder_data_multiplier": 2.0604194304342345,
|
| 121 |
+
"name": "completep_fixed_tpp_v1",
|
| 122 |
+
"width_multiplier": 1.6666666666666667
|
| 123 |
+
},
|
| 124 |
+
"training": {
|
| 125 |
+
"batch_size": 16,
|
| 126 |
+
"dtype": "bfloat16",
|
| 127 |
+
"sampling": "shuffled_epochs",
|
| 128 |
+
"seq_len": 8192,
|
| 129 |
+
"steps": 4709,
|
| 130 |
+
"target_tokens_per_parameter": 5.0,
|
| 131 |
+
"tokens_per_parameter": 4.999472268158278,
|
| 132 |
+
"train_tokens": 617218048
|
| 133 |
+
}
|
| 134 |
+
},
|
| 135 |
+
"schema_version": 6,
|
| 136 |
+
"sha256": "92c402bf8365d121c177cfae2a02e7423c09a840ba1cd9e7bdfeb6ca8203bf40"
|
| 137 |
+
},
|
| 138 |
+
"context_preset": "8k",
|
| 139 |
+
"document_masking": true,
|
| 140 |
+
"local_moe_optimization": {
|
| 141 |
+
"inner_optimizer": "stateless_sgd_existing_learning_rate_no_decay",
|
| 142 |
+
"objective": "variance_normalized_output_delta_plus_output_gradient",
|
| 143 |
+
"routing": "standard_gumbel_top_k_selection_clean_gate_weights",
|
| 144 |
+
"statistics": "per_layer_ema_input_output_output_gradient_second_moment",
|
| 145 |
+
"statistics_decay": "effective_adam_beta2",
|
| 146 |
+
"steps": 2
|
| 147 |
+
},
|
| 148 |
+
"loss_backend": "tiled",
|
| 149 |
+
"vocab_tile_size": 2048,
|
| 150 |
+
"weight_decay_policy": "weights_and_embeddings_only_v2"
|
| 151 |
+
},
|
| 152 |
+
"metrics": {
|
| 153 |
+
"achieved_tflops": 369.2579097207201,
|
| 154 |
+
"attention_tune_seconds": 0.0,
|
| 155 |
+
"base_learning_rate": 0.00390625,
|
| 156 |
+
"diagnostic_compile_seconds": 146.76210082997568,
|
| 157 |
+
"diagnostic_point_count": 472,
|
| 158 |
+
"diagnostics_every": 10,
|
| 159 |
+
"estimated_total_flops": 1137985752378900480,
|
| 160 |
+
"eval_compile_seconds": 21.248081248952076,
|
| 161 |
+
"expert_top_k": 2,
|
| 162 |
+
"experts": 8,
|
| 163 |
+
"final_validation_seconds": 0.8424904979765415,
|
| 164 |
+
"flop_accounting": {
|
| 165 |
+
"by_site": {
|
| 166 |
+
"dot_general": 3120908206080,
|
| 167 |
+
"pallas_call": 5798205849600,
|
| 168 |
+
"tpu_flash_causal_attention_bwd_dkv": 2061584302080,
|
| 169 |
+
"tpu_flash_causal_attention_bwd_dq": 2061584302080,
|
| 170 |
+
"tpu_flash_causal_attention_fwd": 2061584302080
|
| 171 |
+
},
|
| 172 |
+
"elementwise_per_sequence": 27341612828,
|
| 173 |
+
"matmul_per_sequence": 15103866961920,
|
| 174 |
+
"method": "traced-jaxpr",
|
| 175 |
+
"warnings": []
|
| 176 |
+
},
|
| 177 |
+
"flops_per_token": 1843733760,
|
| 178 |
+
"local_moe": {
|
| 179 |
+
"final_mean_input_rms": 3.490947961807251,
|
| 180 |
+
"final_mean_objective": 0.5151281952857971,
|
| 181 |
+
"final_mean_output_gradient_rms": 9.746236173668876e-08,
|
| 182 |
+
"final_mean_output_rms": 3.9241905212402344,
|
| 183 |
+
"steps_per_global_update": 2
|
| 184 |
+
},
|
| 185 |
+
"mfu_estimate": 0.08392225220925456,
|
| 186 |
+
"model_tier": "125m",
|
| 187 |
+
"parameter_count": 123525760,
|
| 188 |
+
"parameters": 241628800,
|
| 189 |
+
"schedule_steps": 4709,
|
| 190 |
+
"stop_after_step": null,
|
| 191 |
+
"target_tokens_per_parameter": 5.0,
|
| 192 |
+
"tokens_per_parameter": 4.999472268158278,
|
| 193 |
+
"tokens_per_second": 200277.24052778646,
|
| 194 |
+
"tokens_processed": 617218048,
|
| 195 |
+
"total_compile_seconds": 265.645848918939,
|
| 196 |
+
"total_parameter_count": 241628800,
|
| 197 |
+
"train_compile_seconds": 97.63566684001125,
|
| 198 |
+
"train_loss": 3.5107932090759277,
|
| 199 |
+
"train_seconds": 3081.818215457024,
|
| 200 |
+
"training_data_epochs": 0.07812906684585416,
|
| 201 |
+
"training_data_sharding": "rank_disjoint_shuffled_windows",
|
| 202 |
+
"training_sampling": "shuffled_epochs",
|
| 203 |
+
"training_steps": 4709,
|
| 204 |
+
"training_token_budget": 617218048,
|
| 205 |
+
"training_usable_tokens_per_epoch": 7899979776,
|
| 206 |
+
"validation_loss": 3.5780301094055176,
|
| 207 |
+
"validation_probe_count": 0,
|
| 208 |
+
"validation_probe_seconds": 0.0,
|
| 209 |
+
"validation_tokens": 1048576
|
| 210 |
+
},
|
| 211 |
+
"profile": "dev",
|
| 212 |
+
"schema_version": 1,
|
| 213 |
+
"seed": 1350,
|
| 214 |
+
"status": "ok",
|
| 215 |
+
"system": {
|
| 216 |
+
"controller_process_index": 1,
|
| 217 |
+
"device_count": 16,
|
| 218 |
+
"device_ids": [
|
| 219 |
+
0,
|
| 220 |
+
1,
|
| 221 |
+
2,
|
| 222 |
+
3,
|
| 223 |
+
4,
|
| 224 |
+
5,
|
| 225 |
+
6,
|
| 226 |
+
7,
|
| 227 |
+
8,
|
| 228 |
+
9,
|
| 229 |
+
10,
|
| 230 |
+
11,
|
| 231 |
+
12,
|
| 232 |
+
13,
|
| 233 |
+
14,
|
| 234 |
+
15
|
| 235 |
+
],
|
| 236 |
+
"device_kinds": [
|
| 237 |
+
"TPU v4"
|
| 238 |
+
],
|
| 239 |
+
"jax_version": "0.11.0",
|
| 240 |
+
"jaxlib_version": "0.11.0",
|
| 241 |
+
"libtpu_version": "0.0.44.1",
|
| 242 |
+
"local_device_count": 4,
|
| 243 |
+
"platform": "tpu",
|
| 244 |
+
"process_count": 4,
|
| 245 |
+
"process_indices": [
|
| 246 |
+
0,
|
| 247 |
+
0,
|
| 248 |
+
0,
|
| 249 |
+
0,
|
| 250 |
+
1,
|
| 251 |
+
1,
|
| 252 |
+
1,
|
| 253 |
+
1,
|
| 254 |
+
2,
|
| 255 |
+
2,
|
| 256 |
+
2,
|
| 257 |
+
2,
|
| 258 |
+
3,
|
| 259 |
+
3,
|
| 260 |
+
3,
|
| 261 |
+
3
|
| 262 |
+
],
|
| 263 |
+
"python_version": "3.12.13"
|
| 264 |
+
},
|
| 265 |
+
"track": "open"
|
| 266 |
+
}
|
moe-gumbel-local-125M/125m-moe-local-k2-5tpp-bs16-lr2e-8-s1350/training.riglog
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:954abdd711bd7e48f1a0e0a861e2371f6ae16a7aae627a21baf5ba18a30929eb
|
| 3 |
+
size 3583408
|
moe-gumbel-local-125M/125m-moe-local-k2-5tpp-bs16-lr2e-8-s1350/validation.csv
ADDED
|
@@ -0,0 +1,2 @@
|
|
|
|
|
|
|
|
|
|
| 1 |
+
step,tokens_processed,kind,domain,validation_tokens,validation_loss,perplexity,validation_seconds,canonical
|
| 2 |
+
4709,617218048,fineweb,fineweb,1048576,3.5780301094055176,35.80294345375713,0.8424904979765415,true
|
moe-gumbel-local-125M/125m-moe-local-k2-5tpp-bs16-lr2e-8-s1369/diagnostics.riglog
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"artifacts": {
|
| 3 |
+
"diagnostics": "diagnostics.riglog",
|
| 4 |
+
"training_curve": "training.riglog",
|
| 5 |
+
"validation_curve": "validation.csv"
|
| 6 |
+
},
|
| 7 |
+
"checkpoint": null,
|
| 8 |
+
"contract": {
|
| 9 |
+
"context_preset": "8k",
|
| 10 |
+
"dataset_id": "fineweb-8b-gpt2",
|
| 11 |
+
"model": {
|
| 12 |
+
"d_model": 640,
|
| 13 |
+
"heads": 10,
|
| 14 |
+
"layers": 12,
|
| 15 |
+
"mlp_activation": "gelu",
|
| 16 |
+
"mlp_mult": 4,
|
| 17 |
+
"normalization": "rms_norm",
|
| 18 |
+
"parameterization": "completep_fixed_tpp_v1",
|
| 19 |
+
"position_encoding": "rope_base_10000",
|
| 20 |
+
"semantic_vocab_size": 50304,
|
| 21 |
+
"tied_embeddings": false,
|
| 22 |
+
"tier": "125m",
|
| 23 |
+
"vocab_size": 50304
|
| 24 |
+
},
|
| 25 |
+
"model_id": "reference-gpt-v3-family",
|
| 26 |
+
"sequence_length": 8192,
|
| 27 |
+
"tokenizer_id": "gpt2"
|
| 28 |
+
},
|
| 29 |
+
"evaluations": {
|
| 30 |
+
"fineweb": {
|
| 31 |
+
"canonical": true,
|
| 32 |
+
"loss": 3.588573843240738,
|
| 33 |
+
"perplexity": 36.18243728532928,
|
| 34 |
+
"scored_tokens": 1048576,
|
| 35 |
+
"seconds": 0.8333095470443368
|
| 36 |
+
}
|
| 37 |
+
},
|
| 38 |
+
"implementation": {
|
| 39 |
+
"attention_backend": "tpu_flash",
|
| 40 |
+
"attention_tuning": {
|
| 41 |
+
"key_digest": "3d77f3dec34a89456ba8284f3d7d149016d9913126698de06073a72e1ff1a550",
|
| 42 |
+
"resolution_source": "heuristic",
|
| 43 |
+
"tiles": {
|
| 44 |
+
"block_kv": 512,
|
| 45 |
+
"block_kv_compute": 256,
|
| 46 |
+
"block_kv_dkv": 512,
|
| 47 |
+
"block_kv_dkv_compute": 256,
|
| 48 |
+
"block_kv_dq": 512,
|
| 49 |
+
"block_kv_dq_compute": 256,
|
| 50 |
+
"block_q": 512,
|
| 51 |
+
"block_q_dkv": 512,
|
| 52 |
+
"block_q_dkv_compute": 256,
|
| 53 |
+
"block_q_dq": 256
|
| 54 |
+
},
|
| 55 |
+
"tune_seconds": 0.0
|
| 56 |
+
},
|
| 57 |
+
"configuration": {
|
| 58 |
+
"context_preset": "8k",
|
| 59 |
+
"path": "dev.yaml",
|
| 60 |
+
"profile": "dev",
|
| 61 |
+
"resolved": {
|
| 62 |
+
"evaluation": {
|
| 63 |
+
"eval_batches": 8,
|
| 64 |
+
"final_predictions": 1048576,
|
| 65 |
+
"probe_predictions": 0,
|
| 66 |
+
"val_every": 0,
|
| 67 |
+
"val_probe_batches": 0
|
| 68 |
+
},
|
| 69 |
+
"kernels": {
|
| 70 |
+
"attention_backend": "tpu_flash",
|
| 71 |
+
"document_masking": true,
|
| 72 |
+
"loss_backend": "tiled",
|
| 73 |
+
"vocab_tile_size": 2048
|
| 74 |
+
},
|
| 75 |
+
"logging": {
|
| 76 |
+
"diagnostics_every": 10,
|
| 77 |
+
"log_every": 10
|
| 78 |
+
},
|
| 79 |
+
"model": {
|
| 80 |
+
"d_model": 640,
|
| 81 |
+
"heads": 10,
|
| 82 |
+
"layers": 12,
|
| 83 |
+
"mlp_activation": "gelu",
|
| 84 |
+
"mlp_mult": 4,
|
| 85 |
+
"normalization": "rms_norm",
|
| 86 |
+
"parameterization": "completep_fixed_tpp_v1",
|
| 87 |
+
"position_encoding": "rope_base_10000",
|
| 88 |
+
"semantic_vocab_size": 50304,
|
| 89 |
+
"tied_embeddings": false,
|
| 90 |
+
"tier": "125m",
|
| 91 |
+
"vocab_size": 50304
|
| 92 |
+
},
|
| 93 |
+
"optimizer": {
|
| 94 |
+
"adam_epsilon": 1e-08,
|
| 95 |
+
"beta1": 0.9,
|
| 96 |
+
"beta2": 0.95,
|
| 97 |
+
"effective": {
|
| 98 |
+
"adam_epsilon_horizon_multiplier": 1.4354161175193187,
|
| 99 |
+
"beta1": 0.9514661925028901,
|
| 100 |
+
"beta2": 0.975733096251445,
|
| 101 |
+
"global_peak_learning_rate": 0.0027213363096067,
|
| 102 |
+
"weight_decay_horizon_multiplier": 0.6966620952593152
|
| 103 |
+
},
|
| 104 |
+
"grad_clip": 0.0,
|
| 105 |
+
"learning_rate": 0.00390625,
|
| 106 |
+
"local_moe_steps": 2,
|
| 107 |
+
"min_lr_ratio": 0.1,
|
| 108 |
+
"warmup_steps": 471,
|
| 109 |
+
"weight_decay": 0.1
|
| 110 |
+
},
|
| 111 |
+
"parameterization": {
|
| 112 |
+
"attention_scale": "inverse_head_dim",
|
| 113 |
+
"base_depth": 12,
|
| 114 |
+
"base_width": 384,
|
| 115 |
+
"batch_ratio": 1.0,
|
| 116 |
+
"depth_alpha": 1.0,
|
| 117 |
+
"depth_multiplier": 1.0,
|
| 118 |
+
"embeddings": "untied",
|
| 119 |
+
"init_std": 0.02,
|
| 120 |
+
"ladder_data_multiplier": 2.0604194304342345,
|
| 121 |
+
"name": "completep_fixed_tpp_v1",
|
| 122 |
+
"width_multiplier": 1.6666666666666667
|
| 123 |
+
},
|
| 124 |
+
"training": {
|
| 125 |
+
"batch_size": 16,
|
| 126 |
+
"dtype": "bfloat16",
|
| 127 |
+
"sampling": "shuffled_epochs",
|
| 128 |
+
"seq_len": 8192,
|
| 129 |
+
"steps": 4709,
|
| 130 |
+
"target_tokens_per_parameter": 5.0,
|
| 131 |
+
"tokens_per_parameter": 4.999472268158278,
|
| 132 |
+
"train_tokens": 617218048
|
| 133 |
+
}
|
| 134 |
+
},
|
| 135 |
+
"schema_version": 6,
|
| 136 |
+
"sha256": "92c402bf8365d121c177cfae2a02e7423c09a840ba1cd9e7bdfeb6ca8203bf40"
|
| 137 |
+
},
|
| 138 |
+
"context_preset": "8k",
|
| 139 |
+
"document_masking": true,
|
| 140 |
+
"local_moe_optimization": {
|
| 141 |
+
"inner_optimizer": "stateless_sgd_existing_learning_rate_no_decay",
|
| 142 |
+
"objective": "variance_normalized_output_delta_plus_output_gradient",
|
| 143 |
+
"routing": "standard_gumbel_top_k_selection_clean_gate_weights",
|
| 144 |
+
"statistics": "per_layer_ema_input_output_output_gradient_second_moment",
|
| 145 |
+
"statistics_decay": "effective_adam_beta2",
|
| 146 |
+
"steps": 2
|
| 147 |
+
},
|
| 148 |
+
"loss_backend": "tiled",
|
| 149 |
+
"vocab_tile_size": 2048,
|
| 150 |
+
"weight_decay_policy": "weights_and_embeddings_only_v2"
|
| 151 |
+
},
|
| 152 |
+
"metrics": {
|
| 153 |
+
"achieved_tflops": 369.2695822891127,
|
| 154 |
+
"attention_tune_seconds": 0.0,
|
| 155 |
+
"base_learning_rate": 0.00390625,
|
| 156 |
+
"diagnostic_compile_seconds": 163.3056442340603,
|
| 157 |
+
"diagnostic_point_count": 472,
|
| 158 |
+
"diagnostics_every": 10,
|
| 159 |
+
"estimated_total_flops": 1137985752378900480,
|
| 160 |
+
"eval_compile_seconds": 19.81373447389342,
|
| 161 |
+
"expert_top_k": 2,
|
| 162 |
+
"experts": 8,
|
| 163 |
+
"final_validation_seconds": 0.8333095470443368,
|
| 164 |
+
"flop_accounting": {
|
| 165 |
+
"by_site": {
|
| 166 |
+
"dot_general": 3120908206080,
|
| 167 |
+
"pallas_call": 5798205849600,
|
| 168 |
+
"tpu_flash_causal_attention_bwd_dkv": 2061584302080,
|
| 169 |
+
"tpu_flash_causal_attention_bwd_dq": 2061584302080,
|
| 170 |
+
"tpu_flash_causal_attention_fwd": 2061584302080
|
| 171 |
+
},
|
| 172 |
+
"elementwise_per_sequence": 27341612828,
|
| 173 |
+
"matmul_per_sequence": 15103866961920,
|
| 174 |
+
"method": "traced-jaxpr",
|
| 175 |
+
"warnings": []
|
| 176 |
+
},
|
| 177 |
+
"flops_per_token": 1843733760,
|
| 178 |
+
"local_moe": {
|
| 179 |
+
"final_mean_input_rms": 3.756787061691284,
|
| 180 |
+
"final_mean_objective": 0.5324618220329285,
|
| 181 |
+
"final_mean_output_gradient_rms": 1.0131378047617545e-07,
|
| 182 |
+
"final_mean_output_rms": 4.237789154052734,
|
| 183 |
+
"steps_per_global_update": 2
|
| 184 |
+
},
|
| 185 |
+
"mfu_estimate": 0.08392490506570743,
|
| 186 |
+
"model_tier": "125m",
|
| 187 |
+
"parameter_count": 123525760,
|
| 188 |
+
"parameters": 241628800,
|
| 189 |
+
"schedule_steps": 4709,
|
| 190 |
+
"stop_after_step": null,
|
| 191 |
+
"target_tokens_per_parameter": 5.0,
|
| 192 |
+
"tokens_per_parameter": 4.999472268158278,
|
| 193 |
+
"tokens_per_second": 200283.57146810213,
|
| 194 |
+
"tokens_processed": 617218048,
|
| 195 |
+
"total_compile_seconds": 287.47018008795567,
|
| 196 |
+
"total_parameter_count": 241628800,
|
| 197 |
+
"train_compile_seconds": 104.35080138000194,
|
| 198 |
+
"train_loss": 3.570241928100586,
|
| 199 |
+
"train_seconds": 3081.7207995429635,
|
| 200 |
+
"training_data_epochs": 0.07812906684585416,
|
| 201 |
+
"training_data_sharding": "rank_disjoint_shuffled_windows",
|
| 202 |
+
"training_sampling": "shuffled_epochs",
|
| 203 |
+
"training_steps": 4709,
|
| 204 |
+
"training_token_budget": 617218048,
|
| 205 |
+
"training_usable_tokens_per_epoch": 7899979776,
|
| 206 |
+
"validation_loss": 3.588573843240738,
|
| 207 |
+
"validation_probe_count": 0,
|
| 208 |
+
"validation_probe_seconds": 0.0,
|
| 209 |
+
"validation_tokens": 1048576
|
| 210 |
+
},
|
| 211 |
+
"profile": "dev",
|
| 212 |
+
"schema_version": 1,
|
| 213 |
+
"seed": 1369,
|
| 214 |
+
"status": "ok",
|
| 215 |
+
"system": {
|
| 216 |
+
"controller_process_index": 1,
|
| 217 |
+
"device_count": 16,
|
| 218 |
+
"device_ids": [
|
| 219 |
+
0,
|
| 220 |
+
1,
|
| 221 |
+
2,
|
| 222 |
+
3,
|
| 223 |
+
4,
|
| 224 |
+
5,
|
| 225 |
+
6,
|
| 226 |
+
7,
|
| 227 |
+
8,
|
| 228 |
+
9,
|
| 229 |
+
10,
|
| 230 |
+
11,
|
| 231 |
+
12,
|
| 232 |
+
13,
|
| 233 |
+
14,
|
| 234 |
+
15
|
| 235 |
+
],
|
| 236 |
+
"device_kinds": [
|
| 237 |
+
"TPU v4"
|
| 238 |
+
],
|
| 239 |
+
"jax_version": "0.11.0",
|
| 240 |
+
"jaxlib_version": "0.11.0",
|
| 241 |
+
"libtpu_version": "0.0.44.1",
|
| 242 |
+
"local_device_count": 4,
|
| 243 |
+
"platform": "tpu",
|
| 244 |
+
"process_count": 4,
|
| 245 |
+
"process_indices": [
|
| 246 |
+
0,
|
| 247 |
+
0,
|
| 248 |
+
0,
|
| 249 |
+
0,
|
| 250 |
+
1,
|
| 251 |
+
1,
|
| 252 |
+
1,
|
| 253 |
+
1,
|
| 254 |
+
2,
|
| 255 |
+
2,
|
| 256 |
+
2,
|
| 257 |
+
2,
|
| 258 |
+
3,
|
| 259 |
+
3,
|
| 260 |
+
3,
|
| 261 |
+
3
|
| 262 |
+
],
|
| 263 |
+
"python_version": "3.12.13"
|
| 264 |
+
},
|
| 265 |
+
"track": "open"
|
| 266 |
+
}
|
moe-gumbel-local-125M/125m-moe-local-k2-5tpp-bs16-lr2e-8-s1369/result.json
ADDED
|
@@ -0,0 +1,266 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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ostics": "diagnostics.riglog",
|
| 4 |
+
"training_curve": "training.riglog",
|
| 5 |
+
"validation_curve": "validation.csv"
|
| 6 |
+
},
|
| 7 |
+
"checkpoint": null,
|
| 8 |
+
"contract": {
|
| 9 |
+
"context_preset": "8k",
|
| 10 |
+
"dataset_id": "fineweb-8b-gpt2",
|
| 11 |
+
"model": {
|
| 12 |
+
"d_model": 640,
|
| 13 |
+
"heads": 10,
|
| 14 |
+
"layers": 12,
|
| 15 |
+
"mlp_activation": "gelu",
|
| 16 |
+
"mlp_mult": 4,
|
| 17 |
+
"normalization": "rms_norm",
|
| 18 |
+
"parameterization": "completep_fixed_tpp_v1",
|
| 19 |
+
"position_encoding": "rope_base_10000",
|
| 20 |
+
"semantic_vocab_size": 50304,
|
| 21 |
+
"tied_embeddings": false,
|
| 22 |
+
"tier": "125m",
|
| 23 |
+
"vocab_size": 50304
|
| 24 |
+
},
|
| 25 |
+
"model_id": "reference-gpt-v3-family",
|
| 26 |
+
"sequence_length": 8192,
|
| 27 |
+
"tokenizer_id": "gpt2"
|
| 28 |
+
},
|
| 29 |
+
"evaluations": {
|
| 30 |
+
"fineweb": {
|
| 31 |
+
"canonical": true,
|
| 32 |
+
"loss": 3.588573843240738,
|
| 33 |
+
"perplexity": 36.18243728532928,
|
| 34 |
+
"scored_tokens": 1048576,
|
| 35 |
+
"seconds": 0.8333095470443368
|
| 36 |
+
}
|
| 37 |
+
},
|
| 38 |
+
"implementation": {
|
| 39 |
+
"attention_backend": "tpu_flash",
|
| 40 |
+
"attention_tuning": {
|
| 41 |
+
"key_digest": "3d77f3dec34a89456ba8284f3d7d149016d9913126698de06073a72e1ff1a550",
|
| 42 |
+
"resolution_source": "heuristic",
|
| 43 |
+
"tiles": {
|
| 44 |
+
"block_kv": 512,
|
| 45 |
+
"block_kv_compute": 256,
|
| 46 |
+
"block_kv_dkv": 512,
|
| 47 |
+
"block_kv_dkv_compute": 256,
|
| 48 |
+
"block_kv_dq": 512,
|
| 49 |
+
"block_kv_dq_compute": 256,
|
| 50 |
+
"block_q": 512,
|
| 51 |
+
"block_q_dkv": 512,
|
| 52 |
+
"block_q_dkv_compute": 256,
|
| 53 |
+
"block_q_dq": 256
|
| 54 |
+
},
|
| 55 |
+
"tune_seconds": 0.0
|
| 56 |
+
},
|
| 57 |
+
"configuration": {
|
| 58 |
+
"context_preset": "8k",
|
| 59 |
+
"path": "dev.yaml",
|
| 60 |
+
"profile": "dev",
|
| 61 |
+
"resolved": {
|
| 62 |
+
"evaluation": {
|
| 63 |
+
"eval_batches": 8,
|
| 64 |
+
"final_predictions": 1048576,
|
| 65 |
+
"probe_predictions": 0,
|
| 66 |
+
"val_every": 0,
|
| 67 |
+
"val_probe_batches": 0
|
| 68 |
+
},
|
| 69 |
+
"kernels": {
|
| 70 |
+
"attention_backend": "tpu_flash",
|
| 71 |
+
"document_masking": true,
|
| 72 |
+
"loss_backend": "tiled",
|
| 73 |
+
"vocab_tile_size": 2048
|
| 74 |
+
},
|
| 75 |
+
"logging": {
|
| 76 |
+
"diagnostics_every": 10,
|
| 77 |
+
"log_every": 10
|
| 78 |
+
},
|
| 79 |
+
"model": {
|
| 80 |
+
"d_model": 640,
|
| 81 |
+
"heads": 10,
|
| 82 |
+
"layers": 12,
|
| 83 |
+
"mlp_activation": "gelu",
|
| 84 |
+
"mlp_mult": 4,
|
| 85 |
+
"normalization": "rms_norm",
|
| 86 |
+
"parameterization": "completep_fixed_tpp_v1",
|
| 87 |
+
"position_encoding": "rope_base_10000",
|
| 88 |
+
"semantic_vocab_size": 50304,
|
| 89 |
+
"tied_embeddings": false,
|
| 90 |
+
"tier": "125m",
|
| 91 |
+
"vocab_size": 50304
|
| 92 |
+
},
|
| 93 |
+
"optimizer": {
|
| 94 |
+
"adam_epsilon": 1e-08,
|
| 95 |
+
"beta1": 0.9,
|
| 96 |
+
"beta2": 0.95,
|
| 97 |
+
"effective": {
|
| 98 |
+
"adam_epsilon_horizon_multiplier": 1.4354161175193187,
|
| 99 |
+
"beta1": 0.9514661925028901,
|
| 100 |
+
"beta2": 0.975733096251445,
|
| 101 |
+
"global_peak_learning_rate": 0.0027213363096067,
|
| 102 |
+
"weight_decay_horizon_multiplier": 0.6966620952593152
|
| 103 |
+
},
|
| 104 |
+
"grad_clip": 0.0,
|
| 105 |
+
"learning_rate": 0.00390625,
|
| 106 |
+
"local_moe_steps": 2,
|
| 107 |
+
"min_lr_ratio": 0.1,
|
| 108 |
+
"warmup_steps": 471,
|
| 109 |
+
"weight_decay": 0.1
|
| 110 |
+
},
|
| 111 |
+
"parameterization": {
|
| 112 |
+
"attention_scale": "inverse_head_dim",
|
| 113 |
+
"base_depth": 12,
|
| 114 |
+
"base_width": 384,
|
| 115 |
+
"batch_ratio": 1.0,
|
| 116 |
+
"depth_alpha": 1.0,
|
| 117 |
+
"depth_multiplier": 1.0,
|
| 118 |
+
"embeddings": "untied",
|
| 119 |
+
"init_std": 0.02,
|
| 120 |
+
"ladder_data_multiplier": 2.0604194304342345,
|
| 121 |
+
"name": "completep_fixed_tpp_v1",
|
| 122 |
+
"width_multiplier": 1.6666666666666667
|
| 123 |
+
},
|
| 124 |
+
"training": {
|
| 125 |
+
"batch_size": 16,
|
| 126 |
+
"dtype": "bfloat16",
|
| 127 |
+
"sampling": "shuffled_epochs",
|
| 128 |
+
"seq_len": 8192,
|
| 129 |
+
"steps": 4709,
|
| 130 |
+
"target_tokens_per_parameter": 5.0,
|
| 131 |
+
"tokens_per_parameter": 4.999472268158278,
|
| 132 |
+
"train_tokens": 617218048
|
| 133 |
+
}
|
| 134 |
+
},
|
| 135 |
+
"schema_version": 6,
|
| 136 |
+
"sha256": "92c402bf8365d121c177cfae2a02e7423c09a840ba1cd9e7bdfeb6ca8203bf40"
|
| 137 |
+
},
|
| 138 |
+
"context_preset": "8k",
|
| 139 |
+
"document_masking": true,
|
| 140 |
+
"local_moe_optimization": {
|
| 141 |
+
"inner_optimizer": "stateless_sgd_existing_learning_rate_no_decay",
|
| 142 |
+
"objective": "variance_normalized_output_delta_plus_output_gradient",
|
| 143 |
+
"routing": "standard_gumbel_top_k_selection_clean_gate_weights",
|
| 144 |
+
"statistics": "per_layer_ema_input_output_output_gradient_second_moment",
|
| 145 |
+
"statistics_decay": "effective_adam_beta2",
|
| 146 |
+
"steps": 2
|
| 147 |
+
},
|
| 148 |
+
"loss_backend": "tiled",
|
| 149 |
+
"vocab_tile_size": 2048,
|
| 150 |
+
"weight_decay_policy": "weights_and_embeddings_only_v2"
|
| 151 |
+
},
|
| 152 |
+
"metrics": {
|
| 153 |
+
"achieved_tflops": 369.2695822891127,
|
| 154 |
+
"attention_tune_seconds": 0.0,
|
| 155 |
+
"base_learning_rate": 0.00390625,
|
| 156 |
+
"diagnostic_compile_seconds": 163.3056442340603,
|
| 157 |
+
"diagnostic_point_count": 472,
|
| 158 |
+
"diagnostics_every": 10,
|
| 159 |
+
"estimated_total_flops": 1137985752378900480,
|
| 160 |
+
"eval_compile_seconds": 19.81373447389342,
|
| 161 |
+
"expert_top_k": 2,
|
| 162 |
+
"experts": 8,
|
| 163 |
+
"final_validation_seconds": 0.8333095470443368,
|
| 164 |
+
"flop_accounting": {
|
| 165 |
+
"by_site": {
|
| 166 |
+
"dot_general": 3120908206080,
|
| 167 |
+
"pallas_call": 5798205849600,
|
| 168 |
+
"tpu_flash_causal_attention_bwd_dkv": 2061584302080,
|
| 169 |
+
"tpu_flash_causal_attention_bwd_dq": 2061584302080,
|
| 170 |
+
"tpu_flash_causal_attention_fwd": 2061584302080
|
| 171 |
+
},
|
| 172 |
+
"elementwise_per_sequence": 27341612828,
|
| 173 |
+
"matmul_per_sequence": 15103866961920,
|
| 174 |
+
"method": "traced-jaxpr",
|
| 175 |
+
"warnings": []
|
| 176 |
+
},
|
| 177 |
+
"flops_per_token": 1843733760,
|
| 178 |
+
"local_moe": {
|
| 179 |
+
"final_mean_input_rms": 3.756787061691284,
|
| 180 |
+
"final_mean_objective": 0.5324618220329285,
|
| 181 |
+
"final_mean_output_gradient_rms": 1.0131378047617545e-07,
|
| 182 |
+
"final_mean_output_rms": 4.237789154052734,
|
| 183 |
+
"steps_per_global_update": 2
|
| 184 |
+
},
|
| 185 |
+
"mfu_estimate": 0.08392490506570743,
|
| 186 |
+
"model_tier": "125m",
|
| 187 |
+
"parameter_count": 123525760,
|
| 188 |
+
"parameters": 241628800,
|
| 189 |
+
"schedule_steps": 4709,
|
| 190 |
+
"stop_after_step": null,
|
| 191 |
+
"target_tokens_per_parameter": 5.0,
|
| 192 |
+
"tokens_per_parameter": 4.999472268158278,
|
| 193 |
+
"tokens_per_second": 200283.57146810213,
|
| 194 |
+
"tokens_processed": 617218048,
|
| 195 |
+
"total_compile_seconds": 287.47018008795567,
|
| 196 |
+
"total_parameter_count": 241628800,
|
| 197 |
+
"train_compile_seconds": 104.35080138000194,
|
| 198 |
+
"train_loss": 3.570241928100586,
|
| 199 |
+
"train_seconds": 3081.7207995429635,
|
| 200 |
+
"training_data_epochs": 0.07812906684585416,
|
| 201 |
+
"training_data_sharding": "rank_disjoint_shuffled_windows",
|
| 202 |
+
"training_sampling": "shuffled_epochs",
|
| 203 |
+
"training_steps": 4709,
|
| 204 |
+
"training_token_budget": 617218048,
|
| 205 |
+
"training_usable_tokens_per_epoch": 7899979776,
|
| 206 |
+
"validation_loss": 3.588573843240738,
|
| 207 |
+
"validation_probe_count": 0,
|
| 208 |
+
"validation_probe_seconds": 0.0,
|
| 209 |
+
"validation_tokens": 1048576
|
| 210 |
+
},
|
| 211 |
+
"profile": "dev",
|
| 212 |
+
"schema_version": 1,
|
| 213 |
+
"seed": 1369,
|
| 214 |
+
"status": "ok",
|
| 215 |
+
"system": {
|
| 216 |
+
"controller_process_index": 1,
|
| 217 |
+
"device_count": 16,
|
| 218 |
+
"device_ids": [
|
| 219 |
+
0,
|
| 220 |
+
1,
|
| 221 |
+
2,
|
| 222 |
+
3,
|
| 223 |
+
4,
|
| 224 |
+
5,
|
| 225 |
+
6,
|
| 226 |
+
7,
|
| 227 |
+
8,
|
| 228 |
+
9,
|
| 229 |
+
10,
|
| 230 |
+
11,
|
| 231 |
+
12,
|
| 232 |
+
13,
|
| 233 |
+
14,
|
| 234 |
+
15
|
| 235 |
+
],
|
| 236 |
+
"device_kinds": [
|
| 237 |
+
"TPU v4"
|
| 238 |
+
],
|
| 239 |
+
"jax_version": "0.11.0",
|
| 240 |
+
"jaxlib_version": "0.11.0",
|
| 241 |
+
"libtpu_version": "0.0.44.1",
|
| 242 |
+
"local_device_count": 4,
|
| 243 |
+
"platform": "tpu",
|
| 244 |
+
"process_count": 4,
|
| 245 |
+
"process_indices": [
|
| 246 |
+
0,
|
| 247 |
+
0,
|
| 248 |
+
0,
|
| 249 |
+
0,
|
| 250 |
+
1,
|
| 251 |
+
1,
|
| 252 |
+
1,
|
| 253 |
+
1,
|
| 254 |
+
2,
|
| 255 |
+
2,
|
| 256 |
+
2,
|
| 257 |
+
2,
|
| 258 |
+
3,
|
| 259 |
+
3,
|
| 260 |
+
3,
|
| 261 |
+
3
|
| 262 |
+
],
|
| 263 |
+
"python_version": "3.12.13"
|
| 264 |
+
},
|
| 265 |
+
"track": "open"
|
| 266 |
+
}
|
moe-gumbel-local-125M/125m-moe-local-k2-5tpp-bs16-lr2e-8-s1369/training.riglog
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:8909f19b0f7c27302f230ab2212d5df718ce1187ce991e1c9ef0a6511524fe49
|
| 3 |
+
size 3583408
|
moe-gumbel-local-125M/125m-moe-local-k2-5tpp-bs16-lr2e-8-s1369/validation.csv
ADDED
|
@@ -0,0 +1,2 @@
|
|
|
|
|
|
|
|
|
|
| 1 |
+
step,tokens_processed,kind,domain,validation_tokens,validation_loss,perplexity,validation_seconds,canonical
|
| 2 |
+
4709,617218048,fineweb,fineweb,1048576,3.588573843240738,36.18243728532928,0.8333095470443368,true
|
moe-gumbel-local-125M/125m-moe-local-k2-5tpp-bs16-lr2e-8-s1388/diagnostics.riglog
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:156ba586f7a016fb416936509e62c07ec94892850a70a40b1e300366f71e00df
|
| 3 |
+
size 552576
|
moe-gumbel-local-125M/125m-moe-local-k2-5tpp-bs16-lr2e-8-s1388/metrics.json
ADDED
|
@@ -0,0 +1,266 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"artifacts": {
|
| 3 |
+
"diagnostics": "diagnostics.riglog",
|
| 4 |
+
"training_curve": "training.riglog",
|
| 5 |
+
"validation_curve": "validation.csv"
|
| 6 |
+
},
|
| 7 |
+
"checkpoint": null,
|
| 8 |
+
"contract": {
|
| 9 |
+
"context_preset": "8k",
|
| 10 |
+
"dataset_id": "fineweb-8b-gpt2",
|
| 11 |
+
"model": {
|
| 12 |
+
"d_model": 640,
|
| 13 |
+
"heads": 10,
|
| 14 |
+
"layers": 12,
|
| 15 |
+
"mlp_activation": "gelu",
|
| 16 |
+
"mlp_mult": 4,
|
| 17 |
+
"normalization": "rms_norm",
|
| 18 |
+
"parameterization": "completep_fixed_tpp_v1",
|
| 19 |
+
"position_encoding": "rope_base_10000",
|
| 20 |
+
"semantic_vocab_size": 50304,
|
| 21 |
+
"tied_embeddings": false,
|
| 22 |
+
"tier": "125m",
|
| 23 |
+
"vocab_size": 50304
|
| 24 |
+
},
|
| 25 |
+
"model_id": "reference-gpt-v3-family",
|
| 26 |
+
"sequence_length": 8192,
|
| 27 |
+
"tokenizer_id": "gpt2"
|
| 28 |
+
},
|
| 29 |
+
"evaluations": {
|
| 30 |
+
"fineweb": {
|
| 31 |
+
"canonical": true,
|
| 32 |
+
"loss": 3.5743553936481476,
|
| 33 |
+
"perplexity": 35.671619250625064,
|
| 34 |
+
"scored_tokens": 1048576,
|
| 35 |
+
"seconds": 0.8377334080869332
|
| 36 |
+
}
|
| 37 |
+
},
|
| 38 |
+
"implementation": {
|
| 39 |
+
"attention_backend": "tpu_flash",
|
| 40 |
+
"attention_tuning": {
|
| 41 |
+
"key_digest": "3d77f3dec34a89456ba8284f3d7d149016d9913126698de06073a72e1ff1a550",
|
| 42 |
+
"resolution_source": "heuristic",
|
| 43 |
+
"tiles": {
|
| 44 |
+
"block_kv": 512,
|
| 45 |
+
"block_kv_compute": 256,
|
| 46 |
+
"block_kv_dkv": 512,
|
| 47 |
+
"block_kv_dkv_compute": 256,
|
| 48 |
+
"block_kv_dq": 512,
|
| 49 |
+
"block_kv_dq_compute": 256,
|
| 50 |
+
"block_q": 512,
|
| 51 |
+
"block_q_dkv": 512,
|
| 52 |
+
"block_q_dkv_compute": 256,
|
| 53 |
+
"block_q_dq": 256
|
| 54 |
+
},
|
| 55 |
+
"tune_seconds": 0.0
|
| 56 |
+
},
|
| 57 |
+
"configuration": {
|
| 58 |
+
"context_preset": "8k",
|
| 59 |
+
"path": "dev.yaml",
|
| 60 |
+
"profile": "dev",
|
| 61 |
+
"resolved": {
|
| 62 |
+
"evaluation": {
|
| 63 |
+
"eval_batches": 8,
|
| 64 |
+
"final_predictions": 1048576,
|
| 65 |
+
"probe_predictions": 0,
|
| 66 |
+
"val_every": 0,
|
| 67 |
+
"val_probe_batches": 0
|
| 68 |
+
},
|
| 69 |
+
"kernels": {
|
| 70 |
+
"attention_backend": "tpu_flash",
|
| 71 |
+
"document_masking": true,
|
| 72 |
+
"loss_backend": "tiled",
|
| 73 |
+
"vocab_tile_size": 2048
|
| 74 |
+
},
|
| 75 |
+
"logging": {
|
| 76 |
+
"diagnostics_every": 10,
|
| 77 |
+
"log_every": 10
|
| 78 |
+
},
|
| 79 |
+
"model": {
|
| 80 |
+
"d_model": 640,
|
| 81 |
+
"heads": 10,
|
| 82 |
+
"layers": 12,
|
| 83 |
+
"mlp_activation": "gelu",
|
| 84 |
+
"mlp_mult": 4,
|
| 85 |
+
"normalization": "rms_norm",
|
| 86 |
+
"parameterization": "completep_fixed_tpp_v1",
|
| 87 |
+
"position_encoding": "rope_base_10000",
|
| 88 |
+
"semantic_vocab_size": 50304,
|
| 89 |
+
"tied_embeddings": false,
|
| 90 |
+
"tier": "125m",
|
| 91 |
+
"vocab_size": 50304
|
| 92 |
+
},
|
| 93 |
+
"optimizer": {
|
| 94 |
+
"adam_epsilon": 1e-08,
|
| 95 |
+
"beta1": 0.9,
|
| 96 |
+
"beta2": 0.95,
|
| 97 |
+
"effective": {
|
| 98 |
+
"adam_epsilon_horizon_multiplier": 1.4354161175193187,
|
| 99 |
+
"beta1": 0.9514661925028901,
|
| 100 |
+
"beta2": 0.975733096251445,
|
| 101 |
+
"global_peak_learning_rate": 0.0027213363096067,
|
| 102 |
+
"weight_decay_horizon_multiplier": 0.6966620952593152
|
| 103 |
+
},
|
| 104 |
+
"grad_clip": 0.0,
|
| 105 |
+
"learning_rate": 0.00390625,
|
| 106 |
+
"local_moe_steps": 2,
|
| 107 |
+
"min_lr_ratio": 0.1,
|
| 108 |
+
"warmup_steps": 471,
|
| 109 |
+
"weight_decay": 0.1
|
| 110 |
+
},
|
| 111 |
+
"parameterization": {
|
| 112 |
+
"attention_scale": "inverse_head_dim",
|
| 113 |
+
"base_depth": 12,
|
| 114 |
+
"base_width": 384,
|
| 115 |
+
"batch_ratio": 1.0,
|
| 116 |
+
"depth_alpha": 1.0,
|
| 117 |
+
"depth_multiplier": 1.0,
|
| 118 |
+
"embeddings": "untied",
|
| 119 |
+
"init_std": 0.02,
|
| 120 |
+
"ladder_data_multiplier": 2.0604194304342345,
|
| 121 |
+
"name": "completep_fixed_tpp_v1",
|
| 122 |
+
"width_multiplier": 1.6666666666666667
|
| 123 |
+
},
|
| 124 |
+
"training": {
|
| 125 |
+
"batch_size": 16,
|
| 126 |
+
"dtype": "bfloat16",
|
| 127 |
+
"sampling": "shuffled_epochs",
|
| 128 |
+
"seq_len": 8192,
|
| 129 |
+
"steps": 4709,
|
| 130 |
+
"target_tokens_per_parameter": 5.0,
|
| 131 |
+
"tokens_per_parameter": 4.999472268158278,
|
| 132 |
+
"train_tokens": 617218048
|
| 133 |
+
}
|
| 134 |
+
},
|
| 135 |
+
"schema_version": 6,
|
| 136 |
+
"sha256": "92c402bf8365d121c177cfae2a02e7423c09a840ba1cd9e7bdfeb6ca8203bf40"
|
| 137 |
+
},
|
| 138 |
+
"context_preset": "8k",
|
| 139 |
+
"document_masking": true,
|
| 140 |
+
"local_moe_optimization": {
|
| 141 |
+
"inner_optimizer": "stateless_sgd_existing_learning_rate_no_decay",
|
| 142 |
+
"objective": "variance_normalized_output_delta_plus_output_gradient",
|
| 143 |
+
"routing": "standard_gumbel_top_k_selection_clean_gate_weights",
|
| 144 |
+
"statistics": "per_layer_ema_input_output_output_gradient_second_moment",
|
| 145 |
+
"statistics_decay": "effective_adam_beta2",
|
| 146 |
+
"steps": 2
|
| 147 |
+
},
|
| 148 |
+
"loss_backend": "tiled",
|
| 149 |
+
"vocab_tile_size": 2048,
|
| 150 |
+
"weight_decay_policy": "weights_and_embeddings_only_v2"
|
| 151 |
+
},
|
| 152 |
+
"metrics": {
|
| 153 |
+
"achieved_tflops": 369.1012416902028,
|
| 154 |
+
"attention_tune_seconds": 0.0,
|
| 155 |
+
"base_learning_rate": 0.00390625,
|
| 156 |
+
"diagnostic_compile_seconds": 154.86130802310072,
|
| 157 |
+
"diagnostic_point_count": 472,
|
| 158 |
+
"diagnostics_every": 10,
|
| 159 |
+
"estimated_total_flops": 1137985752378900480,
|
| 160 |
+
"eval_compile_seconds": 19.469360776944086,
|
| 161 |
+
"expert_top_k": 2,
|
| 162 |
+
"experts": 8,
|
| 163 |
+
"final_validation_seconds": 0.8377334080869332,
|
| 164 |
+
"flop_accounting": {
|
| 165 |
+
"by_site": {
|
| 166 |
+
"dot_general": 3120908206080,
|
| 167 |
+
"pallas_call": 5798205849600,
|
| 168 |
+
"tpu_flash_causal_attention_bwd_dkv": 2061584302080,
|
| 169 |
+
"tpu_flash_causal_attention_bwd_dq": 2061584302080,
|
| 170 |
+
"tpu_flash_causal_attention_fwd": 2061584302080
|
| 171 |
+
},
|
| 172 |
+
"elementwise_per_sequence": 27341612828,
|
| 173 |
+
"matmul_per_sequence": 15103866961920,
|
| 174 |
+
"method": "traced-jaxpr",
|
| 175 |
+
"warnings": []
|
| 176 |
+
},
|
| 177 |
+
"flops_per_token": 1843733760,
|
| 178 |
+
"local_moe": {
|
| 179 |
+
"final_mean_input_rms": 3.4753713607788086,
|
| 180 |
+
"final_mean_objective": 0.5323125123977661,
|
| 181 |
+
"final_mean_output_gradient_rms": 9.827920877114593e-08,
|
| 182 |
+
"final_mean_output_rms": 3.9086716175079346,
|
| 183 |
+
"steps_per_global_update": 2
|
| 184 |
+
},
|
| 185 |
+
"mfu_estimate": 0.08388664583868245,
|
| 186 |
+
"model_tier": "125m",
|
| 187 |
+
"parameter_count": 123525760,
|
| 188 |
+
"parameters": 241628800,
|
| 189 |
+
"schedule_steps": 4709,
|
| 190 |
+
"stop_after_step": null,
|
| 191 |
+
"target_tokens_per_parameter": 5.0,
|
| 192 |
+
"tokens_per_parameter": 4.999472268158278,
|
| 193 |
+
"tokens_per_second": 200192.26728820262,
|
| 194 |
+
"tokens_processed": 617218048,
|
| 195 |
+
"total_compile_seconds": 276.5342413559556,
|
| 196 |
+
"total_parameter_count": 241628800,
|
| 197 |
+
"train_compile_seconds": 102.2035725559108,
|
| 198 |
+
"train_loss": 3.5578160285949707,
|
| 199 |
+
"train_seconds": 3083.1263183179544,
|
| 200 |
+
"training_data_epochs": 0.07812906684585416,
|
| 201 |
+
"training_data_sharding": "rank_disjoint_shuffled_windows",
|
| 202 |
+
"training_sampling": "shuffled_epochs",
|
| 203 |
+
"training_steps": 4709,
|
| 204 |
+
"training_token_budget": 617218048,
|
| 205 |
+
"training_usable_tokens_per_epoch": 7899979776,
|
| 206 |
+
"validation_loss": 3.5743553936481476,
|
| 207 |
+
"validation_probe_count": 0,
|
| 208 |
+
"validation_probe_seconds": 0.0,
|
| 209 |
+
"validation_tokens": 1048576
|
| 210 |
+
},
|
| 211 |
+
"profile": "dev",
|
| 212 |
+
"schema_version": 1,
|
| 213 |
+
"seed": 1388,
|
| 214 |
+
"status": "ok",
|
| 215 |
+
"system": {
|
| 216 |
+
"controller_process_index": 1,
|
| 217 |
+
"device_count": 16,
|
| 218 |
+
"device_ids": [
|
| 219 |
+
0,
|
| 220 |
+
1,
|
| 221 |
+
2,
|
| 222 |
+
3,
|
| 223 |
+
4,
|
| 224 |
+
5,
|
| 225 |
+
6,
|
| 226 |
+
7,
|
| 227 |
+
8,
|
| 228 |
+
9,
|
| 229 |
+
10,
|
| 230 |
+
11,
|
| 231 |
+
12,
|
| 232 |
+
13,
|
| 233 |
+
14,
|
| 234 |
+
15
|
| 235 |
+
],
|
| 236 |
+
"device_kinds": [
|
| 237 |
+
"TPU v4"
|
| 238 |
+
],
|
| 239 |
+
"jax_version": "0.11.0",
|
| 240 |
+
"jaxlib_version": "0.11.0",
|
| 241 |
+
"libtpu_version": "0.0.44.1",
|
| 242 |
+
"local_device_count": 4,
|
| 243 |
+
"platform": "tpu",
|
| 244 |
+
"process_count": 4,
|
| 245 |
+
"process_indices": [
|
| 246 |
+
0,
|
| 247 |
+
0,
|
| 248 |
+
0,
|
| 249 |
+
0,
|
| 250 |
+
1,
|
| 251 |
+
1,
|
| 252 |
+
1,
|
| 253 |
+
1,
|
| 254 |
+
2,
|
| 255 |
+
2,
|
| 256 |
+
2,
|
| 257 |
+
2,
|
| 258 |
+
3,
|
| 259 |
+
3,
|
| 260 |
+
3,
|
| 261 |
+
3
|
| 262 |
+
],
|
| 263 |
+
"python_version": "3.12.13"
|
| 264 |
+
},
|
| 265 |
+
"track": "open"
|
| 266 |
+
}
|
moe-gumbel-local-125M/125m-moe-local-k2-5tpp-bs16-lr2e-8-s1388/result.json
ADDED
|
@@ -0,0 +1,266 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"artifacts": {
|
| 3 |
+
"diagnostics": "diagnostics.riglog",
|
| 4 |
+
"training_curve": "training.riglog",
|
| 5 |
+
"validation_curve": "validation.csv"
|
| 6 |
+
},
|
| 7 |
+
"checkpoint": null,
|
| 8 |
+
"contract": {
|
| 9 |
+
"context_preset": "8k",
|
| 10 |
+
"dataset_id": "fineweb-8b-gpt2",
|
| 11 |
+
"model": {
|
| 12 |
+
"d_model": 640,
|
| 13 |
+
"heads": 10,
|
| 14 |
+
"layers": 12,
|
| 15 |
+
"mlp_activation": "gelu",
|
| 16 |
+
"mlp_mult": 4,
|
| 17 |
+
"normalization": "rms_norm",
|
| 18 |
+
"parameterization": "completep_fixed_tpp_v1",
|
| 19 |
+
"position_encoding": "rope_base_10000",
|
| 20 |
+
"semantic_vocab_size": 50304,
|
| 21 |
+
"tied_embeddings": false,
|
| 22 |
+
"tier": "125m",
|
| 23 |
+
"vocab_size": 50304
|
| 24 |
+
},
|
| 25 |
+
"model_id": "reference-gpt-v3-family",
|
| 26 |
+
"sequence_length": 8192,
|
| 27 |
+
"tokenizer_id": "gpt2"
|
| 28 |
+
},
|
| 29 |
+
"evaluations": {
|
| 30 |
+
"fineweb": {
|
| 31 |
+
"canonical": true,
|
| 32 |
+
"loss": 3.5743553936481476,
|
| 33 |
+
"perplexity": 35.671619250625064,
|
| 34 |
+
"scored_tokens": 1048576,
|
| 35 |
+
"seconds": 0.8377334080869332
|
| 36 |
+
}
|
| 37 |
+
},
|
| 38 |
+
"implementation": {
|
| 39 |
+
"attention_backend": "tpu_flash",
|
| 40 |
+
"attention_tuning": {
|
| 41 |
+
"key_digest": "3d77f3dec34a89456ba8284f3d7d149016d9913126698de06073a72e1ff1a550",
|
| 42 |
+
"resolution_source": "heuristic",
|
| 43 |
+
"tiles": {
|
| 44 |
+
"block_kv": 512,
|
| 45 |
+
"block_kv_compute": 256,
|
| 46 |
+
"block_kv_dkv": 512,
|
| 47 |
+
"block_kv_dkv_compute": 256,
|
| 48 |
+
"block_kv_dq": 512,
|
| 49 |
+
"block_kv_dq_compute": 256,
|
| 50 |
+
"block_q": 512,
|
| 51 |
+
"block_q_dkv": 512,
|
| 52 |
+
"block_q_dkv_compute": 256,
|
| 53 |
+
"block_q_dq": 256
|
| 54 |
+
},
|
| 55 |
+
"tune_seconds": 0.0
|
| 56 |
+
},
|
| 57 |
+
"configuration": {
|
| 58 |
+
"context_preset": "8k",
|
| 59 |
+
"path": "dev.yaml",
|
| 60 |
+
"profile": "dev",
|
| 61 |
+
"resolved": {
|
| 62 |
+
"evaluation": {
|
| 63 |
+
"eval_batches": 8,
|
| 64 |
+
"final_predictions": 1048576,
|
| 65 |
+
"probe_predictions": 0,
|
| 66 |
+
"val_every": 0,
|
| 67 |
+
"val_probe_batches": 0
|
| 68 |
+
},
|
| 69 |
+
"kernels": {
|
| 70 |
+
"attention_backend": "tpu_flash",
|
| 71 |
+
"document_masking": true,
|
| 72 |
+
"loss_backend": "tiled",
|
| 73 |
+
"vocab_tile_size": 2048
|
| 74 |
+
},
|
| 75 |
+
"logging": {
|
| 76 |
+
"diagnostics_every": 10,
|
| 77 |
+
"log_every": 10
|
| 78 |
+
},
|
| 79 |
+
"model": {
|
| 80 |
+
"d_model": 640,
|
| 81 |
+
"heads": 10,
|
| 82 |
+
"layers": 12,
|
| 83 |
+
"mlp_activation": "gelu",
|
| 84 |
+
"mlp_mult": 4,
|
| 85 |
+
"normalization": "rms_norm",
|
| 86 |
+
"parameterization": "completep_fixed_tpp_v1",
|
| 87 |
+
"position_encoding": "rope_base_10000",
|
| 88 |
+
"semantic_vocab_size": 50304,
|
| 89 |
+
"tied_embeddings": false,
|
| 90 |
+
"tier": "125m",
|
| 91 |
+
"vocab_size": 50304
|
| 92 |
+
},
|
| 93 |
+
"optimizer": {
|
| 94 |
+
"adam_epsilon": 1e-08,
|
| 95 |
+
"beta1": 0.9,
|
| 96 |
+
"beta2": 0.95,
|
| 97 |
+
"effective": {
|
| 98 |
+
"adam_epsilon_horizon_multiplier": 1.4354161175193187,
|
| 99 |
+
"beta1": 0.9514661925028901,
|
| 100 |
+
"beta2": 0.975733096251445,
|
| 101 |
+
"global_peak_learning_rate": 0.0027213363096067,
|
| 102 |
+
"weight_decay_horizon_multiplier": 0.6966620952593152
|
| 103 |
+
},
|
| 104 |
+
"grad_clip": 0.0,
|
| 105 |
+
"learning_rate": 0.00390625,
|
| 106 |
+
"local_moe_steps": 2,
|
| 107 |
+
"min_lr_ratio": 0.1,
|
| 108 |
+
"warmup_steps": 471,
|
| 109 |
+
"weight_decay": 0.1
|
| 110 |
+
},
|
| 111 |
+
"parameterization": {
|
| 112 |
+
"attention_scale": "inverse_head_dim",
|
| 113 |
+
"base_depth": 12,
|
| 114 |
+
"base_width": 384,
|
| 115 |
+
"batch_ratio": 1.0,
|
| 116 |
+
"depth_alpha": 1.0,
|
| 117 |
+
"depth_multiplier": 1.0,
|
| 118 |
+
"embeddings": "untied",
|
| 119 |
+
"init_std": 0.02,
|
| 120 |
+
"ladder_data_multiplier": 2.0604194304342345,
|
| 121 |
+
"name": "completep_fixed_tpp_v1",
|
| 122 |
+
"width_multiplier": 1.6666666666666667
|
| 123 |
+
},
|
| 124 |
+
"training": {
|
| 125 |
+
"batch_size": 16,
|
| 126 |
+
"dtype": "bfloat16",
|
| 127 |
+
"sampling": "shuffled_epochs",
|
| 128 |
+
"seq_len": 8192,
|
| 129 |
+
"steps": 4709,
|
| 130 |
+
"target_tokens_per_parameter": 5.0,
|
| 131 |
+
"tokens_per_parameter": 4.999472268158278,
|
| 132 |
+
"train_tokens": 617218048
|
| 133 |
+
}
|
| 134 |
+
},
|
| 135 |
+
"schema_version": 6,
|
| 136 |
+
"sha256": "92c402bf8365d121c177cfae2a02e7423c09a840ba1cd9e7bdfeb6ca8203bf40"
|
| 137 |
+
},
|
| 138 |
+
"context_preset": "8k",
|
| 139 |
+
"document_masking": true,
|
| 140 |
+
"local_moe_optimization": {
|
| 141 |
+
"inner_optimizer": "stateless_sgd_existing_learning_rate_no_decay",
|
| 142 |
+
"objective": "variance_normalized_output_delta_plus_output_gradient",
|
| 143 |
+
"routing": "standard_gumbel_top_k_selection_clean_gate_weights",
|
| 144 |
+
"statistics": "per_layer_ema_input_output_output_gradient_second_moment",
|
| 145 |
+
"statistics_decay": "effective_adam_beta2",
|
| 146 |
+
"steps": 2
|
| 147 |
+
},
|
| 148 |
+
"loss_backend": "tiled",
|
| 149 |
+
"vocab_tile_size": 2048,
|
| 150 |
+
"weight_decay_policy": "weights_and_embeddings_only_v2"
|
| 151 |
+
},
|
| 152 |
+
"metrics": {
|
| 153 |
+
"achieved_tflops": 369.1012416902028,
|
| 154 |
+
"attention_tune_seconds": 0.0,
|
| 155 |
+
"base_learning_rate": 0.00390625,
|
| 156 |
+
"diagnostic_compile_seconds": 154.86130802310072,
|
| 157 |
+
"diagnostic_point_count": 472,
|
| 158 |
+
"diagnostics_every": 10,
|
| 159 |
+
"estimated_total_flops": 1137985752378900480,
|
| 160 |
+
"eval_compile_seconds": 19.469360776944086,
|
| 161 |
+
"expert_top_k": 2,
|
| 162 |
+
"experts": 8,
|
| 163 |
+
"final_validation_seconds": 0.8377334080869332,
|
| 164 |
+
"flop_accounting": {
|
| 165 |
+
"by_site": {
|
| 166 |
+
"dot_general": 3120908206080,
|
| 167 |
+
"pallas_call": 5798205849600,
|
| 168 |
+
"tpu_flash_causal_attention_bwd_dkv": 2061584302080,
|
| 169 |
+
"tpu_flash_causal_attention_bwd_dq": 2061584302080,
|
| 170 |
+
"tpu_flash_causal_attention_fwd": 2061584302080
|
| 171 |
+
},
|
| 172 |
+
"elementwise_per_sequence": 27341612828,
|
| 173 |
+
"matmul_per_sequence": 15103866961920,
|
| 174 |
+
"method": "traced-jaxpr",
|
| 175 |
+
"warnings": []
|
| 176 |
+
},
|
| 177 |
+
"flops_per_token": 1843733760,
|
| 178 |
+
"local_moe": {
|
| 179 |
+
"final_mean_input_rms": 3.4753713607788086,
|
| 180 |
+
"final_mean_objective": 0.5323125123977661,
|
| 181 |
+
"final_mean_output_gradient_rms": 9.827920877114593e-08,
|
| 182 |
+
"final_mean_output_rms": 3.9086716175079346,
|
| 183 |
+
"steps_per_global_update": 2
|
| 184 |
+
},
|
| 185 |
+
"mfu_estimate": 0.08388664583868245,
|
| 186 |
+
"model_tier": "125m",
|
| 187 |
+
"parameter_count": 123525760,
|
| 188 |
+
"parameters": 241628800,
|
| 189 |
+
"schedule_steps": 4709,
|
| 190 |
+
"stop_after_step": null,
|
| 191 |
+
"target_tokens_per_parameter": 5.0,
|
| 192 |
+
"tokens_per_parameter": 4.999472268158278,
|
| 193 |
+
"tokens_per_second": 200192.26728820262,
|
| 194 |
+
"tokens_processed": 617218048,
|
| 195 |
+
"total_compile_seconds": 276.5342413559556,
|
| 196 |
+
"total_parameter_count": 241628800,
|
| 197 |
+
"train_compile_seconds": 102.2035725559108,
|
| 198 |
+
"train_loss": 3.5578160285949707,
|
| 199 |
+
"train_seconds": 3083.1263183179544,
|
| 200 |
+
"training_data_epochs": 0.07812906684585416,
|
| 201 |
+
"training_data_sharding": "rank_disjoint_shuffled_windows",
|
| 202 |
+
"training_sampling": "shuffled_epochs",
|
| 203 |
+
"training_steps": 4709,
|
| 204 |
+
"training_token_budget": 617218048,
|
| 205 |
+
"training_usable_tokens_per_epoch": 7899979776,
|
| 206 |
+
"validation_loss": 3.5743553936481476,
|
| 207 |
+
"validation_probe_count": 0,
|
| 208 |
+
"validation_probe_seconds": 0.0,
|
| 209 |
+
"validation_tokens": 1048576
|
| 210 |
+
},
|
| 211 |
+
"profile": "dev",
|
| 212 |
+
"schema_version": 1,
|
| 213 |
+
"seed": 1388,
|
| 214 |
+
"status": "ok",
|
| 215 |
+
"system": {
|
| 216 |
+
"controller_process_index": 1,
|
| 217 |
+
"device_count": 16,
|
| 218 |
+
"device_ids": [
|
| 219 |
+
0,
|
| 220 |
+
1,
|
| 221 |
+
2,
|
| 222 |
+
3,
|
| 223 |
+
4,
|
| 224 |
+
5,
|
| 225 |
+
6,
|
| 226 |
+
7,
|
| 227 |
+
8,
|
| 228 |
+
9,
|
| 229 |
+
10,
|
| 230 |
+
11,
|
| 231 |
+
12,
|
| 232 |
+
13,
|
| 233 |
+
14,
|
| 234 |
+
15
|
| 235 |
+
],
|
| 236 |
+
"device_kinds": [
|
| 237 |
+
"TPU v4"
|
| 238 |
+
],
|
| 239 |
+
"jax_version": "0.11.0",
|
| 240 |
+
"jaxlib_version": "0.11.0",
|
| 241 |
+
"libtpu_version": "0.0.44.1",
|
| 242 |
+
"local_device_count": 4,
|
| 243 |
+
"platform": "tpu",
|
| 244 |
+
"process_count": 4,
|
| 245 |
+
"process_indices": [
|
| 246 |
+
0,
|
| 247 |
+
0,
|
| 248 |
+
0,
|
| 249 |
+
0,
|
| 250 |
+
1,
|
| 251 |
+
1,
|
| 252 |
+
1,
|
| 253 |
+
1,
|
| 254 |
+
2,
|
| 255 |
+
2,
|
| 256 |
+
2,
|
| 257 |
+
2,
|
| 258 |
+
3,
|
| 259 |
+
3,
|
| 260 |
+
3,
|
| 261 |
+
3
|
| 262 |
+
],
|
| 263 |
+
"python_version": "3.12.13"
|
| 264 |
+
},
|
| 265 |
+
"track": "open"
|
| 266 |
+
}
|
moe-gumbel-local-125M/125m-moe-local-k2-5tpp-bs16-lr2e-8-s1388/training.riglog
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:c9b849ea1ad961e516791e7cdc7f308c1db7ce58f68333c72008d2075cc4a38b
|
| 3 |
+
size 3583408
|
moe-gumbel-local-125M/125m-moe-local-k2-5tpp-bs16-lr2e-8-s1388/validation.csv
ADDED
|
@@ -0,0 +1,2 @@
|
|
|
|
|
|
|
|
|
|
| 1 |
+
step,tokens_processed,kind,domain,validation_tokens,validation_loss,perplexity,validation_seconds,canonical
|
| 2 |
+
4709,617218048,fineweb,fineweb,1048576,3.5743553936481476,35.671619250625064,0.8377334080869332,true
|
moe-gumbel-local-125M/125m-moe-local-k4-5tpp-bs16-lr2e-8-s1350/diagnostics.riglog
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:cb3b1028906251fb64d47da27d36f99e50d65a3ab1fc5a43e506feda8e936044
|
| 3 |
+
size 552576
|
moe-gumbel-local-125M/125m-moe-local-k4-5tpp-bs16-lr2e-8-s1350/metrics.json
ADDED
|
@@ -0,0 +1,266 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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ve": "validation.csv"
|
| 6 |
+
},
|
| 7 |
+
"checkpoint": null,
|
| 8 |
+
"contract": {
|
| 9 |
+
"context_preset": "8k",
|
| 10 |
+
"dataset_id": "fineweb-8b-gpt2",
|
| 11 |
+
"model": {
|
| 12 |
+
"d_model": 640,
|
| 13 |
+
"heads": 10,
|
| 14 |
+
"layers": 12,
|
| 15 |
+
"mlp_activation": "gelu",
|
| 16 |
+
"mlp_mult": 4,
|
| 17 |
+
"normalization": "rms_norm",
|
| 18 |
+
"parameterization": "completep_fixed_tpp_v1",
|
| 19 |
+
"position_encoding": "rope_base_10000",
|
| 20 |
+
"semantic_vocab_size": 50304,
|
| 21 |
+
"tied_embeddings": false,
|
| 22 |
+
"tier": "125m",
|
| 23 |
+
"vocab_size": 50304
|
| 24 |
+
},
|
| 25 |
+
"model_id": "reference-gpt-v3-family",
|
| 26 |
+
"sequence_length": 8192,
|
| 27 |
+
"tokenizer_id": "gpt2"
|
| 28 |
+
},
|
| 29 |
+
"evaluations": {
|
| 30 |
+
"fineweb": {
|
| 31 |
+
"canonical": true,
|
| 32 |
+
"loss": 3.5883184373378754,
|
| 33 |
+
"perplexity": 36.17319725729573,
|
| 34 |
+
"scored_tokens": 1048576,
|
| 35 |
+
"seconds": 0.8688949570059776
|
| 36 |
+
}
|
| 37 |
+
},
|
| 38 |
+
"implementation": {
|
| 39 |
+
"attention_backend": "tpu_flash",
|
| 40 |
+
"attention_tuning": {
|
| 41 |
+
"key_digest": "3d77f3dec34a89456ba8284f3d7d149016d9913126698de06073a72e1ff1a550",
|
| 42 |
+
"resolution_source": "heuristic",
|
| 43 |
+
"tiles": {
|
| 44 |
+
"block_kv": 512,
|
| 45 |
+
"block_kv_compute": 256,
|
| 46 |
+
"block_kv_dkv": 512,
|
| 47 |
+
"block_kv_dkv_compute": 256,
|
| 48 |
+
"block_kv_dq": 512,
|
| 49 |
+
"block_kv_dq_compute": 256,
|
| 50 |
+
"block_q": 512,
|
| 51 |
+
"block_q_dkv": 512,
|
| 52 |
+
"block_q_dkv_compute": 256,
|
| 53 |
+
"block_q_dq": 256
|
| 54 |
+
},
|
| 55 |
+
"tune_seconds": 0.0
|
| 56 |
+
},
|
| 57 |
+
"configuration": {
|
| 58 |
+
"context_preset": "8k",
|
| 59 |
+
"path": "dev.yaml",
|
| 60 |
+
"profile": "dev",
|
| 61 |
+
"resolved": {
|
| 62 |
+
"evaluation": {
|
| 63 |
+
"eval_batches": 8,
|
| 64 |
+
"final_predictions": 1048576,
|
| 65 |
+
"probe_predictions": 0,
|
| 66 |
+
"val_every": 0,
|
| 67 |
+
"val_probe_batches": 0
|
| 68 |
+
},
|
| 69 |
+
"kernels": {
|
| 70 |
+
"attention_backend": "tpu_flash",
|
| 71 |
+
"document_masking": true,
|
| 72 |
+
"loss_backend": "tiled",
|
| 73 |
+
"vocab_tile_size": 2048
|
| 74 |
+
},
|
| 75 |
+
"logging": {
|
| 76 |
+
"diagnostics_every": 10,
|
| 77 |
+
"log_every": 10
|
| 78 |
+
},
|
| 79 |
+
"model": {
|
| 80 |
+
"d_model": 640,
|
| 81 |
+
"heads": 10,
|
| 82 |
+
"layers": 12,
|
| 83 |
+
"mlp_activation": "gelu",
|
| 84 |
+
"mlp_mult": 4,
|
| 85 |
+
"normalization": "rms_norm",
|
| 86 |
+
"parameterization": "completep_fixed_tpp_v1",
|
| 87 |
+
"position_encoding": "rope_base_10000",
|
| 88 |
+
"semantic_vocab_size": 50304,
|
| 89 |
+
"tied_embeddings": false,
|
| 90 |
+
"tier": "125m",
|
| 91 |
+
"vocab_size": 50304
|
| 92 |
+
},
|
| 93 |
+
"optimizer": {
|
| 94 |
+
"adam_epsilon": 1e-08,
|
| 95 |
+
"beta1": 0.9,
|
| 96 |
+
"beta2": 0.95,
|
| 97 |
+
"effective": {
|
| 98 |
+
"adam_epsilon_horizon_multiplier": 1.4354161175193187,
|
| 99 |
+
"beta1": 0.9514661925028901,
|
| 100 |
+
"beta2": 0.975733096251445,
|
| 101 |
+
"global_peak_learning_rate": 0.0027213363096067,
|
| 102 |
+
"weight_decay_horizon_multiplier": 0.6966620952593152
|
| 103 |
+
},
|
| 104 |
+
"grad_clip": 0.0,
|
| 105 |
+
"learning_rate": 0.00390625,
|
| 106 |
+
"local_moe_steps": 4,
|
| 107 |
+
"min_lr_ratio": 0.1,
|
| 108 |
+
"warmup_steps": 471,
|
| 109 |
+
"weight_decay": 0.1
|
| 110 |
+
},
|
| 111 |
+
"parameterization": {
|
| 112 |
+
"attention_scale": "inverse_head_dim",
|
| 113 |
+
"base_depth": 12,
|
| 114 |
+
"base_width": 384,
|
| 115 |
+
"batch_ratio": 1.0,
|
| 116 |
+
"depth_alpha": 1.0,
|
| 117 |
+
"depth_multiplier": 1.0,
|
| 118 |
+
"embeddings": "untied",
|
| 119 |
+
"init_std": 0.02,
|
| 120 |
+
"ladder_data_multiplier": 2.0604194304342345,
|
| 121 |
+
"name": "completep_fixed_tpp_v1",
|
| 122 |
+
"width_multiplier": 1.6666666666666667
|
| 123 |
+
},
|
| 124 |
+
"training": {
|
| 125 |
+
"batch_size": 16,
|
| 126 |
+
"dtype": "bfloat16",
|
| 127 |
+
"sampling": "shuffled_epochs",
|
| 128 |
+
"seq_len": 8192,
|
| 129 |
+
"steps": 4709,
|
| 130 |
+
"target_tokens_per_parameter": 5.0,
|
| 131 |
+
"tokens_per_parameter": 4.999472268158278,
|
| 132 |
+
"train_tokens": 617218048
|
| 133 |
+
}
|
| 134 |
+
},
|
| 135 |
+
"schema_version": 6,
|
| 136 |
+
"sha256": "92c402bf8365d121c177cfae2a02e7423c09a840ba1cd9e7bdfeb6ca8203bf40"
|
| 137 |
+
},
|
| 138 |
+
"context_preset": "8k",
|
| 139 |
+
"document_masking": true,
|
| 140 |
+
"local_moe_optimization": {
|
| 141 |
+
"inner_optimizer": "stateless_sgd_existing_learning_rate_no_decay",
|
| 142 |
+
"objective": "variance_normalized_output_delta_plus_output_gradient",
|
| 143 |
+
"routing": "standard_gumbel_top_k_selection_clean_gate_weights",
|
| 144 |
+
"statistics": "per_layer_ema_input_output_output_gradient_second_moment",
|
| 145 |
+
"statistics_decay": "effective_adam_beta2",
|
| 146 |
+
"steps": 4
|
| 147 |
+
},
|
| 148 |
+
"loss_backend": "tiled",
|
| 149 |
+
"vocab_tile_size": 2048,
|
| 150 |
+
"weight_decay_policy": "weights_and_embeddings_only_v2"
|
| 151 |
+
},
|
| 152 |
+
"metrics": {
|
| 153 |
+
"achieved_tflops": 306.94216920766996,
|
| 154 |
+
"attention_tune_seconds": 0.0,
|
| 155 |
+
"base_learning_rate": 0.00390625,
|
| 156 |
+
"diagnostic_compile_seconds": 161.9140094940085,
|
| 157 |
+
"diagnostic_point_count": 472,
|
| 158 |
+
"diagnostics_every": 10,
|
| 159 |
+
"estimated_total_flops": 1429529141748695040,
|
| 160 |
+
"eval_compile_seconds": 20.12643924797885,
|
| 161 |
+
"expert_top_k": 2,
|
| 162 |
+
"experts": 8,
|
| 163 |
+
"final_validation_seconds": 0.8688949570059776,
|
| 164 |
+
"flop_accounting": {
|
| 165 |
+
"by_site": {
|
| 166 |
+
"dot_general": 3124934737920,
|
| 167 |
+
"pallas_call": 9663676416000,
|
| 168 |
+
"tpu_flash_causal_attention_bwd_dkv": 2061584302080,
|
| 169 |
+
"tpu_flash_causal_attention_bwd_dq": 2061584302080,
|
| 170 |
+
"tpu_flash_causal_attention_fwd": 2061584302080
|
| 171 |
+
},
|
| 172 |
+
"elementwise_per_sequence": 41366274432,
|
| 173 |
+
"matmul_per_sequence": 18973364060160,
|
| 174 |
+
"method": "traced-jaxpr",
|
| 175 |
+
"warnings": []
|
| 176 |
+
},
|
| 177 |
+
"flops_per_token": 2316084480,
|
| 178 |
+
"local_moe": {
|
| 179 |
+
"final_mean_input_rms": 3.526721954345703,
|
| 180 |
+
"final_mean_objective": 0.5217261910438538,
|
| 181 |
+
"final_mean_output_gradient_rms": 1.0121993199163626e-07,
|
| 182 |
+
"final_mean_output_rms": 3.9785139560699463,
|
| 183 |
+
"steps_per_global_update": 4
|
| 184 |
+
},
|
| 185 |
+
"mfu_estimate": 0.06975958391083409,
|
| 186 |
+
"model_tier": "125m",
|
| 187 |
+
"parameter_count": 123525760,
|
| 188 |
+
"parameters": 241628800,
|
| 189 |
+
"schedule_steps": 4709,
|
| 190 |
+
"stop_after_step": null,
|
| 191 |
+
"target_tokens_per_parameter": 5.0,
|
| 192 |
+
"tokens_per_parameter": 4.999472268158278,
|
| 193 |
+
"tokens_per_second": 132526.32702226387,
|
| 194 |
+
"tokens_processed": 617218048,
|
| 195 |
+
"total_compile_seconds": 295.4373490649741,
|
| 196 |
+
"total_parameter_count": 241628800,
|
| 197 |
+
"train_compile_seconds": 113.39690032298677,
|
| 198 |
+
"train_loss": 3.520134210586548,
|
| 199 |
+
"train_seconds": 4657.324034161982,
|
| 200 |
+
"training_data_epochs": 0.07812906684585416,
|
| 201 |
+
"training_data_sharding": "rank_disjoint_shuffled_windows",
|
| 202 |
+
"training_sampling": "shuffled_epochs",
|
| 203 |
+
"training_steps": 4709,
|
| 204 |
+
"training_token_budget": 617218048,
|
| 205 |
+
"training_usable_tokens_per_epoch": 7899979776,
|
| 206 |
+
"validation_loss": 3.5883184373378754,
|
| 207 |
+
"validation_probe_count": 0,
|
| 208 |
+
"validation_probe_seconds": 0.0,
|
| 209 |
+
"validation_tokens": 1048576
|
| 210 |
+
},
|
| 211 |
+
"profile": "dev",
|
| 212 |
+
"schema_version": 1,
|
| 213 |
+
"seed": 1350,
|
| 214 |
+
"status": "ok",
|
| 215 |
+
"system": {
|
| 216 |
+
"controller_process_index": 1,
|
| 217 |
+
"device_count": 16,
|
| 218 |
+
"device_ids": [
|
| 219 |
+
0,
|
| 220 |
+
1,
|
| 221 |
+
2,
|
| 222 |
+
3,
|
| 223 |
+
4,
|
| 224 |
+
5,
|
| 225 |
+
6,
|
| 226 |
+
7,
|
| 227 |
+
8,
|
| 228 |
+
9,
|
| 229 |
+
10,
|
| 230 |
+
11,
|
| 231 |
+
12,
|
| 232 |
+
13,
|
| 233 |
+
14,
|
| 234 |
+
15
|
| 235 |
+
],
|
| 236 |
+
"device_kinds": [
|
| 237 |
+
"TPU v4"
|
| 238 |
+
],
|
| 239 |
+
"jax_version": "0.11.0",
|
| 240 |
+
"jaxlib_version": "0.11.0",
|
| 241 |
+
"libtpu_version": "0.0.44.1",
|
| 242 |
+
"local_device_count": 4,
|
| 243 |
+
"platform": "tpu",
|
| 244 |
+
"process_count": 4,
|
| 245 |
+
"process_indices": [
|
| 246 |
+
0,
|
| 247 |
+
0,
|
| 248 |
+
0,
|
| 249 |
+
0,
|
| 250 |
+
1,
|
| 251 |
+
1,
|
| 252 |
+
1,
|
| 253 |
+
1,
|
| 254 |
+
2,
|
| 255 |
+
2,
|
| 256 |
+
2,
|
| 257 |
+
2,
|
| 258 |
+
3,
|
| 259 |
+
3,
|
| 260 |
+
3,
|
| 261 |
+
3
|
| 262 |
+
],
|
| 263 |
+
"python_version": "3.12.13"
|
| 264 |
+
},
|
| 265 |
+
"track": "open"
|
| 266 |
+
}
|
moe-gumbel-local-125M/125m-moe-local-k4-5tpp-bs16-lr2e-8-s1350/result.json
ADDED
|
@@ -0,0 +1,266 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"artifacts": {
|
| 3 |
+
"diagnostics": "diagnostics.riglog",
|
| 4 |
+
"training_curve": "training.riglog",
|
| 5 |
+
"validation_curve": "validation.csv"
|
| 6 |
+
},
|
| 7 |
+
"checkpoint": null,
|
| 8 |
+
"contract": {
|
| 9 |
+
"context_preset": "8k",
|
| 10 |
+
"dataset_id": "fineweb-8b-gpt2",
|
| 11 |
+
"model": {
|
| 12 |
+
"d_model": 640,
|
| 13 |
+
"heads": 10,
|
| 14 |
+
"layers": 12,
|
| 15 |
+
"mlp_activation": "gelu",
|
| 16 |
+
"mlp_mult": 4,
|
| 17 |
+
"normalization": "rms_norm",
|
| 18 |
+
"parameterization": "completep_fixed_tpp_v1",
|
| 19 |
+
"position_encoding": "rope_base_10000",
|
| 20 |
+
"semantic_vocab_size": 50304,
|
| 21 |
+
"tied_embeddings": false,
|
| 22 |
+
"tier": "125m",
|
| 23 |
+
"vocab_size": 50304
|
| 24 |
+
},
|
| 25 |
+
"model_id": "reference-gpt-v3-family",
|
| 26 |
+
"sequence_length": 8192,
|
| 27 |
+
"tokenizer_id": "gpt2"
|
| 28 |
+
},
|
| 29 |
+
"evaluations": {
|
| 30 |
+
"fineweb": {
|
| 31 |
+
"canonical": true,
|
| 32 |
+
"loss": 3.5883184373378754,
|
| 33 |
+
"perplexity": 36.17319725729573,
|
| 34 |
+
"scored_tokens": 1048576,
|
| 35 |
+
"seconds": 0.8688949570059776
|
| 36 |
+
}
|
| 37 |
+
},
|
| 38 |
+
"implementation": {
|
| 39 |
+
"attention_backend": "tpu_flash",
|
| 40 |
+
"attention_tuning": {
|
| 41 |
+
"key_digest": "3d77f3dec34a89456ba8284f3d7d149016d9913126698de06073a72e1ff1a550",
|
| 42 |
+
"resolution_source": "heuristic",
|
| 43 |
+
"tiles": {
|
| 44 |
+
"block_kv": 512,
|
| 45 |
+
"block_kv_compute": 256,
|
| 46 |
+
"block_kv_dkv": 512,
|
| 47 |
+
"block_kv_dkv_compute": 256,
|
| 48 |
+
"block_kv_dq": 512,
|
| 49 |
+
"block_kv_dq_compute": 256,
|
| 50 |
+
"block_q": 512,
|
| 51 |
+
"block_q_dkv": 512,
|
| 52 |
+
"block_q_dkv_compute": 256,
|
| 53 |
+
"block_q_dq": 256
|
| 54 |
+
},
|
| 55 |
+
"tune_seconds": 0.0
|
| 56 |
+
},
|
| 57 |
+
"configuration": {
|
| 58 |
+
"context_preset": "8k",
|
| 59 |
+
"path": "dev.yaml",
|
| 60 |
+
"profile": "dev",
|
| 61 |
+
"resolved": {
|
| 62 |
+
"evaluation": {
|
| 63 |
+
"eval_batches": 8,
|
| 64 |
+
"final_predictions": 1048576,
|
| 65 |
+
"probe_predictions": 0,
|
| 66 |
+
"val_every": 0,
|
| 67 |
+
"val_probe_batches": 0
|
| 68 |
+
},
|
| 69 |
+
"kernels": {
|
| 70 |
+
"attention_backend": "tpu_flash",
|
| 71 |
+
"document_masking": true,
|
| 72 |
+
"loss_backend": "tiled",
|
| 73 |
+
"vocab_tile_size": 2048
|
| 74 |
+
},
|
| 75 |
+
"logging": {
|
| 76 |
+
"diagnostics_every": 10,
|
| 77 |
+
"log_every": 10
|
| 78 |
+
},
|
| 79 |
+
"model": {
|
| 80 |
+
"d_model": 640,
|
| 81 |
+
"heads": 10,
|
| 82 |
+
"layers": 12,
|
| 83 |
+
"mlp_activation": "gelu",
|
| 84 |
+
"mlp_mult": 4,
|
| 85 |
+
"normalization": "rms_norm",
|
| 86 |
+
"parameterization": "completep_fixed_tpp_v1",
|
| 87 |
+
"position_encoding": "rope_base_10000",
|
| 88 |
+
"semantic_vocab_size": 50304,
|
| 89 |
+
"tied_embeddings": false,
|
| 90 |
+
"tier": "125m",
|
| 91 |
+
"vocab_size": 50304
|
| 92 |
+
},
|
| 93 |
+
"optimizer": {
|
| 94 |
+
"adam_epsilon": 1e-08,
|
| 95 |
+
"beta1": 0.9,
|
| 96 |
+
"beta2": 0.95,
|
| 97 |
+
"effective": {
|
| 98 |
+
"adam_epsilon_horizon_multiplier": 1.4354161175193187,
|
| 99 |
+
"beta1": 0.9514661925028901,
|
| 100 |
+
"beta2": 0.975733096251445,
|
| 101 |
+
"global_peak_learning_rate": 0.0027213363096067,
|
| 102 |
+
"weight_decay_horizon_multiplier": 0.6966620952593152
|
| 103 |
+
},
|
| 104 |
+
"grad_clip": 0.0,
|
| 105 |
+
"learning_rate": 0.00390625,
|
| 106 |
+
"local_moe_steps": 4,
|
| 107 |
+
"min_lr_ratio": 0.1,
|
| 108 |
+
"warmup_steps": 471,
|
| 109 |
+
"weight_decay": 0.1
|
| 110 |
+
},
|
| 111 |
+
"parameterization": {
|
| 112 |
+
"attention_scale": "inverse_head_dim",
|
| 113 |
+
"base_depth": 12,
|
| 114 |
+
"base_width": 384,
|
| 115 |
+
"batch_ratio": 1.0,
|
| 116 |
+
"depth_alpha": 1.0,
|
| 117 |
+
"depth_multiplier": 1.0,
|
| 118 |
+
"embeddings": "untied",
|
| 119 |
+
"init_std": 0.02,
|
| 120 |
+
"ladder_data_multiplier": 2.0604194304342345,
|
| 121 |
+
"name": "completep_fixed_tpp_v1",
|
| 122 |
+
"width_multiplier": 1.6666666666666667
|
| 123 |
+
},
|
| 124 |
+
"training": {
|
| 125 |
+
"batch_size": 16,
|
| 126 |
+
"dtype": "bfloat16",
|
| 127 |
+
"sampling": "shuffled_epochs",
|
| 128 |
+
"seq_len": 8192,
|
| 129 |
+
"steps": 4709,
|
| 130 |
+
"target_tokens_per_parameter": 5.0,
|
| 131 |
+
"tokens_per_parameter": 4.999472268158278,
|
| 132 |
+
"train_tokens": 617218048
|
| 133 |
+
}
|
| 134 |
+
},
|
| 135 |
+
"schema_version": 6,
|
| 136 |
+
"sha256": "92c402bf8365d121c177cfae2a02e7423c09a840ba1cd9e7bdfeb6ca8203bf40"
|
| 137 |
+
},
|
| 138 |
+
"context_preset": "8k",
|
| 139 |
+
"document_masking": true,
|
| 140 |
+
"local_moe_optimization": {
|
| 141 |
+
"inner_optimizer": "stateless_sgd_existing_learning_rate_no_decay",
|
| 142 |
+
"objective": "variance_normalized_output_delta_plus_output_gradient",
|
| 143 |
+
"routing": "standard_gumbel_top_k_selection_clean_gate_weights",
|
| 144 |
+
"statistics": "per_layer_ema_input_output_output_gradient_second_moment",
|
| 145 |
+
"statistics_decay": "effective_adam_beta2",
|
| 146 |
+
"steps": 4
|
| 147 |
+
},
|
| 148 |
+
"loss_backend": "tiled",
|
| 149 |
+
"vocab_tile_size": 2048,
|
| 150 |
+
"weight_decay_policy": "weights_and_embeddings_only_v2"
|
| 151 |
+
},
|
| 152 |
+
"metrics": {
|
| 153 |
+
"achieved_tflops": 306.94216920766996,
|
| 154 |
+
"attention_tune_seconds": 0.0,
|
| 155 |
+
"base_learning_rate": 0.00390625,
|
| 156 |
+
"diagnostic_compile_seconds": 161.9140094940085,
|
| 157 |
+
"diagnostic_point_count": 472,
|
| 158 |
+
"diagnostics_every": 10,
|
| 159 |
+
"estimated_total_flops": 1429529141748695040,
|
| 160 |
+
"eval_compile_seconds": 20.12643924797885,
|
| 161 |
+
"expert_top_k": 2,
|
| 162 |
+
"experts": 8,
|
| 163 |
+
"final_validation_seconds": 0.8688949570059776,
|
| 164 |
+
"flop_accounting": {
|
| 165 |
+
"by_site": {
|
| 166 |
+
"dot_general": 3124934737920,
|
| 167 |
+
"pallas_call": 9663676416000,
|
| 168 |
+
"tpu_flash_causal_attention_bwd_dkv": 2061584302080,
|
| 169 |
+
"tpu_flash_causal_attention_bwd_dq": 2061584302080,
|
| 170 |
+
"tpu_flash_causal_attention_fwd": 2061584302080
|
| 171 |
+
},
|
| 172 |
+
"elementwise_per_sequence": 41366274432,
|
| 173 |
+
"matmul_per_sequence": 18973364060160,
|
| 174 |
+
"method": "traced-jaxpr",
|
| 175 |
+
"warnings": []
|
| 176 |
+
},
|
| 177 |
+
"flops_per_token": 2316084480,
|
| 178 |
+
"local_moe": {
|
| 179 |
+
"final_mean_input_rms": 3.526721954345703,
|
| 180 |
+
"final_mean_objective": 0.5217261910438538,
|
| 181 |
+
"final_mean_output_gradient_rms": 1.0121993199163626e-07,
|
| 182 |
+
"final_mean_output_rms": 3.9785139560699463,
|
| 183 |
+
"steps_per_global_update": 4
|
| 184 |
+
},
|
| 185 |
+
"mfu_estimate": 0.06975958391083409,
|
| 186 |
+
"model_tier": "125m",
|
| 187 |
+
"parameter_count": 123525760,
|
| 188 |
+
"parameters": 241628800,
|
| 189 |
+
"schedule_steps": 4709,
|
| 190 |
+
"stop_after_step": null,
|
| 191 |
+
"target_tokens_per_parameter": 5.0,
|
| 192 |
+
"tokens_per_parameter": 4.999472268158278,
|
| 193 |
+
"tokens_per_second": 132526.32702226387,
|
| 194 |
+
"tokens_processed": 617218048,
|
| 195 |
+
"total_compile_seconds": 295.4373490649741,
|
| 196 |
+
"total_parameter_count": 241628800,
|
| 197 |
+
"train_compile_seconds": 113.39690032298677,
|
| 198 |
+
"train_loss": 3.520134210586548,
|
| 199 |
+
"train_seconds": 4657.324034161982,
|
| 200 |
+
"training_data_epochs": 0.07812906684585416,
|
| 201 |
+
"training_data_sharding": "rank_disjoint_shuffled_windows",
|
| 202 |
+
"training_sampling": "shuffled_epochs",
|
| 203 |
+
"training_steps": 4709,
|
| 204 |
+
"training_token_budget": 617218048,
|
| 205 |
+
"training_usable_tokens_per_epoch": 7899979776,
|
| 206 |
+
"validation_loss": 3.5883184373378754,
|
| 207 |
+
"validation_probe_count": 0,
|
| 208 |
+
"validation_probe_seconds": 0.0,
|
| 209 |
+
"validation_tokens": 1048576
|
| 210 |
+
},
|
| 211 |
+
"profile": "dev",
|
| 212 |
+
"schema_version": 1,
|
| 213 |
+
"seed": 1350,
|
| 214 |
+
"status": "ok",
|
| 215 |
+
"system": {
|
| 216 |
+
"controller_process_index": 1,
|
| 217 |
+
"device_count": 16,
|
| 218 |
+
"device_ids": [
|
| 219 |
+
0,
|
| 220 |
+
1,
|
| 221 |
+
2,
|
| 222 |
+
3,
|
| 223 |
+
4,
|
| 224 |
+
5,
|
| 225 |
+
6,
|
| 226 |
+
7,
|
| 227 |
+
8,
|
| 228 |
+
9,
|
| 229 |
+
10,
|
| 230 |
+
11,
|
| 231 |
+
12,
|
| 232 |
+
13,
|
| 233 |
+
14,
|
| 234 |
+
15
|
| 235 |
+
],
|
| 236 |
+
"device_kinds": [
|
| 237 |
+
"TPU v4"
|
| 238 |
+
],
|
| 239 |
+
"jax_version": "0.11.0",
|
| 240 |
+
"jaxlib_version": "0.11.0",
|
| 241 |
+
"libtpu_version": "0.0.44.1",
|
| 242 |
+
"local_device_count": 4,
|
| 243 |
+
"platform": "tpu",
|
| 244 |
+
"process_count": 4,
|
| 245 |
+
"process_indices": [
|
| 246 |
+
0,
|
| 247 |
+
0,
|
| 248 |
+
0,
|
| 249 |
+
0,
|
| 250 |
+
1,
|
| 251 |
+
1,
|
| 252 |
+
1,
|
| 253 |
+
1,
|
| 254 |
+
2,
|
| 255 |
+
2,
|
| 256 |
+
2,
|
| 257 |
+
2,
|
| 258 |
+
3,
|
| 259 |
+
3,
|
| 260 |
+
3,
|
| 261 |
+
3
|
| 262 |
+
],
|
| 263 |
+
"python_version": "3.12.13"
|
| 264 |
+
},
|
| 265 |
+
"track": "open"
|
| 266 |
+
}
|
moe-gumbel-local-125M/125m-moe-local-k4-5tpp-bs16-lr2e-8-s1350/training.riglog
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:192df739993703583a5c9a495e3853bde07bfbf14e71d6d934a7aa6ab20c4df0
|
| 3 |
+
size 3583408
|
moe-gumbel-local-125M/125m-moe-local-k4-5tpp-bs16-lr2e-8-s1350/validation.csv
ADDED
|
@@ -0,0 +1,2 @@
|
|
|
|
|
|
|
|
|
|
| 1 |
+
step,tokens_processed,kind,domain,validation_tokens,validation_loss,perplexity,validation_seconds,canonical
|
| 2 |
+
4709,617218048,fineweb,fineweb,1048576,3.5883184373378754,36.17319725729573,0.8688949570059776,true
|
moe-gumbel-local-125M/README.md
ADDED
|
@@ -0,0 +1,174 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Gumbel-routed local MoE optimization — 125M
|
| 2 |
+
|
| 3 |
+
Eight complete TPU v4 runs test whether extra, route-perturbed optimization
|
| 4 |
+
inside every MoE block can turn inactive expert capacity into useful training
|
| 5 |
+
compute. The declared grid is complete: `K=0` and `K=2` have three matched
|
| 6 |
+
seeds each; `K=1` and `K=4` are single-seed shape probes. A separate 20-step
|
| 7 |
+
preflight is deliberately absent from this archive.
|
| 8 |
+
|
| 9 |
+
The result is a clean negative for this implementation. At the same token
|
| 10 |
+
horizon, the three-seed mean difference between two local steps and the exact
|
| 11 |
+
baseline path is **+0.000021 nats** (`K=2 - K=0`), while `K=2` spends **34.4%
|
| 12 |
+
more traced FLOPs** and **97.1% more training wall time**. The perturbation does
|
| 13 |
+
change routing statistics, but it does not improve language modelling.
|
| 14 |
+
|
| 15 |
+
## The intervention
|
| 16 |
+
|
| 17 |
+
The fork keeps the 125M `reference_moe` architecture, data order, router
|
| 18 |
+
auxiliary loss, and outer AdamW update. The outer forward/backward caches each
|
| 19 |
+
MoE block's input, output, and output gradient. Each of `K` inner steps draws
|
| 20 |
+
fresh standard Gumbel noise for hard top-2 selection, retains the clean router
|
| 21 |
+
weights on the selected experts, and applies stateless SGD to the MoE
|
| 22 |
+
parameters only.
|
| 23 |
+
|
| 24 |
+
For block `l`, the local objective is
|
| 25 |
+
|
| 26 |
+
```text
|
| 27 |
+
0.5 * mean((delta_l / s_l + g_l / q_l) ** 2)
|
| 28 |
+
```
|
| 29 |
+
|
| 30 |
+
where `delta_l` is the sampled block-output displacement from the cached outer
|
| 31 |
+
pass, `g_l` is the cached output gradient, and `s_l` and `q_l` are rolling RMS
|
| 32 |
+
scales derived from input/output activations and output gradients. Their decay
|
| 33 |
+
is the outer optimizer's effective Adam `beta2`. There is no local Adam state,
|
| 34 |
+
extra decay, sampling temperature, trust-region coefficient, or local learning
|
| 35 |
+
rate coefficient. `K=0` bypasses all local work and is the exact baseline
|
| 36 |
+
update path.
|
| 37 |
+
|
| 38 |
+
All arms hold these coordinates fixed:
|
| 39 |
+
|
| 40 |
+
| coordinate | value |
|
| 41 |
+
|---|---:|
|
| 42 |
+
| active tier / total stored parameters | 125M / 241,628,800 |
|
| 43 |
+
| routed MLP | top-2 of 8 experts, 2× width each, all 12 blocks |
|
| 44 |
+
| context / global batch | 8,192 / 16 sequences = 131,072 tokens per step |
|
| 45 |
+
| horizon | 4,709 steps; 617,218,048 tokens; 4.99947 TPP |
|
| 46 |
+
| base learning rate / base weight decay | 0.00390625 / 0.1 |
|
| 47 |
+
| router auxiliary coefficient | 0.01 |
|
| 48 |
+
| data | FineWeb-8B GPT-2, shuffled rank-disjoint windows |
|
| 49 |
+
| validation | held-out `fineweb_val_000000.bin`, 1,048,576 scored tokens |
|
| 50 |
+
| hardware | TPU v4, 4 processes, 16 chips |
|
| 51 |
+
|
| 52 |
+
## Endpoint and cost
|
| 53 |
+
|
| 54 |
+
The `K=2` comparison is paired by seed. Sample standard deviations are shown
|
| 55 |
+
only where three seeds exist; `K=1` and `K=4` should be read as mechanism
|
| 56 |
+
probes, not estimates of their expected effect.
|
| 57 |
+
|
| 58 |
+
| local steps | seed 1350 | seed 1369 | seed 1388 | mean ± sample SD | paired Δ vs K=0 | FLOPs × | wall × |
|
| 59 |
+
|---:|---:|---:|---:|---:|---:|---:|---:|
|
| 60 |
+
| 0 | 3.580733 | 3.583683 | 3.576481 | 3.580299 ± 0.003621 | — | 1.000 | 1.000 |
|
| 61 |
+
| 1 | 3.590304 | — | — | — | +0.009571 (s1350) | 1.172 | 1.504 |
|
| 62 |
+
| 2 | 3.578030 | 3.588574 | 3.574355 | 3.580320 ± 0.007381 | **+0.000021** | 1.344 | 1.971 |
|
| 63 |
+
| 4 | 3.588318 | — | — | — | +0.007585 (s1350) | 1.689 | 2.978 |
|
| 64 |
+
|
| 65 |
+
The three paired `K=2 - K=0` differences are -0.002703, +0.004891, and
|
| 66 |
+
-0.002125 nats. Their mean is almost exactly zero, but three seeds do not imply
|
| 67 |
+
a narrow effect estimate: the two-sided 95% Student-t interval is roughly
|
| 68 |
+
[-0.0105, +0.0105]. The stronger evidence is practical. There is no consistent
|
| 69 |
+
per-seed direction, the loss traces rejoin by the end, and the single-seed
|
| 70 |
+
`K=1`/`K=4` probes move the wrong way as work increases.
|
| 71 |
+
|
| 72 |
+
A diagnostic cross-section at the baseline's final cumulative FLOPs tells the
|
| 73 |
+
same efficiency story. It is **not** a formal equi-FLOP experiment—the token
|
| 74 |
+
schedule and LR schedule were not redesigned for each `K`—and it uses a
|
| 75 |
+
100-step-smoothed training loss rather than validation. At that compute, seed
|
| 76 |
+
1350 has processed 617M tokens for `K=0`, 527M for `K=1`, 459M for `K=2`, and
|
| 77 |
+
365M for `K=4`; their respective smoothed losses are 3.5827, 3.6420, 3.6752,
|
| 78 |
+
and 3.8100. The extra FLOPs are not buying a better intermediate model either.
|
| 79 |
+
|
| 80 |
+
## What changed inside the router
|
| 81 |
+
|
| 82 |
+
Final routing summaries average the last 200 optimizer steps and then the three
|
| 83 |
+
matched seeds. They are permutation-invariant; same-numbered experts are not
|
| 84 |
+
compared across runs.
|
| 85 |
+
|
| 86 |
+
| statistic | K=0 mean | K=2 mean | K=2 − K=0 |
|
| 87 |
+
|---|---:|---:|---:|
|
| 88 |
+
| balance loss (1 is even) | 1.04506 | 1.03724 | -0.00782 |
|
| 89 |
+
| busiest assignment share | 0.27052 | 0.28091 | +0.01039 |
|
| 90 |
+
| idlest assignment share | 0.04193 | 0.05251 | +0.01058 |
|
| 91 |
+
| clean routing entropy | 1.22945 | 1.20911 | **-0.02034** |
|
| 92 |
+
| clean top-1 gate weight | 0.77495 | 0.77760 | +0.00265 |
|
| 93 |
+
| clean router-logit RMS | 1.30362 | 1.33424 | **+0.03062** |
|
| 94 |
+
|
| 95 |
+
The auxiliary balance statistic improves modestly and the least-used share
|
| 96 |
+
rises, but the clean router also becomes more confident: entropy falls and
|
| 97 |
+
logit RMS rises in every paired seed. A plausible interpretation is that hard
|
| 98 |
+
Gumbel perturbations train the clean router to build margins that resist route
|
| 99 |
+
changes, rather than maintaining useful exploration. Because hard top-k
|
| 100 |
+
selection is discrete, the local gradient can update the selected experts and
|
| 101 |
+
their clean mixture weights, but it cannot directly say which unselected expert
|
| 102 |
+
should have won.
|
| 103 |
+
|
| 104 |
+
The update magnitude supplies a second, more decisive explanation. On the
|
| 105 |
+
first identical outer step, mean block-level actual-update L2 norms differ from
|
| 106 |
+
`K=0` by only 0.00027%, 0.00049%, and 0.00093% for `K=1`, `K=2`, and `K=4`.
|
| 107 |
+
They remain effectively identical at step 10. The normalized objective averages
|
| 108 |
+
over roughly 84 million activation values per block, then raw SGD uses an LR
|
| 109 |
+
chosen for AdamW-preconditioned parameter updates. The resulting local vector
|
| 110 |
+
is tiny next to the outer update. This experiment therefore spends real
|
| 111 |
+
forward/backward FLOPs without making a commensurate parameter-space move.
|
| 112 |
+
|
| 113 |
+
That mechanism distinction matters: these runs reject **this exact
|
| 114 |
+
normalization plus raw-SGD realization**, not the broader idea of spending
|
| 115 |
+
extra compute to explore MoE blocks. The next useful prototype should normalize
|
| 116 |
+
the local parameter delta against the outer MoE delta—or normalize its predicted
|
| 117 |
+
output-displacement RMS against a cached target—then log those two update norms
|
| 118 |
+
separately. That preserves the simple, statistics-driven intent while making
|
| 119 |
+
the intervention large enough to test.
|
| 120 |
+
|
| 121 |
+
## Evidence boundary
|
| 122 |
+
|
| 123 |
+
- The primary endpoint comparison has three seeds at one tier, horizon,
|
| 124 |
+
context, data order family, and TPU topology. `K=1` and `K=4` have one seed.
|
| 125 |
+
- Every arm keeps the baseline LR schedule even though inner work changes total
|
| 126 |
+
FLOPs. The equal-FLOP cross-section above is diagnostic, not a schedule-tuned
|
| 127 |
+
comparison.
|
| 128 |
+
- Per-expert router loads are recorded at every training step. Parameter,
|
| 129 |
+
gradient, and update diagnostics were accidentally requested at block scope
|
| 130 |
+
only in this fork, so the archive cannot attribute update behavior to an
|
| 131 |
+
individual expert. This does not affect the endpoint comparison, but a future
|
| 132 |
+
expert-mechanism run should enable the nested expert scopes already supported
|
| 133 |
+
by `rig`.
|
| 134 |
+
- No checkpoints were requested. `training.riglog`, `diagnostics.riglog`,
|
| 135 |
+
`validation.csv`, `result.json`, and `metrics.json` are complete for every
|
| 136 |
+
archived run.
|
| 137 |
+
|
| 138 |
+
## Provenance and reproduction
|
| 139 |
+
|
| 140 |
+
All eight full runs are clean at Git commit
|
| 141 |
+
`28df45b92ad4f56b0519ea01b4c3f3e95d3b73fa`. They share config SHA256
|
| 142 |
+
`92c402bf8365d121c177cfae2a02e7423c09a840ba1cd9e7bdfeb6ca8203bf40`,
|
| 143 |
+
dataset-manifest canonical SHA256
|
| 144 |
+
`34b3a4a2098d31c2633b8065e3dad70a1f53ca8bff24c1061d344a01d68a6804`,
|
| 145 |
+
and the corrected `weights_and_embeddings_only_v2` AdamW decay policy. The
|
| 146 |
+
ledger records the exact command, source hashes, environment, topology, and
|
| 147 |
+
artifact hashes for each run.
|
| 148 |
+
|
| 149 |
+
```bash
|
| 150 |
+
git checkout 28df45b92ad4f56b0519ea01b4c3f3e95d3b73fa
|
| 151 |
+
|
| 152 |
+
for cell in \
|
| 153 |
+
0:1350 0:1369 0:1388 \
|
| 154 |
+
2:1350 2:1369 2:1388 \
|
| 155 |
+
1:1350 4:1350
|
| 156 |
+
do
|
| 157 |
+
k=${cell%%:*}
|
| 158 |
+
seed=${cell##*:}
|
| 159 |
+
uv run --frozen --no-sync rig run gumbel_local_moe \
|
| 160 |
+
--context 8k --cluster v4-32 --profile dev \
|
| 161 |
+
--tier 125m --tokens-per-parameter 5 --batch-size 16 \
|
| 162 |
+
--base-learning-rate 0.00390625 --seed "$seed" \
|
| 163 |
+
--checkpoint-policy none --name "125m-k${k}-s${seed}" -- \
|
| 164 |
+
--local-moe-steps "$k"
|
| 165 |
+
done
|
| 166 |
+
```
|
| 167 |
+
|
| 168 |
+
`snapshot.json.gz` is the compact first-load view for the
|
| 169 |
+
[study browser](https://github.com/honglu2875/rig/blob/research/gumbel-local-moe/docs/reports/study-browser.html);
|
| 170 |
+
`full.json.gz` retains every plotted step. The packed logs remain authoritative
|
| 171 |
+
and preserve each block separately. The prose-led
|
| 172 |
+
[GitHub findings report](https://github.com/honglu2875/rig/blob/research/gumbel-local-moe/docs/reports/gumbel-local-moe.html)
|
| 173 |
+
contains the endpoint, compute, routing, and mechanism interpretation without
|
| 174 |
+
loading either browser payload.
|
moe-gumbel-local-125M/full.json.gz
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:be2abeba92170dee42a6d9f559e0c567946d236166ecfcea43b55b43c0c63d8e
|
| 3 |
+
size 13296794
|
moe-gumbel-local-125M/records.jsonl
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
moe-gumbel-local-125M/snapshot.json.gz
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:32f047e422d177d0f268b7070aeeabc16e7a8a75c7018196876c57ca90fdc500
|
| 3 |
+
size 320013
|