-
Notifications
You must be signed in to change notification settings - Fork 31.9k
[GLM-OCR] GLM-OCR Support #43391
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
base: main
Are you sure you want to change the base?
[GLM-OCR] GLM-OCR Support #43391
Conversation
zucchini-nlp
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great use of modular! Only a few comments and I think the PR will be ready to merge! Also, since the model isn't yet released, let's skip slow integration tests with a "reason" so that CI doesn't complain
| ("glm_ocr", "GlmOcrConfig"), | ||
| ("glm_ocr_text", "GlmOcrTextConfig"), | ||
| ("glm_ocr_vision", "GlmOcrVisionConfig"), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
note to myself: this is getting too reprtitive with more MM models added. Will try to come up with a cleaner way!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great, thanks a lot for un-skipping those tests! I will let you fix one last test that is failing (compile_fullgraph) and ask for Arthur's review. Then we can merge
When done fixing, can you also mark PR as ready for review?
|
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. |
|
View the CircleCI Test Summary for this PR: https://huggingface.co/spaces/transformers-community/circle-ci-viz?pr=43391&sha=48594f |
|
[For maintainers] Suggested jobs to run (before merge) run-slow: auto, glm46v, glm4v, glm4v_moe, glm_ocr |
|
This PR also removes all restrictions on image sizes smaller than 28 in GLM-V (support in all GLM-V models) |
Need reivew for @zucchini-nlp