Repository navigation
Highlights
- PaddleOCR-VL-1.8 & native PP-DocLayoutV4. Adds native Candle support for
PpDocLayoutV4(PaddlePaddle/PP-DocLayoutV4_safetensors) with 10-dim quadrilateral regression, D²RO reading-order decoding, quadrilateral-aware post-processing, and an optional page-deformation head (PageDeformation), alongsidePaddleOCR-VL-1.8(PaddlePaddle/PaddleOCR-VL-1.8) acrossoar-ocr-vl(AnyPageParserModel::PaddleOcrVl1_8,DEFAULT_LAYOUT_V4_REPO) andoar-ocr-cli(oar parse --use-layout-deform) with optional per-region crop rectification (LayoutDeformOptions/DocParserOptions::with_layout_deform). - Classic ONNX PP-DocLayoutV4 & deformation exposure. Adds
PP-DocLayoutV4(PaddlePaddle/PP-DocLayoutV4_onnx) tooar-ocr-coreandoar-ocrwith zero-copy multi-output ORT execution, quadrilateral filtering, and D²RO reading order, and exposes predictedPageDeformation(warp_params) via semver-additiveLayoutDetectionAdapter::execute_detailed,LayoutDetectionPredictor::predict_detailed, andOARStructure::predict*_detailed. - Layout inference performance. Adds load-time f64 Conv+BN folding and RepVGG re-parameterization, fused CUDA and rayon CPU multi-scale deformable attention (
deformable_attn.cu), fused CUDA and rayon CPU depthwiseConv2d+ direct 1×1 GEMM (dw_conv2d.cu/FastConv2d) across PP-DocLayout V2/V3/V4, fused OpenCV cubic resize directly into NCHW tensors, and fixed-shape cuDNNHeuristicsearch for ONNX layout detection adapters (speeding up CandlePpDocLayoutV4by6.5×on CUDA and ONNXPP-DocLayoutV4by8.0×on CUDA while keeping variable-width OCR onDefault).
What's Changed
- feat(core,vl,cli): add PaddleOCR-VL-1.8 and PP-DocLayoutV4 support by @GreatV in #302
- build: bump version to 0.11.2 by @GreatV in #303
Full Changelog: v0.11.1...v0.11.2