transformers
:rotating_light: Fix gemma4 cross imports resulting in import failing without `torch` but with `PIL`
#49748
Merged

:rotating_light: Fix gemma4 cross imports resulting in import failing without `torch` but with `PIL` #49748

Sai-Suraj-27
Sai-Suraj-27 Update import to PIL image processing file
a0eee26b
Sai-Suraj-27 Sai-Suraj-27 changed the title Fix library import failing without `torch` but with `PIL` Fix library import failing without `torch` when we have `PIL` installed 34 days ago
Sai-Suraj-27 Merge branch 'main' of github.com:huggingface/transformers into fix_t…
cf65f7fd
Sai-Suraj-27 Update Gemma4_unified import, Processor requires
0a7d93ea
github-actions
github-actions commented on 2026-10-20
vasqu
vasqu commented on 2026-10-20
vasqu
vasqu commented on 2026-10-20
vasqu
ydshieh
vasqu
vasqu let's test this
1cca602a
vasqu make it torchvision only like?
d888494d
vasqu fix eg2 as well now that it doesnt exist in the parent
366436c2
HuggingFaceDocBuilderDev
vasqu
vasqu vasqu changed the title Fix library import failing without `torch` when we have `PIL` installed :rotating_light: Fix gemma4 cross imports resulting in import failing without `torch` but with `PIL` 32 days ago
vasqu vasqu requested a review from zucchini-nlp zucchini-nlp 32 days ago
vasqu
vasqu vasqu marked this pull request as ready for review 32 days ago
github-actions
Sai-Suraj-27
zucchini-nlp
zucchini-nlp commented on 2026-10-22
vasqu rm the requires
0b144da2
github-actions
vasqu oops
78bca232
vasqu come on
5785fd59
zucchini-nlp
zucchini-nlp approved these changes on 2026-10-23
ydshieh ydshieh merged d6150eef into main 31 days ago
prosablageetpeinture-blip
prosablageetpeinture-blip requested changes on 2026-10-23

Login to write a write a comment.

Login via GitHub

Assignees
No one assigned
Labels
Milestone