Skip to content

Commit

Permalink
Try bash shell for win
Browse files Browse the repository at this point in the history
  • Loading branch information
as-suvorov committed Jul 2, 2024
1 parent 7b8f41d commit 2282497
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/continuous_batching_cpp.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 2282497

Please sign in to comment.