openvino icon indicating copy to clipboard operation
openvino copied to clipboard

[NPU] Enable OpenVINO Developer Package installation for NPU Plugin

Open seowwj opened this issue 6 months ago • 3 comments

Details:

Updates OpenVINO developer package installer to enable faster installation for NPU plugin

Tickets:

  • E-164884

seowwj avatar May 27 '25 07:05 seowwj

@seowwj could you please print out directory trees with files that should be installed in the developer package additionally according to your PR?

Maxim-Doronin avatar May 27 '25 10:05 Maxim-Doronin

@seowwj could you please print out directory trees with files that should be installed in the developer package additionally according to your PR?

Sure here are the files, the _full text file lists all files while the other one is just directories. ov_install_tree.txt ov_install_tree_full.txt

seowwj avatar May 27 '25 14:05 seowwj

@seowwj could you please print out directory trees with files that should be installed in the developer package additionally according to your PR?

Sure here are the files, the _full text file lists all files while the other one is just directories. ov_install_tree.txt ov_install_tree_full.txt

Thanks! I see that nlohmann json is installed in very similar way. But include files are installed via INSTALL_INCLUDE_DIRECTORIES attribute of ov_developer_package_export_targets function https://github.com/openvinotoolkit/openvino/blob/8b86b32f156576d95f82d4c38f55bd9755dfbe04/thirdparty/dependencies.cmake#L563 instead of direct installation like you do.

Could you please also experiment with this. I think it's better to modify ov_developer_package_export_targets if needed

Maxim-Doronin avatar Jun 18 '25 13:06 Maxim-Doronin

Thanks! I see that nlohmann json is installed in very similar way. But include files are installed via INSTALL_INCLUDE_DIRECTORIES attribute of ov_developer_package_export_targets function

https://github.com/openvinotoolkit/openvino/blob/8b86b32f156576d95f82d4c38f55bd9755dfbe04/thirdparty/dependencies.cmake#L563

instead of direct installation like you do. Could you please also experiment with this. I think it's better to modify ov_developer_package_export_targets if needed

I've modified the installation of gflags to use ov_developer_package_export_targets

seowwj avatar Jun 27 '25 02:06 seowwj

Hi @Wovchena @pavel-rodionov, could you help to review this PR? As described in E-164884, we would like to use OpenVINO install package instead of build directory for NPU components. Therefore several missed targets are expected to be included in the package for NPU plugin.

LeiChenIntel avatar Jun 30 '25 11:06 LeiChenIntel

build_jenkins

Wovchena avatar Jun 30 '25 12:06 Wovchena

Hi @Wovchena @pavel-rodionov, could you help to review this PR? As described in E-164884, we would like to use OpenVINO install package instead of build directory for NPU components. Therefore several missed targets are expected to be included in the package for NPU plugin.

@mryzhov is more relevant to cmake changes than me. Summoned

Wovchena avatar Jul 01 '25 12:07 Wovchena

@Wovchena Unfortunately I am no longer working on that project. Won't be able to provide helpful review.

pavel-rodionov avatar Jul 01 '25 15:07 pavel-rodionov

Hi @praasz @mryzhov, we update the changes based on the idea to extract the minimal required files. Could you help review these modifications?

LeiChenIntel avatar Jul 10 '25 09:07 LeiChenIntel

build_jenkins

Maxim-Doronin avatar Jul 14 '25 12:07 Maxim-Doronin

build_jenkins

Maxim-Doronin avatar Jul 16 '25 10:07 Maxim-Doronin