Skip to content

Commit 24968d1

Browse files
larryliu0820facebook-github-bot
authored andcommitted
Add buck2 build and run test model to pull.yml (#18)
Summary: Pull Request resolved: #18 Buck build the demo binary `size_test_all_ops` and export a test model `ModuleLinear.ff`, then run the model. Reviewed By: huydhn, cccclai Differential Revision: D47737752 fbshipit-source-id: ac8a2464146f24a57f30a4030a10a57ab63d687f
1 parent 0e6a9dd commit 24968d1

File tree

1 file changed

+11
-2
lines changed

1 file changed

+11
-2
lines changed

.github/workflows/pull.yml

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,16 @@ jobs:
3636
# Install executorch
3737
pip3 install .
3838
39-
popd
40-
4139
# Just print out the list of packages for debugging
4240
pip list
41+
42+
# Build executorch runtime
43+
buck2 build //test:size_test_all_ops
44+
45+
# Export a test model
46+
python3 examples/export/export_example.py --model_name="linear"
47+
48+
# Run test model
49+
buck2 run //test:size_test_all_ops ./linear.ff
50+
51+
popd

0 commit comments

Comments
 (0)