Repository navigation
build(deps): take paddleocr 3.7 so PP-OCRv6 recognisers load - #107
Merged
Merged
Conversation
PaddleX registers the PP-OCRv6 recogniser architectures from 3.7, and custom models exported in that format, such as Calfa's paddle-calfa-tiny, fail at construction on anything older with "`PP-OCRv6_tiny_rec` is not registered on BasePredictor". The lock had held 3.7.0 since 2 November, but PaddleX 3.7 caps numpy below 2.4, so Dependabot's numpy 2.4.6 bump on 14 November (#102) quietly resolved paddleocr back to 3.4.1 and every PP-OCRv6 model stopped loading. A 3.7 floor on both paddle extras keeps the resolver from choosing that again; numpy returns to 2.3.5 until PaddleX lifts its cap. Co-authored-by: Yvette Mankerian <yvettekm@gmail.com> Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Deploying tetrak with
|
| Latest commit: |
e805e26
|
| Status: | ✅ Deploy successful! |
| Preview URL: | https://b8194266.tetrak.pages.dev |
| Branch Preview URL: | https://build-paddleocr-3-7.tetrak.pages.dev |
3 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
Raises the
paddleandpaddle-vlextras topaddleocr>=3.7(andpaddlex[ocr]>=3.7,paddlepaddle>=3.2) and relocks.Why
PaddleX registers the PP-OCRv6 recogniser architectures from 3.7. Custom models exported in that format, such as Calfa's
paddle-calfa-tinythat the register benchmark measures against, fail at construction on anything older:The lock had held 3.7.0 since 2 November. PaddleX 3.7 caps numpy below 2.4, so Dependabot's numpy 2.4.6 bump on 14 November (#102) quietly resolved paddleocr back to 3.4.1, and the brief 014 baseline run over the classical registers failed on every page. With the floor declared, the resolver cannot make that choice again; numpy returns to 2.3.5 until PaddleX lifts its cap.
Checked
pytest -k paddle: 33 passed.uv lock --checkpasses (pre-commit hook).🤖 Generated with Claude Code