Skip to content

Commit 7b75da2

Browse files
authored
Removed tokenizer param (#2715)
1 parent 1829420 commit 7b75da2

File tree

4 files changed

+5
-10
lines changed

4 files changed

+5
-10
lines changed

Dockerfile.redhat

+2-4
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,6 @@ ENV TF_SYSTEM_LIBS="curl"
169169
ENV TEST_LOG="/root/.cache/bazel/_bazel_root/bc57d4817a53cab8c785464da57d1983/execroot/ovms/bazel-out/test.log"
170170
ARG ov_source_branch=master
171171
ARG ov_contrib_branch=master
172-
ARG tokenizers=1
173172
ARG ov_source_org=openvinotoolkit
174173
ARG ov_contrib_org=openvinotoolkit
175174
ARG ov_use_binary=0
@@ -233,10 +232,9 @@ ENV LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:/opt/intel/openvino/runtime/lib/intel64/:
233232

234233
ARG ov_tokenizers_branch=master
235234
# hadolint ignore=DL3003
236-
RUN if [[ "$tokenizers" == "1" ]] ; then true ; else exit 0 ; fi ; git clone https://github.com/openvinotoolkit/openvino_tokenizers.git /openvino_tokenizers && cd /openvino_tokenizers && git checkout $ov_tokenizers_branch && git submodule update --init --recursive
235+
RUN git clone https://github.com/openvinotoolkit/openvino_tokenizers.git /openvino_tokenizers && cd /openvino_tokenizers && git checkout $ov_tokenizers_branch && git submodule update --init --recursive
237236
WORKDIR /openvino_tokenizers/build
238-
239-
RUN if [ "$tokenizers" == "1" ] ; then true ; else exit 0 ; fi ; cmake .. -DCMAKE_BUILD_TYPE=Release -DCMAKE_VERBOSE_MAKEFILE="${VERBOSE_LOGS}" && cmake --build . --parallel $JOBS ; cp /openvino_tokenizers/build/src/lib*.so /opt/intel/openvino/runtime/lib/intel64/
237+
RUN cmake .. -DCMAKE_BUILD_TYPE=Release -DCMAKE_VERBOSE_MAKEFILE="${VERBOSE_LOGS}" && cmake --build . --parallel $JOBS ; cp /openvino_tokenizers/build/src/lib*.so /opt/intel/openvino/runtime/lib/intel64/
240238

241239
# NVIDIA
242240
ENV OPENVINO_BUILD_PATH=/cuda_plugin_build

Dockerfile.ubuntu

+2-3
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,6 @@ RUN apt-get update; apt-get install -y --no-install-recommends libxml2 && rm -rf
127127

128128
ARG JOBS=8
129129
ARG ov_use_binary=0
130-
ARG tokenizers=1
131130
ARG ov_source_org=openvinotoolkit
132131
ARG ov_contrib_org=openvinotoolkit
133132
ARG DLDT_PACKAGE_URL
@@ -202,9 +201,9 @@ ENV OpenVINO_DIR=/opt/intel/openvino/runtime/cmake
202201

203202
ARG ov_tokenizers_branch=master
204203
# hadolint ignore=DL3003
205-
RUN if [[ "$tokenizers" == "1" ]] ; then true ; else exit 0 ; fi ; git clone https://github.com/openvinotoolkit/openvino_tokenizers.git /openvino_tokenizers && cd /openvino_tokenizers && git checkout $ov_tokenizers_branch && git submodule update --init --recursive
204+
RUN git clone https://github.com/openvinotoolkit/openvino_tokenizers.git /openvino_tokenizers && cd /openvino_tokenizers && git checkout $ov_tokenizers_branch && git submodule update --init --recursive
206205
WORKDIR /openvino_tokenizers/build
207-
RUN if [ "$tokenizers" == "1" ] ; then true ; else exit 0 ; fi ; cmake .. -DCMAKE_BUILD_TYPE=$CMAKE_BUILD_TYPE && cmake --build . --parallel $JOBS ; cp /openvino_tokenizers/build/src/lib*.so /opt/intel/openvino/runtime/lib/intel64/
206+
RUN cmake .. -DCMAKE_BUILD_TYPE=$CMAKE_BUILD_TYPE && cmake --build . --parallel $JOBS ; cp /openvino_tokenizers/build/src/lib*.so /opt/intel/openvino/runtime/lib/intel64/
208207

209208
# NVIDIA
210209
ENV OPENVINO_BUILD_PATH=/cuda_plugin_build

Makefile

-2
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,6 @@ OV_TOKENIZERS_BRANCH ?= 81c067c557d48011e6879a42d4a25147060eaeff # master 2024-
8181
OV_SOURCE_ORG ?= openvinotoolkit
8282
OV_CONTRIB_ORG ?= openvinotoolkit
8383

84-
TOKENIZERS ?= 1
8584
TEST_LLM_PATH ?= "src/test/llm_testing"
8685
GPU_MODEL_PATH ?= "/tmp/face_detection_adas"
8786

@@ -225,7 +224,6 @@ BUILD_ARGS = --build-arg http_proxy=$(HTTP_PROXY)\
225224
--build-arg ov_source_org=$(OV_SOURCE_ORG)\
226225
--build-arg ov_contrib_org=$(OV_CONTRIB_ORG)\
227226
--build-arg ov_use_binary=$(OV_USE_BINARY)\
228-
--build-arg tokenizers=$(TOKENIZERS)\
229227
--build-arg DLDT_PACKAGE_URL=$(DLDT_PACKAGE_URL)\
230228
--build-arg CHECK_COVERAGE=$(CHECK_COVERAGE)\
231229
--build-arg RUN_TESTS=$(RUN_TESTS)\

docs/build_from_source.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,7 @@ make release_image GPU=1
153153
Building minimalistic OVMS docker image requires disabling all optional features:
154154

155155
```bash
156-
make release_image GPU=0 MEDIAPIPE_DISABLE=1 PYTHON_DISABLE=1 TOKENIZERS=0
156+
make release_image GPU=0 MEDIAPIPE_DISABLE=1 PYTHON_DISABLE=1
157157
```
158158

159159
## Building Binary Package

0 commit comments

Comments
 (0)