824 Commits
Author SHA1 Message Date
myhloli 6c6e0978a6 feat(webui): let external services schedule conversions by default 2026-11-20 11:31:43 +08:00
Xiaomeng Zhao 097de7f63f Merge pull request #5782 from opendatalab/dev
Reorganize bilingual MkDocs guides and add CLI, library, and HTTP examples
2026-11-18 17:20:25 +08:00
Xiaomeng Zhao d3e049f2ba Merge pull request #5781 from myhloli/dev
docs: reorganize bilingual MkDocs guides by workflow
2026-11-18 17:19:50 +08:00
myhloli 1f038d16f3 docs: reorganize bilingual MkDocs guides by workflow
Add runnable CLI, document library, and HTTP examples. Document WebUI exports and Router deployment, and preserve existing page and section links.
2026-11-18 16:54:32 +08:00
myhloli be3047a49a chore(release): prepare MinerU 4.2.3 2026-11-17 01:58:07 +08:00
Xiaomeng Zhao 1fde29e734 Merge pull request #5778 from opendatalab/dev
Enhance managed worker recovery and cleanup with timeout features
2026-11-17 01:52:39 +08:00
Xiaomeng Zhao 87298aad62 Merge pull request #5775 from myhloli/dev 2026-11-16 20:20:32 +08:00
myhloli 95583de870 feat(webui): recover managed workers after task execution timeouts
Route managed WebUI requests through a single inherited-device Router worker.
Supervise per-file execution deadlines, fail affected requests explicitly,
and recycle stalled process trees with bounded shutdown and restart attempts.

Expose configurable task timeouts (default 3600 seconds), separate SDK poll
budgets, preserve startup limits and authentication, and cover recovery with
real subprocess faults and bundled PDF parsing.
2026-11-16 18:28:38 +08:00
myhloli 2a5e1997ec Merge PR #5770 into the 4.2.2 release preparation 2026-11-13 21:27:33 +08:00
myhloli 041b1668f9 chore(release): prepare MinerU 4.2.2 2026-11-13 21:22:22 +08:00
myhloli 8d465c7dd0 fix(runtime): drain LMDeploy probes before releasing the Pipeline 2026-11-13 19:21:01 +08:00
myhloli 2a93ab7f13 fix(runtime): require llama.cpp lifecycle contract and verify host integration 2026-11-13 18:58:16 +08:00
myhloli 64300daec2 fix(runtime): share lifecycle state across local VLM backends
Latch fatal failures across synchronous and asynchronous handles, unify cache admission and owner notifications, and probe vLLM on its owning loop with an external deadline. Keep unknown MLX failures scoped to the current request and add supported-device acceptance scripts.
2026-11-13 17:34:39 +08:00
myhloli 72c322f220 refactor(read): limit file output to image reads
Reject Markdown file output before opening Doclib or creating paths, while preserving stdout, JSON, continuation and image output. Keep parse output on the complete export interface and mark historical read-output decisions as superseded.

Refs #5760
2026-11-13 16:20:36 +08:00
myhloli 7f97abc9b2 fix(kit): preserve batch output semantics and classify input failures
Determine batch mode from the original inputs, accept dotted output directories, and retain explicit single-file overwrite behavior. Validate actual document content, preserve structured local and remote errors, and distinguish skipped inputs, per-document failures, and systemic aborts.

Report accurate batch counts and exit status while preserving successful artifacts. Refs #5761, #5764
2026-11-13 16:20:17 +08:00
myhloli 359f8c79fc fix(runtime): isolate LMDeploy failure and delegate recovery to hosts
Latch dead runtimes across owners, reject new inference and drain affected tasks through the existing failure path. Probe loaded engines with bounded deadlines, keep temporary unavailability recoverable, and preserve ordinary crop fallback.

Keep shutdown cancellation drained without duplicate shield errors. Add Windows TurboMind lifecycle acceptance and require mineru-vl-utils 2.0.9.

Refs #5763
2026-11-13 16:19:31 +08:00
myhloli 9d089cc5a1 refactor(api): remove unimplemented webhook declarations 2026-11-12 15:59:09 +08:00
myhloli aabc6fd759 chore(release): prepare MinerU 4.2.1 2026-11-11 21:28:40 +08:00
Xiaomeng Zhao 1c4d357c9a Merge branch 'opendatalab:dev' into dev 2026-11-11 16:40:58 +08:00
myhloli f19a1c2969 test(doclib): cover default-budget continuation and clarify cursor contract 2026-11-11 15:05:55 +08:00
myhloli b08e955984 fix(doclib): align Windows managed port probes with server binding
Avoid address reuse during Windows port selection and cover reusable listeners with regression tests. Document shutdown callbacks for embedded hosts.

Refs #5752
2026-11-11 14:37:39 +08:00
crunz-ailab fa6dee7766 fix(doclib): preserve content across truncated locator reads
Resume page and document reads with the consumed cursor while preserving direct-block and bounded-range semantics. Cover continuation through service, HTTP, and CLI-marker paths and document the existing after field.
2026-11-10 23:04:00 +08:00
myhloli 8bb07f1557 chore(release): prepare MinerU 4.2.0 2026-11-10 19:27:58 +08:00
Xiaomeng Zhao 341d192aab Merge pull request #5743 from Ymmcc/fix/doclib-literal-fts-queries
fix(doclib): preserve punctuation in FTS queries
2026-11-10 19:14:46 +08:00
myhloli 75a3c1329b fix(doclib): keep operator words in literal search queries
Document punctuation-insensitive matching and cover searches with and without Jieba.

Refs #5743
2026-11-10 19:09:10 +08:00
myhloli 32bfd78919 fix(onnx): gate automatic discrete GPU selection on total memory
Require rounded total memory of at least 6 GB for ONNX auto discrete GPUs using DXGI or Vulkan. Fall back to CPU without calibration when memory is insufficient or unavailable; preserve configured devices and Torch behavior.

Refs #5740
2026-11-10 03:22:55 +08:00
myhloli ad18c1d6b3 build: lower ModelScope minimum to 1.39.1 2026-11-09 22:20:21 +08:00
myhloli 74dd405a7f fix(model): persist file manifests and pin ModelScope snapshots 2026-11-09 20:58:51 +08:00
myhloli b9f257cb74 fix(model): validate cached payloads and migrate legacy completion markers 2026-11-09 16:25:59 +08:00
myhloli c3e1c478c7 feat(runtime): unify process device decisions and expose health device 2026-11-09 10:53:40 +08:00
myhloli 82a66de5c9 refactor(webui): reuse prepared inputs and persistent PDF previews
Preview local PDFs directly while uploading and prepare image PDFs once for both preview and parsing. Keep PDF.js mounted across conversions, update overlays using original page indices, and remove WebUI PDF recropping. Add source lifecycle isolation, strict material consumption, bilingual upload hints, host contracts, documentation, and regression coverage.
2026-11-08 02:31:19 +08:00
myhloli 2dfd42b8e5 perf(webui): remove redundant layout PDF generation 2026-11-07 04:02:22 +08:00
myhloli 3a82fdf783 feat(webui): add bidirectional PDF and image source tracing 2026-11-06 22:10:09 +08:00
myhloli f6ef262739 fix(parser): enforce DocVortex document resource limits 2026-11-06 20:14:29 +08:00
myhloli d020a55350 fix(api): block SSRF in URL source downloads 2026-11-06 18:37:27 +08:00
myhloli 17701846e4 feat(llm): allow configured title leveling on selected pages 2026-11-06 17:38:59 +08:00
myhloli 1c6b9b7abf build: require docvortex 0.6.16 2026-11-06 17:38:59 +08:00
myhloli 8dfd5c7468 chore(llm): update model defaults and request diagnostics
Use qwen3.8-flash in configuration defaults and documentation, log correlated LLM requests and responses at debug level, and ignore Playwright browser snapshots.
2026-11-06 12:56:51 +08:00
myhloli fe086b3af5 chore(release): prepare MinerU 4.1.7 2026-11-04 20:08:37 +08:00
myhloli d77b5f34fa fix(ci): repair doclib links and credential file headers 2026-11-04 20:08:09 +08:00
myhloli fd4e4133e9 fix(doclib): enforce private credential ACLs on macOS 2026-11-04 15:44:22 +08:00
myhloli 4302bdd074 feat(doclib): require persistent local bearer authentication 2026-11-04 15:06:46 +08:00
myhloli 9ac4a39c2e docs: add README badges to bilingual home pages 2026-11-03 17:27:41 +08:00
myhloli cab8e46039 fix: normalize parse paths and validate API filenames
Refs opendatalab/MinerU#5711
2026-11-03 11:29:15 +08:00
myhloli e83f46ea70 fix(hardware): display info report in English 2026-11-03 10:50:23 +08:00
myhloli 48082b32bf chore(deps): require docvortex 0.6.11 2026-11-02 20:51:36 +08:00
myhloli 115693124d feat(pdf): recognize inline formulas with VLM text extraction
Use VLM text recognition for Standard and Advanced native-text inline crops, preserve mixed text/math spans, and fall back to MFR per failed crop. Normalize escaped text dollars before semantic serialization.

Add routing, fallback, concurrency, cancellation, and rendering regressions, and document the tier behavior.

Refs #5705
2026-11-02 18:58:20 +08:00
myhloli 47304a0348 docs: fix router management links for multilingual builds 2026-10-30 15:30:44 +08:00
myhloli 31bea79b7d feat(router): add dynamic upstream management
Add authenticated runtime upstream registration and draining while preserving active tasks, streams, and result leases. Support cascaded routers and validate upstream tiers and encoded resource prefixes. Include bilingual documentation and regression coverage.
2026-10-30 15:21:56 +08:00
myhloli a81c0224e9 docs: update documentation references and improve clarity in various files 2026-10-30 04:13:30 +08:00