Skip to content

Commit 66e59c0

Browse files
larryliu0820facebook-github-bot
authored andcommitted
Add buck2 build and run test model to pull.yml
Summary: Buck build the demo binary `size_test_all_ops` and export a test model `ModuleLinear.ff`, then run the model. Differential Revision: D47737752 fbshipit-source-id: 7cfb5b74f4b96a8c9a61a6351a68c0ef18ecb313
1 parent 2e97726 commit 66e59c0

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
@@ -31,3 +31,12 @@ jobs:
3131
3232
# Just print out the list of packages for debugging
3333
pip list
34+
35+
# Build executorch runtime
36+
buck2 build //test:size_test_all_ops
37+
38+
# Export a test model
39+
python3 test/models/export_program --modules=ModuleLinear --outdir=./
40+
41+
# Run test model
42+
buck2 run //test:size_test_all_ops ./ModuleLinear.ff

0 commit comments

Comments
 (0)