Skip to content

Commit fdc9b53

Browse files
authored
[CI] Add basic workflow for examples (#19)
Working version here: https://github.com/libxsmm/lighthouse/actions/workflows/examples.yml
1 parent 68bf0d6 commit fdc9b53

File tree

1 file changed

+28
-0
lines changed

1 file changed

+28
-0
lines changed

.github/workflows/examples.yml

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
name: Lighthouse Examples
2+
3+
on:
4+
workflow_dispatch:
5+
push:
6+
pull_request:
7+
8+
jobs:
9+
Examples:
10+
runs-on: ubuntu-latest
11+
steps:
12+
- uses: actions/checkout@v5
13+
14+
- name: Install uv
15+
uses: astral-sh/setup-uv@v6
16+
17+
- name: Install the project and its dependencies
18+
run: |
19+
uv sync
20+
uv sync --extra ingress-torch-cpu
21+
22+
- name: Run MLP From File
23+
run: |-
24+
uv run python/examples/ingress/torch/mlp_from_file.py
25+
26+
- name: Run MLP From Module
27+
run: |-
28+
uv run python/examples/ingress/torch/mlp_from_model.py

0 commit comments

Comments
 (0)