Docling/docling/utils
Michele Dolfi 8dc0562542
fix: enable locks for threadsafe pdfium (#1052)
* enable locks for threadsafe pdfium

Signed-off-by: Michele Dolfi <dol@zurich.ibm.com>

* fix deadlock in pypdfium2 backend

Signed-off-by: Michele Dolfi <dol@zurich.ibm.com>

---------

Signed-off-by: Michele Dolfi <dol@zurich.ibm.com>
2025-03-02 20:06:44 +01:00
..
__init__.py Initial commit 2024-07-15 09:42:42 +02:00
accelerator_utils.py feat: Support cuda:n GPU device allocation (#694) 2025-02-17 11:31:13 +01:00
export.py feat!: Docling v2 (#117) 2024-10-16 21:02:03 +02:00
glm_utils.py feat: Add content_layer property to items to address body, furniture and other roles (#735) 2025-02-10 12:07:49 +01:00
layout_postprocessor.py feat: Updated Layout processing with forms and key-value areas (#530) 2024-12-17 17:32:24 +01:00
locks.py fix: enable locks for threadsafe pdfium (#1052) 2025-03-02 20:06:44 +01:00
model_downloader.py fix: vlm using artifacts path (#1057) 2025-02-26 08:33:50 +01:00
ocr_utils.py feat: Introduce automatic language detection in TesseractOcrCliModel (#800) 2025-01-26 08:07:56 +01:00
profiling.py feat: Add pipeline timings and toggle visualization, establish debug settings (#183) 2024-10-30 15:04:19 +01:00
utils.py feat: new artifacts path and CLI utility (#876) 2025-02-06 15:46:32 +01:00
visualization.py feat: [Experimental] Introduce VLM pipeline using HF AutoModelForVision2Seq, featuring SmolDocling model (#1054) 2025-02-26 14:43:26 +01:00