File tree Expand file tree Collapse file tree 1 file changed +18
-4
lines changed Expand file tree Collapse file tree 1 file changed +18
-4
lines changed Original file line number Diff line number Diff line change @@ -256,13 +256,27 @@ jobs:
256256 echo "::endgroup::"
257257
258258 echo "::group::Run Voxtral Runner"
259-
259+ set +e
260260 export LD_LIBRARY_PATH=/opt/conda/lib:$LD_LIBRARY_PATH
261- cmake-out/examples/models/voxtral/voxtral_runner \
261+ OUTPUT=$( cmake-out/examples/models/voxtral/voxtral_runner \
262262 --model_path model.pte \
263263 --data_path aoti_cuda_blob.ptd \
264264 --tokenizer_path tekken.json \
265265 --audio_path dancing.wav \
266266 --processor_path voxtral_preprocessor.pte \
267- --temperature 0
268- echo "::endgroup::"
267+ --temperature 0 2>&1)
268+ EXIT_CODE=$?
269+ set -e
270+
271+ echo "$OUTPUT"
272+
273+ if ! echo "$OUTPUT" | grep -iq "dancing"; then
274+ echo "Expected output 'dancing' not found in output"
275+ exit 1
276+ fi
277+
278+ if [ $EXIT_CODE -ne 0 ]; then
279+ echo "Unexpected exit code: $EXIT_CODE"
280+ exit $EXIT_CODE
281+ fi
282+ echo "::endgroup::"
You can’t perform that action at this time.
0 commit comments