Yih-Dar
3b720ad9a5
mark test_initialization
as flaky in 2 model tests ( #27906 )
...
fix
Co-authored-by: ydshieh <ydshieh@users.noreply.github.com>
2023-12-08 14:54:32 +01:00
NielsRogge
59499bbe8b
Update forward signature test for vision models ( #27681 )
...
* Update forward signature
* Empty-Commit
2023-11-27 15:48:17 +01:00
amyeroberts
0145c6825e
Fix tracing dinov2 ( #27561 )
...
* Enable tracing with DINOv2 model
* ABC
* Add note to model doc
2023-11-21 14:28:38 +00:00
Younes Belkada
f7ea959b96
[core
/ GC
/ tests
] Stronger GC tests ( #27124 )
...
* stronger GC tests
* better tests and skip failing tests
* break down into 3 sub-tests
* break down into 3 sub-tests
* refactor a bit
* more refactor
* fix
* last nit
* credits contrib and suggestions
* credits contrib and suggestions
---------
Co-authored-by: Yih-Dar <2521628+ydshieh@users.noreply.github.com>
Co-authored-by: amyeroberts <22614925+amyeroberts@users.noreply.github.com>
2023-10-30 19:53:46 +01:00
NielsRogge
77713d11f6
[DINOv2] Add backbone class ( #25520 )
...
* First draft
* More improvements
* Fix all tests
* More improvements
* Add backbone test
* Improve docstring
* Address comments
* Rename attribute
* Remove expected output
* Update src/transformers/models/dinov2/modeling_dinov2.py
Co-authored-by: amyeroberts <22614925+amyeroberts@users.noreply.github.com>
* Fix style
---------
Co-authored-by: amyeroberts <22614925+amyeroberts@users.noreply.github.com>
2023-08-29 11:05:27 +01:00
Yih-Dar
bd90cda9a6
CI with num_hidden_layers=2
🚀 🚀 🚀 ( #25266 )
...
* CI with layers=2
---------
Co-authored-by: ydshieh <ydshieh@users.noreply.github.com>
2023-08-02 20:22:36 +02:00
NielsRogge
3ec10e6c76
Add DINOv2 ( #24016 )
...
* First draft
* More improvements
* Convert patch embedding layer
* Convert all weights
* Make conversion work
* Improve conversion script
* Fix style
* Make all tests pass
* Add image processor to auto mapping
* Add swiglu ffn
* Add image processor to conversion script
* Fix conversion of giant model
* Fix documentation
* Fix style
* Fix tests
* Address comments
* Address more comments
* Remove unused arguments
* Remove more arguments
* Rename parameters
* Include mask token
* Address comments
* Add docstring
* Transfer checkpoints
* Empty commit
2023-07-18 15:34:06 +01:00