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

[BUG] nexa server libomni_audio_shared.so: undefined symbol #357

Open
Doraemonwei opened this issue Jan 23, 2025 · 0 comments
Open

[BUG] nexa server libomni_audio_shared.so: undefined symbol #357

Doraemonwei opened this issue Jan 23, 2025 · 0 comments
Labels
🐞 bug Something isn't working

Comments

@Doraemonwei
Copy link

Issue Description

Traceback (most recent call last):
  File "/home/lanpangzi/Desktop/python/bin/nexa", line 8, in <module>
    sys.exit(main())
             ^^^^^^
  File "/home/lanpangzi/Desktop/nexa-pip/nexa-sdk/nexa/cli/entry.py", line 641, in main
    run_ggml_server(args)
  File "/home/lanpangzi/Desktop/nexa-pip/nexa-sdk/nexa/cli/entry.py", line 152, in run_ggml_server
    from nexa.gguf.server.nexa_service import run_nexa_ai_service as NexaServer
  File "/home/lanpangzi/Desktop/nexa-pip/nexa-sdk/nexa/gguf/server/nexa_service.py", line 46, in <module>
    from nexa.gguf.nexa_inference_audio_lm import NexaAudioLMInference
  File "/home/lanpangzi/Desktop/nexa-pip/nexa-sdk/nexa/gguf/nexa_inference_audio_lm.py", line 17, in <module>
    from nexa.gguf.llama import audio_lm_cpp
  File "/home/lanpangzi/Desktop/nexa-pip/nexa-sdk/nexa/gguf/llama/audio_lm_cpp.py", line 129, in <module>
    lib.omni_process_streaming.argtypes = [omni_context_p, omni_context_params_p]
    ^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/ctypes/__init__.py", line 389, in __getattr__
    func = self.__getitem__(name)
           ^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/ctypes/__init__.py", line 394, in __getitem__
    func = self._FuncPtr((name_or_ordinal, self))
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

```AttributeError: /home/lanpangzi/Desktop/nexa-pip/nexa-sdk/nexa/gguf/lib/libomni_audio_shared.so: undefined symbol: omni_process_streaming


there is no  omni_process_streaming in libomni_audio_shared.so:

(python3-2) lanpangzi@lanpangziRas:~/Desktop/nexa-pip2$ ldd /home/lanpangzi/Desktop/nexa-pip/nexa-sdk/nexa/gguf/lib/libomni_audio_shared.so
linux-vdso.so.1 (0x00007fff03854000)
libllama.so => /home/lanpangzi/Desktop/nexa-pip/nexa-sdk/nexa/gguf/lib/libllama.so (0x00007fff03560000)
libggml.so => /home/lanpangzi/Desktop/nexa-pip/nexa-sdk/nexa/gguf/lib/libggml.so (0x00007fff03530000)
libggml-cpu.so => /home/lanpangzi/Desktop/nexa-pip/nexa-sdk/nexa/gguf/lib/libggml-cpu.so (0x00007fff03480000)
libggml-base.so => /home/lanpangzi/Desktop/nexa-pip/nexa-sdk/nexa/gguf/lib/libggml-base.so (0x00007fff033c0000)
libstdc++.so.6 => /lib/aarch64-linux-gnu/libstdc++.so.6 (0x00007fff03190000)
libm.so.6 => /lib/aarch64-linux-gnu/libm.so.6 (0x00007fff030f0000)
libgcc_s.so.1 => /lib/aarch64-linux-gnu/libgcc_s.so.1 (0x00007fff030b0000)
libc.so.6 => /lib/aarch64-linux-gnu/libc.so.6 (0x00007fff02ef0000)
libgomp.so.1 => /lib/aarch64-linux-gnu/libgomp.so.1 (0x00007fff02e80000)
/lib/ld-linux-aarch64.so.1 (0x00007fff0381c000)

**nexa run works but nexa server doesn't**



### Steps to Reproduce

pip install -e . 

at aarch64

### OS

Debian GNU/Linux 12 (bookworm)

### Python Version

3.11.2

### Nexa SDK Version

0.0.9.7

### GPU (if using one)

_No response_
@Doraemonwei Doraemonwei added the 🐞 bug Something isn't working label Jan 23, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐞 bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant