Non-record: Mac mini M4 16GB, no H100s, still golfing (val_bpb=1.5200)#1762
Open
frido22 wants to merge 1 commit intoopenai:mainfrom
Open
Non-record: Mac mini M4 16GB, no H100s, still golfing (val_bpb=1.5200)#1762frido22 wants to merge 1 commit intoopenai:mainfrom
frido22 wants to merge 1 commit intoopenai:mainfrom
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
records/track_non_record_16mb2026_04_21_run_0041val_bpb = 1.51996743val_loss = 3.42884704Mac mini M4 16GB15,749,267bytestrain_gpt.pysize:77,032bytes15,672,235bytesWhy this is a better resubmission
This submission materially improves my previous Mac mini non-record result from
1.56720003to1.51996743.It also addresses the concrete review issue on #643: the old records-folder
train_gpt.pyfailed CPU smoke import whenmlxwas unavailable.Method
This stays in the compact
SP1024 9x512 KV4Apple Silicon / MLX family, with:logit_biasandlogit_gainmlp.fc.weightPackaging hardening
Relative to the exact verified source-run script, the records-folder
train_gpt.pyadds only packaging-oriented changes:mlximports so top-level import succeeds whenmlxis absentDATA_PATHandTOKENIZER_PATHso the script can run directly from the records folder after standard data downloadtrain_gpt_mlx.pytotrain_gpt.pyThese changes add
91counted code bytes versus the source-run package but do not change the training/eval logic used for the reported run.Validation
I checked the packaged submission with:
1.519967433.10py_compileon the packagedrecords/.../train_gpt.py3.10top-level import smoke withnumpyandsentencepieceinstalled butmlxabsent, verifying that import succeeds and the script records_OPTIONAL_IMPORT_ERRORinstead of crashingIncluded files
README.mdsubmission.jsonrequirements.txttrain.logtrain_gpt.py