mirror of
https://github.com/Unstructured-IO/unstructured.git
synced 2025-06-27 02:30:08 +00:00

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>
10 lines
251 B
Bash
Executable File
10 lines
251 B
Bash
Executable File
#!/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
|