1. 18 Feb, 2025 2 commits
  2. 11 Feb, 2025 2 commits
  3. 10 Feb, 2025 2 commits
  4. 09 Feb, 2025 1 commit
  5. 07 Feb, 2025 1 commit
  6. 27 Jan, 2025 2 commits
  7. 21 Jan, 2025 6 commits
  8. 20 Jan, 2025 2 commits
  9. 17 Jan, 2025 2 commits
  10. 16 Jan, 2025 3 commits
  11. 15 Jan, 2025 1 commit
  12. 14 Jan, 2025 2 commits
  13. 10 Jan, 2025 1 commit
  14. 09 Jan, 2025 3 commits
  15. 08 Jan, 2025 2 commits
  16. 06 Jan, 2025 2 commits
  17. 05 Jan, 2025 1 commit
    • myhloli's avatar
      fix(magic-pdf): update OCR model selection logic · 16a0a350
      myhloli authored
      - Add missing 'else' statement in OCR model selection logic
      - Ensure consistent formatting of 'if' statements for better readability
      - Remove unnecessary empty line in the 'app.py' file
      16a0a350
  18. 03 Jan, 2025 2 commits
  19. 30 Dec, 2024 2 commits
    • myhloli's avatar
      refactor(magic_pdf): comment out npu-related code · 88b909e2
      myhloli authored
      - Remove use_npu variable initialization
      - Comment out device assignment and npu check
      - Comment out use_npu parameter in ModifiedPaddleOCR constructor
      88b909e2
    • myhloli's avatar
      fix(npu): correct module name for NPU operations · 2684e775
      myhloli authored
      - Update `clean_memory.py` to use `torch_npu.npu` instead of `torch.npu`
      - Update `model_utils.py` to use `torch_npu.npu` instead of `torch.npu`
      - Simplify NPU availability check and bfloat16 support in `pdf_parse_union_core_v2.py`
      2684e775
  20. 26 Dec, 2024 1 commit
    • myhloli's avatar
      refactor(device): optimize memory cleaning and device selection · 50f48417
      myhloli authored
      - Update clean_memory function to support both CUDA and NPU devices
      - Implement get_device function to centralize device selection logic
      - Modify model initialization and memory cleaning to use the selected device
      - Update RapidTableModel to support both RapidOCR and PaddleOCR engines
      50f48417