Closed sammlapp closed 2 weeks ago
Hey, Samm!
This is a known issue with the new version of TF Lite - we have rolled back to the older version, so it should be fixed for now. Could you give it a shot and check that things are working for you now?
I pulled changes from main
, ran poetry install
, and still get:
----> [1](vscode-notebook-cell:?execution_count=3&line=1) from ai_edge_litert import _pywrap_tensorflow_interpreter_wrapper as _interpreter_wrapper
ImportError: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.32' not found (required by /home/sml161/miniconda3/envs/perch/lib/python3.10/site-packages/ai_edge_litert/_pywrap_tensorflow_interpreter_wrapper.so)
Should I be manually downgrading a package version?
relevant package versions:
Python 3.10.14
tensorflow 2.16.2
tensorflow-estimator 2.15.0
tensorflow-hub 0.16.1
tensorflow-io-gcs-filesystem 0.37.1
nvidia-cudnn-cu12 8.9.2.26
ldd --version
ldd (Ubuntu GLIBC 2.31-0ubuntu9.16) 2.31
Could you provide a full stack trace for the ImportError? We rolled back the ai_edge_litert imports yesterday, so will be helpful to know where the error is arising.
ah I take it back sorry, It's working fine!
(I was only still getting an error because I had added from ai_edge_litert import _pywrap_tensorflow_interpreter_wrapper as _interpreter_wrapper
when trying to debug original error)
OK! I was really worried there that it had slipped in higher up the toolchain...
When trying to use perch/chirp/projects/agile2 on
Ubuntu 20.04.6 LTS
:during imports,
from chirp.projects.zoo import models
leads to an error regardingGLIBCXX_3.4.30' not found
, full trace below. This occurs whether I pip install the chirp git repo, clone the git repo and add to my python path, or runpoetry install
.following a seemingly similar issue's solution I tried
conda install -c conda-forge gcc=12.1.0
, which updates some packages but then I get a new errorImportError: /lib/x86_64-linux-gnu/libc.so.6: version
GLIBC_2.32' not found (required by /home/sml161/miniconda3/envs/perch/lib/python3.10/site-packages/ai_edge_litert/_pywrap_tensorflow_interpreter_wrapper.so)`.I'm not sure what the GLIBC package is all about, but it seems to be central to the operating system as some call it the "soul" of the os. I can see that I have a prior version:
ldd --version
givesDoes this mean an OS update is the best way to be compatible with
ai_edge_litert
?Full stack trace of original error: