Skip to content

Releases: sdcb/PaddleSharp

3.0.1 - Linux/macOS supported

23 Jun 09:55
05ea890
Compare
Choose a tag to compare

We are excited to announce the release of PaddleSharp v3.0.1!
This version brings official support for Linux and macOS runtime dynamic libraries, further expanding multi-platform capability and bringing you a more robust Cross-Platform Paddle Inference experience.


🆕 Newly Released NuGet Runtime Packages for Linux/macOS

In addition to our existing Windows runtime packages, v3.0.1 introduces six new local dynamic library NuGet packages, enabling support for both x64 and ARM64 architectures on Linux and macOS:

Package Version 📌 Description
Sdcb.PaddleInference.runtime.linux-x64.openblas NuGet Linux x64, OpenBLAS
Sdcb.PaddleInference.runtime.linux-x64.mkl NuGet Linux x64, MKL
Sdcb.PaddleInference.runtime.linux-x64 NuGet Linux x64, MKL+OpenVINO
Sdcb.PaddleInference.runtime.linux-arm64 NuGet Linux ARM64
Sdcb.PaddleInference.runtime.osx-x64 NuGet macOS x64 (includes ONNXRuntime)
Sdcb.PaddleInference.runtime.osx-arm64 NuGet macOS ARM64

With these additions, PaddleSharp now covers mainstream deployment scenarios for .NET on Windows, Linux, and macOS with both x64 and arm64 support.


📦 Core Package Updates

  • Sdcb.PaddleInference 3.0.1
    Maintenance update ensuring compatibility with new runtime libraries.

  • Sdcb.PaddleOCR 3.0.1 (Recommended for upgrade!)

    • Fixed precision issues and rare crash bugs in OCR models.
    • ⚠️ Note: If you've never installed the Sdcb.PaddleOCR NuGet package directly,
      please install or upgrade to this package. (If you previously only used Sdcb.PaddleOCR.Models.Online or Sdcb.PaddleOCR.Models.Local, your OCR backend was still using an older version.)
  • Sdcb.RotationDetector 1.0.4

    • Updated dependency to Sdcb.PaddleInference 3.0.1 (no other changes).
  • Sdcb.PaddleNLP.Lac 1.0.1

    • Updated dependency to Sdcb.PaddleInference 3.0.1 (no other changes).

💡 Package Selection Guide

The complete set of runtime packages—including Windows, Linux, and macOS libraries—are self-built with open-source enhancements. You can find all source code and CI scripts in the PaddleSharp GitHub repository.


🙌 Thanks for Your Support!

Thank you for your continued feedback and support!
As always, we welcome your suggestions and pull requests, and we hope you enjoy PaddleSharp v3.0.1 on all major platforms!

3.0

14 Jun 05:13
Compare
Choose a tag to compare
3.0

PaddleSharp v3.0 Official Release

We are excited to announce the official release of PaddleSharp version 3.0! This new version supports the Paddle Inference Library 3.0 as well as the latest PaddleOCR v5 models. We welcome everyone to try it out!

Newly released .NET NuGet packages (5):

  • Sdcb.PaddleInference.3.0.0 - Supports Paddle Inference Library C API version 3.0
  • Sdcb.PaddleOCR.3.0.0 - Supports PaddleOCR v5 models
  • Sdcb.PaddleOCR.Models.Local.3.0.1
  • Sdcb.PaddleOCR.Models.LocalV5.3.0.0 - Includes local models of PaddleOCR v5
  • Sdcb.PaddleOCR.Models.Online.3.0.1 - Provides auto-downloading for PaddleOCR v5 models

In addition, 16 runtime-specific NuGet packages for Paddle Inference have been released:

  • Sdcb.PaddleInference.runtime.win64.mkl
  • Sdcb.PaddleInference.runtime.win64.openblas
  • Sdcb.PaddleInference.runtime.win64.openblas-noavx
  • Sdcb.PaddleInference.runtime.win64.cu118_cudnn89_sm61
  • Sdcb.PaddleInference.runtime.win64.cu118_cudnn89_sm75
  • Sdcb.PaddleInference.runtime.win64.cu118_cudnn89_sm86
  • Sdcb.PaddleInference.runtime.win64.cu118_cudnn89_sm89
  • Sdcb.PaddleInference.runtime.win64.cu126_cudnn95_sm61
  • Sdcb.PaddleInference.runtime.win64.cu126_cudnn95_sm75
  • Sdcb.PaddleInference.runtime.win64.cu126_cudnn95_sm86
  • Sdcb.PaddleInference.runtime.win64.cu126_cudnn95_sm89
  • Sdcb.PaddleInference.runtime.win64.cu129_cudnn910_sm61
  • Sdcb.PaddleInference.runtime.win64.cu129_cudnn910_sm75
  • Sdcb.PaddleInference.runtime.win64.cu129_cudnn910_sm86
  • Sdcb.PaddleInference.runtime.win64.cu129_cudnn910_sm89
  • Sdcb.PaddleInference.runtime.win64.cu129_cudnn910_sm120

Package Selection Guide:

  • We recommend Sdcb.PaddleInference.runtime.win64.mkl for most users. It offers the best balance between performance and package size. Please note that this package does not support GPU acceleration, making it suitable for most general scenarios.
  • openblas-noavx is tailored for older CPUs that do not support the AVX2 instruction set.
  • The remaining packages cover various CUDA combinations (GPU acceleration), supporting three CUDA versions:
    • CUDA 11.8: Supports 10–40 series NVIDIA GPUs
    • CUDA 12.6: Supports 10–40 series NVIDIA GPUs
    • CUDA 12.9: Supports 10–50 series NVIDIA GPUs

Important:
Not all GPU packages are suitable for every card. Please refer to the following GPU-to-sm suffix mapping:

sm Suffix Supported GPU Series
sm61 GTX 10 Series
sm75 RTX 20 Series (and GTX 16xx series such as GTX 1660)
sm86 RTX 30 Series
sm89 RTX 40 Series
sm120 RTX 50 Series (supported by CUDA 12.9 only)

All NuGet packages are self-compiled, with minor modifications to the official C API libraries. Both the changes and the build process are fully open-source. You are welcome to star the PaddleSharp open-source project and provide your feedback or suggestions!

2.5.0.1

14 Jun 09:45
Compare
Choose a tag to compare

What's Changed

  • $ git ls-files -z | xargs -0 sed -i 's/Size.Zero/default/' by @n0099 in #78
  • Feature/2.6, added PaddleNLP.Lac by @sdcb in #86
  • Chore: Add issue template files by @JeremyWu917 in #89
  • Update PaddleDetector.cs by @LuGuangguang in #91
  • PaddleOCR 2.7.0.2: Supports thread-safe.

New Contributors

Full Changelog: 2.5.0...2.5.0.1

2.5.0

11 Aug 00:55
Compare
Choose a tag to compare

What's Changed

Full Changelog: 2.4.1.5...2.5.0

2.4.1.5

13 Jul 10:05
Compare
Choose a tag to compare

Latest before merge 2.5

Full Changelog: 2.4.1.4...2.4.1.5

2.4.1.4

30 Jun 03:35
Compare
Choose a tag to compare

Published following packages:

Id Version Download
Sdcb.PaddleInference 2.4.1.4 NuGet

Release notes:

  • Optimize dll loader code logic when loading 3rd-party dlls, give a more cleaner message when throws DllNotLoadException.

2.4.1.3

17 Jun 23:56
Compare
Choose a tag to compare

Published following packages:

Id Version Download
Sdcb.PaddleInference 2.4.1.3 NuGet
Sdcb.PaddleOCR 2.6.0.5 NuGet
Sdcb.PaddleOCR.Models.LocalV3 2.6.0.5 NuGet
Sdcb.PaddleOCR.Models.Online 2.6.0.5 NuGet
Sdcb.PaddleDetection 2.3.1 NuGet
Sdcb.RotationDetector 1.0.1 NuGet

Release notes:

  • All packages add detailed xml comments to all public properties, methods, classes, enums.
  • All packages included xml comments when packaging
  • All packages added .snuget symbol files, can dig into source code when debugging.

2.4.1.2

06 May 03:19
5e2588b
Compare
Choose a tag to compare

PaddleSharp有个重磅更新发布啦!
✅ Sdcb.PaddleInference 2.4.1.2
✅ Sdcb.PaddleOCR 2.6.0.4
✅ Sdcb.PaddleOCR.Models.LocalV3 2.6.0.3
✅ Sdcb.PaddleOCR.Models.Online 2.6.0.3

这次更新增加了基于百度深度学习🧠的表格检测模型,进行更强大的表格识别功能!表格支持跨行和跨列哦📊📈!📚使用示例完整代码及文档,点击这里获取:https://github.com/sdcb/PaddleSharp/blob/master/docs/ocr.md#table-recognition

💥除此之外,还发布了基于Ubuntu 22.04的新docker镜像,让Linux下使用更加方便:
🔹 sdflysha/dotnet6-paddle:2.4.2-ubuntu22
🔹 sdflysha/dotnet6sdk-paddle:2.4.2-ubuntu22

Github仓库地址(欢迎给我们点个star哦):https://github.com/sdcb/PaddleSharp
📦 NuGet包下载:https://www.nuget.org/packages?q=Sdcb.Paddle

一些细节方面的优化:

  • 将Mkldnn默认大小从10改到了1(感谢n0099大佬)
  • 将OCR结果进行了“合理化”的排序,以后OCR结果将不再会颠倒过来了
  • 将QueuedPaddleOcrAll默认队列数量从4改为了1,更适合预期
  • 同时将表格识别模型加入了本地NuGet包和在线下载NuGet包,本地NuGet包大小从106MB提高到119MB
  • 将OpenCvSharp4依赖升级到了最新

Full Changelog: 2.4.1.1...2.4.1.2

2.4.1.1

31 Mar 11:12
Compare
Choose a tag to compare

Versions(版本号)

Sdcb.PaddleOCR 2.6.0.2
Sdcb.PaddleOCR.Models.LocalV3 2.6.0
Sdcb.PaddleOCR.Models.Online 2.6.0
Sdcb.PaddleInference 2.4.1.1

Addressed following issues/added following features(解决了如下问题)

What's Changed

  • add more combinations of det+cls+rec models for all available languages @ Sdcb.PaddleOCR.Models.Online.OnlineFullModels by @n0099 in #35

New Contributors

  • @n0099 made their first contribution in #35

Full Changelog: 2.4.0...2.4.1.1

2.4.0

16 Dec 01:26
Compare
Choose a tag to compare

for Sdcb.PaddleInference & Sdcb.PaddleOCR

  • Remove PaddleConfig.Defaults
  • Added PaddleDevice
  • Add support for TensorRT