transformers
Fix `AutoImageProcessor` requiring torchvision when only Pillow is installed
#48616
Merged

Fix `AutoImageProcessor` requiring torchvision when only Pillow is installed #48616

blipbyte
blipbyte Do not infer a torchvision requirement from prose mentions of Torchvi…
cd52e70b
zucchini-nlp
zucchini-nlp commented on 2026-09-08
blipbyte Test the ImportError rather than the file text
d3170ae8
blipbyte blipbyte marked this pull request as ready for review 55 days ago
blipbyte
zucchini-nlp test each model class
2cfdb0cc
zucchini-nlp
zucchini-nlp approved these changes on 2026-09-09
zucchini-nlp clean-up the patch
d5a80120
zucchini-nlp skip it, old API
075c386e
zucchini-nlp zucchini-nlp enabled auto-merge 53 days ago
github-actions
HuggingFaceDocBuilderDev
zucchini-nlp Merge branch 'main' into autoimageprocessor-pil-only
5e43c9e3
github-actions
zucchini-nlp zucchini-nlp merged 1ee31851 into main 53 days ago

Login to write a write a comment.

Login via GitHub

Reviewers
Assignees
No one assigned
Labels
Milestone