Skip to content

Record: 11L Sidecar48 + Enhanced Attention + Async Data Pipeline + AdamW TTT (20 epochs, cosine LR, 3-seed mean val_bpb=1.0573) - #684

Closed
DeepReinforce wants to merge 1 commit into
openai:mainfrom
DeepReinforce:main
Closed

DeepReinforce wants to merge 1 commit into
openai:mainfrom
DeepReinforce:main

Conversation

@DeepReinforce

Copy link
Copy Markdown

Result: 1.0574 BPB (3-seed mean, sliding window s=32)

Summary

Enhanced submission building on the previous PR #414 11L SharedSparseSidecar + cosine-TTT architecture. The base model gains richer attention mechanics and a fully asynchronous, memory-mapped data pipeline, while the TTT phase and architecture core remain the same.

Enhancement Previous submission This submission
Attention K/V shift mixing None Learned k_shift_mix + v_shift_mix
Attention K gain Fixed (1.0) Learned per-KV-head k_gain
Local value residual None Learned per-head local_v_mix
Rotary dim selection Fixed (ROPE_DIMS=16) Adaptive: 3/4 head_dim for head_dim>32
Data loading Sequential TokenStream Async mmap + coprime-stride shard sampling
Data prefetch None Background thread + CUDA stream prefetch
Shard mixing schedule N/A Adaptive mix width (8→32 shards over training)
Eval stride 64 32 (denser sliding window)
Control tensor patterns 8 patterns 12 patterns (added k_gain, k_shift_mix, v_shift_mix, local_v_mix)
TTT epochs 20 20
LR schedule Cosine 0.0005→0.00002 Cosine 0.0005→0.00002
LR warmup 1-epoch linear 1-epoch linear
Weight decay 0.01 0.01

Results (8xH100 80GB SXM, USE_COMPILE=1)

3-Seed Validation

Seed Steps Pre-TTT BPB Post-TTT (standard) Post-TTT (sliding s=32) Post-TTT (sliding s=64) Size
13 6561 1.1417 1.0725 1.0576 1.0575 15.62 MB
1111 6550 1.1404 1.0721 1.0573 1.0573 15.77 MB
1337 6555 1.1407 1.0720 1.0573 1.0573 15.62 MB
Mean 6555 1.1409 1.0722 1.0574 1.0574 < 16 MB
  • Std dev (sliding s=32 BPB): 0.00017 — extremely tight across seeds
  • Step time: ~91ms (torch.compile enabled)
  • All submissions under 16 MB ✅
  • All runs complete in ~596s wallclock ✅

…damW TTT (20 epochs, cosine LR, 3-seed mean val_bpb=1.0573)
@valerio-oai

Copy link
Copy Markdown
Contributor

I'm pretty sure this multi-epoch TTT scheme trains on eval tokens, since it seems to do multiple passes and take the loss at the last epoch. Closing for now.

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.

2 participants