Skip to content

Commit bd51a1e

Browse files
Michael Gschwindmalfet
authored andcommitted
run aoti
1 parent 2cf5ea9 commit bd51a1e

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/compile.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,9 +37,10 @@ jobs:
3737
- name: Run inference
3838
run: |
3939
export MODEL_PATH=checkpoints/stories15M/stories15M.pt
40-
# python aoti_export.py --checkpoint_path ${MODEL_PATH} --output_path ./${MODEL_REPO}.so
40+
export MODEL_REPO=stories15M
4141
python generate.py --checkpoint_path ${MODEL_PATH} --temperature 0 --device cpu | tee output_eager
4242
python generate.py --compile --checkpoint_path ${MODEL_PATH} --temperature 0 --device cpu | tee output_compiled
43+
python aoti_export.py --checkpoint_path ${MODEL_PATH} --output_path ./${MODEL_REPO}.so
4344
python generate.py --checkpoint_path ${MODEL_PATH} --temperature 0 --dso ./${MODEL_REPO}.so | tee output_aoti
4445
# echo "******************************************"
4546
# echo "********* EAGER vs TORCH.COMPILE *********"

0 commit comments

Comments
 (0)