Add SigLIP 2 #36323

qubvel merged 89 commits into huggingface:main from qubvel:add_siglip2
qubvel
qubvel Docs
412af8c5
qubvel Inits
15cd4b0d
qubvel Auto classes
dea7c1b4
qubvel Add siglip base
a3bc5e2d
qubvel Add base tests
b39e4e88
qubvel Fix Siglip V1 for fix res version
87d3c512
qubvel Add image processor
fda45fbf
qubvel Update conversion
2cae39f5
qubvel Experimenting with vectorized embeddings
8f7b4baa
qubvel Fixup
9d9b515c
qubvel Add modular Siglip2Processor
5ff1b57c
qubvel Add modular configuration
bcc82825
qubvel Rename num patches
69a4a82b
qubvel Correct image and text features merging
3fd6e296
qubvel Working conversion script
0c85c9ae
qubvel Refactoring conversion script
5531808b
qubvel Remove unused code in conversion script
8a73f320
qubvel Shorten dict a bit
d01ed763
qubvel Refactoring conversion
1cf65c80
qubvel Done conversion refactoring
fd69948a
qubvel Fixup
1e20fb95
qubvel Modular siglip2
e07fa7d9
qubvel Make model exportable and compilable without graph breaks
496e8351
qubvel Remove position_ids from image_processor
d01e68e3
qubvel REmove position ids from modeling file
875e627c
qubvel Update modular
ecfa936a
qubvel Type hint
4cbd2a0d
qubvel Fixup
8923186f
qubvel Set defaults to processor
869b20cd
qubvel Add integration test
bf584bdb
qubvel Revert spatial shapes back to tensor
90560e84
qubvel Change order
9e280b51
qubvel Fix most of the tests
035505bc
qubvel Fix docstring
9dc84e22
qubvel Remove interpolate_pos_encoding arg (not needed)
7b75b28a
qubvel Update docs
424fd333
qubvel Standardize processing
0968d80c
qubvel Fix attention_mask in vision head
fe0342c4
qubvel Siglip v1: remove double transpose in FA2
b136aa06
qubvel Update modular file
e506a928
qubvel Update FA2 test
bab15ea9
qubvel Update expected logits
31ee2008
qubvel Fix interpolation for siglip2 image processor
cad7aace
qubvel Skip init test
0ac7fe9a
qubvel Skip dispatch on flash test
a218959b
qubvel Fix modeling tests
758414be
qubvel Fixup
30182db2
qubvel Add dummy objects
272d922a
qubvel Fix some docstrings
22484cbd
qubvel Add siglip2 in index.md
b125acc0
qubvel Fix consistency
af11bd27
qubvel Add docs
f66b9488
qubvel Remove size and data format
b79986ac
qubvel Add image processor tests
645b384f
qubvel Fix
f02aeb06
qubvel Add fast image processor
1b94a33b
qubvel Fix style
df9f2f65
qubvel Fix
206faa86
qubvel Docs
50157e90
qubvel Set lowercase for tokenizer
5ee7726a
qubvel Adjust head size for Siglip v1
d7e07acd
qubvel Update siglip2 for consistency with siglip1
aceddebc
qubvel Update siglip2 conversion
9c31e405
qubvel Update pipeline
8ea956d4
qubvel Update checkpoints in tests
32fd65fc
qubvel Update checkpoint name
b2d405e3
qubvel Fix pooling for image classification model
8c20753e
qubvel Fix FA2 test
f7b6e694
qubvel Update processor
1cebb122
qubvel Fix check repo
c81a4fcb
qubvel Update docs
99ae8fbd
qubvel Fix typos
902f2843
qubvel Fix docstring for fast image processor
a24e4fd4
qubvel Add siglip2 to FA2 docs
d905431d
qubvel Fix fast ip tests
79c65209
qubvel Fix constitency
b38db4c3
qubvel Fix tokenizer class for siglip v1
3ceeb3d5
qubvel Fix missing header
9cac4e22
qubvel Refactor scaling for clip, siglip, siglip2
30b686c7
qubvel Remove unused imports
56f75798
qubvel Make fast IP default for siglip2
dbc9755f
qubvel Update docs
ca9a70f6
qubvel Update checkpoints
b04cb9ba
qubvel Update modular
5cb7f16c
qubvel Update paper link
d79bdd76
qubvel Merge branch 'main' into add_siglip2
7892f8a5
qubvel Fixup
3bb9430b
qubvel qubvel marked this pull request as ready for review 1 year ago
LysandreJik
LysandreJik approved these changes on 2025-02-21
HuggingFaceDocBuilderDev
qubvel Fix name in toctree
b7746648
qubvel Fix test
01c0c7f9
qubvel qubvel merged a957b791 into main 1 year ago
EricWiener
qubvel

Login to write a write a comment.

Login via GitHub

Reviewers
Assignees
No one assigned
Labels
Milestone