@@ -682,7 +682,11 @@ jobs:
682
682
diff pred2.txt ref.txt
683
683
echo "Chat sample python" passed
684
684
685
+ <<<<<<< HEAD
685
686
visual_chat_sample-ubuntu :
687
+ =======
688
+ py-vlm_chat_sample-ubuntu :
689
+ >>>>>>> c67ddd58652c6ac5aab1b3c9fff0036fb9f4a692
686
690
runs-on : ubuntu-22.04-16-cores
687
691
defaults :
688
692
run :
@@ -703,19 +707,33 @@ jobs:
703
707
run : |
704
708
source ./ov/setupvars.sh
705
709
cmake -DCMAKE_BUILD_TYPE=Release -S ./ -B ./build/
710
+ <<<<<<< HEAD
706
711
cmake --build ./build/ --config Release --target visual_language_chat -j
712
+ =======
713
+ cmake --build ./build/ --config Release -j
714
+ >>>>>>> c67ddd58652c6ac5aab1b3c9fff0036fb9f4a692
707
715
- name : Download and convert and model
708
716
run : |
709
717
source ./ov/setupvars.sh
710
718
python -m pip install --upgrade-strategy eager -r ./samples/requirements.txt --pre --extra-index-url https://storage.openvinotoolkit.org/simple/wheels/nightly
711
719
python -m pip install ./thirdparty/openvino_tokenizers/[transformers] --pre --extra-index-url https://storage.openvinotoolkit.org/simple/wheels/nightly
712
720
python ./samples/cpp/visual_language_chat/export_MiniCPM-V-2_6.py ./miniCPM-V-2_6/
713
721
wget https://github.com/openvinotoolkit/openvino_notebooks/assets/29454499/d5fbbd1a-d484-415c-88cb-9986625b7b11
722
+ <<<<<<< HEAD
714
723
715
724
- name : Run chat sample
716
725
source ./ov/setupvars.sh
717
726
printf 'What is on the image?\nWhat is special on the image?\n' > ./input.txt
718
727
timeout 120s python ./samples/python/vlm_chat_sample/vlm_chat_sample.py ./miniCPM-V-2_6/ d5fbbd1a-d484-415c-88cb-9986625b7b11 < input.txt > ./pred.txt || ( [[ $? -eq 124 ]] && \
728
+ =======
729
+
730
+ - name : Run chat sample
731
+ run : |
732
+ source ./ov/setupvars.sh
733
+ export PYTHONPATH=./build/:$PYTHONPATH
734
+ printf 'What is on the image?\n' > ./input.txt
735
+ timeout 300s python ./samples/python/vlm_chat_sample/vlm_chat_sample.py ./miniCPM-V-2_6/ d5fbbd1a-d484-415c-88cb-9986625b7b11 < input.txt > ./pred.txt || ( [[ $? -eq 124 ]] && \
736
+ >>>>>>> c67ddd58652c6ac5aab1b3c9fff0036fb9f4a692
719
737
echo "Timeout reached, but it's excpected." )
720
738
721
739
cpp-continuous-batching-ubuntu :
0 commit comments