Skip to content

Fix backward compatibility for full path imports of Fast Image Processors#44926

Merged
hmellor merged 5 commits intohuggingface:mainfrom
yonigozlan:even-more-im-proc-refactor-fixes
Mar 23, 2026
Merged

Fix backward compatibility for full path imports of Fast Image Processors#44926
hmellor merged 5 commits intohuggingface:mainfrom
yonigozlan:even-more-im-proc-refactor-fixes

Conversation

@yonigozlan
Copy link
Copy Markdown
Member

What does this PR do?

Solve import errors when trying to import from transformers.models.llama4.image_processing_llama4_fast import Llama4ImageProcessorFast for example

@yonigozlan yonigozlan requested a review from hmellor March 22, 2026 14:46
@HuggingFaceDocBuilderDev
Copy link
Copy Markdown

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.

hmellor added 2 commits March 23, 2026 12:26
Signed-off-by: Harry Mellor <19981378+hmellor@users.noreply.github.com>
Signed-off-by: Harry Mellor <19981378+hmellor@users.noreply.github.com>
@hmellor hmellor enabled auto-merge March 23, 2026 11:28
@hmellor hmellor added this pull request to the merge queue Mar 23, 2026
Merged via the queue into huggingface:main with commit d03945f Mar 23, 2026
28 checks passed
Comment on lines +835 to +838
logger.warning(
"Accessing `%s` from `%s`. Returning `%s` instead. Behavior may be "
"different and this alias will be removed in future versions.",
name,
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nice ty for adding the warning! (approved offline)

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.

4 participants