Logo
Explore Help
Register Sign In
yujunjun/unstructured
1
0
Fork 0
You've already forked unstructured
mirror of https://github.com/Unstructured-IO/unstructured.git synced 2025-06-27 02:30:08 +00:00
Code Issues Packages Projects Releases Wiki Activity
unstructured/scripts/install-paddleocr.sh

10 lines
251 B
Bash
Raw Normal View History

Feat: CORE-1269 - Install paddlepaddle wheel dependent on arch, supporting aarch64 (#1350) Testing instructions on Apple silicon ``` make docker-build docker run -it unstructured:dev bash python3 ``` Then run the test in this PR https://unstructured-ai.atlassian.net/browse/CORE-1269 You should get output like shown in ticket Run the same process on your local machine (not inside docker) with same test to verify the non aarch64 paddlepaddle got installed correctly --------- Co-authored-by: Yuming Long <63475068+yuming-long@users.noreply.github.com>
2023-09-15 17:05:48 -07:00
#!/usr/bin/env bash
# aarch64 requires a custom build of paddlepaddle
if [ "${ARCH}" = "aarch64" ]; then
python3 -m pip install unstructured.paddlepaddle;
else
python3 -m pip install paddlepaddle;
fi
python3 -m pip install unstructured.paddleocr
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.23.5 Page: 170ms Template: 6ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API