Repository navigation
Conversation
…ch decode and prefill row splice - Add the 23-layer vision tower (vision.metal, vision_gemm.metal) as the `vision` source of inkling2_metal, with host code in metal/vision*.zig. - Decode PNG/JPEG/WebP through the family's image decoder and patchify in the processor's merge-block order with the HF two-step normalisation. - Splice the tower's BF16 rows over the image placeholders in forward prefill, across chunks and cache restores (metal/images.zig); native opener loads the tower under --vision. - Let inkling2_loop past the Metal dispatcher's --vision gate (native/metal.zig) so the opener is reached, and name Inkling 2 Mini in the refusal text and docs/vision.md. - Add contract records, probes and host-checked planted controls for the tower kernels; test-inkling2-media-metal runs the device and checkpoint checks. - Build the Mini contract suites in place: their probes point into the suites, and the returned copy left them dangling once a seventh suite was added. - Add the vision CHANGELOG bullet under Unreleased. Co-authored-by: BlivionIaG <15323295+BlivionIaG@users.noreply.github.com>
…ts BF16 rows - One info line per image the tower computes (the picture's content hash, rows, SHA-256 of the rows the splice takes); a picture a restored prefix covers logs nothing. - Host test for the digest's hex.
- The #4704 bullet says each picture the tower runs logs its content hash, rows and the SHA-256 of its BF16 rows.
Owner
Author
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.
CI for a landing train: #4704 stacked on main in that order. Nothing merges from this PR: each PR above lands on its own once this tip is green, and this PR is then closed.