From 22824979b43cdcaba9579dcdf061d0ac9ca0d12b Mon Sep 17 00:00:00 2001 From: Alexander Suvorov Date: Tue, 2 Jul 2024 12:01:55 +0200 Subject: [PATCH] Try bash shell for win --- .github/workflows/continuous_batching_cpp.yml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/.github/workflows/continuous_batching_cpp.yml b/.github/workflows/continuous_batching_cpp.yml index 6ad9e18e4d..88cada1d4a 100644 --- a/.github/workflows/continuous_batching_cpp.yml +++ b/.github/workflows/continuous_batching_cpp.yml @@ -75,9 +75,13 @@ jobs: optimum-cli export openvino --trust-remote-code --weight-format fp16 --model TinyLlama/TinyLlama-1.1B-Chat-v1.0 TinyLlama-1.1B-Chat-v1.0 cmake -DCMAKE_BUILD_TYPE=Release -DENABLE_CONTINUOUS_BATCHING=ON -DENABLE_APPS=ON -S ./ -B ./build/ cmake --build ./build/ --config Release -j + # - run: > + # call .\ov\setupvars.bat + # && .\build\samples\cpp\accuracy_sample\Release\accuracy_sample.exe -m .\TinyLlama-1.1B-Chat-v1.0\ -n 4 - run: > - call .\ov\setupvars.bat - && .\build\samples\cpp\accuracy_sample\Release\accuracy_sample.exe -m .\TinyLlama-1.1B-Chat-v1.0\ -n 4 + . ./ov/setupvars.sh + && timeout 25s ./build/samples/cpp/accuracy_sample/Release/accuracy_sample -m ./TinyLlama-1.1B-Chat-v1.0/ -n 4 + shell: bash # - run: | # echo import transformers > ref.py # echo predictions = open('cpp.txt', 'r').read() >> ref.py