Skip to content

Issue WIth Running Phi3 vision on NPU #2858

Open
@Harsha0056

Description

@Harsha0056

I installed the NPU drivers as per the instructions, created the OpenVINO version of Phi 3 Vision model, set the device to NPU, and attempted to run the model. Initially, in Task Manager, I observed the model utilizing the NPU, reaching 100% usage. However, it immediately threw the following error:

RuntimeError:
Check 'prompt_ids.get_size() >= tokenized_history.size()' failed at C:\Jenkins\workspace\private-ci\ie\build-windows-vs2022\b\repos\openvino.genai\src\cpp\src\visual_language\pipeline.cpp:201:
Prompt IDs size is less than tokenized history size.

Expected behavior
Run Phi3 vision on NPU

Laptop Specs
Processor :Intel(R) Core(TM) Ultra 7 165U 2.10 GHz
RAM : 16GB
NPU : Intel(R)AI Boost

Screenshots

Image

Image

Image

Metadata

Metadata

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions