Skip to content

Commit

Permalink
Renamed back to user_ov_extensions for 2023.3
Browse files Browse the repository at this point in the history
  • Loading branch information
ilya-lavrenov committed Feb 19, 2024
1 parent e1214e6 commit 6d71a4f
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -71,9 +71,9 @@ You can use converted tokenizers in C++ pipelines with prebuild binaries.
- Linux_arm64: `<openvino_dir>/runtime/lib/aarch64/`

After that you can add binary extension in the code with:
- `core.add_extension("openvino_tokenizers.dll")` for Windows
- `core.add_extension("libopenvino_tokenizers.dylib")` for MacOS
- `core.add_extension("libopenvino_tokenizers.so")` for Linux
- `core.add_extension("user_ov_extensions.dll")` for Windows
- `core.add_extension("libuser_ov_extensions.dylib")` for MacOS
- `core.add_extension("libuser_ov_extensions.so")` for Linux

and `read`/`compile` converted (de)tokenizers models.

Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ cmake.args = [
"-DCMAKE_INSTALL_BINDIR=lib",
"-DCMAKE_INSTALL_LIBDIR=lib"
]
cmake.targets = ["openvino_tokenizers"]
cmake.targets = ["user_ov_extensions"]
wheel.build-tag = "000"
wheel.packages = ["python/openvino_tokenizers"]
wheel.install-dir = "openvino_tokenizers"
Expand Down
2 changes: 1 addition & 1 deletion python/openvino_tokenizers/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
from .utils import add_greedy_decoding, connect_models


_ext_name = "openvino_tokenizers"
_ext_name = "user_ov_extensions"
if sys.platform == "win32":
_ext_name = f"{_ext_name}.dll"
elif sys.platform == "darwin":
Expand Down
2 changes: 1 addition & 1 deletion src/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# SPDX-License-Identifier: Apache-2.0
#

set(TARGET_NAME "openvino_tokenizers")
set(TARGET_NAME "user_ov_extensions")

FILE(GLOB SRC *.cpp)
add_library(${TARGET_NAME} SHARED ${SRC})
Expand Down

0 comments on commit 6d71a4f

Please sign in to comment.