From 4d89aa1003d43f65565d2e15bc4cfe5fe419a9b8 Mon Sep 17 00:00:00 2001 From: Chris Ninham <61634310+Nin17@users.noreply.github.com> Date: Wed, 26 Aug 2026 17:07:27 +0200 Subject: [PATCH 1/8] CI: add dpnp --- .github/workflows/tests.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index b2aa2348..02e2b109 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -43,6 +43,7 @@ jobs: if [ "${{ matrix.numpy-version }}" == "dev" ]; then python -m pip install numpy --pre --extra-index-url https://pypi.anaconda.org/scientific-python-nightly-wheels/simple python -m pip install dask[array] jax[cpu] + python -m pip install --index-url https://software.repos.intel.com/python/pypi dpnp if ["${{ matrix.python-version }}" != "3.14]; then python -m pip install sparse ndonnx fi @@ -53,6 +54,7 @@ jobs: else python -m pip install numpy python -m pip install dask[array] jax[cpu] + python -m pip install --index-url https://software.repos.intel.com/python/pypi dpnp if ["${{ matrix.python-version }}" != "3.14]; then python -m pip install sparse ndonnx fi From 61c5e342d4c49d63414cda229b926c0080efb9da Mon Sep 17 00:00:00 2001 From: Chris Ninham <61634310+Nin17@users.noreply.github.com> Date: Wed, 26 Aug 2026 19:05:00 +0200 Subject: [PATCH 2/8] CI: missing close quotes --- .github/workflows/tests.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 02e2b109..0e207a43 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -44,7 +44,7 @@ jobs: python -m pip install numpy --pre --extra-index-url https://pypi.anaconda.org/scientific-python-nightly-wheels/simple python -m pip install dask[array] jax[cpu] python -m pip install --index-url https://software.repos.intel.com/python/pypi dpnp - if ["${{ matrix.python-version }}" != "3.14]; then + if ["${{ matrix.python-version }}" != "3.14"]; then python -m pip install sparse ndonnx fi elif [ "${{ matrix.numpy-version }}" == "1.22" ]; then @@ -55,7 +55,7 @@ jobs: python -m pip install numpy python -m pip install dask[array] jax[cpu] python -m pip install --index-url https://software.repos.intel.com/python/pypi dpnp - if ["${{ matrix.python-version }}" != "3.14]; then + if ["${{ matrix.python-version }}" != "3.14"]; then python -m pip install sparse ndonnx fi fi From a6cad0c07bfcf43f81047a6a911ada08f8082dc1 Mon Sep 17 00:00:00 2001 From: Chris Ninham <61634310+Nin17@users.noreply.github.com> Date: Sun, 6 Sep 2026 21:40:03 +0200 Subject: [PATCH 3/8] CI: set dpnp cpu environment variable --- .github/workflows/tests.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 0e207a43..b4774f48 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -60,6 +60,9 @@ jobs: fi fi + - name: Set environment variables + run: echo "OCL_ICD_FILENAMES=/home/runner/.local/lib/libintelocl.so" >> "$GITHUB_ENV" + - name: Dump pip environment run: pip freeze From 9cfcb1ae0df3bd8e5cb8340e6a3d132f1536eeef Mon Sep 17 00:00:00 2001 From: Chris Ninham <61634310+Nin17@users.noreply.github.com> Date: Sun, 6 Sep 2026 21:52:49 +0200 Subject: [PATCH 4/8] CI: dpnp environment variable --- .github/workflows/tests.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 2d23294f..9136096d 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -44,6 +44,7 @@ jobs: python -m pip install numpy --pre --extra-index-url https://pypi.anaconda.org/scientific-python-nightly-wheels/simple python -m pip install dask[array] jax[cpu] python -m pip install --index-url https://software.repos.intel.com/python/pypi dpnp + echo "OCL_ICD_FILENAMES=/home/runner/.local/lib/libintelocl.so" >> "$GITHUB_ENV" if ["${{ matrix.python-version }}" != "3.14"]; then python -m pip install sparse ndonnx fi @@ -55,6 +56,7 @@ jobs: python -m pip install numpy python -m pip install dask[array] jax[cpu] python -m pip install --index-url https://software.repos.intel.com/python/pypi dpnp + echo "OCL_ICD_FILENAMES=/home/runner/.local/lib/libintelocl.so" >> "$GITHUB_ENV" if ["${{ matrix.python-version }}" != "3.14"]; then python -m pip install sparse ndonnx fi @@ -66,8 +68,8 @@ jobs: python -m pip install mparray fi - - name: Set environment variables - run: echo "OCL_ICD_FILENAMES=/home/runner/.local/lib/libintelocl.so" >> "$GITHUB_ENV" + # - name: Set environment variables + # run: echo "OCL_ICD_FILENAMES=/home/runner/.local/lib/libintelocl.so" >> "$GITHUB_ENV" - name: Dump pip environment run: pip freeze From c51923d34a3ade705ff136f0289d2b72fed003ba Mon Sep 17 00:00:00 2001 From: Chris Ninham <61634310+Nin17@users.noreply.github.com> Date: Sun, 6 Sep 2026 22:45:08 +0200 Subject: [PATCH 5/8] CI: dpnp environment variable --- .github/workflows/tests.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 9136096d..72c866bb 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -44,7 +44,6 @@ jobs: python -m pip install numpy --pre --extra-index-url https://pypi.anaconda.org/scientific-python-nightly-wheels/simple python -m pip install dask[array] jax[cpu] python -m pip install --index-url https://software.repos.intel.com/python/pypi dpnp - echo "OCL_ICD_FILENAMES=/home/runner/.local/lib/libintelocl.so" >> "$GITHUB_ENV" if ["${{ matrix.python-version }}" != "3.14"]; then python -m pip install sparse ndonnx fi @@ -56,7 +55,6 @@ jobs: python -m pip install numpy python -m pip install dask[array] jax[cpu] python -m pip install --index-url https://software.repos.intel.com/python/pypi dpnp - echo "OCL_ICD_FILENAMES=/home/runner/.local/lib/libintelocl.so" >> "$GITHUB_ENV" if ["${{ matrix.python-version }}" != "3.14"]; then python -m pip install sparse ndonnx fi @@ -68,8 +66,10 @@ jobs: python -m pip install mparray fi - # - name: Set environment variables - # run: echo "OCL_ICD_FILENAMES=/home/runner/.local/lib/libintelocl.so" >> "$GITHUB_ENV" + - name: Set environment variables + run: | + PREFIX=$(python -c "import sys; print(sys.prefix)") + echo "OCL_ICD_FILENAMES=$PREFIX/lib/libintelocl.so" >> "$GITHUB_ENV" - name: Dump pip environment run: pip freeze From 9d0e3453906510cc6a5d011ed93d665b83ac8572 Mon Sep 17 00:00:00 2001 From: Chris Ninham <61634310+Nin17@users.noreply.github.com> Date: Sun, 6 Sep 2026 23:31:53 +0200 Subject: [PATCH 6/8] CI: missing whitespace around [ & ] --- .github/workflows/tests.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 72c866bb..49e4d626 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -44,7 +44,7 @@ jobs: python -m pip install numpy --pre --extra-index-url https://pypi.anaconda.org/scientific-python-nightly-wheels/simple python -m pip install dask[array] jax[cpu] python -m pip install --index-url https://software.repos.intel.com/python/pypi dpnp - if ["${{ matrix.python-version }}" != "3.14"]; then + if [ "${{ matrix.python-version }}" != "3.14" ]; then python -m pip install sparse ndonnx fi elif [ "${{ matrix.numpy-version }}" == "1.22" ]; then @@ -55,7 +55,7 @@ jobs: python -m pip install numpy python -m pip install dask[array] jax[cpu] python -m pip install --index-url https://software.repos.intel.com/python/pypi dpnp - if ["${{ matrix.python-version }}" != "3.14"]; then + if [ "${{ matrix.python-version }}" != "3.14" ]; then python -m pip install sparse ndonnx fi fi From 7bcba8eb502d933fefc2ab2d114cd279a9af1713 Mon Sep 17 00:00:00 2001 From: Chris Ninham <61634310+Nin17@users.noreply.github.com> Date: Sun, 6 Sep 2026 23:36:02 +0200 Subject: [PATCH 7/8] CI: dpnp environment variable --- .github/workflows/tests.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 49e4d626..df2cf5c3 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -68,8 +68,7 @@ jobs: - name: Set environment variables run: | - PREFIX=$(python -c "import sys; print(sys.prefix)") - echo "OCL_ICD_FILENAMES=$PREFIX/lib/libintelocl.so" >> "$GITHUB_ENV" + echo "OCL_ICD_FILENAMES=$LD_LIBRARY_PATH/libintelocl.so" >> "$GITHUB_ENV" - name: Dump pip environment run: pip freeze From 0b49026aef3f601750f87b0d3ce59c7658657195 Mon Sep 17 00:00:00 2001 From: Chris Ninham <61634310+Nin17@users.noreply.github.com> Date: Sun, 6 Sep 2026 23:36:34 +0200 Subject: [PATCH 8/8] CI: dpnp environment variable --- .github/workflows/tests.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index df2cf5c3..8d1f2e1b 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -67,8 +67,7 @@ jobs: fi - name: Set environment variables - run: | - echo "OCL_ICD_FILENAMES=$LD_LIBRARY_PATH/libintelocl.so" >> "$GITHUB_ENV" + run: echo "OCL_ICD_FILENAMES=$LD_LIBRARY_PATH/libintelocl.so" >> "$GITHUB_ENV" - name: Dump pip environment run: pip freeze