Add V-JEPA 2 #38746

qubvel merged 90 commits into huggingface:main from qubvel:koustuvs/oss
qubvel
koustuvsinha adding model and conversion scripts
6c1c472c
koustuvsinha add imports to test vjepa conversion
103bde8f
koustuvsinha fix imports and make conversion work
d09c1c02
koustuvsinha fix computation for short side
3fd6bf28
koustuvsinha replace attention with library attention function
aae79f77
koustuvsinha cleanup more attention classes
41957a64
koustuvsinha remove config overrides
f46df328
koustuvsinha add test cases, fix some of the failing ones
174ba399
koustuvsinha fix the model outputs
3e412793
koustuvsinha fix outputs of the model per review
87116285
koustuvsinha fix too big model test case
da7f76a8
yonigozlan Merge remote-tracking branch 'upstream/main' into koustuvs/oss
beba328c
yonigozlan Merge branch 'koustuvs/oss' of https://github.com/huggingface/new-mod…
d54b0a47
yonigozlan fix styling __init__.py
db6b5e35
koustuvsinha fix initialization test
df77afef
koustuvsinha remove all asserts per review
239b30fb
koustuvsinha update sorting unsorting logic as per feedback
dd4850d4
koustuvsinha remove is_video per review
d8b18b16
koustuvsinha remove another is_video segment
eb955bfd
koustuvsinha remove unwanted stuff
a382ebbd
koustuvsinha small fixes
de97de09
koustuvsinha add docstrings for the model
30f6febf
koustuvsinha revert adding vjepa2 config here
f5a07b2d
koustuvsinha update styling
d90da4d6
koustuvsinha add config docstrings (wip)
238f8f39
koustuvsinha fix dpr issue
9bc533da
koustuvsinha removed test failing issues
0354e0c7
koustuvsinha update styles
fdb66978
koustuvsinha merge predictor configs into main config
e203d419
koustuvsinha remove processing code, add video processor
3c60022a
koustuvsinha remove permute which is not necessary now
3879772c
koustuvsinha fix styles
ac0e97b5
koustuvsinha updated vjepa2 to be in video_processing_auto
6ba6f467
koustuvsinha update comment for preprocessing
0a98f5f7
koustuvsinha test integration test and fix the outputs
43943455
koustuvsinha update test values, change test to look at repeated frames for a give…
436fce51
koustuvsinha add a simple video processing test
9752cec1
koustuvsinha refactoring pixel_values_videos and upload ckpts to original
9f004fac
koustuvsinha fix torch_fx test cases
8409e834
koustuvsinha remove unused config
6b8c776b
koustuvsinha add all config docstrings
5fc0f9dc
koustuvsinha add more integration tests
a966ca28
koustuvsinha add basic doc
824f7345
yonigozlan revert unwanted styling changes
0f8be62c
yonigozlan working make fixup
6fa271b8
qubvel Fix model_type in config
9b5d9dd0
yonigozlan update attention implementation to fit new hf standards
7ce0d8c9
koustuvsinha fix the preprocessing logic, ensure it matches the original model
6522b7fe
koustuvsinha Merge pull request #3 from huggingface/standardize-state-dict
5042ec86
yonigozlan remove use_rope logic, cleanup
eed77e72
yonigozlan fix docstrings
a04edb2c
yonigozlan Further cleanup, update doc
f1e86054
yonigozlan Fix model prefix
525eaae3
koustuvsinha fix get_vision_features
e5faf69c
qubvel VJEPA2Embeddings style refactor
79aebe5c
qubvel nit, style comment
cffcbf39
qubvel change modules default values
1e3fa779
qubvel Only `str` activation in config
54795388
qubvel GradientCheckpointingLayer
4a320a95
qubvel fixup
2ac05f37
koustuvsinha fix conversion script
15c1f95e
qubvel Remove return_dict
24bb730c
qubvel remove None return typehint
71df5525
qubvel Refactor VJEPA2Layer, remove use_SiLU
a0242be2
qubvel Fix fx tests
bb574e4e
qubvel dpr -> drop_path_rates
1b7e8f8f
qubvel move *ModelOutput on top
21e956d5
qubvel format docs bit
0a7a13f9
koustuvsinha update docs
c1365e30
koustuvsinha update docs
4cc33e2a
koustuvsinha update doc example
b77105d8
yonigozlan remove prune_heads from model
38d25bfd
yonigozlan remove unused config params
918d3020
qubvel refactor embed signature
4275757c
qubvel
qubvel commented on 2025-06-11
qubvel Add vjepa to docs
ddd1c366
qubvel Fix config docstring
b8f67a42
pcuenca
pcuenca commented on 2025-06-11
pcuenca
pcuenca commented on 2025-06-11
pcuenca
pcuenca commented on 2025-06-11
pcuenca
pcuenca commented on 2025-06-11
pcuenca
pcuenca commented on 2025-06-11
HuggingFaceDocBuilderDev
qubvel update defaults
6d6aadcf
qubvel Update docs/source/en/model_doc/vjepa2.md
96614097
qubvel Update docs/source/en/model_doc/vjepa2.md
f67a4d74
qubvel Fix import
2908c5c4
qubvel qubvel marked this pull request as ready for review 264 days ago
qubvel Merge branch 'main' into koustuvs/oss
91028fc6
qubvel Min refactoring
fb95d52c
qubvel Update HUB_SOURCE and HUB_REPO in conversion script
39aafc37
qubvel Add missing headers
7e660ef3
qubvel VJEPA -> V-JEPA in docs
9061b3ac
yonigozlan Add image to doc
284b3e5e
qubvel fix style
a7d750b9
yonigozlan Merge branch 'koustuvs/oss' of https://github.com/qubvel/transformers…
f80ff373
yonigozlan fix init weights
10582465
LysandreJik
LysandreJik approved these changes on 2025-06-11
yonigozlan change checkpoint name in modeling tests
a85656e5
qubvel qubvel changed the title Fix typo in docs Add V-JEPA 2 264 days ago
qubvel qubvel merged 84710a42 into main 264 days ago

Login to write a write a comment.

Login via GitHub

Assignees
No one assigned
Labels
Milestone