Repository navigation
Vision: patch preparation written from documented behaviour, with the same bytes - #2271
Merged
Merged
Conversation
Rebuild image-grid sizing and patch layout from published model cards and the project's behavior tests, preserving normalized pixels and cache IDs. Raw output matches main in 55,503 host cases across both resize paths and normalization modes. Keep the recorded processor-reference data credit.
ashhart
force-pushed
the
lead/patches-rewrite
branch
from
November 6, 2026 00:20
f28446b to
46f8f05
Compare
Owner
Author
|
Our M5 Ultra run on Qwen3.8-27B, main against this branch: tokens are equal in all 20 rows, and every cell is within 1%.
It stays in the landing queue. |
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.
Rewrites
zig/src/core/picture/patches.zigwithout working from the Transformers source, so that file no longer follows a library. The output doesn't change.Where each rule comes from:
The writer didn't open the old body or any library implementation, and the new body was frozen before the comparison.
THIRD_PARTY_NOTICES.mdnow describes this.patches_test.zigkeeps its credit for the recorded reference data.Checks:
Not run: any device or model. Bytes out of this file are what the vision paths read, so equal bytes mean they get the same input.