Refactoring of ImageProcessorFast #35069
qubvel
commented
on 2024-12-11
qubvel
commented
on 2024-12-18
yonigozlan
changed the title [WIP] Refactoring of ImageProcessorFast Refactoring of ImageProcessorFast 349 days ago
add init and base image processing functions
2f00f0c5
add add_fast_image_processor to transformers-cli
cfadb728
add working fast image processor clip
2cd73cbc
add fast image processor to doc, working tests
932bd688
remove "to be implemented" SigLip
23d79cee
fix unprotected import
3f2d8a61
fix unprotected vision import
6a9d3321
update ViTImageProcessorFast
a1e2663d
increase threshold slow fast ewuivalence
fa74e7e8
add fast img blip
9dbd7653
add fast class in tests with cli
d39ff521
improve cli
f609730a
add fast image processor convnext
8f7774d9
add LlavaPatchingMixin and fast image processor for llava_next and ll…
809e1f0c
add device kwarg to ImagesKwargs for fast processing on cuda
f6e6cc2d
cleanup
e1ce1483
fix unprotected import
a24d89cd
group images by sizes and add batch processing
522e200b
Add batch equivalence tests, skip when center_crop is used
deefc5a8
cleanup
6a2478eb
update init and cli
7d76305d
fix-copies
142ed250
refactor convnext, cleanup base
75bf56f7
fix
de1fa180
remove patching mixins, add piped torchvision transforms for ViT
2ffc41d8
fix unbatched processing
b524406f
fix f strings
9c2e2a49
protect imports
8c773e06
change llava onevision to class transforms (test)
90fceba6
fix convnext
e878bddd
improve formatting (following Pavel review)
57acb7e5
fix handling device arg
2a25104a
improve cli
4784fc89
fix
3ccd2917
fix inits
053cdcbb
Merge remote-tracking branch 'upstream/main' into improve-fast-image-…
1b45e6ef
Add distinction between preprocess and _preprocess, and support for a…
92469453
uniformize qwen2_vl fast
6ccd2307
fix docstrings
c4b83894
add add fast image processor llava
e5c1e011
remove min_pixels max_pixels from accepted size
aef2fb4b
nit
7078a14e
nit
aa94873d
refactor fast image processors docstrings
13a125b8
Merge remote-tracking branch 'upstream/main' into improve-fast-image-…
8adb8936
cleanup and remove fast class transforms
67d65f23
update add fast image processor transformers cli
d2254486
cleanup docstring
80c68247
Merge remote-tracking branch 'upstream/main' into improve-fast-image-…
b96adfa7
uniformize pixtral fast and make _process_image explicit
dbaacd15
Merge remote-tracking branch 'upstream/main' into improve-fast-image-…
b660e9d5
fix prepare image structure llava next/onevision
b43ede1a
Use typed kwargs instead of explicit args
3b05cbd1
nit fix import Unpack
95db4a90
Merge branch 'main' into improve-fast-image-processor-base
d9e1fcdf
clearly separate pops and gets in base preprocess. Use explicit typed…
6bd7a1ba
Merge branch 'main' into improve-fast-image-processor-base
565e4824
make qwen2_vl preprocess arguments hashable
f85c06fe
Merge branch 'improve-fast-image-processor-base' of https://github.co…
1a7b0c40
Assignees
No one assigned
Login to write a write a comment.
Login via GitHub