intel / openvino-ai-plugins-gimp

GIMP AI plugins with OpenVINO Backend
Apache License 2.0
447 stars 49 forks source link

NPU Name is not registered in the OpenVINO Runtime: Can't Use NPU #70

Closed geekinchief22 closed 8 months ago

geekinchief22 commented 8 months ago

I'm testing this on a couple of new Meteor Lake-powered laptops and would like to use Stable Diffusion with the NPU. However, when I get to the step of loading a model with the NPU selected. it fails with the error: Device NPU name is not registered in the OpenVINO Runtime.

I am using [w_openvino_toolkit_windows_2023.2.0.13089.cfd42bd2cb0_x86_64.zip] for my openVino and using GIMP 2.99.14 with the latest plugins. It allows me to select NPU, but then it won't load modules.

image

image

gblong1 commented 8 months ago

Please double check that you have run the setupvars.bat to setup the openvino environment. For example, in a command window, run the following steps:

call C:\Path\to\w_openvino_toolkit_windows_2023.2.0.13089.cfd42bd2cb0_x86_64\setupvars.bat
cd "C:\Program Files\GIMP 2.99\bin"
.\gimp-2.99.exe

One way to do this easily is to create a GIMP.bat file which contains these steps.

gblong1 commented 8 months ago

@geekinchief22 please let me know if this works for you and we can close this issue.

geekinchief22 commented 8 months ago

Thanks. That worked.

gblong1 commented 8 months ago

Good to hear. Closing this issue.