Record: Int6 + Canon ACD (K=3) + Muon WD 0.04 + SWA + Sliding Eval (val_bpb=1.1668)#312
Open
chanwoo-park-official wants to merge 3 commits intoopenai:mainfrom
Open
Conversation
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
This PR reports a standalone run with Canon ACD (
CANON_SET=ACD,CANON_KERNEL=3) plus mixed int6 quantization (INT6_CATEGORIES=mlp,attn).Approach
model_dim=512,num_heads=8,num_kv_heads=4,mlp_mult=3.0bigram_vocab_size=2048,bigram_dim=128) + SmearGatemlp/attn=int6, other large tensors int80.92 -> 0.99), warmdown (WARMDOWN_ITERS=3000), SWA near endEVAL_STRIDE=64); sliding bpb is main comparisonCanon Placement
A: before attentionB: on concatenated QKV (most expensive)C: before MLPD: in widened MLP hidden streamACD(keeps Canon effect while avoidingBcost)Zeyuan Allen-Zhu (2025), full version: https://ssrn.com/abstract=5240330
Config Highlights
torchrun --nproc_per_node=8TRAIN_BATCH_TOKENS=524288,TRAIN_SEQ_LEN=2048EVAL_SEQ_LEN=2048,EVAL_STRIDE=64,EVAL_BATCH_SEQS=32MATRIX_LR=0.025,SCALAR_LR=0.025,TIED_EMBED_LR=0.035MUON_WEIGHT_DECAY=0.04,ADAM_WEIGHT_DECAY=0.04SWA_ENABLED=1,SWA_EVERY=200,SWA_START_LRMUL=0.5ITERATIONS=7200,WARMUP_STEPS=20,WARMDOWN_ITERS=3000,MAX_WALLCLOCK_SECONDS=600VOCAB_SIZE=1024,SEED=1337Results
final_int6_sliding_window val_bpb(stride=64): 1.16682362train_gpt.py): 71,315 bytesdata_loading_step_avg=0.64msRepro