Skip to content

Dev - #5639

Merged
myhloli merged 3 commits into
opendatalab:devfrom
myhloli:dev
Oct 12, 2026
Merged

Dev#5639
myhloli merged 3 commits into
opendatalab:devfrom
myhloli:dev

Conversation

@myhloli

@myhloli myhloli commented Oct 12, 2026

Copy link
Copy Markdown
Collaborator

Thanks for your contribution and we appreciate it a lot. The following instructions would make your pull request more healthy and more easily get feedback. If you do not understand some items, don't worry, just make the pull request and seek help from maintainers.

Motivation

Please describe the motivation of this PR and the goal you want to achieve through this PR.

Modification

Please briefly describe what modification is made in this PR.

BC-breaking (Optional)

Does the modification introduce changes that break the backward compatibility of the downstream repositories?
If so, please describe how it breaks the compatibility and how the downstream projects should modify their code to keep compatibility with this PR.

Use cases (Optional)

If this PR introduces a new feature, it is better to list some use cases here and update the documentation.

Checklist

Before PR:

  • Pre-commit or other linting tools are used to fix the potential lint issues.
  • Bug fixes are fully covered by unit tests, the case that causes the bug should be added in the unit tests.
  • The modification is covered by complete unit tests. If not, please add more unit test to ensure the correctness.
  • The documentation has been modified accordingly, like docstring or example tutorials.

After PR:

  • If the modification has potential influence on downstream or other related projects, this PR should be tested with those projects.
  • CLA has been signed and all committers have signed the CLA in this PR.

Filter narrow formula-mask fragments before cropping and keep valid boxes aligned with recognition results. Add coverage for zero-size crops, formula-mask endpoints, and empty recognition batches.
Disable NNPACK during the first lazy Torch initialization while preserving later explicit overrides and GPU/ONNX execution paths. Verify the process setting across worker threads without loading Torch on uninitialized lightweight paths.

Apple M4 CPU FP32 Basic/OCR on demo1 and demo2 retained byte-identical outputs across two order-rotated comparisons. Median parsing time fell from 216.67s to 105.63s, primarily in MFR. Related regression checks: 148 passed; default SDK demo2 replay matched the accepted outputs.

Refs opendatalab#5632
Freeze real detection inputs and replay isolated device, fusion, shape, microbatch, and NNPACK strategies with output parity checks and memory accounting. Add demo PDF Basic/OCR stage timing and keep explicit NNPACK-on controls independent of the production default.

Refs opendatalab#5632
@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review 🔄 Running since 2026-10-12T18:04:16.028289Z c3d34f3 PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@myhloli
myhloli merged commit 05c64ac into opendatalab:dev Oct 12, 2026
2 checks passed
@github-actions github-actions Bot locked and limited conversation to collaborators Oct 12, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant