huggingface / huggingface/diffusers
Deprecating `Siglip2ImageProcessorFast`
- Dominant language
- Python
- Stars
- 34.5k
- Forks
- 7.3k
- Avg merge
- 3d 3h
- Merged PRs (30d)
- 91
Description
The following lines trigger a deprecation warning for the Fast processor.
https://github.com/huggingface/diffusers/blob/759164b7ad116e091e9d3e222211c9aa27d835f6/src/diffusers/pipelines/z_image/pipeline_z_image_omni.py#L20
https://github.com/huggingface/diffusers/blob/759164b7ad116e091e9d3e222211c9aa27d835f6/src/diffusers/pipelines/z_image/pipeline_z_image_omni.py#L156
This is a quick fix and I could take it up if we are up for replacing the Processor with `Siglip2ImageProcessor`.
Contributor guide
Research direction
Open src/diffusers/pipelines/z_image/pipeline_z_image_omni.py and inspect the processor references at lines 20 and 156. Replace the deprecated Siglip2ImageProcessorFast usage with Siglip2ImageProcessor, then run the relevant pipeline checks to confirm the deprecation warning is gone.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- machine-learning
- Issue type
- Bug
- Difficulty
- 1/5
- Estimated time
- Under an hour
- Activity status
- Active
- Clarity
- Clearly specified
- Newbie friendliness
- 86/100