Skip to content

Commit 09c2cb8

Browse files
authored
fix cuda notebook (#147)
1 parent c499c31 commit 09c2cb8

File tree

2 files changed

+197
-480
lines changed

2 files changed

+197
-480
lines changed

.github/workflows/test.yml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -141,16 +141,21 @@ jobs:
141141
# sed: can't read C:\hostedtoolcache\windows\Python\3.12.10\x64/jupyter_client/runapp.py: No such file or directory
142142
if: matrix.os != 'windows-2022'
143143
shell: bash
144+
env:
145+
BRANCH: ${{ github.head_ref || github.ref_name }}
144146
run: |
145147
146-
pip install jupyter
148+
pip install -q jupyter
147149
148150
sed -i.bak 's/OUTPUT_TIMEOUT = 10/OUTPUT_TIMEOUT = 100/g' \
149151
$(python -c 'import site; print(site.getsitepackages()[0])')/jupyter_client/runapp.py
150152
151153
jupyter execute examples/mlir_python_extras.ipynb
152154
jupyter execute examples/vectorization_e2e.ipynb
153-
155+
if [ ${{ matrix.os }} == 'ubuntu-22.04' ]; then
156+
jupyter execute examples/cuda_e2e.ipynb
157+
fi
158+
154159
- name: Test gpu examples
155160
shell: bash
156161
run: |

0 commit comments

Comments
 (0)