Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

build(deps): Remove unstructured.paddlepaddle fork #3506

Merged
merged 5 commits into from
Aug 9, 2024

Conversation

christinestraub
Copy link
Collaborator

@christinestraub christinestraub commented Aug 9, 2024

This PR aims to remove "unstructured.paddlepaddle" fork. Previously, we used unstructured.paddlepaddle fork to support unstructured.paddleocr on arm64 architecture. But currently, unstructured.paddleocr with unstructured.paddlepaddle fails to work on arm64 architecture. Also, unstructured.paddleocr with the latest version of the original paddlepaddle works on both amd64 and arm64 architectures.

Testing

os.environ["OCR_AGENT"] = "unstructured.partition.utils.ocr_models.paddle_ocr.OCRAgentPaddle"

elements = partition_pdf(
    filename=<file_path>,
    strategy="hi_res",
    infer_table_structure=True,
)

@christinestraub christinestraub added this pull request to the merge queue Aug 9, 2024
Merged via the queue into main with commit d99b399 Aug 9, 2024
51 checks passed
@christinestraub christinestraub deleted the build/extra-paddleocr-requirements branch August 9, 2024 22:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants