Skip to content

Commit 9d23404

Browse files
committed
Upgrade openvino and tokenizers
1 parent af005eb commit 9d23404

File tree

3 files changed

+17
-17
lines changed

3 files changed

+17
-17
lines changed

.github/workflows/causal_lm_cpp.yml

+11-11
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ jobs:
2424
- name: Install OpenVINO
2525
run: |
2626
mkdir ./ov/
27-
curl https://storage.openvinotoolkit.org/repositories/openvino/packages/nightly/2024.1.0-14645-e6dc0865128/l_openvino_toolkit_ubuntu20_2024.1.0.dev20240304_x86_64.tgz | tar --directory ./ov/ --strip-components 1 -xz
27+
curl https://storage.openvinotoolkit.org/repositories/openvino/packages/2024.1/linux/l_openvino_toolkit_ubuntu20_2024.1.0.15008.f4afc983258_x86_64.tgz | tar --directory ./ov/ --strip-components 1 -xz
2828
sudo ./ov/install_dependencies/install_openvino_dependencies.sh
2929
- name: Download, convert and build
3030
run: |
@@ -51,7 +51,7 @@ jobs:
5151
- name: Install OpenVINO
5252
run: |
5353
mkdir ./ov/
54-
curl https://storage.openvinotoolkit.org/repositories/openvino/packages/nightly/2024.1.0-14645-e6dc0865128/l_openvino_toolkit_ubuntu20_2024.1.0.dev20240304_x86_64.tgz | tar --directory ./ov/ --strip-components 1 -xz
54+
curl https://storage.openvinotoolkit.org/repositories/openvino/packages/2024.1/linux/l_openvino_toolkit_ubuntu20_2024.1.0.15008.f4afc983258_x86_64.tgz | tar --directory ./ov/ --strip-components 1 -xz
5555
sudo ./ov/install_dependencies/install_openvino_dependencies.sh
5656
- name: Download, convert and build
5757
run: |
@@ -141,20 +141,20 @@ jobs:
141141
- name: Install OpenVINO
142142
shell: bash
143143
run: |
144-
curl --output ov.zip https://storage.openvinotoolkit.org/repositories/openvino/packages/nightly/2024.1.0-14645-e6dc0865128/w_openvino_toolkit_windows_2024.1.0.dev20240304_x86_64.zip
144+
curl --output ov.zip https://storage.openvinotoolkit.org/repositories/openvino/packages/2024.1/windows/w_openvino_toolkit_windows_2024.1.0.15008.f4afc983258_x86_64.zip
145145
unzip ov.zip
146146
- name: Download, convert and build
147147
shell: cmd
148148
run: |
149-
call w_openvino_toolkit_windows_2024.1.0.dev20240304_x86_64\setupvars.bat
149+
call w_openvino_toolkit_windows_2024.1.0.15008.f4afc983258_x86_64\setupvars.bat
150150
python -m pip install --upgrade-strategy eager "optimum>=1.14" -r ./llm_bench/python/requirements.txt "transformers<4.38" ./thirdparty/openvino_tokenizers/[transformers] --extra-index-url https://download.pytorch.org/whl/cpu
151151
python ./llm_bench/python/convert.py --model_id TinyLlama/TinyLlama-1.1B-Chat-v1.0 --output_dir ./TinyLlama-1.1B-Chat-v1.0/ --precision FP16
152152
cmake -DCMAKE_BUILD_TYPE=Release -S ./text_generation/causal_lm/cpp/ -B ./build/
153153
cmake --build ./build/ --config Release -j
154154
- name: Compare
155155
shell: cmd
156156
run: |
157-
call w_openvino_toolkit_windows_2024.1.0.dev20240304_x86_64\setupvars.bat
157+
call w_openvino_toolkit_windows_2024.1.0.15008.f4afc983258_x86_64\setupvars.bat
158158
convert_tokenizer .\TinyLlama-1.1B-Chat-v1.0\pytorch\dldt\FP16\ --output .\TinyLlama-1.1B-Chat-v1.0\pytorch\dldt\FP16\ --with-detokenizer
159159
160160
.\build\Release\beam_search_causal_lm.exe .\TinyLlama-1.1B-Chat-v1.0\pytorch\dldt\FP16\ "69" > .\pred.txt
@@ -182,7 +182,7 @@ jobs:
182182
- name: Install OpenVINO
183183
run: |
184184
mkdir ./ov/
185-
curl https://storage.openvinotoolkit.org/repositories/openvino/packages/nightly/2024.1.0-14645-e6dc0865128/l_openvino_toolkit_ubuntu20_2024.1.0.dev20240304_x86_64.tgz | tar --directory ./ov/ --strip-components 1 -xz
185+
curl https://storage.openvinotoolkit.org/repositories/openvino/packages/2024.1/linux/l_openvino_toolkit_ubuntu20_2024.1.0.15008.f4afc983258_x86_64.tgz | tar --directory ./ov/ --strip-components 1 -xz
186186
sudo ./ov/install_dependencies/install_openvino_dependencies.sh
187187
- name: Download, convert and build
188188
run: |
@@ -209,7 +209,7 @@ jobs:
209209
- name: Install OpenVINO
210210
run: |
211211
mkdir ./ov/
212-
curl https://storage.openvinotoolkit.org/repositories/openvino/packages/nightly/2024.1.0-14645-e6dc0865128/l_openvino_toolkit_ubuntu20_2024.1.0.dev20240304_x86_64.tgz | tar --directory ./ov/ --strip-components 1 -xz
212+
curl https://storage.openvinotoolkit.org/repositories/openvino/packages/2024.1/linux/l_openvino_toolkit_ubuntu20_2024.1.0.15008.f4afc983258_x86_64.tgz | tar --directory ./ov/ --strip-components 1 -xz
213213
sudo ./ov/install_dependencies/install_openvino_dependencies.sh
214214
- name: Download, convert and build
215215
run: |
@@ -236,7 +236,7 @@ jobs:
236236
- name: Install OpenVINO
237237
run: |
238238
mkdir ./ov/
239-
curl https://storage.openvinotoolkit.org/repositories/openvino/packages/nightly/2024.1.0-14645-e6dc0865128/l_openvino_toolkit_ubuntu20_2024.1.0.dev20240304_x86_64.tgz | tar --directory ./ov/ --strip-components 1 -xz
239+
curl https://storage.openvinotoolkit.org/repositories/openvino/packages/2024.1/linux/l_openvino_toolkit_ubuntu20_2024.1.0.15008.f4afc983258_x86_64.tgz | tar --directory ./ov/ --strip-components 1 -xz
240240
sudo ./ov/install_dependencies/install_openvino_dependencies.sh
241241
- name: Download, convert and build
242242
run: |
@@ -263,7 +263,7 @@ jobs:
263263
- name: Install OpenVINO
264264
run: |
265265
mkdir ./ov/
266-
curl https://storage.openvinotoolkit.org/repositories/openvino/packages/nightly/2024.1.0-14645-e6dc0865128/l_openvino_toolkit_ubuntu20_2024.1.0.dev20240304_x86_64.tgz | tar --directory ./ov/ --strip-components 1 -xz
266+
curl https://storage.openvinotoolkit.org/repositories/openvino/packages/2024.1/linux/l_openvino_toolkit_ubuntu20_2024.1.0.15008.f4afc983258_x86_64.tgz | tar --directory ./ov/ --strip-components 1 -xz
267267
sudo ./ov/install_dependencies/install_openvino_dependencies.sh
268268
- name: Download, convert and build
269269
run: |
@@ -290,7 +290,7 @@ jobs:
290290
- name: Install OpenVINO
291291
run: |
292292
mkdir ./ov/
293-
curl https://storage.openvinotoolkit.org/repositories/openvino/packages/2023.3/linux/l_openvino_toolkit_ubuntu20_2023.3.0.13775.ceeafaf64f3_x86_64.tgz | tar --directory ./ov/ --strip-components 1 -xz
293+
curl https://storage.openvinotoolkit.org/repositories/openvino/packages/2024.1/linux/l_openvino_toolkit_ubuntu20_2024.1.0.15008.f4afc983258_x86_64.tgz | tar --directory ./ov/ --strip-components 1 -xz
294294
sudo ./ov/install_dependencies/install_openvino_dependencies.sh
295295
- name: Download, convert and build
296296
run: |
@@ -329,7 +329,7 @@ jobs:
329329
- name: Install OpenVINO
330330
run: |
331331
mkdir ./ov/
332-
curl https://storage.openvinotoolkit.org/repositories/openvino/packages/nightly/2024.1.0-14645-e6dc0865128/l_openvino_toolkit_ubuntu20_2024.1.0.dev20240304_x86_64.tgz | tar --directory ./ov/ --strip-components 1 -xz
332+
curl https://storage.openvinotoolkit.org/repositories/openvino/packages/2024.1/linux/l_openvino_toolkit_ubuntu20_2024.1.0.15008.f4afc983258_x86_64.tgz | tar --directory ./ov/ --strip-components 1 -xz
333333
sudo ./ov/install_dependencies/install_openvino_dependencies.sh
334334
- name: Download, convert and build
335335
run: |

.github/workflows/lcm_dreamshaper_cpp.yml

+5-5
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
- name: Initialize OpenVINO
2323
run: |
2424
mkdir openvino
25-
curl https://storage.openvinotoolkit.org/repositories/openvino/packages/nightly/2024.1.0-14645-e6dc0865128/l_openvino_toolkit_ubuntu20_2024.1.0.dev20240304_x86_64.tgz | tar --directory ./openvino/ --strip-components 1 -xz
25+
curl https://storage.openvinotoolkit.org/repositories/openvino/packages/2024.1/linux/l_openvino_toolkit_ubuntu20_2024.1.0.15008.f4afc983258_x86_64.tgz | tar --directory ./openvino/ --strip-components 1 -xz
2626
sudo ./openvino/install_dependencies/install_openvino_dependencies.sh
2727
- name: Download / convert a model / tokenizer
2828
run: |
@@ -55,26 +55,26 @@ jobs:
5555
- name: Initialize OpenVINO
5656
shell: cmd
5757
run: |
58-
curl --output ov.zip https://storage.openvinotoolkit.org/repositories/openvino/packages/nightly/2024.1.0-14645-e6dc0865128/w_openvino_toolkit_windows_2024.1.0.dev20240304_x86_64.zip
58+
curl --output ov.zip https://storage.openvinotoolkit.org/repositories/openvino/packages/2024.1/windows/w_openvino_toolkit_windows_2024.1.0.15008.f4afc983258_x86_64.zip
5959
unzip ov.zip
6060
- name: Download / convert a model / tokenizer
6161
shell: cmd
6262
run: |
63-
call w_openvino_toolkit_windows_2024.1.0.dev20240304_x86_64/setupvars.bat
63+
call w_openvino_toolkit_windows_2024.1.0.15008.f4afc983258_x86_64/setupvars.bat
6464
cd ./image_generation/lcm_dreamshaper_v7/cpp/scripts/
6565
python -m pip install -r ./requirements.txt
6666
python -m pip install ../../../../thirdparty/openvino_tokenizers/
6767
python convert_model.py -lcm "SimianLuo/LCM_Dreamshaper_v7" -t "FP16"
6868
- name: Build app
6969
shell: cmd
7070
run: |
71-
call w_openvino_toolkit_windows_2024.1.0.dev20240304_x86_64/setupvars.bat
71+
call w_openvino_toolkit_windows_2024.1.0.15008.f4afc983258_x86_64/setupvars.bat
7272
cd ./image_generation/lcm_dreamshaper_v7/cpp/
7373
cmake -DCMAKE_BUILD_TYPE=Release -S ./ -B ./build/
7474
cmake --build ./build/ --config Release --parallel
7575
- name: Run app
7676
shell: cmd
7777
run: |
78-
call w_openvino_toolkit_windows_2024.1.0.dev20240304_x86_64/setupvars.bat
78+
call w_openvino_toolkit_windows_2024.1.0.15008.f4afc983258_x86_64/setupvars.bat
7979
cd ./image_generation/lcm_dreamshaper_v7/cpp/build/
8080
call "./Release/lcm_dreamshaper.exe"

thirdparty/openvino_tokenizers

Submodule openvino_tokenizers updated 53 files

0 commit comments

Comments
 (0)