Skip to content

v0.11.2

Latest

Choose a tag to compare

@GreatV GreatV released this 03 Dec 13:38
· 20 commits to main since this release
0ad3a22

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), alongside PaddleOCR-VL-1.8 (PaddlePaddle/PaddleOCR-VL-1.8) across oar-ocr-vl (AnyPageParserModel::PaddleOcrVl1_8, DEFAULT_LAYOUT_V4_REPO) and oar-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) to oar-ocr-core and oar-ocr with zero-copy multi-output ORT execution, quadrilateral filtering, and D²RO reading order, and exposes predicted PageDeformation (warp_params) via semver-additive LayoutDetectionAdapter::execute_detailed, LayoutDetectionPredictor::predict_detailed, and OARStructure::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 depthwise Conv2d + 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 cuDNN Heuristic search for ONNX layout detection adapters (speeding up Candle PpDocLayoutV4 by 6.5× on CUDA and ONNX PP-DocLayoutV4 by 8.0× on CUDA while keeping variable-width OCR on Default).

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