diff --git a/.github/workflows/examples.yml b/.github/workflows/examples.yml new file mode 100644 index 0000000..9a9c63b --- /dev/null +++ b/.github/workflows/examples.yml @@ -0,0 +1,28 @@ +name: Lighthouse Examples + +on: + workflow_dispatch: + push: + pull_request: + +jobs: + Examples: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v5 + + - name: Install uv + uses: astral-sh/setup-uv@v6 + + - name: Install the project and its dependencies + run: | + uv sync + uv sync --extra ingress-torch-cpu + + - name: Run MLP From File + run: |- + uv run python/examples/ingress/torch/mlp_from_file.py + + - name: Run MLP From Module + run: |- + uv run python/examples/ingress/torch/mlp_from_model.py \ No newline at end of file