Skip to content

Add buck2 build and run test model to pull.yml #18

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 12 additions & 3 deletions .github/workflows/pull.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,16 @@ jobs:
# Install executorch
pip3 install .

popd

# Just print out the list of packages for debugging
pip list
pip3 list

# Build executorch runtime
buck2 build //examples/executor_runner:executor_runner

# Export a test model
python3 -m examples.export.export_example --model_name="linear"

# Run test model
buck2 run //examples/executor_runner:executor_runner -- --model_path ./linear.ff

popd