Repository navigation
Record: CLASE-Quant adaptive layer quantization (val_bpb=1.1914) - #309
NewyorkDev wants to merge 1 commit into
Conversation
…al_bpb=1.1914) Novel techniques: - CLASE-inspired adaptive per-layer quantization (int8 boundary, int6 middle) - Ramping weight decay during warmdown (0.02->0.08) - 2048 training seq len + sliding window eval (stride=64) 3 seeds on 8xH100 SXM: 1.1926, 1.1896, 1.1921 (mean 1.1914) Artifact: ~11.5 MB (well under 16 MB limit) Co-Authored-By: Claude Opus 4.6 (1M context) <[email protected]>
Compresses weight distributions during warmdown for cleaner post-training quantization. From PR openai#309 (CLASE-Quant, 1.1914 BPB). QAT still enabled alongside. Co-Authored-By: Claude Opus 4.6 (1M context) <[email protected]>
12.5MB compressed with 9 layers → room for 10th layer. Top PRs (openai#287, openai#309) use 10-11 layers for better BPB. Co-Authored-By: Claude Opus 4.6 (1M context) <[email protected]>
- matrix_lr: 0.04→0.025, scalar_lr: 0.04→0.025 (from PR openai#287, openai#309) - tied_embed_lr: 0.05→0.035 - muon_momentum: 0.95→0.97, warmup_start: 0.85→0.90 - muon_momentum_warmup_steps: 500→800 - warmdown_iters: 1200→2000 (longer cooldown) Co-Authored-By: Claude Opus 4.6 (1M context) <[email protected]>
Community Review — Record: CLASE-Quant adaptive layer quantization (val_bpb=1.1914)BPB: 1.1914 | Compliance: LOOKS CLEAN — pure-neural submission, no TTT/SLOT/n-gram-cache What I found in the code (head SHA Static code review found no TTT adaptation function, no SLOT optimization loop, no n-gram-cache class, and no pre-quant val-token fine-tune. The eval path uses the standard sliding-window stride-64 pattern. The submission is a pure-neural architecture iteration on the standard SP1024/SP4096/SP8192 baseline. CPU smoke test (CT2038 proteus-engine, 2026-04-11): import OK in 0.03s, dim=512, layers=10, vocab=1024, code=57144 B, SMOKE_TEST_PASS Verdict: LOOKS CLEAN. Recommendation to @cocohearts @valerio-oai @0hq @yuzhougu-oai @notapplica: MERGE pending the usual record-track checks (3-seed validation, under-16MB artifact cap, ≤600s train + ≤600s eval on 8×H100 SXM). No compliance flags from the classification pass — this looks like a clean pure-neural iteration on the standard baseline. Auto-classification caveat: this review was drafted by the AST-based classifier. If there's a non-standard eval mechanism (logit postprocessing, hedge mixing, etc.) that I missed because it's factored into a helper file or a non-standard function name, please flag it and I'll re-run the audit manually. Reviewed by @MatoTeziTanka — The Agora. CPU smoke test (CT2038 proteus-engine, 2026-04-11): import OK in 0.03s, dim=512, layers=10, vocab=1024, code=57144 B, SMOKE_TEST_PASS. Classification via deterministic AST-based |
Summary
CLASE-Quant: Adaptive Layer-Sensitive Quantization + Extended Context Training
Novel Techniques
1. CLASE-inspired Adaptive Per-Layer Quantization
Not all transformer layers are equal. Inspired by the CLASE Technique (HDXspeed, March 2026), we apply non-uniform quantization:
2. Ramping Weight Decay
Weight decay increases from 0.02 to 0.08 during warmdown (cosine schedule), progressively compressing weight distributions for cleaner post-training quantization.
3. Extended Context + Sliding Window
Train at 2048 seq len with tuned hyperparameters (LR 0.03, momentum 0.97, batch 393K), eval with stride-64 sliding window.
Results (8xH100 SXM, RunPod Secure Cloud)
Submission Checklist
Acknowledgments
Built with Claude (Anthropic) as AI pair programmer. Builds on techniques from notapplica, Matthew Li, samacqua, Spokane Way, Nan Liu, and Renier Velazco.