File tree Expand file tree Collapse file tree 1 file changed +2
-7
lines changed Expand file tree Collapse file tree 1 file changed +2
-7
lines changed Original file line number Diff line number Diff line change @@ -858,12 +858,8 @@ jobs:
858
858
859
859
python torchchat.py generate stories15M --temperature 0 --prompt "${PRMT}"
860
860
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}"
867
863
868
864
echo "Tests complete."
869
865
runner-aoti :
@@ -913,7 +909,6 @@ jobs:
913
909
914
910
python torchchat.py generate --checkpoint-path ${MODEL_DIR}/stories15M.pt --temperature 0 --prompt "${PROMPT}"
915
911
916
-
917
912
for dtype in fp32 fp16 bf16; do
918
913
echo "Running export + runner with dtype=$dtype"
919
914
python torchchat.py export --checkpoint-path ${MODEL_DIR}/stories15M.pt --dtype $dtype --output-dso-path /tmp/model.so
You can’t perform that action at this time.
0 commit comments