This is an automated email from the ASF dual-hosted git repository.
guanmingchiu pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/mahout.git
The following commit(s) were added to refs/heads/main by this push:
new 34feb7601 MAHOUT-892 Update benchmark notebook for new changes (#900)
34feb7601 is described below
commit 34feb7601b263f5e252f3ad56428e8713f6c8384
Author: Ryan Huang <[email protected]>
AuthorDate: Thu Jan 22 09:14:35 2026 +0800
MAHOUT-892 Update benchmark notebook for new changes (#900)
---
.../benchmark/notebooks/mahout_benchmark.ipynb | 34 +++++-----------------
1 file changed, 8 insertions(+), 26 deletions(-)
diff --git a/qdp/qdp-python/benchmark/notebooks/mahout_benchmark.ipynb
b/qdp/qdp-python/benchmark/notebooks/mahout_benchmark.ipynb
index 8b0786ace..b1583a500 100644
--- a/qdp/qdp-python/benchmark/notebooks/mahout_benchmark.ipynb
+++ b/qdp/qdp-python/benchmark/notebooks/mahout_benchmark.ipynb
@@ -18,7 +18,7 @@
},
"collapsed": true,
"id": "-hkLubLFXs_8",
- "outputId": "35d2da5a-3b86-4340-fe96-8329b0f63fbb"
+ "outputId": "7bdf179b-71ed-455b-ef8e-17969acf1db5"
},
"outputs": [],
"source": [
@@ -39,7 +39,7 @@
},
"collapsed": true,
"id": "_HEpQ4F3C4gV",
- "outputId": "5dc64f8a-88b5-40da-b72b-145ee2034262"
+ "outputId": "b45d4dac-f093-4370-f9e9-8b9adc6972c7"
},
"outputs": [],
"source": [
@@ -62,7 +62,7 @@
},
"collapsed": true,
"id": "ljkluVL5ES4S",
- "outputId": "aced063f-5dae-471d-a1b6-3cac437fe074"
+ "outputId": "8c719c4d-cdcc-4474-f4cf-e1b0b41f63bc"
},
"outputs": [],
"source": [
@@ -77,7 +77,7 @@
"base_uri": "https://localhost:8080/"
},
"id": "9cgMNKOoEgYm",
- "outputId": "1cfd677c-2858-4e75-a949-5752d61fc6bb"
+ "outputId": "c2c1c8d4-ac57-415a-d4ae-94dfb422b619"
},
"outputs": [],
"source": [
@@ -102,39 +102,21 @@
},
"collapsed": true,
"id": "u7Skxs7lDBlq",
- "outputId": "8ef09700-8551-4d19-cb9e-1ba05f2641c5"
+ "outputId": "9b594df0-a8b2-4c6c-8c88-2a76f16c9c1d"
},
"outputs": [],
"source": [
"# 1. Clone the repository\n",
- "!git clone -b dev-qdp https://github.com/apache/mahout.git\n",
+ "!git clone https://github.com/apache/mahout.git\n",
"\n",
"# 2. Install Python Dependencies\n",
"# We use the requirements file provided in the benchmark folder\n",
"%cd /content/mahout/qdp/qdp-python\n",
"!uv venv -p python3.11\n",
"\n",
- "!uv sync --group dev\n",
"!uv sync --group benchmark"
]
},
- {
- "cell_type": "code",
- "execution_count": null,
- "metadata": {
- "colab": {
- "base_uri": "https://localhost:8080/"
- },
- "id": "fVUL1wnBp6X1",
- "outputId": "a7f7b66c-e2f2-4e6c-b633-ffea4e7ca840"
- },
- "outputs": [],
- "source": [
- "!rm -rf /content/mahout/qdp/target/wheels/*\n",
- "!uv run maturin build --interpreter .venv/bin/python\n",
- "!uv pip install /content/mahout/qdp/target/wheels/*.whl --python
.venv/bin/python --force-reinstall"
- ]
- },
{
"cell_type": "code",
"execution_count": null,
@@ -144,7 +126,7 @@
},
"collapsed": true,
"id": "qqmfUHGsGm8m",
- "outputId": "2e49ecce-1b3d-4954-bc4e-b823106b3839"
+ "outputId": "10b2598d-0d0c-47d0-fda8-b5e825c64e77"
},
"outputs": [],
"source": [
@@ -168,7 +150,7 @@
"base_uri": "https://localhost:8080/"
},
"id": "iuP5BdI3E-oR",
- "outputId": "e60bfe3c-145d-4962-fbbc-25f39f1ca69f"
+ "outputId": "632019c3-da2e-4184-87ca-412b86555232"
},
"outputs": [],
"source": [