transformers/tests/models/llava_next
youngrok cha a5cc7a67d7
[bug] fix llava processor to calculate unpadding size correctly (#37988)
* fix llava processor to calculate unpad size correctly

* repo consistency

* Revert "repo consistency" & "setUp in llava family"

This reverts commit 26a50af8db.

* add edge case test for padding & unpadding

* compute unpadding size from original size

* make test config explicit

* Revert "compute unpadding size from original size"

This reverts commit 752cd27ad9.

* Revert "add edge case test for padding & unpadding"

This reverts commit ccbd094d69.

* revert unpad logic

* remove irrelevant tests

* model test

* remove processor from model test

---------

Co-authored-by: jaycha <jaycha@ncsoft.com>
2025-05-13 13:49:09 +00:00
..
__init__.py Add LLaVa-1.6, bis (#29586) 2024-03-20 15:51:12 +00:00
test_image_processing_llava_next.py [llava] one pixel is missing from padding when length is odd (#37819) 2025-05-06 13:11:26 +02:00
test_modeling_llava_next.py [bug] fix llava processor to calculate unpadding size correctly (#37988) 2025-05-13 13:49:09 +00:00
test_processor_llava_next.py [bug] fix llava processor to calculate unpadding size correctly (#37988) 2025-05-13 13:49:09 +00:00