[java] Fp16 fix for android/react native#16832
Conversation
|
/azp run MacOS CI Pipeline, Windows CPU CI Pipeline, Windows GPU CI Pipeline, Windows GPU TensorRT CI Pipeline, ONNX Runtime Web CI Pipeline, onnxruntime-python-checks-ci-pipeline |
|
Azure Pipelines successfully started running 5 pipeline(s). |
|
/azp run Linux CPU CI Pipeline, Linux CPU Minimal Build E2E CI Pipeline, Linux GPU CI Pipeline, Linux GPU TensorRT CI Pipeline, Linux Nuphar CI Pipeline, Linux OpenVINO CI Pipeline, Linux QNN CI Pipeline, Windows ARM64 QNN CI Pipeline |
|
Azure Pipelines successfully started running 7 pipeline(s). |
|
/azp run orttraining-linux-ci-pipeline, orttraining-linux-gpu-ci-pipeline, orttraining-ortmodule-distributed, onnxruntime-binary-size-checks-ci-pipeline |
|
No commit pushedDate could be found for PR 16832 in repo microsoft/onnxruntime |
|
/azp run orttraining-linux-ci-pipeline |
|
Azure Pipelines successfully started running 1 pipeline(s). |
|
/azp run orttraining-linux-gpu-ci-pipeline |
|
Azure Pipelines successfully started running 1 pipeline(s). |
|
/azp run orttraining-ortmodule-distributed |
|
Azure Pipelines successfully started running 1 pipeline(s). |
|
/azp run onnxruntime-binary-size-checks-ci-pipeline |
|
Azure Pipelines successfully started running 1 pipeline(s). |
|
/azp run ONNX Runtime React Native CI Pipeline |
|
Azure Pipelines successfully started running 1 pipeline(s). |
|
One day I'll remember to run spotless after making small changes before making the commit, but it wasn't today apparently. I've pushed the spotless fixes so those test failures out of the Java side should go away and we'll hit the actual code changes. |
|
Looks like Android wasn't happy about the packaging changes either, so I'll need to iterate on that (https://dev.azure.com/onnxruntime/onnxruntime/_build/results?buildId=1074203&view=logs&j=06bda0f0-c359-5ee8-d76d-283c2733373e&t=af31bba3-008c-59d3-c2d1-f81f08a354ff&l=6566). |
|
/azp run MacOS CI Pipeline, Windows CPU CI Pipeline, Windows GPU CI Pipeline, Windows GPU TensorRT CI Pipeline, ONNX Runtime Web CI Pipeline, onnxruntime-python-checks-ci-pipeline |
|
/azp run Linux CPU CI Pipeline, Linux CPU Minimal Build E2E CI Pipeline, Linux GPU CI Pipeline, Linux GPU TensorRT CI Pipeline, Linux Nuphar CI Pipeline, Linux OpenVINO CI Pipeline, Linux QNN CI Pipeline, Windows ARM64 QNN CI Pipeline |
|
No commit pushedDate could be found for PR 16832 in repo microsoft/onnxruntime |
|
Azure Pipelines successfully started running 5 pipeline(s). |
|
/azp run ONNX Runtime React Native CI Pipeline |
|
/azp run orttraining-linux-ci-pipeline, orttraining-linux-gpu-ci-pipeline, orttraining-ortmodule-distributed, onnxruntime-binary-size-checks-ci-pipeline |
|
Azure Pipelines successfully started running 1 pipeline(s). |
|
Azure Pipelines successfully started running 4 pipeline(s). |
|
/azp run Linux CPU CI Pipeline, Linux CPU Minimal Build E2E CI Pipeline, Linux GPU CI Pipeline, Linux GPU TensorRT CI Pipeline, Linux Nuphar CI Pipeline, Linux OpenVINO CI Pipeline, Linux QNN CI Pipeline, Windows ARM64 QNN CI Pipeline |
|
Azure Pipelines successfully started running 7 pipeline(s). |
|
/azp run Windows_SCA |
|
No pipelines are associated with this pull request. |
|
/azp run Windows_SCA/Onnxruntime-SCA-training-CUDA |
|
No pipelines are associated with this pull request. |
|
/azp run MacOS CI Pipeline, Windows CPU CI Pipeline, Windows GPU CI Pipeline, Windows GPU TensorRT CI Pipeline, ONNX Runtime Web CI Pipeline, onnxruntime-python-checks-ci-pipeline |
|
Azure Pipelines successfully started running 5 pipeline(s). |
|
/azp run ONNX Runtime React Native CI Pipeline |
|
Azure Pipelines successfully started running 1 pipeline(s). |
|
After further consideration I split the Java code into three source roots. The shared code is in |
|
/azp run ONNX Runtime React Native CI Pipeline |
|
Azure Pipelines successfully started running 1 pipeline(s). |
|
/azp run Windows ARM64 QNN CI Pipeline,Windows CPU CI Pipeline,Windows GPU CI Pipeline,Windows GPU TensorRT CI Pipeline,ONNX Runtime Web CI Pipeline,Linux CPU CI Pipeline,Linux CPU Minimal Build E2E CI Pipeline,Linux GPU CI Pipeline,Linux GPU TensorRT CI Pipeline,Linux OpenVINO CI Pipeline |
|
Azure Pipelines successfully started running 10 pipeline(s). |
|
/azp run Linux QNN CI Pipeline,MacOS CI Pipeline,orttraining-amd-gpu-ci-pipeline,orttraining-linux-ci-pipeline,orttraining-linux-gpu-ci-pipeline,orttraining-ortmodule-distributed,onnxruntime-python-checks-ci-pipeline,onnxruntime-binary-size-checks-ci-pipeline |
|
Azure Pipelines successfully started running 7 pipeline(s). |
### Description This PR splits out the FP16 conversions into a separate package we can override in the android build with a version which works on old versions of Android. I'm not sure the android build system changes are correct as I haven't got an android build environment configured on my workstation. @YUNQIUGUO if the CI build fails we should follow up offline to get my environment configured so I can iterate on it. ### Motivation and Context Fixes the CI failure after #16703.
Description
This PR splits out the FP16 conversions into a separate package we can override in the android build with a version which works on old versions of Android.
I'm not sure the android build system changes are correct as I haven't got an android build environment configured on my workstation. @YUNQIUGUO if the CI build fails we should follow up offline to get my environment configured so I can iterate on it.
Motivation and Context
Fixes the CI failure after #16703.