transformers
Add Fast Image Processor for ImageGPT
#39592
Merged

Add Fast Image Processor for ImageGPT #39592

agamjots05
agamjots05 initial commit
aea65470
agamjots05 initial setup
d49fa73a
Rocketknight1
agamjots05 Overiding imageGPT specific functions
aead2217
ayaayethan imported is_torch_available and utilized it for importing torch in im…
dc1b1910
ayaayethan Created init and ImageGPTFastImageProcessorKwargs
daedee9a
ayaayethan added return_tensors, data_format, and input_data_format to ImageGPTF…
8608e19e
ayaayethan set up arguments and process and _preprocess definitions
b7723560
updawg420 Added arguments to _preprocess
9e80e0ac
updawg420 Added additional optional arguments
f9f3ad8c
ayaayethan Copied logic over from base imageGPT processor
870cd9ad
ayaayethan Implemented 2nd draft of fast imageGPT preprocess using batch processing
3604c7a1
ayaayethan Implemented 3rd draft of imageGPT fast _preprocessor. Pulled logic fr…
fd5c1362
yonigozlan
agamjots05
ayaayethan modified imageGPT test file to properly run fast processor tests
ec1681bc
ayaayethan converts images to torch.float32 from torch.unit8
432e8f3b
ayaayethan fixed a typo with self.image_processor_list in the imagegpt test file
040678c8
ayaayethan updated more instances of image_processing = self.image_processing_cl…
6e0c6703
ayaayethan standardized normalization to not use image mean or std
a020d5fc
ayaayethan Merged changes from solution2 branch
56b3546e
ayaayethan Merged changes from solution2 test file
0b21bff9
agamjots05 fixed testing through baseImageGPT processor file
e98d5faa
agamjots05
ayaayethan Fixed check_code_quality test. Removed unncessary list comprehension.
f3b0a8c8
ayaayethan reorganized imports in image_processing_imagegpt_fast
43c61716
ayaayethan Merge branch 'main' into fastimage-imagegpt
178b2c01
ayaayethan formatted image_processing_imagegpt_fast.py
5bb6d5ae
updawg420 Added arg documentation
e575ba74
updawg420 Added FastImageProcessorKwargs class + Docs for new kwargs
25bd8ac4
updawg420 Reformatted previous
ff893539
updawg420 Added F to normalization
a1b2e7f6
agamjots05 fixed ruff linting and cleaned up fast processor file
cd4d0637
agamjots05 Merge branch 'huggingface:main' into fastimage-imagegpt
6b8458cf
agamjots05 Merge branch 'main' into fastimage-imagegpt
0b4af99d
agamjots05 agamjots05 marked this pull request as ready for review 128 days ago
github-actions github-actions requested a review from ydshieh ydshieh 128 days ago
github-actions github-actions requested a review from yonigozlan yonigozlan 128 days ago
yonigozlan
agamjots05
yonigozlan
yonigozlan commented on 2025-08-15
agamjots05 implemented requested changes
1315a98c
agamjots05 fixed ruff checks
0f34fd1b
agamjots05 fixed formatting issues
4f343935
agamjots05 Merge branch 'main' into fastimage-imagegpt
b382d096
agamjots05 fix(ruff after merging main)
898a8076
agamjots05
yonigozlan Merge remote-tracking branch 'upstream/main' into fastimage-imagegpt
24f21c40
yonigozlan simplify logic and reuse standard equivalenec tests
f3815ce1
github-actions
yonigozlan
yonigozlan approved these changes on 2025-09-04
yonigozlan yonigozlan enabled auto-merge (squash) 106 days ago
yonigozlan yonigozlan merged 4a88e815 into main 106 days ago
HuggingFaceDocBuilderDev

Login to write a write a comment.

Login via GitHub

Reviewers
Assignees
No one assigned
Labels
Milestone