-
Notifications
You must be signed in to change notification settings - Fork 202
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
genai version is conflict with openvino #1462
Comments
Could you please try to install latest packages from nightly: pip install -U --pre --extra-index-url https://storage.openvinotoolkit.org/simple/wheels/nightly openvino_tokenizers openvino openvino-genai |
@as-suvorov Hi, your command can resolve this issue. Thanks. Could you add this bug WA to someplace, which can help others. |
reopen the issue. @avinash-palleti Could you help take a look? Thanks. python openvino.genai/tools/llm_bench/benchmark.py -m /mnt/disk1/x/baichuan2-13b-chat/pytorch/ov/FP16 -d cpu -n 1 -mc 1 -pf baichuan2-13b-chat.jsonl -ic 32
The installed version of bitsandbytes was compiled without GPU support. 8-bit optimizers, 8-bit multiplication, and GPU quantization are unavailable.
Traceback (most recent call last):
File "/home/xx/workspace/llm_dev/openvino.genai/tools/llm_bench/benchmark.py", line 15, in <module>
import task.visual_language_generation as bench_vlm
File "/home/x/workspace/llm_dev/openvino.genai/tools/llm_bench/task/visual_language_generation.py", line 9, in <module>
import llm_bench_utils.ov_utils
File "/home/x/workspace/llm_dev/openvino.genai/tools/llm_bench/llm_bench_utils/ov_utils.py", line 22, in <module>
import openvino_genai as ov_genai
File "/home/x/workspace/llm_dev/venv/llm/lib/python3.12/site-packages/openvino_genai/__init__.py", line 14, in <module>
from .py_openvino_genai import (
ImportError: /home/x/workspace/llm_dev/venv/llm/lib/python3.12/site-packages/openvino_genai/libopenvino_genai.so.2500: undefined symbol: _ZN2ov3Any4Base9to_stringEv |
the order of steps is invalid. Let's see what happened:
So, the correct steps would be install base dependency first and then build other packages on top of it. E.g.
git clone https://github.com/openvinotoolkit/openvino.git
cmake -S openvino -B build_folder
cmake --build build_folder --parallel
pip3 install openvino --find-links=build_folder/wheels
pip3 install git+https://github.com/openvinotoolkit/openvino_tokenizers.git --find-links=build_folder/wheels
pip3 install git+https://github.com/openvinotoolkit/openvino.genai.git --find-links=build_folder/wheels Note, that |
Yes. I need to build everything for debug and profiling. |
when try to operate
benchmark.py
, the error is like:The text was updated successfully, but these errors were encountered: