add Qwen2-VL image processor fast (#35733)

* add qwen2_vl image processor fast

* add device to ImagesKwargs

* remove automatic fix copies

* fix fast_is_faster_than_slow

* remove unnecessary import
This commit is contained in:
Yoni Gozlan
2025-01-21 11:49:05 -05:00
committed by GitHub
parent 3df90103b8
commit 107f9f5127
9 changed files with 584 additions and 127 deletions

View File

@@ -315,6 +315,11 @@ model = Qwen2VLForConditionalGeneration.from_pretrained(
[[autodoc]] Qwen2VLImageProcessor
- preprocess
## Qwen2VLImageProcessorFast
[[autodoc]] Qwen2VLImageProcessorFast
- preprocess
## Qwen2VLProcessor
[[autodoc]] Qwen2VLProcessor