"test/srt/vscode:/vscode.git/clone" did not exist on "b47eda3316ebfd8fd6cc9626a6b2a3ca941df3d7"
refactor(magic_pdf): support mps device and optimize image processing
- Add support for Apple M1 chips (mps device) - Refactor image processing for better performance and compatibility - Update model loading and inference for various devices - Adjust batch processing and memory management
Showing
| ... | ... | @@ -7,7 +7,8 @@ numpy>=1.21.6,<2.0.0 |
| pydantic>=2.7.2 | ||
| PyMuPDF>=1.24.9,<=1.24.14 | ||
| scikit-learn>=1.0.2 | ||
| torch>=2.2.2 | ||
| transformers | ||
| torch>=2.2.2,!=2.5.0,!=2.5.1,<=2.6.0 | ||
| torchvision | ||
| transformers>=4.49.0 | ||
| pdfminer.six==20231228 | ||
| # The requirements.txt must ensure that only necessary external dependencies are introduced. If there are new dependencies to add, please contact the project administrator. |
Please register or sign in to comment