File tree Expand file tree Collapse file tree 3 files changed +4
-17
lines changed Expand file tree Collapse file tree 3 files changed +4
-17
lines changed Original file line number Diff line number Diff line change @@ -175,17 +175,11 @@ jobs:
175
175
176
176
pip install -q jupyter
177
177
178
- SCRIPT_ADDRESS="https://raw.githubusercontent.com/makslevental/mlir-python-extras/refs/heads/${BRANCH}/scripts/get_latest_bindings.py"
179
- curl $SCRIPT_ADDRESS -o get_latest_bindings.py
180
- LATEST_VERSION=$(python get_latest_bindings.py "none")
181
- pip install mlir_python_bindings==$LATEST_VERSION -f https://makslevental.github.io/wheels
182
- pip install "git+https://github.com/makslevental/mlir-python-extras@$BRANCH"
183
-
184
178
sed -i.bak 's/OUTPUT_TIMEOUT = 10/OUTPUT_TIMEOUT = 1000/g' \
185
179
$(python -c 'import site; print(site.getsitepackages()[0])')/jupyter_client/runapp.py
186
180
187
- jupyter execute examples/mlir_python_extras.ipynb --output=mlir_python_extras_output || true
188
- cat examples/mlir_python_extras_output.ipynb
181
+ jupyter execute examples/mlir_python_extras.ipynb --output=mlir_python_extras_output
182
+ cat examples/mlir_python_extras_output.ipynb | jq '.cells[].outputs | select(length > 0) | .[0] | .text'
189
183
jupyter execute examples/vectorization_e2e.ipynb --output=vectorization_e2e_output
190
184
cat examples/vectorization_e2e_output.ipynb | jq '.cells[].outputs | select(length > 0) | .[0] | .text'
191
185
if [ ${{ matrix.os }} == 'ubuntu-22.04' ]; then
Original file line number Diff line number Diff line change 42
42
" %%bash\n " ,
43
43
" curl $SCRIPT_ADDRESS -o get_latest_bindings.py\n " ,
44
44
" latest_version=$(python get_latest_bindings.py \" none\" )\n " ,
45
- " pip install mlir_python_bindings==$latest_version -f https://makslevental.github.io/wheels\n " ,
46
- " pip install git+https://github.com/makslevental/mlir-python-extras@$BRANCH"
45
+ " pip install -q mlir_python_bindings==$latest_version -f https://makslevental.github.io/wheels\n " ,
46
+ " pip install -q git+https://github.com/makslevental/mlir-python-extras@$BRANCH"
47
47
],
48
48
"outputs" : [],
49
49
"execution_count" : 12
Original file line number Diff line number Diff line change 15
15
}
16
16
},
17
17
"cells" : [
18
- {
19
- "metadata" : {},
20
- "cell_type" : " code" ,
21
- "source" : " " ,
22
- "outputs" : [],
23
- "execution_count" : null
24
- },
25
18
{
26
19
"metadata" : {},
27
20
"cell_type" : " markdown" ,
You can’t perform that action at this time.
0 commit comments