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

Ignore deprecation warnings from modeling_decoder.py #1152

Open
wants to merge 7 commits into
base: main
Choose a base branch
from

Conversation

wgzintel
Copy link
Contributor

@wgzintel wgzintel commented Feb 8, 2025

There are too many deprecationWarning prints from modeling_decoder.py when running openvino.genai/tools/llm_bench with the latest optimum-intel main branch and openvino master branch.

The prints are as below:
python3.10/site-packages/optimum/intel/openvino/modeling_decoder.py:501: DeprecationWarning: array implementation doesn't accept a copy keyword, so passing copy=False failed. array must implement 'dtype' and 'copy' keyword arguments.

The prints are caused by openvino commit 2b442b43689efea4faff581c55a4b020a0af537c
openvinotoolkit/openvino@2b442b4

Test cmd:
python openvino.genai/tools/llm_bench/benchmark.py -m model_path --optimum

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant