Skip to content
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

[DO NOT MERGE] Fix Tensorflow Lite GPU inference #625

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

koleini
Copy link

@koleini koleini commented Mar 4, 2021

No description provided.

@CLAassistant
Copy link

CLAassistant commented Mar 4, 2021

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.
You have signed the CLA already but the status is still pending? Let us recheck it.

@rafie rafie marked this pull request as draft March 8, 2021 14:32
@chayim chayim linked an issue Mar 11, 2021 that may be closed by this pull request
4 tasks
@filipecosta90
Copy link
Collaborator

@koleini worth noticing that on the tests we've discussed with mobilenet, TFLITE v2.3.2, and GPU backend, using this branch with the latest master changes merged, for tensors that are a large batch of images ( >=16 ) we experience crashes on RedisAI:

6705:M 21 Mar 2021 16:11:39.497 * <ai> TFLITE backend loaded from bin/linux-arm64v8-release/install-gpu/backends/redisai_tflite/redisai_tflite.so


=== REDIS BUG REPORT START: Cut & paste starting from here ===
6705:M 21 Mar 2021 16:11:39.662 # Redis 6.2.1 crashed by signal: 11, si_code: 2
6705:M 21 Mar 2021 16:11:39.662 # Accessing address: 0x7f94744000
6705:M 21 Mar 2021 16:11:39.662 # Killed by PID: -1804320768, UID: 127
6705:M 21 Mar 2021 16:11:39.662 # Crashed running the instruction at: 0x7f9ac582b8

------ STACK TRACE ------
EIP:
/lib/aarch64-linux-gnu/libc.so.6(+0x832b8)[0x7f9ac582b8]

Backtrace:
linux-vdso.so.1(__kernel_rt_sigreturn+0x0)[0x7f9ae796c0]
/lib/aarch64-linux-gnu/libc.so.6(+0x832b8)[0x7f9ac582b8]
bin/linux-arm64v8-release/install-gpu/backends/redisai_tflite/redisai_tflite.so(tfliteRunModel+0x458)[0x7f9ae3a588]
bin/linux-arm64v8-release/install-gpu/backends/redisai_tflite/redisai_tflite.so(RAI_ModelRunTFLite+0x188)[0x7f9ae35520]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

update tensorflow lite
3 participants