Skip to content

fix nbs again #160

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
May 25, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 2 additions & 8 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -175,17 +175,11 @@ jobs:

pip install -q jupyter

SCRIPT_ADDRESS="https://raw.githubusercontent.com/makslevental/mlir-python-extras/refs/heads/${BRANCH}/scripts/get_latest_bindings.py"
curl $SCRIPT_ADDRESS -o get_latest_bindings.py
LATEST_VERSION=$(python get_latest_bindings.py "none")
pip install mlir_python_bindings==$LATEST_VERSION -f https://makslevental.github.io/wheels
pip install "git+https://github.com/makslevental/mlir-python-extras@$BRANCH"

sed -i.bak 's/OUTPUT_TIMEOUT = 10/OUTPUT_TIMEOUT = 1000/g' \
$(python -c 'import site; print(site.getsitepackages()[0])')/jupyter_client/runapp.py

jupyter execute examples/mlir_python_extras.ipynb --output=mlir_python_extras_output || true
cat examples/mlir_python_extras_output.ipynb
jupyter execute examples/mlir_python_extras.ipynb --output=mlir_python_extras_output
cat examples/mlir_python_extras_output.ipynb | jq '.cells[].outputs | select(length > 0) | .[0] | .text'
jupyter execute examples/vectorization_e2e.ipynb --output=vectorization_e2e_output
cat examples/vectorization_e2e_output.ipynb | jq '.cells[].outputs | select(length > 0) | .[0] | .text'
if [ ${{ matrix.os }} == 'ubuntu-22.04' ]; then
Expand Down
4 changes: 2 additions & 2 deletions examples/mlir_python_extras.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,8 @@
"%%bash\n",
"curl $SCRIPT_ADDRESS -o get_latest_bindings.py\n",
"latest_version=$(python get_latest_bindings.py \"none\")\n",
"pip install mlir_python_bindings==$latest_version -f https://makslevental.github.io/wheels\n",
"pip install git+https://github.com/makslevental/mlir-python-extras@$BRANCH"
"pip install -q mlir_python_bindings==$latest_version -f https://makslevental.github.io/wheels\n",
"pip install -q git+https://github.com/makslevental/mlir-python-extras@$BRANCH"
],
"outputs": [],
"execution_count": 12
Expand Down
7 changes: 0 additions & 7 deletions examples/vectorization_e2e.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,6 @@
}
},
"cells": [
{
"metadata": {},
"cell_type": "code",
"source": "",
"outputs": [],
"execution_count": null
},
{
"metadata": {},
"cell_type": "markdown",
Expand Down