Skip to content

Commit 3e914c5

Browse files
committedMay 24, 2024·
nightyl
1 parent 18f8ca8 commit 3e914c5

File tree

3 files changed

+20
-24
lines changed

3 files changed

+20
-24
lines changed
 

‎.github/workflows/causal_lm_cpp.yml

+13-13
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323
- name: Install OpenVINO
2424
run: |
2525
mkdir ./ov/
26-
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
26+
curl https://storage.openvinotoolkit.org/repositories/openvino/packages/nightly/2024.2.0-15484-4b8641ee3f4/l_openvino_toolkit_ubuntu20_2024.2.0.dev20240523_x86_64.tgz | tar --directory ./ov/ --strip-components 1 -xz
2727
sudo ./ov/install_dependencies/install_openvino_dependencies.sh
2828
- name: Download, convert and build
2929
run: |
@@ -51,7 +51,7 @@ jobs:
5151
- name: Install OpenVINO
5252
run: |
5353
mkdir ./ov/
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
54+
curl https://storage.openvinotoolkit.org/repositories/openvino/packages/nightly/2024.2.0-15484-4b8641ee3f4/l_openvino_toolkit_ubuntu20_2024.2.0.dev20240523_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: |
@@ -179,12 +179,12 @@ jobs:
179179
- name: Install OpenVINO
180180
shell: bash
181181
run: |
182-
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
182+
curl --output ov.zip https://storage.openvinotoolkit.org/repositories/openvino/packages/nightly/2024.2.0-15484-4b8641ee3f4/w_openvino_toolkit_windows_2024.2.0.dev20240523_x86_64.zip
183183
unzip ov.zip
184184
- name: Download, convert and build
185185
shell: cmd
186186
run: |
187-
call w_openvino_toolkit_windows_2024.1.0.15008.f4afc983258_x86_64\setupvars.bat
187+
call w_openvino_toolkit_windows_2024.2.0.dev20240523_x86_64\setupvars.bat
188188
python -m pip install --upgrade-strategy eager -r text_generation/causal_lm/cpp/requirements.txt
189189
python -m pip install ./thirdparty/openvino_tokenizers/[transformers]
190190
optimum-cli export openvino --trust-remote-code --weight-format fp16 --model TinyLlama/TinyLlama-1.1B-Chat-v1.0 TinyLlama-1.1B-Chat-v1.0
@@ -193,7 +193,7 @@ jobs:
193193
- name: Compare
194194
shell: cmd
195195
run: |
196-
call w_openvino_toolkit_windows_2024.1.0.15008.f4afc983258_x86_64\setupvars.bat
196+
call w_openvino_toolkit_windows_2024.2.0.dev20240523_x86_64\setupvars.bat
197197
.\build\text_generation\causal_lm\cpp\Release\beam_search_causal_lm.exe .\TinyLlama-1.1B-Chat-v1.0\ "69" > .\pred.txt
198198
199199
echo import transformers > ref.py
@@ -220,7 +220,7 @@ jobs:
220220
- name: Install OpenVINO
221221
run: |
222222
mkdir ./ov/
223-
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
223+
curl https://storage.openvinotoolkit.org/repositories/openvino/packages/nightly/2024.2.0-15484-4b8641ee3f4/l_openvino_toolkit_ubuntu20_2024.2.0.dev20240523_x86_64.tgz | tar --directory ./ov/ --strip-components 1 -xz
224224
sudo ./ov/install_dependencies/install_openvino_dependencies.sh
225225
- name: Download, convert and build
226226
run: |
@@ -248,7 +248,7 @@ jobs:
248248
- name: Install OpenVINO
249249
run: |
250250
mkdir ./ov/
251-
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
251+
curl https://storage.openvinotoolkit.org/repositories/openvino/packages/nightly/2024.2.0-15484-4b8641ee3f4/l_openvino_toolkit_ubuntu20_2024.2.0.dev20240523_x86_64.tgz | tar --directory ./ov/ --strip-components 1 -xz
252252
sudo ./ov/install_dependencies/install_openvino_dependencies.sh
253253
- name: Download, convert and build
254254
run: |
@@ -276,7 +276,7 @@ jobs:
276276
- name: Install OpenVINO
277277
run: |
278278
mkdir ./ov/
279-
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
279+
curl https://storage.openvinotoolkit.org/repositories/openvino/packages/nightly/2024.2.0-15484-4b8641ee3f4/l_openvino_toolkit_ubuntu20_2024.2.0.dev20240523_x86_64.tgz | tar --directory ./ov/ --strip-components 1 -xz
280280
sudo ./ov/install_dependencies/install_openvino_dependencies.sh
281281
- name: Download, convert and build
282282
run: |
@@ -304,7 +304,7 @@ jobs:
304304
- name: Install OpenVINO
305305
run: |
306306
mkdir ./ov/
307-
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
307+
curl https://storage.openvinotoolkit.org/repositories/openvino/packages/nightly/2024.2.0-15484-4b8641ee3f4/l_openvino_toolkit_ubuntu20_2024.2.0.dev20240523_x86_64.tgz | tar --directory ./ov/ --strip-components 1 -xz
308308
sudo ./ov/install_dependencies/install_openvino_dependencies.sh
309309
- name: Download, convert and build
310310
run: |
@@ -332,7 +332,7 @@ jobs:
332332
- name: Install OpenVINO
333333
run: |
334334
mkdir ./ov/
335-
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
335+
curl https://storage.openvinotoolkit.org/repositories/openvino/packages/nightly/2024.2.0-15484-4b8641ee3f4/l_openvino_toolkit_ubuntu20_2024.2.0.dev20240523_x86_64.tgz | tar --directory ./ov/ --strip-components 1 -xz
336336
sudo ./ov/install_dependencies/install_openvino_dependencies.sh
337337
- name: Download, convert and build
338338
run: |
@@ -371,7 +371,7 @@ jobs:
371371
- name: Install OpenVINO
372372
run: |
373373
mkdir ./ov/
374-
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
374+
curl https://storage.openvinotoolkit.org/repositories/openvino/packages/nightly/2024.2.0-15484-4b8641ee3f4/l_openvino_toolkit_ubuntu20_2024.2.0.dev20240523_x86_64.tgz | tar --directory ./ov/ --strip-components 1 -xz
375375
sudo ./ov/install_dependencies/install_openvino_dependencies.sh
376376
- name: Download, convert and build
377377
run: |
@@ -416,7 +416,7 @@ jobs:
416416
- name: Install OpenVINO
417417
run: |
418418
mkdir ./ov/
419-
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
419+
curl https://storage.openvinotoolkit.org/repositories/openvino/packages/nightly/2024.2.0-15484-4b8641ee3f4/l_openvino_toolkit_ubuntu20_2024.2.0.dev20240523_x86_64.tgz | tar --directory ./ov/ --strip-components 1 -xz
420420
sudo ./ov/install_dependencies/install_openvino_dependencies.sh
421421
- name: Download, convert and build
422422
run: |
@@ -461,7 +461,7 @@ jobs:
461461
- name: Install OpenVINO
462462
run: |
463463
mkdir ./ov/
464-
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
464+
curl https://storage.openvinotoolkit.org/repositories/openvino/packages/nightly/2024.2.0-15484-4b8641ee3f4/l_openvino_toolkit_ubuntu20_2024.2.0.dev20240523_x86_64.tgz | tar --directory ./ov/ --strip-components 1 -xz
465465
sudo ./ov/install_dependencies/install_openvino_dependencies.sh
466466
- name: Download, convert and build
467467
run: |

‎.github/workflows/lcm_dreamshaper_cpp.yml

+4-6
Original file line numberDiff line numberDiff line change
@@ -40,15 +40,14 @@ jobs:
4040
run: |
4141
conda activate openvino_lcm_cpp
4242
conda update -c conda-forge --all
43-
conda install -c conda-forge c-compiler cxx-compiler git make cmake # TODO: openvino=2024.1.0
44-
pip install --pre openvino --extra-index-url https://storage.openvinotoolkit.org/simple/wheels/nightly
43+
conda install -c conda-forge c-compiler cxx-compiler git make cmake # TODO: openvino=2024.2.0
4544
conda env config vars set LD_LIBRARY_PATH=$CONDA_PREFIX/lib:$LD_LIBRARY_PATH
4645
4746
- name: Install python dependencies
4847
working-directory: ${{ env.working_directory }}
4948
run: |
5049
conda activate openvino_lcm_cpp
51-
python -m pip install -r requirements.txt
50+
python -m pip install -r requirements.txt --pre --extra-index-url https://storage.openvinotoolkit.org/simple/wheels/nightly
5251
python -m pip install ../../../thirdparty/openvino_tokenizers/[transformers]
5352
5453
- name: Download and convert model and tokenizer
@@ -86,15 +85,14 @@ jobs:
8685
run: |
8786
conda activate openvino_lcm_cpp
8887
conda update -c conda-forge --all
89-
conda install -c conda-forge c-compiler cxx-compiler git make cmake # TODO: openvino=2024.1.0
90-
pip install --pre openvino --extra-index-url https://storage.openvinotoolkit.org/simple/wheels/nightly
88+
conda install -c conda-forge c-compiler cxx-compiler git make cmake # TODO: openvino=2024.2.0
9189
conda env config vars set LD_LIBRARY_PATH=$CONDA_PREFIX/lib:$LD_LIBRARY_PATH
9290
9391
- name: Install python dependencies
9492
working-directory: ${{ env.working_directory }}
9593
run: |
9694
conda activate openvino_lcm_cpp
97-
python -m pip install -r requirements.txt
95+
python -m pip install -r requirements.txt --pre --extra-index-url https://storage.openvinotoolkit.org/simple/wheels/nightly
9896
python -m pip install ../../../thirdparty/openvino_tokenizers/[transformers]
9997
10098
- name: Download and convert model and tokenizer

‎.github/workflows/stable_diffusion_1_5_cpp.yml

+3-5
Original file line numberDiff line numberDiff line change
@@ -40,14 +40,13 @@ jobs:
4040
run: |
4141
conda activate openvino_sd_cpp
4242
conda install -c conda-forge c-compiler cxx-compiler git make cmake # TODO: openvino=2024.1.0
43-
pip install --pre openvino --extra-index-url https://storage.openvinotoolkit.org/simple/wheels/nightly
4443
conda env config vars set LD_LIBRARY_PATH=$CONDA_PREFIX/lib:$LD_LIBRARY_PATH
4544
4645
- name: Install python dependencies
4746
working-directory: ${{ env.working_directory }}
4847
run: |
4948
conda activate openvino_sd_cpp
50-
python -m pip install -r requirements.txt
49+
python -m pip install -r requirements.txt --pre --extra-index-url https://storage.openvinotoolkit.org/simple/wheels/nightly
5150
python -m pip install ../../../thirdparty/openvino_tokenizers/[transformers]
5251
5352
- name: Download and convert model and tokenizer
@@ -84,14 +83,13 @@ jobs:
8483
- name: Install OpenVINO and other conda dependencies
8584
run: |
8685
conda activate openvino_sd_cpp
87-
conda install -c conda-forge c-compiler cxx-compiler git make cmake # TODO: openvino=2024.1.0
88-
pip install --pre openvino --extra-index-url https://storage.openvinotoolkit.org/simple/wheels/nightly
86+
conda install -c conda-forge c-compiler cxx-compiler git make cmake # TODO: openvino=2024.2.0
8987
9088
- name: Install python dependencies
9189
working-directory: ${{ env.working_directory }}
9290
run: |
9391
conda activate openvino_sd_cpp
94-
python -m pip install -r requirements.txt
92+
python -m pip install -r requirements.txt --pre --extra-index-url https://storage.openvinotoolkit.org/simple/wheels/nightly
9593
python -m pip install ../../../thirdparty/openvino_tokenizers/[transformers]
9694
9795
- name: Download and convert model and tokenizer

0 commit comments

Comments
 (0)
Please sign in to comment.