Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/master' into feature/add-u2-u3-u…
Browse files Browse the repository at this point in the history
…6-to-constant
  • Loading branch information
praasz committed Apr 16, 2024
2 parents 1fb516f + 1496229 commit 966e243
Show file tree
Hide file tree
Showing 124 changed files with 1,790 additions and 1,290 deletions.
6 changes: 1 addition & 5 deletions .github/workflows/job_python_unit_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -259,8 +259,6 @@ jobs:
- name: TensorFlow 1 Layer Tests - TF FE
if: fromJSON(inputs.affected-components).TF_FE.test
run: |
# requires 'unit_tests' from 'mo'
export PYTHONPATH=${INSTALL_TEST_DIR}/mo
python3 -m pytest ${LAYER_TESTS_INSTALL_DIR}/tensorflow_tests/ -m precommit -n logical --junitxml=${INSTALL_TEST_DIR}/TEST-tf_fe.xml
env:
TEST_DEVICE: CPU
Expand All @@ -269,9 +267,7 @@ jobs:
- name: TensorFlow 2 Layer Tests - TF FE
if: fromJSON(inputs.affected-components).TF_FE.test && runner.os != 'macOS' # Ticket: 123322
run: |
# requires 'unit_tests' from 'mo'
export PYTHONPATH=${INSTALL_TEST_DIR}/mo
python3 -m pytest ${LAYER_TESTS_INSTALL_DIR}/tensorflow2_keras_tests/ -n logical -m precommit_tf_fe --junitxml=${INSTALL_TEST_DIR}/TEST-tf2_fe.xml
python3 -m pytest ${LAYER_TESTS_INSTALL_DIR}/tensorflow2_keras_tests/ -n logical -m precommit --junitxml=${INSTALL_TEST_DIR}/TEST-tf2_fe.xml
env:
TEST_DEVICE: CPU
TEST_PRECISION: FP16
Expand Down
11 changes: 5 additions & 6 deletions .github/workflows/windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -617,8 +617,6 @@ jobs:
if: fromJSON(needs.smart_ci.outputs.affected_components).TF_FE.test
shell: cmd
run: |
:: requires 'unit_tests' from 'tools/mo'
set PYTHONPATH=${{ env.INSTALL_TEST_DIR }}\mo;%PYTHONPATH%
python3 -m pytest ${{ env.LAYER_TESTS_INSTALL_DIR }}/tensorflow_tests/ -n logical -m precommit --junitxml=${{ env.INSTALL_TEST_DIR }}/TEST-tf_fe.xml
env:
TEST_DEVICE: CPU
Expand All @@ -628,18 +626,19 @@ jobs:
if: fromJSON(needs.smart_ci.outputs.affected_components).TF_FE.test
shell: cmd
run: |
:: requires 'unit_tests' from 'tools/mo'
set PYTHONPATH=${{ env.INSTALL_TEST_DIR }}\mo;%PYTHONPATH%
python3 -m pytest ${{ env.LAYER_TESTS_INSTALL_DIR }}/tensorflow2_keras_tests/ -m precommit_tf_fe --junitxml=${{ env.INSTALL_TEST_DIR }}/TEST-tf2_fe.xml
python3 -m pytest ${{ env.LAYER_TESTS_INSTALL_DIR }}/tensorflow2_keras_tests/ -m precommit --junitxml=${{ env.INSTALL_TEST_DIR }}/TEST-tf2_fe.xml
env:
TEST_DEVICE: CPU
TEST_PRECISION: FP16

- name: TensorFlow 1 Layer Tests - Legacy FE
if: fromJSON(needs.smart_ci.outputs.affected_components).TF_FE.test
shell: cmd
run: |
python3 -m pytest ${{ env.LAYER_TESTS_INSTALL_DIR }}/tensorflow_tests/test_tf_Roll.py --use_legacy_frontend --ir_version=10 --junitxml=${{ env.INSTALL_TEST_DIR }}/TEST-tf_Roll.xml
env:
TEST_DEVICE: CPU
TEST_PRECISION: FP16

- name: TensorFlow 2 Layer Tests - Legacy FE
if: fromJSON(needs.smart_ci.outputs.affected_components).TF_FE.test
Expand Down
2 changes: 2 additions & 0 deletions cmake/packaging/debian.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,8 @@ macro(ov_cpack_settings)
(NOT item MATCHES "^${OV_CPACK_COMP_PYTHON_OPENVINO_PACKAGE}_python.*" OR ENABLE_PYTHON_PACKAGING) AND
# temporary block nvidia
NOT item STREQUAL "nvidia" AND
# don't install node_addon
NOT item MATCHES "node_addon" AND
# don't install Intel OpenMP
NOT item STREQUAL "omp" AND
# the same for pugixml
Expand Down
2 changes: 2 additions & 0 deletions cmake/packaging/rpm.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,8 @@ macro(ov_cpack_settings)
(NOT item MATCHES "^${OV_CPACK_COMP_PYTHON_OPENVINO_PACKAGE}_python.*" OR ENABLE_PYTHON_PACKAGING) AND
# temporary block nvidia
NOT item STREQUAL "nvidia" AND
# don't install node_addon
NOT item MATCHES "node_addon" AND
# temporary block npu
NOT item STREQUAL "npu" AND
# don't install Intel OpenMP
Expand Down
27 changes: 11 additions & 16 deletions docs/sphinx_setup/_static/css/homepage_style.css
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,6 @@ h1 {
font-size: 60px !important;
}

.homepage-begin-container {
padding: 0px;
}

#ov-homepage-banner {
border-bottom: 0px;
}
Expand All @@ -21,7 +17,7 @@ h1 {

.ov-homepage-slide-title {
color: white !important;
font-size: 22px !important;
font-size: 27px !important;
font-weight: lighter !important;
}

Expand All @@ -36,31 +32,26 @@ h1 {
}

#ov-homepage-banner #splide01-slide01 {
background-color: #070862;
background-image: linear-gradient(350deg, #004CA9 0%, #381965 50%, #070862 100%);
padding: 32px 48px !important;
}

#ov-homepage-banner #splide01-slide02 {
background-color: #034CAA;
background-image: linear-gradient(270deg, #034CAA 00%, #4B9D77 50%, #034CAA 100%);
padding: 32px 48px !important;
}

#ov-homepage-banner #splide01-slide03 {
background-color: #030B5E;
background-image: linear-gradient(230deg, #030B5E 0%, #285455 40%, #030B5E 100%);
padding: 32px 48px !important;
}

#ov-homepage-banner #splide01-slide04 {
background-color: #214DA4;
background-image: linear-gradient(110deg, #214DA4 0%, #03aadd 100%);
padding: 32px 48px !important;
}

#ov-homepage-banner #splide01-slide05 {
background-color: #034CAA;
background-image: linear-gradient(350deg, #034CAA 20%, #034CAA 30%, #4B9D77 100%);
padding: 32px 48px !important;
}
Expand All @@ -70,6 +61,15 @@ h1 {
margin: 0.4rem 0 1.2rem 0;
}
}
.splide__pagination>li {
padding-right: 6px;
}
.is-active{
color: white !important;
}
.homepage-begin-container {
padding: 0px;
}

#ov-homepage-banner p:first-of-type {
margin-top: 0;
Expand All @@ -89,12 +89,8 @@ h1 {
color: white;
}

#splide01-track {
height: calc(180px) !important;
}

.ov-homepage-banner-btn {
font-size: 14px !important;
font-size: 12px !important;
font-weight: bold !important;
color: #ffffff !important;
border: 1px solid white;
Expand Down Expand Up @@ -172,7 +168,6 @@ h1 {

.homepage-begin-tile {
border-radius: 0;
/* margin: 20px !important; */
margin-bottom: 5px;
position: relative;
border-width: 0.2cqb;
Expand Down
5 changes: 3 additions & 2 deletions docs/sphinx_setup/_static/js/custom.js
Original file line number Diff line number Diff line change
Expand Up @@ -259,14 +259,15 @@ function addFooter() {
function initSplide() {

var splide = new Splide('.splide', {
type : 'loop',
height : `230px`,
type : 'fade',
autoHeight : true,
perPage : 1,
autoplay : true,
arrows : false,
waitForTransition : true,
wheel : true,
wheelSleep : 250,
interval : 3000,
});
splide.mount();
}
Expand Down
109 changes: 0 additions & 109 deletions docs/sphinx_setup/_static/js/graphs_ov_tf.js

This file was deleted.

6 changes: 6 additions & 0 deletions docs/sphinx_setup/api/ie_python_api/api.rst
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,12 @@ OpenVINO Python API

openvino.runtime.opset14

.. autosummary::
:toctree: _autosummary
:template: custom-module-template.rst

openvino.runtime.opset15

.. autosummary::
:toctree: _autosummary
:template: custom-module-template.rst
Expand Down
2 changes: 2 additions & 0 deletions src/bindings/js/node/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,8 @@ ov_set_install_rpath(${PROJECT_NAME}

ov_add_clang_format_target(${PROJECT_NAME}_clang FOR_TARGETS ${PROJECT_NAME})

ov_cpack_add_component(${OV_CPACK_COMP_NPM} HIDDEN)

install(TARGETS ${PROJECT_NAME}
LIBRARY DESTINATION ${OV_CPACK_RUNTIMEDIR} COMPONENT ${PROJECT_NAME} ${OV_CPACK_COMP_NPM_EXCLUDE_ALL}
RUNTIME DESTINATION ${OV_CPACK_RUNTIMEDIR} COMPONENT ${PROJECT_NAME} ${OV_CPACK_COMP_NPM_EXCLUDE_ALL}
Expand Down
4 changes: 4 additions & 0 deletions src/bindings/js/node/include/core_wrap.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,7 @@ class CoreWrap : public Napi::ObjectWrap<CoreWrap> {
Napi::Value set_property(const Napi::CallbackInfo& info);
Napi::Value get_property(const Napi::CallbackInfo& info);

void add_extension(const Napi::CallbackInfo& info);
protected:
Napi::Value compile_model_sync(const Napi::CallbackInfo& info,
const Napi::Object& model,
Expand All @@ -93,6 +94,9 @@ class CoreWrap : public Napi::ObjectWrap<CoreWrap> {
/** @brief Returns devices available for inference. */
Napi::Value get_available_devices(const Napi::CallbackInfo& info);

/** @brief Returns versions of the specified device. */
Napi::Value get_versions(const Napi::CallbackInfo& info);

private:
ov::Core _core;
};
Expand Down
9 changes: 8 additions & 1 deletion src/bindings/js/node/lib/addon.ts
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,12 @@ interface Core {
readModelSync(modelBuffer: Uint8Array, weightsBuffer?: Uint8Array): Model;
importModelSync(modelStream: Buffer, device: string): CompiledModel;
getAvailableDevices(): string[];
getVersions(deviceName: string): {
[deviceName: string]: {
buildNumber: string,
description: string,
},
};
setProperty(props: { [key: string]: string | number | boolean }): void;
setProperty(
deviceName: string,
Expand All @@ -47,7 +53,8 @@ interface Core {
getProperty(
deviceName: string,
propertyName: string,
): string | number | boolean,
): string | number | boolean;
addExtension(libraryPath: string): void;
}
interface CoreConstructor {
new(): Core;
Expand Down
Loading

0 comments on commit 966e243

Please sign in to comment.