Skip to content

Commit

Permalink
tmp CI verbose
Browse files Browse the repository at this point in the history
  • Loading branch information
mzegla committed Jan 15, 2025
1 parent 09c894f commit 77b62e3
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/causal_lm_cpp.yml
Original file line number Diff line number Diff line change
Expand Up @@ -445,9 +445,13 @@ jobs:
- name: run and compare
run: |
source ./ov/setupvars.sh
echo Running speculative_decoding_lm C++ sample...
./build/samples/cpp/text_generation/speculative_decoding_lm ./dolly-v2-7b/ ./dolly-v2-3b/ "Alan Turing was a" > predictions_speculative.txt
echo Running greedy_causal_lm C++ sample...
./build/samples/cpp/text_generation/greedy_causal_lm ./dolly-v2-7b/ "Alan Turing was a" > predictions_greedy.txt
echo Running speculative_decoding_lm Python sample...
python ./samples/python/text_generation/speculative_decoding_lm.py ./dolly-v2-7b/ ./dolly-v2-3b/ "Alan Turing was a" > predictions_py.txt
echo All samples executed, checking result correctness...
python -c "
with open('predictions_greedy.txt', 'r') as f:
predicted_greedy = f.readline()
Expand Down

0 comments on commit 77b62e3

Please sign in to comment.