Skip to content

Commit 468c890

Browse files
authored
Merge pull request #27 from ynimmaga/surya/pr_updates
Renamed cmake out directory
2 parents 889e313 + bc29b46 commit 468c890

File tree

5 files changed

+8
-15
lines changed

5 files changed

+8
-15
lines changed

backends/openvino/requirements.txt

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,2 @@
1-
datasets
2-
huggingface-hub
3-
safetensors
4-
sentencepiece
5-
tokenizers
61
transformers
7-
piq
8-
pillow
92
git+https://github.com/openvinotoolkit/nncf@191b53d#egg=nncf

backends/openvino/scripts/openvino_build.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ echo EXECUTORCH_ROOT=${EXECUTORCH_ROOT}
99

1010
main() {
1111
# Set build directory
12-
local build_dir="cmake-openvino-out"
12+
local build_dir="cmake-out"
1313

1414
# Create and enter the build directory
1515
cd "$EXECUTORCH_ROOT"
@@ -28,7 +28,7 @@ main() {
2828

2929

3030
# Build the project
31-
cmake --build cmake-openvino-out --target install --config Release -j5
31+
cmake --build ${build_dir} --target install --config Release -j$(nproc)
3232

3333
# Switch back to the original directory
3434
cd - > /dev/null

examples/openvino/CMakeLists.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ endif()
3030
set(_common_compile_options -Wno-deprecated-declarations -fPIC)
3131
set(_common_include_directories ${EXECUTORCH_ROOT}/..)
3232

33-
set(_openvino_executor_runner__srcs
33+
set(_openvino_executor_runner__srcs
3434
${CMAKE_CURRENT_LIST_DIR}/../openvino/executor_runner/openvino_executor_runner.cpp
3535
)
3636

@@ -53,11 +53,11 @@ target_include_directories(openvino_portable_ops_lib PUBLIC ${_common_include_di
5353
add_executable(openvino_executor_runner ${_openvino_executor_runner__srcs})
5454

5555
target_include_directories(
56-
openvino_executor_runner PUBLIC ${_common_include_directories} ${EXECUTORCH_ROOT}/cmake-openvino-out/third-party/gflags/include
56+
openvino_executor_runner PUBLIC ${_common_include_directories} ${EXECUTORCH_ROOT}/cmake-out/third-party/gflags/include
5757
)
5858

5959
# Set Library Directory
60-
set(LIBRARY_DIR "${CMAKE_CURRENT_LIST_DIR}/../../cmake-openvino-out/lib/;${CMAKE_CURRENT_LIST_DIR}/../../cmake-openvino-out/third-party/gflags")
60+
set(LIBRARY_DIR "${CMAKE_CURRENT_LIST_DIR}/../../cmake-out/lib/;${CMAKE_CURRENT_LIST_DIR}/../../cmake-out/third-party/gflags")
6161
message(STATUS "Library directory path: ${LIBRARY_DIR}")
6262

6363
# Locate OpenVINO Backend Library

examples/openvino/aot/aot_openvino_compiler.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,7 @@ def validate_model(
154154

155155
subprocess.run(
156156
[
157-
"../../../cmake-openvino-out/examples/openvino/openvino_executor_runner",
157+
"../../../cmake-out/examples/openvino/openvino_executor_runner",
158158
f"--model_path={model_file_name}",
159159
f"--input_list_path={inp_list_file}",
160160
f"--output_folder_path={out_path}",

examples/openvino/openvino_build_example.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ echo EXECUTORCH_ROOT=${EXECUTORCH_ROOT}
99

1010
main() {
1111
# Set build directory
12-
local build_dir="cmake-openvino-out"
12+
local build_dir="cmake-out"
1313

1414
# Create and enter the build directory
1515
cd "$EXECUTORCH_ROOT"
@@ -29,7 +29,7 @@ main() {
2929

3030

3131
# Build the project
32-
cmake --build cmake-openvino-out --target install --config Release -j$(nproc)
32+
cmake --build ${build_dir} --target install --config Release -j$(nproc)
3333

3434
## Build example
3535
local example_dir=examples/openvino

0 commit comments

Comments
 (0)