-
Notifications
You must be signed in to change notification settings - Fork 6.8k
Build amalgamation using a docker #8729
Comments
Hi @OferRosenberg Right now we are cross-compiling the full MXNet. So the answer is no. We are also considering removing amalgamation. |
Why do you say "predict only"? |
amalgamation don't have training API, so it only able to do prediction. |
And to my understanding, as it doesn't have the training parts, it should be smaller than the full fledge MxNet. I think there's justification for keeping a predict-only, size optimized, build (either by amalgamation or other) |
proposed labels: "Question" |
@larroy What's the progress on 'cross-compiling the full MXNet'? For now, what's the best approach to deploy MXnet on Android? Thanks! |
Hi, you can use the new scripts in the ci folder: ci/build.py right now it should build for android but the build is untested. |
@larroy Thanks for the advice! I build android_arm64 successfully using ci/build.py(based on commit 5a480f0 in master) . |
@wykvictor thanks for the feedback, we will likely improve this in the short future. I also think we need some kind of platform detection in CMake. I started doing that but haven't been able to finish it so far. |
@OferRosenberg please consider closing if your question has been answered. Summary of the conversation:
|
@sandeep-krishnamurthy Requesting this issue to be closed. |
Is there a way to build amalgamation using the android docker-multiarch ?
Alternatively, is there a parameter or configuration that can be passed to the docker-multiarch to create an android library which is similar to the one created by amalgamation (predict only, smaller, etc.)
Thanks,
Ofer.
The text was updated successfully, but these errors were encountered: