Yoni Gozlan
94f18cf23c
Add OmDet-Turbo (#31843)
* Add template with add-new-model-like
* Add rough OmDetTurboEncoder and OmDetTurboDecoder
* Add working OmDetTurbo convert to hf
* Change OmDetTurbo encoder to RT-DETR encoder
* Add swin timm backbone as default, add always partition fix for swin timm
* Add labels and tasks caching
* Fix make fix-copies
* Format omdet_turbo
* fix Tokenizer tests
* Fix style and quality
* Reformat omdet_turbo
* Fix quality, style, copies
* Standardize processor kwargs
* Fix style
* Add output_hidden_states and ouput_attentions
* Add personalize multi-head attention, improve docstrings
* Add integrated test and fix copy, style, quality
* Fix unprotected import
* Cleanup comments and fix unprotected imports
* Add fix different prompts in batch (key_padding_mask)
* Add key_padding_mask to custom multi-head attention module
* Replace attention_mask by key_padding_mask
* Remove OmDetTurboModel and refactor
* Refactor processing of classes and abstract use of timm backbone
* Add testing, fix output attentions and hidden states, add cache for anchors generation
* Fix copies, style, quality
* Add documentation, conver key_padding_mask to attention_mask
* revert changes to backbone_utils
* Fic docstrings rst
* Fix unused argument in config
* Fix image link documentation
* Reorder config and cleanup
* Add tokenizer_init_kwargs in merge_kwargs of the processor
* Change AutoTokenizer to CLIPTokenizer in convert
* Fix init_weights
* Add ProcessorMixin tests, Fix convert while waiting on uniform kwargs
* change processor kwargs and make task input optional
* Fix omdet docs
* Remove unnecessary tests for processor kwargs
* Replace nested BatchEncoding output of the processor by a flattened BatchFeature
* Make modifications from Pavel review
* Add changes Amy review
* Remove unused param
* Remove normalize_before param, Modify processor call docstring
* Remove redundant decoder class, add gradient checkpointing for decoder
* Remove commented out code
* Fix inference in fp16 and add fp16 integrated test
* update omdet md doc
* Add OmdetTurboModel
* fix caching and nit
* add OmDetTurboModel to tests
* nit change repeated key test
* Improve inference speed in eager mode
* fix copies
* Fix nit
* remove OmdetTurboModel
* [run-slow] omdet_turbo
* [run-slow] omdet_turbo
* skip dataparallel test
* [run-slow] omdet_turbo
* update weights to new path
* remove unnecessary config in class
---------
Co-authored-by: Ubuntu <ubuntu@ip-172-31-91-248.ec2.internal>
2024-09-25 13:26:28 -04:00
..
2024-08-29 11:51:09 +02:00
2024-09-25 14:31:38 +02:00
2024-09-25 13:26:28 -04:00
2024-09-25 14:31:38 +02:00
2024-09-16 13:08:31 +02:00
2024-04-08 14:21:16 +01:00
2024-05-28 18:29:22 +02:00
2024-09-25 13:26:28 -04:00
2024-09-09 10:47:24 +02:00
2024-04-24 09:38:18 +02:00
2024-04-16 15:34:04 +01:00
2024-09-18 11:07:51 +02:00
2024-09-18 11:07:51 +02:00
2024-02-08 14:13:35 -08:00
2024-09-09 10:47:24 +02:00
2024-09-09 10:47:24 +02:00
2024-09-09 10:47:24 +02:00
2024-04-01 18:47:32 -07:00
2024-09-17 16:08:05 +01:00
2024-09-09 10:47:24 +02:00
2022-04-04 10:25:46 -04:00
2024-07-23 17:47:51 +01:00
2024-06-06 22:02:38 +01:00
2024-08-26 13:15:43 +02:00
2024-09-09 10:47:24 +02:00
2024-07-08 11:52:47 +01:00
2023-06-20 18:07:47 -04:00
2023-12-20 10:37:23 -08:00
2024-09-09 10:47:24 +02:00
2024-09-10 13:32:38 +02:00
2024-07-08 11:52:47 +01:00
2023-11-13 14:20:54 +01:00
2024-09-25 13:26:28 -04:00
2024-09-09 10:47:24 +02:00
2024-09-19 12:02:46 +01:00
2024-09-06 10:22:00 +01:00
2024-09-24 03:40:56 -06:00
2024-08-22 15:30:22 +02:00
2024-09-24 03:40:56 -06:00
2024-09-09 10:47:24 +02:00
2024-03-23 18:29:39 -07:00
2024-09-24 15:54:07 +02:00
2024-02-16 08:16:58 +01:00
2022-04-04 10:25:46 -04:00
2024-09-09 10:47:24 +02:00
2024-09-09 10:47:24 +02:00
2024-09-09 10:47:24 +02:00
2024-02-02 08:45:00 +01:00
2024-09-25 18:04:42 +01:00
2024-07-29 10:50:43 +01:00
2024-08-14 09:36:43 -07:00
2024-02-16 08:16:58 +01:00
2024-06-18 11:00:26 -07:00
2024-09-25 19:20:51 +02:00
2024-02-16 08:16:58 +01:00
2024-09-09 10:47:24 +02:00
2024-09-09 10:47:24 +02:00
2024-02-16 08:16:58 +01:00
2023-11-06 19:45:03 +00:00
2024-08-19 09:50:35 -07:00
2024-02-16 08:16:58 +01:00
2024-09-09 10:47:24 +02:00
2024-09-09 10:47:24 +02:00
2024-06-12 11:33:00 +01:00
2024-09-12 10:16:12 -07:00
2024-09-09 10:47:24 +02:00
2024-09-09 10:47:24 +02:00
2024-04-16 11:58:55 +02:00
2024-09-09 10:47:24 +02:00
2024-09-09 10:47:24 +02:00
2024-07-29 10:50:43 +01:00
2024-02-16 08:16:58 +01:00
2024-09-06 14:24:02 +02:00
2024-06-03 16:52:23 -07:00
2024-09-09 10:47:24 +02:00
2024-09-09 10:47:24 +02:00
2024-05-14 18:45:06 +01:00
2024-02-16 08:16:58 +01:00