Skip to content

Add test coverage for ConvNextImageProcessorFast#41523

Open
KaparthyReddy wants to merge 1 commit intohuggingface:mainfrom
KaparthyReddy:add-convnext-fast-image-processor
Open

Add test coverage for ConvNextImageProcessorFast#41523
KaparthyReddy wants to merge 1 commit intohuggingface:mainfrom
KaparthyReddy:add-convnext-fast-image-processor

Conversation

@KaparthyReddy
Copy link
Copy Markdown

Add test coverage for ConvNextImageProcessorFast

Description

Completes test coverage for the existing ConvNextImageProcessorFast implementation by adding image_processor_list to enable testing both slow and fast processors.

Changes

  • ✅ Added image_processor_list = [image_processing_class, fast_image_processing_class] to test class
  • ✅ Enables all existing tests to run on both slow and fast processors
  • ✅ All 19 tests passing

Testing Results

RUN_SLOW=1 python -m pytest tests/models/convnext/test_image_processing_convnext.py -v

- Add image_processor_list to enable testing both slow and fast processors
- All 19 tests passing for both ConvNextImageProcessor and ConvNextImageProcessorFast
- Fast processor implementation already exists with custom resize logic

Contributes to huggingface#33068
@github-actions
Copy link
Copy Markdown
Contributor

[For maintainers] Suggested jobs to run (before merge)

run-slow: convnext

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant