Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Try working around the processor registration bugs #36184

Open
wants to merge 25 commits into
base: main
Choose a base branch
from

Conversation

Rocketknight1
Copy link
Member

Draft PR for now, will write a full desc when it's ready!

Fixes #34307

@HuggingFaceDocBuilderDev

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.

@JJJYmmm JJJYmmm mentioned this pull request Feb 14, 2025
4 tasks
@JJJYmmm
Copy link

JJJYmmm commented Feb 14, 2025

Hello could you check #36194 :)

@Rocketknight1
Copy link
Member Author

Thanks for pointing that out @JJJYmmm! I'll use your code as a test case for this PR

@Rocketknight1 Rocketknight1 force-pushed the fix_custom_code_processors branch from 2cb6999 to d6e1693 Compare February 14, 2025 17:12
@Rocketknight1 Rocketknight1 force-pushed the fix_custom_code_processors branch 4 times, most recently from 34021dc to 38c1265 Compare February 20, 2025 17:54
@Rocketknight1 Rocketknight1 force-pushed the fix_custom_code_processors branch from 38c1265 to 41876c3 Compare February 20, 2025 19:27
@Rocketknight1
Copy link
Member Author

@JJJYmmm I think this should be ready at this point, can you update your code sample? The Qwen2_5_ImageProcessor has been refactored, so you might need to tweak it a bit before we can test this!

@Rocketknight1 Rocketknight1 marked this pull request as ready for review February 20, 2025 19:52
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.

Initializing via AutoImageProcessor before AutoProcessor is imported causes AttributeError
3 participants