Record: 0.7227 BPB — 10L LoRA TTT 6ep + FlashAttention-3#605
Closed
bigbag wants to merge 5 commits intoopenai:mainfrom
Closed
Record: 0.7227 BPB — 10L LoRA TTT 6ep + FlashAttention-3#605bigbag wants to merge 5 commits intoopenai:mainfrom
bigbag wants to merge 5 commits intoopenai:mainfrom
Conversation
Based on PR openai#596 (DeepQuant V10b) with FlashAttention-3 addition. Architecture: 10L 512d GQA 8/4, EMA 0.999, SWA, Late QAT, SmearGate, BigramHash(2048), compiled Muon Newton-Schulz. LoRA TTT: rank-8 Q/V + rank-16 LM-head, per-block bias tuning, per-document adaptation (BOS boundaries), batched 64 docs/GPU, Adam lr=0.01, 6 epochs, per-step cosine LR, temperature 0.98, wall-clock deadline 550s with base-model fallback. Hardware: FlashAttention-3 (flash_attn_func), Rotary cache .clone() fix for CUDA graph compatibility, train_seq_len=1024. Result: 7274 steps at 82.5ms/step, pre-quant 1.1621 BPB, post-quant 1.1750, post-TTT 0.7227. Artifact 15.4MB, eval 569s. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Contributor
|
This TTT scheme leaks information: the code trains for multiple epochs on documents and uses the lowest score at the end of this training as the loss over that document. This is the same as training on the val set, and is therefore disallowed. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Architecture
LoRA TTT (per-document adaptation)
Our additions over base (PR #596)
flash_attn_func) — 3% faster attention on H100.clone()fix — resolves CUDA graph conflict with FA3Results breakdown
Test plan