Skip to content

Commit 7895ec8

Browse files
committed
add dtype test runner-aoti
1 parent f34bf8b commit 7895ec8

File tree

1 file changed

+2
-7
lines changed

1 file changed

+2
-7
lines changed

.github/workflows/pull.yml

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -858,12 +858,8 @@ jobs:
858858
859859
python torchchat.py generate stories15M --temperature 0 --prompt "${PRMT}"
860860
861-
862-
for dtype in fp32 fp16 bf16; do
863-
echo "Testing export + runner with dtype=$dtype"
864-
python torchchat.py export stories15M --dtype $dtype --output-pte-path ./model.pte
865-
./cmake-out/et_run ./model.pte -z ./tokenizer.bin -t 0 -i "${PRMT}"
866-
done
861+
python torchchat.py export stories15M --output-pte-path ./model.pte
862+
./cmake-out/et_run ./model.pte -z ./tokenizer.bin -t 0 -i "${PRMT}"
867863
868864
echo "Tests complete."
869865
runner-aoti:
@@ -913,7 +909,6 @@ jobs:
913909
914910
python torchchat.py generate --checkpoint-path ${MODEL_DIR}/stories15M.pt --temperature 0 --prompt "${PROMPT}"
915911
916-
917912
for dtype in fp32 fp16 bf16; do
918913
echo "Running export + runner with dtype=$dtype"
919914
python torchchat.py export --checkpoint-path ${MODEL_DIR}/stories15M.pt --dtype $dtype --output-dso-path /tmp/model.so

0 commit comments

Comments
 (0)