Skip to content

Commit c653299

Browse files
committed
up
1 parent 030a6b3 commit c653299

File tree

1 file changed

+0
-24
lines changed

1 file changed

+0
-24
lines changed

.ci/scripts/test_ane_static_llama.sh

Lines changed: 0 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -24,28 +24,4 @@ download_stories_model_artifacts
2424

2525
python export.py -n model.pte -p params.json -c stories110M.pt --seq_length 32 --max_seq_length 64 --dtype fp16 --coreml-quantize c4w
2626

27-
28-
python run.py -m model.pte -t tokenizer.model --prompt "Once upon a time," --temperature 0.0 &> tmp.txt
29-
tail -n +6 tmp.txt &> output.txt
30-
31-
cat output.txt
32-
33-
printf 'Once upon a time,there was a little girl named L ily . She loved to play outside in the sun sh ine . One day , she saw ' &> expected.txt
34-
35-
36-
if diff output.txt expected.txt > /dev/null; then
37-
echo "Output matches."
38-
else
39-
echo "Output does not match."
40-
echo "\n\nExpected:"
41-
cat expected.txt
42-
43-
echo "\n\nGot:"
44-
cat output.txt
45-
46-
echo "\n\nDiff:"
47-
diff output.txt expected.txt
48-
exit 1
49-
fi
50-
5127
popd

0 commit comments

Comments
 (0)