Repository navigation
Add 1,023-byte experimental x86-64 inference engine - #1
Open
cneuralnetwork wants to merge 1 commit into
Open
cneuralnetwork wants to merge 1 commit into
cneuralnetwork wants to merge 1 commit into
Conversation
cneuralnetwork
marked this pull request as ready for review
November 4, 2026 06:47
This branch has not been deployed
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
Accuracy tradeoff
The 1,023-byte engine uses greedy longest-vocabulary-match tokenization. It matches all 300 reference generated IDs across the three answer-key prompts, but only 13/20 focused tokenizer cases and 236/1,480 texts in a separate deterministic corpus. It always generates 100 tokens and omits the final newline. This is an experimental loose variant, not a general exact replacement.
The 1,149-byte variant passes 20/20 focused tokenizer cases, 300/300 reference generated IDs, all three reference text outputs, and exits cleanly.
Verification
On relaydeck, from a clean checkout of current upstream main:
The 1,023 and 1,149 byte figures count the complete packed ELFs. The model, tokenizer, and optional shell wrapper are outside the binary.