Build a floppy-sized Windows LLM CLI - #1
Merged
Conversation
|
Caution Review failedThe pull request is closed. ℹ️ Recent review info⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Plus Run ID: 📒 Files selected for processing (14)
📝 WalkthroughWalkthroughAdds a self-contained quantized TinyStories CLI in C, embeds model and tokenizer data into native or 32-bit Windows executables, enforces the 1.44 MB size limit, and automates verified Windows builds, smoke tests, checksums, and tagged releases. ChangesFloppyLLM release
Estimated code review effort: 5 (Critical) | ~120 minutes Sequence Diagram(s)sequenceDiagram
participant User
participant floppy_llm_exe
participant OverlayFooter
participant Transformer
participant TokenizerSampler
User->>floppy_llm_exe: Provide prompt and runtime options
floppy_llm_exe->>OverlayFooter: Locate bundled model and tokenizer offsets
floppy_llm_exe->>Transformer: Build checkpoint and runtime state
floppy_llm_exe->>TokenizerSampler: Encode prompt and sample tokens
TokenizerSampler->>Transformer: Supply tokens for forward inference
Transformer-->>floppy_llm_exe: Return logits
floppy_llm_exe-->>User: Stream decoded text
✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
eimexdev
marked this pull request as ready for review
July 29, 2026 05:54
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.
What this adds
tiny1m(896,256 parameters) quantized to reproducible Q8/group-32--tokensand--contextcontrols plus configurable compiled defaultsVerified locally
Windows 95/98 is documented as experimental until tested on actual hardware; modern Windows is the first supported test target.
Summary by CodeRabbit
New Features
Documentation