Skip to content

Commit 922b152

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: d776ea09dd1e8d31a5b361f6e090b85e4de495e8
1 parent 0e6a9dd commit 922b152

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

.github/workflows/pull.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,3 +40,12 @@ jobs:
4040
4141
# Just print out the list of packages for debugging
4242
pip list
43+
44+
# Build executorch runtime
45+
buck2 build //test:size_test_all_ops
46+
47+
# Export a test model
48+
python3 examples/export/export_example.py --model_name="linear"
49+
50+
# Run test model
51+
buck2 run //test:size_test_all_ops ./linear.ff

0 commit comments

Comments
 (0)