-
Notifications
You must be signed in to change notification settings - Fork 152
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
tflite import broken on nvidia-tensorflow #16
Comments
I am also having this same issue when using the I'm trying to figure out how to recompile nvidia-tensorflow with lite enabled using the nvbuild.sh script in the Docker image. Is there a simple Bazel flag that makes sure tflite is included in the nvidia-tensorflow Python bindings? |
tflite was removed in our TF1 in 2020 to allow us to backport more upstream changes. |
Hi @nouiz , thanks for your reply. That's a shame to hear that TFLite has been intentionally removed, especially since there are some downstream projects that rely on it (e.g, Coqui STT uses this nvidia image but are moving exclusively to TFLite). Using an older container is a good workaround, but unfortunately nullifies the key advantage of using nvidia Docker images in the first place i.e up-to-date driver support. Which brings us back to my previous question - how could I alter (/recompile) one of the newer containers to re-enable TFLite support? Is this easily done? |
It was removed only for TF1. If you use our TF2 container, then TFLite is available. Is moving to TF2 possible for you? Our TF2 container have TFLite. Now many people are moving or have moved to TF2. |
Thanks @nouiz. I believe Coqui have downgraded to the old nVidia image and will stick with that until TF2 is working. |
Please make sure that this is a bug. As per our GitHub Policy, we only address code/doc bugs, performance issues, feature requests and build/installation issues on GitHub. tag:bug_template
System information
Describe the current behavior
nvidia-tensorflow
errors out when importing tflite.Describe the expected behavior
Not erroring out when importing tflite.
Code to reproduce the issue
Provide a reproducible test case that is the bare minimum necessary to generate the problem.
Other info / logs
This import is tested and works as expected in the standard pip
tensorflow-gpu
releases 1.15.0, 1.15.4, 1.15.5.The text was updated successfully, but these errors were encountered: