Skip to content

[Fix Phi4 test] Fall back to model config for image processor when trust_remote_code is False#45692

Merged
ydshieh merged 2 commits intohuggingface:mainfrom
yonigozlan:fix-phi4-test
Apr 29, 2026
Merged

[Fix Phi4 test] Fall back to model config for image processor when trust_remote_code is False#45692
ydshieh merged 2 commits intohuggingface:mainfrom
yonigozlan:fix-phi4-test

Conversation

@yonigozlan
Copy link
Copy Markdown
Member

As the title says, similar logic as in processing auto

@yonigozlan yonigozlan requested a review from ydshieh April 28, 2026 21:18
@github-actions
Copy link
Copy Markdown
Contributor

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

run-slow: auto

@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.

Copy link
Copy Markdown
Collaborator

@ydshieh ydshieh left a comment

Choose a reason for hiding this comment

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

Great ! Thanks

@ydshieh ydshieh changed the title [Fix Phi4 test] Add option to override image_processor_auto_map with local code when trust_remote_code is True [Fix Phi4 test] Add a condition to override image_processor_auto_map when trust_remote_code is False Apr 29, 2026
@ydshieh ydshieh changed the title [Fix Phi4 test] Add a condition to override image_processor_auto_map when trust_remote_code is False [Fix Phi4 test] Fall back to model config for local image processor when trust_remote_code is False Apr 29, 2026
@ydshieh ydshieh changed the title [Fix Phi4 test] Fall back to model config for local image processor when trust_remote_code is False [Fix Phi4 test] Fall back to model config for image processor when trust_remote_code is False Apr 29, 2026
@ydshieh ydshieh added this pull request to the merge queue Apr 29, 2026
@ydshieh ydshieh removed this pull request from the merge queue due to a manual request Apr 29, 2026
@ydshieh ydshieh added this pull request to the merge queue Apr 29, 2026
Merged via the queue into huggingface:main with commit db5786e Apr 29, 2026
28 checks passed
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.

3 participants