Skip to content

Commit 61fba58

Browse files
committed
Ensure ./requirements-build.txt won't outdate
1 parent 8c00ccb commit 61fba58

File tree

2 files changed

+10
-2
lines changed

2 files changed

+10
-2
lines changed

.github/dependabot.yml

+4
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
version: 2
22
updates:
3+
- package-ecosystem: "pip"
4+
directory: "./"
5+
schedule:
6+
interval: "weekly"
37
- package-ecosystem: "pip"
48
directory: "image_generation/stable_diffusion_1_5/cpp/scripts/"
59
schedule:

.github/workflows/genai_package.yml

+6-2
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,9 @@ jobs:
1818
- run: source ./ov/setupvars.sh && cmake --build ./build/ --config Release --target package -j
1919
- run: source ./ov/setupvars.sh && cmake --install ./build/ --config Release --prefix ov
2020
- run: ov/samples/cpp/build_samples.sh -i ${{ github.workspace }}/s\ pace
21-
- run: source ./ov/setupvars.sh && python -m pip install --upgrade-strategy eager -r text_generation/causal_lm/cpp/requirements.txt
21+
# GitHub Actions already provides what is listed in ./requirements-build.txt but the internal
22+
# build system doesn't. Install ./requirements-build.txt to detect possible conflicts.
23+
- run: source ./ov/setupvars.sh && python -m pip install --upgrade-strategy eager -r text_generation/causal_lm/cpp/requirements.txt -r ./requirements-build.txt
2224
- run: source ./ov/setupvars.sh && python -m pip install ./thirdparty/openvino_tokenizers/[transformers]
2325
- 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
2426
- run: source ./ov/setupvars.sh && timeout 50s ${{ github.workspace }}/s\ pace/samples_bin/greedy_causal_lm ./TinyLlama-1.1B-Chat-v1.0/ ""
@@ -41,7 +43,9 @@ jobs:
4143
- run: call w_openvino_toolkit_windows_2024.2.0.dev20240515_x86_64\setupvars.bat && cmake --build ./build/ --config Release --target package -j
4244
- run: call w_openvino_toolkit_windows_2024.2.0.dev20240515_x86_64\setupvars.bat && cmake --install ./build/ --config Release --prefix w_openvino_toolkit_windows_2024.2.0.dev20240515_x86_64
4345
- run: call w_openvino_toolkit_windows_2024.2.0.dev20240515_x86_64\samples\cpp\build_samples_msvc.bat -i "${{ github.workspace }}/samples_install"
44-
- 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
46+
# GitHub Actions already provides what is listed in ./requirements-build.txt but the internal
47+
# build system doesn't. Install ./requirements-build.txt to detect possible conflicts.
48+
- 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 -r ./requirements-build.txt
4549
- run: call w_openvino_toolkit_windows_2024.2.0.dev20240515_x86_64\setupvars.bat && python -m pip install ./thirdparty/openvino_tokenizers/[transformers]
4650
- 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
4751
- run: call w_openvino_toolkit_windows_2024.2.0.dev20240515_x86_64\setupvars.bat && "${{ github.workspace }}/samples_install/samples_bin/greedy_causal_lm" .\TinyLlama-1.1B-Chat-v1.0\ ""

0 commit comments

Comments
 (0)