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.
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
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.
Separate shared Tasks contracts and single-file execution from HTTP and local
adapters. Extract Doclib content reads and cache access, defer configuration
loading, and apply SQLite runtime settings to every connection.
Track application, document and initialization leases across model caches.
Use explicit VLM resource handles and separate WebUI conversion work from
component updates while preserving existing HTTP contracts.
Validation: 4080 non-Torch unit tests passed with 3 skips; API and Router
OpenAPI unchanged. Installed-wheel PDF/render/API/WebUI/CLI smoke passed.
Metal inference verified sharing, cancellation drain, final-owner cleanup and
recreation. Unrelated local PDF-style test changes and examples are excluded.
Generate server-owned file IDs shared by Tasks and result resources. Separate creation, detail, cancellation and upload responses, omitting null fields.
Use POST /v1/tasks/{task_id}/cancel and remove public DELETE endpoints. Update Router, SDK, file_parse recovery, examples and documentation.
Converge the SDK, Gradio, remote CLI, Doclib and Router on Tasks with hash-based uploads, per-file result URLs, task listing and optional model output. Preserve Files and the synchronous file_parse wrapper while removing standalone Uploads/Jobs and local-path HTTP inputs.
Migrate contract, lifecycle, transport and real-document regression coverage; update documentation and HTTP examples. Validation: 1452 passed, 3 conditional skips, plus targeted final PDF checks.
BREAKING CHANGE: clients and workers must use Tasks; standalone Uploads/Jobs endpoints and local-source/inline HTTP options have been removed.
Accept form manifests and per-file uploads with resumable task state and optional source hashes. Publish result URLs only after final ZIP artifacts are ready, and align Router handling with the same protocol.
Remove synchronous parsing and task result routes, drop fixed local upload limits, and update the HTTP client, documentation, and regression coverage.
Add auto/cpu/gpu configuration, Windows adapter discovery, isolated rec calibration, atomic preference persistence, and vendor session presets. Route layout, rec, and full MFR batches through DirectML with CPU fallback.
Use mutually exclusive Windows x64 DirectML dependencies and guard ORT/Magika distribution identity. Include calibration fixtures, three-machine results, the 0.8 threshold with ten UHD 770 repeats, and installation documentation.
Validation: 762 MinerU tests and 71 DocVortex tests passed; dependency checks and Windows Python 3.10-3.14 resolution passed. The 19-page OCR result matches the CPU baseline. DocVortex PyPI acceptance remains pending a compatible release; pinned source acceptance passed.
- Deleted .readthedocs.yaml files from multiple directories
- Removed outdated API and user guide documentation files
- Deleted command line usage examples
- Removed CUDA acceleration guide
- Commented out the code that copies the paddleocr model to user directory
- This change affects both download_models.py and download_models_hf.py scripts
- Add PaddleOCR model to the list of models to download
- Update download_models.py and download_models_hf.py scripts to include PaddleOCR
- Create user directory for PaddleOCR and copy downloaded models