Skip to content

Commit 6528f88

Browse files
committed
enable *some* of the GPU testing
1 parent 7778563 commit 6528f88

File tree

8 files changed

+257
-171
lines changed

8 files changed

+257
-171
lines changed

.github/workflows/test.yml

Lines changed: 14 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,7 @@ jobs:
7474
run: |
7575
7676
python examples/mwe.py
77+
python examples/flash_attention.py
7778
7879
test-other-host-bindings:
7980

@@ -110,15 +111,15 @@ jobs:
110111
pytest --capture=tee-sys tests/test_other_hosts.py
111112
fi
112113
113-
test-jupyter:
114+
test-examples:
114115

115116
runs-on: ${{ matrix.os }}
116117

117118
strategy:
118119
fail-fast: false
119120
matrix:
120-
os: [ ubuntu-22.04 ]
121-
py_version: [ "3.10" ]
121+
os: [ ubuntu-22.04, macos-13, macos-14, windows-2022, ubuntu-22.04-arm ]
122+
py_version: [ "3.12", "3.13" ]
122123

123124
steps:
124125
- name: Checkout
@@ -130,7 +131,9 @@ jobs:
130131
python-version: ${{ matrix.py_version }}
131132
allow-prereleases: true
132133

133-
- name: Run notebook
134+
- name: Test jupyter notebooks
135+
# sed: can't read C:\hostedtoolcache\windows\Python\3.12.10\x64/jupyter_client/runapp.py: No such file or directory
136+
if: matrix.os != 'windows-2022'
134137
shell: bash
135138
run: |
136139
@@ -143,3 +146,10 @@ jobs:
143146
144147
jupyter execute examples/mlir_python_extras.ipynb
145148
jupyter execute examples/vectorization_e2e.ipynb
149+
150+
- name: Test gpu examples
151+
shell: bash
152+
run: |
153+
154+
python examples/rdna_matmul_opt.py
155+
python examples/cuda_matmul_opt.py

0 commit comments

Comments
 (0)