Skip to content

[submit] 670004fca640 — val by hotkey 5GW4nyVgq36T… - #1590

Open
emphity1 wants to merge 1 commit into
RalphLabsAI:mainfrom
emphity1:submit/670004fca640
Open

[submit] 670004fca640 — val by hotkey 5GW4nyVgq36T…#1590
emphity1 wants to merge 1 commit into
RalphLabsAI:mainfrom
emphity1:submit/670004fca640

Conversation

@emphity1

@emphity1 emphity1 commented Jul 8, 2026

Copy link
Copy Markdown

This patch adds a value-pathway upgrade to the canonical model as a new module (model/_v8ve.py): (1) low-rank value embeddings — three learned vocab->512 tables shared U-net style across the outermost layer pairs, injected into attention V through per-layer zero-initialized up-projections; and (2) value-residual learning (Zhu et al. 2024, arXiv:2410.17897) — a per-layer zero-initialized scalar that mixes the first block's value stream into every later block. Both paths are exactly identity at initialization, so training starts from the canonical function and the levers engage progressively as the projections grow; all architecture choices live in dataclass defaults so the checkpoint reconstructs exactly from the base config fields (strict-load safe), and total parameters stay ~345M.

The motivation is the token-limited regime of this track: value embeddings front-load token-identity signal into attention values (the highest-evidence single lever from the modded-nanoGPT speedrun lineage), while the value residual transports that enriched layer-0 signal to middle layers that carry no tables. In paired same-seed, same-data-order runs against the canonical recipe, the mid-training validation gap grows steadily through the schedule (train-loss gap roughly tripling between steps 1000 and 2000 as the zero-init paths charge up), consistent with the levers compounding through the decay phase. Training uses the canonical max-MFU WSD schedule with compile in max-autotune-no-cudagraphs mode for gradient-accumulation stability on torch 2.11; total_steps is sized to the measured step time so the normalized compute stays within the 4.75 H100-hour budget, and the decay phase is extended (stable/decay 0.50/0.50, min_lr 4e-6) after measuring the anneal endgame as the strongest gradient, and weight averaging is disabled after measuring that EMA lags rather than helps under this steep 1-sqrt anneal.


Submission identifiers

bundle_hash: 670004fca640cc13d874b80b4ba077e7baf8d704cc7a693828a125cfe8a66477
miner_hotkey: 5GW4nyVgq36TNAu9wJnvtC8wNvHciTzsTC87rYCx6aTFS4Te
miner_github: @emphity1
signature: 904a0310a74e3daec44a9f2d26640a8b…

Submitted via scripts/miner_run.py. The validator will compare
this PR's diff against the bundle's patch.diff byte-for-byte.

This patch adds a value-pathway upgrade to the canonical model as a new module (model/_v8ve.py): (1) low-rank value embeddings — three learned vocab->512 tables shared U-net style across the outermost layer pairs, injected into attention V through per-layer zero-initialized up-projections; and (2) value-residual learning (Zhu et al. 2024, arXiv:2410.17897) — a per-layer zero-initialized scalar that mixes the first block's value stream into every later block. Both paths are exactly identity at initialization, so training starts from the canonical function and the levers engage progressively as the projections grow; all architecture choices live in dataclass defaults so the checkpoint reconstructs exactly from the base config fields (strict-load safe), and total parameters stay ~345M.

The motivation is the token-limited regime of this track: value embeddings front-load token-identity signal into attention values (the highest-evidence single lever from the modded-nanoGPT speedrun lineage), while the value residual transports that enriched layer-0 signal to middle layers that carry no tables. In paired same-seed, same-data-order runs against the canonical recipe, the mid-training validation gap grows steadily through the schedule (train-loss gap roughly tripling between steps 1000 and 2000 as the zero-init paths charge up), consistent with the levers compounding through the decay phase. Training uses the canonical max-MFU WSD schedule with compile in max-autotune-no-cudagraphs mode for gradient-accumulation stability on torch 2.11; total_steps is sized to the measured step time so the normalized compute stays within the 4.75 H100-hour budget, and the decay phase is extended (stable/decay 0.50/0.50, min_lr 4e-6) after measuring the anneal endgame as the strongest gradient, and weight averaging is disabled after measuring that EMA lags rather than helps under this steep 1-sqrt anneal.

---

## Submission identifiers

**bundle_hash:** `670004fca640cc13d874b80b4ba077e7baf8d704cc7a693828a125cfe8a66477`
**miner_hotkey:** `5GW4nyVgq36TNAu9wJnvtC8wNvHciTzsTC87rYCx6aTFS4Te`
**miner_github:** @emphity1
**signature:** `904a0310a74e3daec44a9f2d26640a8b…`

Submitted via `scripts/miner_run.py`. The validator will compare
this PR's diff against the bundle's `patch.diff` byte-for-byte.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant