ragflow/rag/app
Debug Doctor 3e19044dee
Feat: add OCR's muti-gpus and parallel processing support (#5972)
### What problem does this PR solve?

Add OCR's muti-gpus and parallel processing support

### Type of change

- [x] New Feature (non-breaking change which adds functionality)

@yuzhichang I've tried to resolve the comments in #5697. OCR jobs can
now be done on both CPU and GPU. ( By the way, I've encountered a
“Generate embedding error” issue #5954 that might be due to my outdated
GPUs? idk. ) Please review it and give me suggestions.

GPU:

![gpu_ocr](https://github.com/user-attachments/assets/0ee2ecfb-a665-4e50-8bc7-15941b9cd80e)

![smi](https://github.com/user-attachments/assets/a2312f8c-cf24-443d-bf89-bec50503546d)

CPU:

![cpu_ocr](https://github.com/user-attachments/assets/1ba6bb0b-94df-41ea-be79-790096da4bf1)
2025-03-17 11:58:40 +08:00
..
__init__.py Update comments (#4569) 2025-01-21 20:52:28 +08:00
audio.py Update comments (#4569) 2025-01-21 20:52:28 +08:00
book.py Light GraphRAG (#4585) 2025-01-22 19:43:14 +08:00
email.py Light GraphRAG (#4585) 2025-01-22 19:43:14 +08:00
laws.py Light GraphRAG (#4585) 2025-01-22 19:43:14 +08:00
manual.py Light GraphRAG (#4585) 2025-01-22 19:43:14 +08:00
naive.py Feat: add OCR's muti-gpus and parallel processing support (#5972) 2025-03-17 11:58:40 +08:00
one.py Light GraphRAG (#4585) 2025-01-22 19:43:14 +08:00
paper.py Light GraphRAG (#4585) 2025-01-22 19:43:14 +08:00
picture.py Update comments (#4569) 2025-01-21 20:52:28 +08:00
presentation.py Light GraphRAG (#4585) 2025-01-22 19:43:14 +08:00
qa.py Fix csv reader exception. (#4628) 2025-01-24 14:47:19 +08:00
resume.py Update comments (#4569) 2025-01-21 20:52:28 +08:00
table.py Refactor: Optimize error handling and support parsing of XLS(EXCEL97—2003) files. (#5633) 2025-03-05 11:55:27 +08:00
tag.py Code refactor (#5371) 2025-02-26 15:40:52 +08:00