-
Notifications
You must be signed in to change notification settings - Fork 639
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
How to compile a mxnet.so on an aarch64 machine? #2221
Comments
We don't officially support MXNet for aarch64, here is some instructions how to install MXNet manually:
Here is example command for ubuntu20.4:
|
@befallenStar Since you are using paddle, can you use PyTorch instead of MXNet? We have aarch64 support PyTorch, you don't really need MXNet. |
Thank you for your advice and instructions. I'll try if it works. Maybe in the future the aarch64-version mxnet can be included in the repo. |
Maybe in the future the aarch64-version mxnet can be included in the repo. |
Hi Frank @frankfliu , Do you currently support TensorFlow for aarch64? I am trying to load a model in TensorFlow engine, but got an error: Is there any way to solve it? Thank you very much! |
Hi frankfliu @frankfliu, |
We currently don't have aarch64 paddle native binaries. You have to build aarch64 JNI from source:
|
When I use version 0.15.0, it depends on pytorch something, running on a Hybrid engines mode. So I worry about when I need aarch64 paddle, arrch64 pytorch required. But I checked paddlepaddle-engine:jar:0.22.1, it seems that paddle engine does not depend on pytorch. Is that true? |
You can use Paddle alone, you don't really need PyTorch. The only limitation is that you cannot use NDArray operations, you have to do pre/post process using pure java functions. PyTorch has aarch64 support, so use PyTorch should not have any restrictions. |
can you give me an example about pure java functions dealing with pre or post NDArray |
@frankfliu can you give me an example about pure java functions dealing with pre or post NDArray |
@xiangyubo @GuoQuanhao He is referring to the NDArray creation and manipulation operations like these that you can find in the |
I want to use paddleocr on an aarch64 machine, and it would search and use libmxnet.so and libpaddle.so. But after I searched on the official page, I can only find x64 version, which doesn't match my requirement..I try to compile an aarch64 version but it failed when I ran the project.
So, I want to know if there is an existing aarch64 version, or maybe a full manscript for compiling.
The text was updated successfully, but these errors were encountered: