Conversation
|
The docs for this PR live here. All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update. |
|
Tests (nonslow, just launched the slow ones) are green - there was a mismatch in the tests between images per batch and images per sample which I think I fiixed, added a test as well for previous issue. cc @ArthurZucker for review |
|
all green incl. slow now - fixed slow tests that were broken before (well one fix for a wrong config key at init, one that actually can't work, and a skip for torchscript) lmk! |
ArthurZucker
left a comment
There was a problem hiding this comment.
Thanks, LGTM let's not revert integration test
|
|
||
|
|
||
| @require_torch | ||
| class PixtralVisionModelIntegrationTest(unittest.TestCase): |
There was a problem hiding this comment.
why did this one have to go away ? 😓
There was a problem hiding this comment.
many reasons, it was looking up an image url that did not exist (pixtral-vl instead of llava-vl) to predict something that pixtral model does not predict, also it was testing VisionModel that does not support generate
There was a problem hiding this comment.
Yep it needs to be in the Llava tests! Can you move it around 👀
There was a problem hiding this comment.
transformers/tests/models/llava/test_modeling_llava.py
Lines 620 to 663 in 913330c
looks like pixtral is already tested under llava tests properly - since it's a llava model it's enough to test it there, no?
There was a problem hiding this comment.
ah then good job and sorry!
There was a problem hiding this comment.
no worries- it's hard to see when tests are measuring a model through another one, but it's convenient on our side. I can move all pixtral related tests to pixtral testing so we don't forget it, wdyt? It's a bit more loc but it's easier to track down
ArthurZucker
left a comment
There was a problem hiding this comment.
Good to go ! Thanks 🤗
* fix pixtral processor * test out full length batches + remove undue ValueError * fix up processing * fix tests * fix * last fixup * style * [run-slow] pixtral * [run-slow] pixtral * fix config key * skip torchscript tests * [run-slow] pixtral * add missing key * [run-slow] pixtral * fix docs * [run-slow] pixtral * fix wrong url for integration test * [run-slow] pixtral * pixtralVisionModel does not have a lm head * [run-slow] pixtral
* fix pixtral processor * test out full length batches + remove undue ValueError * fix up processing * fix tests * fix * last fixup * style * [run-slow] pixtral * [run-slow] pixtral * fix config key * skip torchscript tests * [run-slow] pixtral * add missing key * [run-slow] pixtral * fix docs * [run-slow] pixtral * fix wrong url for integration test * [run-slow] pixtral * pixtralVisionModel does not have a lm head * [run-slow] pixtral
What does this PR do?
Should fix #34204 .