Skip to content

Commit

Permalink
update dependencies for experimental openvino examples
Browse files Browse the repository at this point in the history
  • Loading branch information
alexsu52 committed Dec 26, 2022
1 parent 10ce0d3 commit 6e080df
Show file tree
Hide file tree
Showing 4 changed files with 21 additions and 2 deletions.
5 changes: 3 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
PYLINT_VERSION := 2.13.9
JUNITXML_PATH ?= nncf-tests.xml
DATA_ARG := ''

ifdef DATA
DATA_ARG := --data $(DATA)
Expand Down Expand Up @@ -42,6 +41,8 @@ install-openvino-test:
pip install -e .[openvino]
pip install -r tests/openvino/requirements.txt
pip install -r tests/cross_fw/install/requirements.txt
pip install -r examples/experimental/openvino/bert/requirements.txt
pip install -r examples/experimental/openvino/yolo_v5/requirements.txt

install-openvino-dev: install-openvino-test
pip install pylint==$(PYLINT_VERSION)
Expand All @@ -53,7 +54,7 @@ pylint-openvino:
pylint --rcfile .pylintrc \
nncf/openvino/ \
tests/openvino/ \
examples/experimental/openvino/
examples/experimental/openvino/

test-install-openvino:
pytest tests/cross_fw/install -s \
Expand Down
4 changes: 4 additions & 0 deletions examples/experimental/openvino/bert/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,6 @@
datasets
evaluate
transformers
torch
openvino-dev
numpy
2 changes: 2 additions & 0 deletions examples/experimental/openvino/yolo_v5/requirements.txt
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
yolov5
openvino-dev
torch
12 changes: 12 additions & 0 deletions tests/experimental/tensorflow/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
"""
Copyright (c) 2022 Intel Corporation
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
"""

0 comments on commit 6e080df

Please sign in to comment.