Skip to content

Commit ee97729

Browse files
committed
two steps
1 parent b7493a1 commit ee97729

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

.github/workflows/genai_package.yml

+6-2
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,9 @@ jobs:
2222
- run: source ./ov/setupvars.sh && cmake --install ./build/ --config ${{ matrix.build-type }} --prefix ov
2323
- run: ov/samples/cpp/build_samples.sh -i ${{ github.workspace }}/s\ pace
2424
if: ${{ 'Release' == matrix.build-type }} # build_samples enforces Release build
25-
- run: source ./ov/setupvars.sh && python -m pip install ./thirdparty/openvino_tokenizers/[transformers] --upgrade-strategy eager -r text_generation/causal_lm/cpp/requirements.txt --pre --extra-index-url https://storage.openvinotoolkit.org/
25+
- run: python -m pip install --upgrade-strategy eager -r ./text_generation/causal_lm/cpp/requirements.txt
26+
if: ${{ 'Release' == matrix.build-type }}
27+
- run: source ./ov/setupvars.sh && python -m pip install ./thirdparty/openvino_tokenizers/[transformers] --pre --extra-index-url https://storage.openvinotoolkit.org/
2628
if: ${{ 'Release' == matrix.build-type }}
2729
- run: source ./ov/setupvars.sh && optimum-cli export openvino --trust-remote-code --weight-format fp16 --model TinyLlama/TinyLlama-1.1B-Chat-v1.0 TinyLlama-1.1B-Chat-v1.0
2830
if: ${{ 'Release' == matrix.build-type }}
@@ -51,7 +53,9 @@ jobs:
5153
- run: call w_openvino_toolkit_windows_2024.2.0.dev20240515_x86_64\setupvars.bat && cmake --install ./build/ --config ${{ matrix.build-type }} --prefix w_openvino_toolkit_windows_2024.2.0.dev20240515_x86_64
5254
- run: call w_openvino_toolkit_windows_2024.2.0.dev20240515_x86_64\samples\cpp\build_samples_msvc.bat -i "${{ github.workspace }}/samples_install"
5355
if: ${{ 'Release' == matrix.build-type }} # build_samples enforces Release build
54-
- run: call w_openvino_toolkit_windows_2024.2.0.dev20240515_x86_64\setupvars.bat && python -m pip install ./thirdparty/openvino_tokenizers/[transformers] --upgrade-strategy eager -r text_generation/causal_lm/cpp/requirements.txt --pre --extra-index-url https://storage.openvinotoolkit.org/
56+
- run: python -m pip install --upgrade-strategy eager -r ./text_generation/causal_lm/cpp/requirements.txt
57+
if: ${{ 'Release' == matrix.build-type }}
58+
- run: call w_openvino_toolkit_windows_2024.2.0.dev20240515_x86_64\setupvars.bat && python -m pip install ./thirdparty/openvino_tokenizers/[transformers] --pre --extra-index-url https://storage.openvinotoolkit.org/
5559
if: ${{ 'Release' == matrix.build-type }}
5660
- run: call w_openvino_toolkit_windows_2024.2.0.dev20240515_x86_64\setupvars.bat && optimum-cli export openvino --trust-remote-code --weight-format fp16 --model TinyLlama/TinyLlama-1.1B-Chat-v1.0 TinyLlama-1.1B-Chat-v1.0
5761
if: ${{ 'Release' == matrix.build-type }}

0 commit comments

Comments
 (0)