Skip to content

Commit 8bcf504

Browse files
committed
source
1 parent f4e444f commit 8bcf504

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

.github/workflows/genai_package.yml

+4-4
Original file line numberDiff line numberDiff line change
@@ -22,9 +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: python -m pip install --upgrade-strategy eager -r ./text_generation/causal_lm/cpp/requirements.txt
25+
- run: source ./ov/setupvars.sh && python -m pip install --upgrade-strategy eager -r ./text_generation/causal_lm/cpp/requirements.txt
2626
if: ${{ 'Release' == matrix.build-type }}
27-
- run: python -m pip install ./thirdparty/openvino_tokenizers/[transformers] --pre --extra-index-url https://storage.openvinotoolkit.org/
27+
- run: source ./ov/setupvars.sh && python -m pip install ./thirdparty/openvino_tokenizers/[transformers] --pre --extra-index-url https://storage.openvinotoolkit.org/
2828
if: ${{ 'Release' == matrix.build-type }}
2929
- 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
3030
if: ${{ 'Release' == matrix.build-type }}
@@ -53,9 +53,9 @@ jobs:
5353
- 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
5454
- run: call w_openvino_toolkit_windows_2024.2.0.dev20240515_x86_64\samples\cpp\build_samples_msvc.bat -i "${{ github.workspace }}/samples_install"
5555
if: ${{ 'Release' == matrix.build-type }} # build_samples enforces Release build
56-
- run: python -m pip install --upgrade-strategy eager -r ./text_generation/causal_lm/cpp/requirements.txt
56+
- run: call w_openvino_toolkit_windows_2024.2.0.dev20240515_x86_64\setupvars.bat && python -m pip install --upgrade-strategy eager -r ./text_generation/causal_lm/cpp/requirements.txt
5757
if: ${{ 'Release' == matrix.build-type }}
58-
- run: python -m pip install ./thirdparty/openvino_tokenizers/[transformers] --pre --extra-index-url https://storage.openvinotoolkit.org/
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/
5959
if: ${{ 'Release' == matrix.build-type }}
6060
- 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
6161
if: ${{ 'Release' == matrix.build-type }}

0 commit comments

Comments
 (0)