Skip to content

Non-record: QAT Int5/Int6 on #1 architecture (1.14476 BPB) - #306

Open
xuafeng wants to merge 1 commit into
openai:mainfrom
xuafeng:submission/qat-int5-ttt-lora
Open

xuafeng wants to merge 1 commit into
openai:mainfrom
xuafeng:submission/qat-int5-ttt-lora

Conversation

@xuafeng

@xuafeng xuafeng commented Mar 21, 2026

Copy link
Copy Markdown

Summary

Non-record submission exploring QAT (Quantization-Aware Training) with STE fake-quantization on top of thwu1's #1 entry.

Best result: val_bpb = 1.14476 (seed 1337, 8xH100 SXM, 600s)

Key Finding

Post-training quantization + SWA outperforms QAT by ~0.002 BPB. The quantization noise from int5/int6 post-training quantization acts as beneficial regularization that QAT removes.

Files

  • records/track_non_record_16mb/2026-03-21_QAT_Int5_TTT_LoRA_8xH100/
    • README.md — Detailed writeup with ablations
    • submission.json — Metadata
    • train_gpt.py — Reproducible script

Reproducibility

SEED=1337 TRIGRAM_VOCAB_SIZE=0 torchrun --standalone --nproc_per_node=8 train_gpt.py

🤖 Generated with Claude Code

STE fake-quantization during training (int5 MLP, int6 attn) on top
of thwu1's openai#1 entry. Best result: 1.14476 BPB (seed 1337).

Key finding: post-training quantization + SWA outperforms QAT by
~0.002 BPB — quantization noise acts as beneficial regularization.

Co-Authored-By: Claude Opus 4.6 (1M context) <[email protected]>
@MatoTeziTanka

Copy link
Copy Markdown

Community Review — Non-record: QAT Int5/Int6 on #1 architecture (1.14476 BPB)

BPB: 1.14476 | Compliance: LOOKS CLEAN — pure-neural submission, no TTT/SLOT/n-gram-cache

What I found in the code (head SHA 9394860f82cc, file records/track_non_record_16mb/2026-03-21_QAT_Int5_TTT_LoRA_8xH100/train_gpt.py):

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.02s, dim=512, layers=10, vocab=1024, code=56266 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.02s, dim=512, layers=10, vocab=1024, code=56266 B, SMOKE_TEST_PASS. Classification via deterministic AST-based classify_prs.py (pattern bank derived from ~65 manually-reviewed PRs earlier in the 2026-04-11 sweep). This review was auto-drafted from a template and spot-checked before posting — if the template misread your code, please call it out so I can iterate the classifier.

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