Skip to content

Commit

Permalink
tweaks for tinyllama
Browse files Browse the repository at this point in the history
  • Loading branch information
mathieupoumeyrolsonos committed Dec 13, 2024
1 parent 4391345 commit 563bbce
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 4 deletions.
9 changes: 6 additions & 3 deletions .travis/cache_file.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,12 @@ cd $CACHEDIR
for file in $@
do
mkdir -p $(dirname $file)
[ -e $file ] \
|| wget --no-verbose https://s3.amazonaws.com/tract-ci-builds/tests/$file -O $file \
|| aws s3 cp s3://tract-ci-builds/tests/$file $file
if [ ! -e $file ]
then
wget --no-verbose https://s3.amazonaws.com/tract-ci-builds/tests/$file -O $file.tmp \
|| aws s3 cp s3://tract-ci-builds/tests/$file $file.tmp
mv $file.tmp $file
fi
done

exit 0
5 changes: 4 additions & 1 deletion .travis/test-llm.sh
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ nnef=llm/$generation/$id/$id.nnef.tgz

scenarios="p0s100 p99s1"

if [ "$model" != "phi-1_5" ]
if [ "$model" != "phi-1_5" ]
then
scenarios="p0s100 p99s1 p50s50"
fi
Expand All @@ -58,6 +58,9 @@ do
TinyLlama--TinyLlama_v1.1-f16f16.p0s100) approx="--approx-custom 0.2,0.1,0.001";;
TinyLlama--TinyLlama_v1.1-f16f16.p50s50) approx="--approx-custom 0.2,0.1,0.005";;
TinyLlama--TinyLlama_v1.1-f16f16.p99s1) approx="--approx-custom 0.2,0.1,0.004";;
TinyLlama--TinyLlama_v1.1-q40f16.p0s100) approx="--approx-custom 0.2,0.1,0.004";;
TinyLlama--TinyLlama_v1.1-q40f16.p99s1) approx="--approx-custom 0.2,0.1,0.002";;
TinyLlama--TinyLlama_v1.1-q40f16.p50s50) approx="--approx-custom 0.2,0.1,0.004";;
esac


Expand Down

0 comments on commit 563bbce

Please sign in to comment.