Skip to content

Commit 8a3a21b

Browse files
committed
TBB_DIR
1 parent 3a800a1 commit 8a3a21b

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

.github/workflows/causal_lm_cpp.yml

+4-5
Original file line numberDiff line numberDiff line change
@@ -701,15 +701,14 @@ jobs:
701701
run: >
702702
curl ${{ env.m_ov_link }} | tar --directory ./ov/ --strip-components 1 -xz
703703
&& brew install coreutils scons
704-
- run: OpenVINO_DIR=./ov/runtime/cmake/ cmake -DCMAKE_BUILD_TYPE=Release -B ./build/ ./
704+
- run: OpenVINO_DIR=./ov/runtime/cmake/ TBB_DIR=./ov/runtime/3rdparty/tbb/lib/cmake/TBB/ cmake -DCMAKE_BUILD_TYPE=Release -B ./build/ ./
705705
- run: LD_LIBRARY_PATH=./ov/runtime/3rdparty/tbb/lib/:$LD_LIBRARY_PATH cmake --build ./build/ --config Release --target visual_language_chat -j
706-
- name: Download and convert a model and an image
706+
- name: Download and convert a model
707707
run: |
708708
source ./ov/setupvars.sh
709-
python -m pip install ./thirdparty/openvino_tokenizers/[transformers] --pre --extra-index-url https://storage.openvinotoolkit.org/simple/wheels/nightly
710-
python -m pip install --upgrade-strategy eager -r ./samples/requirements.txt --pre --extra-index-url https://storage.openvinotoolkit.org/simple/wheels/nightly
709+
python -m pip install --upgrade-strategy eager ./thirdparty/openvino_tokenizers/[transformers] -r ./samples/requirements.txt --pre --extra-index-url https://storage.openvinotoolkit.org/simple/wheels/nightly
711710
python ./samples/cpp/visual_language_chat/export_MiniCPM-V-2_6.py ./miniCPM-V-2_6/
712-
wget https://github.com/openvinotoolkit/openvino_notebooks/assets/29454499/d5fbbd1a-d484-415c-88cb-9986625b7b11
711+
- run: wget https://github.com/openvinotoolkit/openvino_notebooks/assets/29454499/d5fbbd1a-d484-415c-88cb-9986625b7b11
713712
- run: >
714713
./build/samples/cpp/visual_language_chat/visual_language_chat ./miniCPM-V-2_6/ d5fbbd1a-d484-415c-88cb-9986625b7b11
715714
<<< $'What is on the image?\nWhat is special on the image?'

0 commit comments

Comments
 (0)