Add GigaPath-Flash and repair HIPT downloads - #17
Merged
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
gigapath_flash, the pinned 384-dimensional tile encoder, andgigapath_flash_slide, its matched 384-dimensional LongNet slide encoder.and pinned upstream loader commit in output fingerprints.
non-overlapping 256-pixel tiles on a 256-pixel lattice, with each tile centre-cropped
to the encoder's 224-pixel input. Pass stored level-0 coordinates unchanged and set
LongNet's runtime positional divisor to each tile's level-0 extent, normalizing
raw2features' coordinate units into the tile-index frame of upstream's default
256-pixel tiling.
distinct 256-pixel geometry key rather than aliasing an older 224-pixel grid.
bytes and SHA-256 are unchanged; its licence is now recorded as Apache-2.0 with the
Commons Clause.
Validation
ruff check src testspytest -m "not slow and not network" -q: 738 passed, 10 skipped, 108 deselectedofficial HIPT Git LFS pointer: 4 passed
flash-attn 2.8.3.post1:
(runtime divisor 256) and 40×-frame (runtime divisor 512) coordinates produced
identical positional indices and byte-identical real-weight outputs
(16, 384)features and a finite(384,)slide vectorfinite 384-dimensional outputs
768-dimensional slide outputs
This contributes to v0.2.0. It does not tag or publish the release.