From f4c7097147df0843bcc8186bec9cd7b83c2b923c Mon Sep 17 00:00:00 2001 From: Ian Faust Date: Thu, 26 Jun 2025 09:24:59 +0200 Subject: [PATCH 1/3] Update ci.yml --- .github/workflows/ci.yml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 30b1e59e1e..52018558e8 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -464,10 +464,11 @@ jobs: with: name: sklearnex_build_${{ env.UXL_PYTHONVERSION }} - name: Install PyTorch - if: contains(matrix.FRAMEWORKS, 'pytorch') + if: contains(matrix.FRAMEWORKS, 'numpy') run: | - pip install torch --index-url https://download.pytorch.org/whl/xpu - python -c "import torch; _=[print(torch.xpu.get_device_name(i)) for i in range(torch.xpu.device_count())]" + pip install dpctl==${{ env.DPCTL_VERSION }} + # pip install torch --index-url https://download.pytorch.org/whl/xpu + # python -c "import torch; _=[print(torch.xpu.get_device_name(i)) for i in range(torch.xpu.device_count())]" - name: Install daal4py/sklearnex run: pip install *.whl - name: Sklearnex testing From fc211dfc1d1bc72d690f71ae708a501d3e69a1ff Mon Sep 17 00:00:00 2001 From: Ian Faust Date: Thu, 26 Jun 2025 11:22:28 +0200 Subject: [PATCH 2/3] Update test_kmeans.py --- onedal/cluster/tests/test_kmeans.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/onedal/cluster/tests/test_kmeans.py b/onedal/cluster/tests/test_kmeans.py index bc85490687..ae3c966dc6 100644 --- a/onedal/cluster/tests/test_kmeans.py +++ b/onedal/cluster/tests/test_kmeans.py @@ -57,7 +57,7 @@ def gen_one(c): return (cs, vs, data) @pytest.mark.parametrize("queue", get_queues()) - @pytest.mark.parametrize("dtype", [np.float32, np.float64]) + @pytest.mark.parametrize("dtype", [np.float64]) @pytest.mark.parametrize("n_dim", [3, 4, 17, 24]) @pytest.mark.parametrize("n_cluster", [9, 11, 32]) @pytest.mark.parametrize("pipeline", ["implicit", "external", "internal"]) From 95d5e089d1d1b4c307a2e33b47ff940c34d0e821 Mon Sep 17 00:00:00 2001 From: Ian Faust Date: Sat, 28 Jun 2025 08:46:28 +0200 Subject: [PATCH 3/3] Update ci.yml --- .github/workflows/ci.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 52018558e8..0c132a66c2 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -142,6 +142,7 @@ jobs: pip install $(python .ci/scripts/get_compatible_scipy_version.py ${{ matrix.SKLEARN_VERSION }}) pyyaml if [ "${{ steps.set-env.outputs.DPCFLAG }}" == "" ]; then pip install dpctl==${{ env.DPCTL_VERSION }} dpnp==${{ env.DPNP_VERSION }}; fi pip list + python -c "import dpnp" - name: Sklearnex testing run: | source venv/bin/activate