Skip to content
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
4 changes: 1 addition & 3 deletions examples/cuda_e2e.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -32,12 +32,10 @@
{
"cell_type": "code",
"source": [
"!BRANCH=\"${BRANCH:-main}\"\n",
"!echo \"using BRANCH=$BRANCH\"\n",
"!script_address=\"https://raw.githubusercontent.com/makslevental/mlir-python-extras/refs/heads/$BRANCH/scripts/get_latest_gpu_bindings.py\"\n",
"!latest_cuda_version=$(curl $script_address | python -)\n",
"!pip install -q mlir_python_bindings==$latest_cuda_version -f https://makslevental.github.io/wheels\n",
"!pip install git+https://github.com/makslevental/mlir-python-extras@$BRANCH &> /dev/null"
"!BRANCH=\"${BRANCH:-main}\" && pip install -q git+https://github.com/makslevental/mlir-python-extras@$BRANCH"
],
"metadata": {
"colab": {
Expand Down
6 changes: 2 additions & 4 deletions examples/mlir_python_extras.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,8 @@
},
"outputs": [],
"source": [
"!BRANCH=\"${BRANCH:-main}\"\n",
"!echo \"using BRANCH=$BRANCH\"\n",
"!pip install mlir-python-bindings -f https://makslevental.github.io/wheels &> /dev/null\n",
"!pip install git+https://github.com/makslevental/mlir-python-extras@$BRANCH &> /dev/null"
"!pip install -q mlir-python-bindings -f https://makslevental.github.io/wheels\n",
"!BRANCH=\"${BRANCH:-main}\" && pip install -q git+https://github.com/makslevental/mlir-python-extras@$BRANCH"
]
},
{
Expand Down
34 changes: 19 additions & 15 deletions examples/vectorization_e2e.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -16,25 +16,29 @@
},
"cells": [
{
"metadata": {},
"cell_type": "code",
"outputs": [],
"execution_count": null,
"source": ""
},
{
"metadata": {},
"cell_type": "markdown",
"source": [
"# Welcome to `mlir-python-extras` enjoy your stay!\n",
"\n",
"more at https://github.com/makslevental/mlir-python-extras"
]
},
{
"metadata": {},
"cell_type": "code",
"execution_count": 1,
"metadata": {
"colab": {
"base_uri": "https://localhost:8080/"
},
"id": "Xh-QUDWiX-FD",
"outputId": "6865a63a-daa4-4610-e33a-721d37c0211f",
"ExecuteTime": {
"end_time": "2024-02-02T23:38:41.840251128Z",
"start_time": "2024-02-02T23:38:31.521453852Z"
}
},
"outputs": [],
"execution_count": null,
"source": [
"!BRANCH=\"${BRANCH:-main}\"\n",
"!echo \"using BRANCH=$BRANCH\"\n",
"!pip install -q mlir-python-bindings -f https://makslevental.github.io/wheels\n",
"!pip install -q git+https://github.com/makslevental/mlir-python-extras@$BRANCH"
"!BRANCH=\"${BRANCH:-main}\" && pip install -q git+https://github.com/makslevental/mlir-python-extras@$BRANCH\n"
]
},
{
Expand Down