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

Tf_lite fails to compile in v2.18.0-rc0 in Ubuntu #875

Open
pkgoogle opened this issue Feb 13, 2025 · 0 comments
Open

Tf_lite fails to compile in v2.18.0-rc0 in Ubuntu #875

pkgoogle opened this issue Feb 13, 2025 · 0 comments
Assignees
Labels
type:build/install For build or installation issues type:docs-bug For documentation bugs

Comments

@pkgoogle
Copy link

Original Issue: tensorflow/tensorflow#76908
Original Author: @feranick

Issue type

Build/Install

Have you reproduced the bug with TensorFlow Nightly?

Yes

Source

source

TensorFlow version

2.18.0-rc0

Custom code

No

OS platform and distribution

ubuntu 22.04, ubuntu 24.04

Mobile device

No response

Python version

3.10, 3.12

Bazel version

6.5

GCC/compiler version

No response

CUDA/cuDNN version

GPU model and memory

Current behavior?

When follow the normal instructions to build tf_lite as indicated, compilation fails, log is attached.

Standalone code to reproduce the issue

Follow the normal instructions to build tf_lite as indicated here: https://ai.google.dev/edge/litert/build/cmake_pip

Compilation fails, log is attached.

Relevant log output

Full log:
ubuntu22.04.log
ubuntu24.04.log

/usr/bin/ranlib libmicrokernels-prod.a
gmake[3]: Leaving directory '/tensorflow/tensorflow/lite/tools/pip_package/gen/tflite_pip/python3.12/cmake_build'
[ 69%] Built target microkernels-prod
gmake[2]: Leaving directory '/tensorflow/tensorflow/lite/tools/pip_package/gen/tflite_pip/python3.12/cmake_build'
gmake[1]: *** [CMakeFiles/Makefile2:1526: CMakeFiles/_pywrap_tensorflow_interpreter_wrapper.dir/rule] Error 2
gmake[1]: Leaving directory '/tensorflow/tensorflow/lite/tools/pip_package/gen/tflite_pip/python3.12/cmake_build'
gmake: *** [Makefile:208: _pywrap_tensorflow_interpreter_wrapper] Error 2

make: *** [Makefile:72: docker-build] Error 2
make: Leaving directory '/home/----/Software/tensorflow-dir/tflite_runtime/tensorflow/tensorflow/lite/tools/pip_package'
@pkgoogle pkgoogle self-assigned this Feb 13, 2025
@pkgoogle pkgoogle added type:build/install For build or installation issues type:docs-bug For documentation bugs labels Feb 13, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type:build/install For build or installation issues type:docs-bug For documentation bugs
Projects
None yet
Development

No branches or pull requests

1 participant