diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 58386f4..24e0878 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -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 diff --git a/examples/mlir_python_extras.ipynb b/examples/mlir_python_extras.ipynb index b0b77f5..1070743 100644 --- a/examples/mlir_python_extras.ipynb +++ b/examples/mlir_python_extras.ipynb @@ -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 diff --git a/examples/vectorization_e2e.ipynb b/examples/vectorization_e2e.ipynb index ce68298..f3f0b4f 100644 --- a/examples/vectorization_e2e.ipynb +++ b/examples/vectorization_e2e.ipynb @@ -15,13 +15,6 @@ } }, "cells": [ - { - "metadata": {}, - "cell_type": "code", - "source": "", - "outputs": [], - "execution_count": null - }, { "metadata": {}, "cell_type": "markdown",