Skip to content

Releases: VikParuchuri/surya

Performance Improvements

30 Oct 18:22
a8b34c4
Compare
Choose a tag to compare
  • Don't pass around heatmaps by default
  • Use threadpool vs processpool
  • Optimize fn for postprocessing

Flatten table form fields, overlap postprocessing

28 Oct 23:58
47f2384
Compare
Choose a tag to compare
  • Overlap postprocessing if batch size >1
  • Flatten in form fields with tables

Transformers 4.46, torch 2.5 fixes

25 Oct 15:56
caf3ec5
Compare
Choose a tag to compare
  • Fixes cudnn backend issue with torch 2.5
  • Fixes issue with sdpa and transformers 4.46
  • Flatten form fields into pdf by default for table rec

Threads

23 Oct 17:29
54b6299
Compare
Choose a tag to compare

Threads cause issues on a small % of devices. Although they do give good speedups on most, supporting them seems like a bad idea.

Layout and detection speedup

23 Oct 15:57
2dce355
Compare
Choose a tag to compare

Corrected version of a recent release with no deadlocks.

  • Layout 30% faster
  • Text detection 20% faster

Overlaps inference and postprocessing.

Revert thread changes

22 Oct 20:33
c3cb6c7
Compare
Choose a tag to compare

There were some issues with threading on certain devices. Will re-release after fixing.

Layout and text detection speedup

22 Oct 16:34
62c82a8
Compare
Choose a tag to compare

Overlap postprocessing with inference.

  • 20% text detection speedup
  • 30% layout speedup

Fix table recognition bug

18 Oct 17:21
bd9a2f7
Compare
Choose a tag to compare

There was an issue with columns not being detected properly

Fix bug with MPS and PyTorch 2.5

18 Oct 15:53
0013f92
Compare
Choose a tag to compare

This caused the table rec and OCR models to crash on MPS. Bug is now fixed.

Misc bugfixes

18 Oct 13:19
865306f
Compare
Choose a tag to compare
  • Fix issue with loading from folders
  • Bump pdftext version
  • Fix transformers warning