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

ai-edge-litert ABI minimum version #417

Open
qhaas opened this issue Jan 7, 2025 · 0 comments
Open

ai-edge-litert ABI minimum version #417

qhaas opened this issue Jan 7, 2025 · 0 comments
Assignees
Labels
type:feature For feature requests

Comments

@qhaas
Copy link

qhaas commented Jan 7, 2025

The package deployed from pypi (python3.9 -m pip install ai-edge-litert==1.0.1) requires GLIBCXX_3.4.30, which is newer than many currently supported linux distributions have available. Please consider lowering the minimum requirement in the builds pushed to pypi so users of older, but still supported versions of RHEL 9 and the like can still use this package without recompiling.

$ python3.9 -c 'from ai_edge_litert.interpreter import Interpreter'
Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "/home/nqh/workspace/bl/venv-py3.9/lib64/python3.9/site-packages/ai_edge_litert/interpreter.py", line 33, in <module>
    from ai_edge_litert import _pywrap_tensorflow_interpreter_wrapper as _interpreter_wrapper
ImportError: /lib64/libstdc++.so.6: version `GLIBCXX_3.4.30' not found (required by /home/nqh/workspace/bl/venv-py3.9/lib64/python3.9/site-packages/ai_edge_litert/_pywrap_tensorflow_interpreter_wrapper.so)
$ cat /etc/redhat-release 
Rocky Linux release 9.5 (Blue Onyx)
$ strings /lib64/libstdc++.so.6 | grep GLIBCXX | tail -4
GLIBCXX_3.4.27
GLIBCXX_3.4.28
GLIBCXX_3.4.29
GLIBCXX_DEBUG_MESSAGE_LENGTH
@pkgoogle pkgoogle self-assigned this Jan 24, 2025
@pkgoogle pkgoogle added the type:feature For feature requests label Jan 24, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type:feature For feature requests
Projects
None yet
Development

No branches or pull requests

2 participants