-
Notifications
You must be signed in to change notification settings - Fork 74k
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
[tensorflow/tflite branch r2.10] crash at absl::OkStatus(); #66990
Comments
@tilakrayal Hi, infos again.. I've just found a log: There is also a flatbuffers file within the current app/project and I built a lib (inserted into the app/project) containing tflite libs using another flatbuffers file. Perhaps the two flatbuffers files are incompatible. Is it possible to keep the two flatbuffers files coexist? |
@picard314, |
@tilakrayal |
Hi @picard314 , Please let me know if you found a resolution for your issue or if you are able to provide any standalone code to reproduce this issue. |
This issue is stale because it has been open for 7 days with no activity. It will be closed if no further activity occurs. Thank you. |
This issue was closed because it has been inactive for 7 days since being marked as stale. Please reopen if you'd like to work on this further. |
System information
Nova9Pro (Huawei)
TensorFlow Lite in Play Services SDK version (found in
build.gradle
):Based on the source codes, I built the dynamic libs: libtensorflowlite.so and libtensorflowlite_gpu_delegate.so using bazel 5.1.1
Google Play Services version
(
Settings
>Apps
>Google Play Services
>App details
):Self-produced app
Standalone code to reproduce the issue
The problem occurs when I call "ModifyGraphWithDelegate" written in my Android app codes.
Any other info / logs
(By inserting my debug logs into the source codes, I have located the bug.)
Unfortunately there are not hints/logs at all when mobile-running-crash happens at the end "return absl::OkStatus();" of function:
absl::Status InferenceContext::InitFromGpuModel(
const CreateGpuModelInfo& create_info, GpuModel* gpu_model,
Environment* env, std::vector<uint8_t>* serialized_model,
Buffer* shared_buffer)
which is located at script "inference_context.cc".
**Other infos:
The libs I have built work fine in my other Android apps/projects which were built using Android studio 4.2.2 and earlier versions of sdk, ndk, java and c++. But crash happens at current Android app/project which is built using Android studio Iguana | 2023.2.1 Patch 1 and later versions of sdk, ndk, java and c++.
I am not sure if this is due to some kinds of incompatiblilities.
The text was updated successfully, but these errors were encountered: