From 320479253a21b020ebd78092d87eb1200e25d88c Mon Sep 17 00:00:00 2001 From: Alexander Andreev Date: Mon, 11 Nov 2024 16:10:02 +0000 Subject: [PATCH 01/18] Update of conda-recipe building dependencies --- conda-recipe/meta.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/conda-recipe/meta.yaml b/conda-recipe/meta.yaml index cef1bbba49..8ad343780c 100644 --- a/conda-recipe/meta.yaml +++ b/conda-recipe/meta.yaml @@ -46,6 +46,7 @@ requirements: build: - make # [linux] - dpcpp_linux-64 # [linux64] + - kernel-headers_linux-64 ==4.18.0 # [linux64] # - dpcpp_win-64 # [win] - {{ compiler('cxx') }} # [linux64 or win] # conda-forge feedstock specific From f68ea7acf59a470ae0a9fe5a7a23b60f293931c9 Mon Sep 17 00:00:00 2001 From: Alexander Andreev Date: Mon, 11 Nov 2024 17:35:04 +0000 Subject: [PATCH 02/18] Update DPC deps in CI --- .ci/pipeline/build-and-test-lnx.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.ci/pipeline/build-and-test-lnx.yml b/.ci/pipeline/build-and-test-lnx.yml index b2440ae435..8f4e6edc8b 100644 --- a/.ci/pipeline/build-and-test-lnx.yml +++ b/.ci/pipeline/build-and-test-lnx.yml @@ -27,7 +27,7 @@ steps: conda config --add channels conda-forge conda config --set channel_priority strict conda update -y -q conda - conda create -q -y -n CB -c conda-forge python=$(PYTHON_VERSION) dal-devel mpich pyyaml "dpcpp-cpp-rt=2024.2.0" + conda create -q -y -n CB -c conda-forge python=$(PYTHON_VERSION) dal-devel mpich pyyaml "dpcpp-cpp-rt=2025.0.0" displayName: "Conda create" - script: | . /usr/share/miniconda/etc/profile.d/conda.sh @@ -48,7 +48,7 @@ steps: bash .ci/scripts/setup_sklearn.sh $(SKLEARN_VERSION) pip install --upgrade -r requirements-test.txt pip install $(python .ci/scripts/get_compatible_scipy_version.py) - if [ $(echo $(PYTHON_VERSION) | grep '3.9\|3.11') ] && [ $(SKLEARN_VERSION) != "1.0" ]; then conda install -q -y -c https://software.repos.intel.com/python/conda/ dpctl=0.17.0 dpnp=0.15.0; fi + if [ $(SKLEARN_VERSION) != "1.0" ]; then conda install -q -y -c https://software.repos.intel.com/python/conda/ dpctl=0.18.1 dpnp=0.16.0; fi pip list displayName: "Install testing requirements" - script: | From 49b9e828d7ae13a0ce0f6171addbe5f27850b106 Mon Sep 17 00:00:00 2001 From: Alexander Andreev Date: Mon, 11 Nov 2024 18:05:59 +0000 Subject: [PATCH 03/18] Update DPC compiler version to 2025 --- .ci/scripts/install_dpcpp.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.ci/scripts/install_dpcpp.sh b/.ci/scripts/install_dpcpp.sh index 0d8f8b690b..c2adf8d784 100755 --- a/.ci/scripts/install_dpcpp.sh +++ b/.ci/scripts/install_dpcpp.sh @@ -21,5 +21,5 @@ rm GPG-PUB-KEY-INTEL-SW-PRODUCTS-2023.PUB echo "deb https://apt.repos.intel.com/oneapi all main" | sudo tee /etc/apt/sources.list.d/oneAPI.list sudo add-apt-repository -y "deb https://apt.repos.intel.com/oneapi all main" sudo apt-get update -sudo apt-get install -y intel-dpcpp-cpp-compiler-2024.2 +sudo apt-get install -y intel-dpcpp-cpp-compiler-2025.0 sudo bash -c 'echo libintelocl.so > /etc/OpenCL/vendors/intel-cpu.icd' From 5474deda1d1c7a2595e3de7ab815d06e1ca1f72b Mon Sep 17 00:00:00 2001 From: Alexander Andreev Date: Mon, 11 Nov 2024 21:31:53 +0000 Subject: [PATCH 04/18] Change compiler installation to conda-forge --- .ci/pipeline/build-and-test-lnx.yml | 15 ++++++--------- 1 file changed, 6 insertions(+), 9 deletions(-) diff --git a/.ci/pipeline/build-and-test-lnx.yml b/.ci/pipeline/build-and-test-lnx.yml index 8f4e6edc8b..b7c9072c3a 100644 --- a/.ci/pipeline/build-and-test-lnx.yml +++ b/.ci/pipeline/build-and-test-lnx.yml @@ -16,19 +16,17 @@ steps: - script: sudo apt-get update && sudo apt-get install -y clang-format displayName: "apt-get" - - script: | - bash .ci/scripts/install_dpcpp.sh - displayName: "dpcpp installation" - - script: | - source /opt/intel/oneapi/compiler/latest/env/vars.sh - bash .ci/scripts/describe_system.sh - displayName: "System info" - script: | conda config --add channels conda-forge conda config --set channel_priority strict conda update -y -q conda - conda create -q -y -n CB -c conda-forge python=$(PYTHON_VERSION) dal-devel mpich pyyaml "dpcpp-cpp-rt=2025.0.0" + conda create -q -y -n CB -c conda-forge python=$(PYTHON_VERSION) dal-devel=2025 mpich pyyaml dpcpp_linux-64=2025.0 dpcpp-cpp-rt=2025.0 displayName: "Conda create" + - script: | + . /usr/share/miniconda/etc/profile.d/conda.sh + conda activate CB + bash .ci/scripts/describe_system.sh + displayName: "System info" - script: | . /usr/share/miniconda/etc/profile.d/conda.sh conda activate CB @@ -36,7 +34,6 @@ steps: pip list displayName: "Install develop requirements" - script: | - export DPCPPROOT=/opt/intel/oneapi/compiler/latest . /usr/share/miniconda/etc/profile.d/conda.sh conda activate CB export DALROOT=$CONDA_PREFIX From 6a7a8bd9601182ce6f69e1930c233398d3490d91 Mon Sep 17 00:00:00 2001 From: Alexander Andreev Date: Mon, 11 Nov 2024 23:22:58 +0000 Subject: [PATCH 05/18] Reorder dpep pkgs installation --- .ci/pipeline/build-and-test-lnx.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.ci/pipeline/build-and-test-lnx.yml b/.ci/pipeline/build-and-test-lnx.yml index b7c9072c3a..3d1848f759 100644 --- a/.ci/pipeline/build-and-test-lnx.yml +++ b/.ci/pipeline/build-and-test-lnx.yml @@ -42,10 +42,10 @@ steps: - script: | . /usr/share/miniconda/etc/profile.d/conda.sh conda activate CB + if [ $(SKLEARN_VERSION) != "1.0" ]; then conda install -q -y -c https://software.repos.intel.com/python/conda/ dpctl=0.18 dpnp=0.16; fi bash .ci/scripts/setup_sklearn.sh $(SKLEARN_VERSION) pip install --upgrade -r requirements-test.txt pip install $(python .ci/scripts/get_compatible_scipy_version.py) - if [ $(SKLEARN_VERSION) != "1.0" ]; then conda install -q -y -c https://software.repos.intel.com/python/conda/ dpctl=0.18.1 dpnp=0.16.0; fi pip list displayName: "Install testing requirements" - script: | From 90ca9cb4ecc008fb93055a95071363d4aedd8058 Mon Sep 17 00:00:00 2001 From: Alexander Andreev Date: Mon, 11 Nov 2024 23:24:47 +0000 Subject: [PATCH 06/18] Move dpcpp-cpp-rt from running deps to optional test deps --- conda-recipe/meta.yaml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/conda-recipe/meta.yaml b/conda-recipe/meta.yaml index 8ad343780c..20e331c2dc 100644 --- a/conda-recipe/meta.yaml +++ b/conda-recipe/meta.yaml @@ -67,7 +67,6 @@ requirements: run: - python - {{ pin_compatible('numpy') }} - - dpcpp-cpp-rt # [linux64] # dal pinning depends on the recipe location (repo or feedstock) - dal # - dal =={{ version }} @@ -76,6 +75,8 @@ test: requires: - pyyaml - impi_rt # [not win] + # DPC part of sklearnex is optional + - dpcpp-cpp-rt # [linux64] # TODO: enable data parallel frameworks when they are available on conda-forge # - dpctl # - dpnp From f38468053810846d77e4387d5ff8d9fde07fcc98 Mon Sep 17 00:00:00 2001 From: Alexander Andreev Date: Tue, 12 Nov 2024 11:25:22 +0000 Subject: [PATCH 07/18] Remove duplicated installation of numpy --- .ci/pipeline/build-and-test-lnx.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.ci/pipeline/build-and-test-lnx.yml b/.ci/pipeline/build-and-test-lnx.yml index 3d1848f759..936e474845 100644 --- a/.ci/pipeline/build-and-test-lnx.yml +++ b/.ci/pipeline/build-and-test-lnx.yml @@ -43,6 +43,7 @@ steps: . /usr/share/miniconda/etc/profile.d/conda.sh conda activate CB if [ $(SKLEARN_VERSION) != "1.0" ]; then conda install -q -y -c https://software.repos.intel.com/python/conda/ dpctl=0.18 dpnp=0.16; fi + conda uninstall --force numpy numpy-base bash .ci/scripts/setup_sklearn.sh $(SKLEARN_VERSION) pip install --upgrade -r requirements-test.txt pip install $(python .ci/scripts/get_compatible_scipy_version.py) From c885723dbb52af042f0c25e29dbe8ad9eaac7f82 Mon Sep 17 00:00:00 2001 From: Alexander Andreev Date: Tue, 12 Nov 2024 12:34:49 +0000 Subject: [PATCH 08/18] Change dpep installation to PyPI --- .ci/pipeline/build-and-test-lnx.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.ci/pipeline/build-and-test-lnx.yml b/.ci/pipeline/build-and-test-lnx.yml index 936e474845..5dd8eeaa06 100644 --- a/.ci/pipeline/build-and-test-lnx.yml +++ b/.ci/pipeline/build-and-test-lnx.yml @@ -42,11 +42,10 @@ steps: - script: | . /usr/share/miniconda/etc/profile.d/conda.sh conda activate CB - if [ $(SKLEARN_VERSION) != "1.0" ]; then conda install -q -y -c https://software.repos.intel.com/python/conda/ dpctl=0.18 dpnp=0.16; fi - conda uninstall --force numpy numpy-base bash .ci/scripts/setup_sklearn.sh $(SKLEARN_VERSION) pip install --upgrade -r requirements-test.txt pip install $(python .ci/scripts/get_compatible_scipy_version.py) + if [ $(SKLEARN_VERSION) != "1.0" ]; then pip install dpctl==0.18.* dpnp==0.16.*; fi pip list displayName: "Install testing requirements" - script: | From 6ecd4111f1a95d8cd921b5f89685e67908783e52 Mon Sep 17 00:00:00 2001 From: Alexander Andreev Date: Tue, 12 Nov 2024 16:17:34 +0000 Subject: [PATCH 09/18] Change mpich to impi-devel in lnx CI --- .ci/pipeline/build-and-test-lnx.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.ci/pipeline/build-and-test-lnx.yml b/.ci/pipeline/build-and-test-lnx.yml index 5dd8eeaa06..115edfc7c6 100644 --- a/.ci/pipeline/build-and-test-lnx.yml +++ b/.ci/pipeline/build-and-test-lnx.yml @@ -20,7 +20,7 @@ steps: conda config --add channels conda-forge conda config --set channel_priority strict conda update -y -q conda - conda create -q -y -n CB -c conda-forge python=$(PYTHON_VERSION) dal-devel=2025 mpich pyyaml dpcpp_linux-64=2025.0 dpcpp-cpp-rt=2025.0 + conda create -q -y -n CB -c conda-forge python=$(PYTHON_VERSION) dal-devel=2025.0 impi-devel=2021.14 pyyaml dpcpp_linux-64=2025.0 dpcpp-cpp-rt=2025.0 displayName: "Conda create" - script: | . /usr/share/miniconda/etc/profile.d/conda.sh From 248abbdf21b6a08cab20037c20f419d8f49aeb38 Mon Sep 17 00:00:00 2001 From: Alexander Andreev Date: Wed, 13 Nov 2024 12:08:51 +0000 Subject: [PATCH 10/18] Revert dpc compiler installation --- .ci/pipeline/build-and-test-lnx.yml | 17 ++++++++++------- 1 file changed, 10 insertions(+), 7 deletions(-) diff --git a/.ci/pipeline/build-and-test-lnx.yml b/.ci/pipeline/build-and-test-lnx.yml index 115edfc7c6..36ed7ad97d 100644 --- a/.ci/pipeline/build-and-test-lnx.yml +++ b/.ci/pipeline/build-and-test-lnx.yml @@ -16,17 +16,19 @@ steps: - script: sudo apt-get update && sudo apt-get install -y clang-format displayName: "apt-get" + - script: | + bash .ci/scripts/install_dpcpp.sh + displayName: "dpcpp installation" + - script: | + source /opt/intel/oneapi/compiler/latest/env/vars.sh + bash .ci/scripts/describe_system.sh + displayName: "System info" - script: | conda config --add channels conda-forge conda config --set channel_priority strict conda update -y -q conda - conda create -q -y -n CB -c conda-forge python=$(PYTHON_VERSION) dal-devel=2025.0 impi-devel=2021.14 pyyaml dpcpp_linux-64=2025.0 dpcpp-cpp-rt=2025.0 + conda create -q -y -n CB -c conda-forge python=$(PYTHON_VERSION) dal-devel=2025 mpich pyyaml dpcpp-cpp-rt=2025.0 displayName: "Conda create" - - script: | - . /usr/share/miniconda/etc/profile.d/conda.sh - conda activate CB - bash .ci/scripts/describe_system.sh - displayName: "System info" - script: | . /usr/share/miniconda/etc/profile.d/conda.sh conda activate CB @@ -34,6 +36,7 @@ steps: pip list displayName: "Install develop requirements" - script: | + export DPCPPROOT=/opt/intel/oneapi/compiler/latest . /usr/share/miniconda/etc/profile.d/conda.sh conda activate CB export DALROOT=$CONDA_PREFIX @@ -45,7 +48,7 @@ steps: bash .ci/scripts/setup_sklearn.sh $(SKLEARN_VERSION) pip install --upgrade -r requirements-test.txt pip install $(python .ci/scripts/get_compatible_scipy_version.py) - if [ $(SKLEARN_VERSION) != "1.0" ]; then pip install dpctl==0.18.* dpnp==0.16.*; fi + if [ $(echo $(PYTHON_VERSION) | grep '3.9\|3.12') ] && [ $(SKLEARN_VERSION) != "1.0" ]; then pip install dpctl==0.18.* dpnp==0.16.*; fi pip list displayName: "Install testing requirements" - script: | From 4c112e69ef32460b3ac007f35dd3e37848e906f3 Mon Sep 17 00:00:00 2001 From: Alexander Andreev Date: Wed, 13 Nov 2024 12:10:09 +0000 Subject: [PATCH 11/18] Update conda recipe --- conda-recipe/meta.yaml | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/conda-recipe/meta.yaml b/conda-recipe/meta.yaml index 20e331c2dc..9cca62ec0d 100644 --- a/conda-recipe/meta.yaml +++ b/conda-recipe/meta.yaml @@ -41,12 +41,14 @@ build: - DPCPPROOT - DALROOT - NO_DIST=1 # [win] + ignore_run_exports: + - dpcpp_linux-64 # [linux64] + # - dpcpp_win-64 # [win] requirements: build: - make # [linux] - dpcpp_linux-64 # [linux64] - - kernel-headers_linux-64 ==4.18.0 # [linux64] # - dpcpp_win-64 # [win] - {{ compiler('cxx') }} # [linux64 or win] # conda-forge feedstock specific @@ -59,14 +61,15 @@ requirements: - cython - jinja2 - pybind11 - - numpy {{ numpy }} - - impi-devel # [not win] + - numpy + - mpich # [not win] # dal-devel pinning depends on the recipe location (repo or feedstock) - dal-devel # - dal-devel =={{ version }} run: - python - - {{ pin_compatible('numpy') }} + - numpy + - scikit-learn # dal pinning depends on the recipe location (repo or feedstock) - dal # - dal =={{ version }} @@ -82,7 +85,6 @@ test: # - dpnp # next deps are synced with requirements-test.txt - pytest - - scikit-learn - pandas - xgboost - lightgbm From 67e543044e7d08f3f662a7a5ff3ca01b3ac09b10 Mon Sep 17 00:00:00 2001 From: Alexander Andreev Date: Wed, 13 Nov 2024 12:27:11 +0000 Subject: [PATCH 12/18] Fix conda-recipe --- conda-recipe/meta.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/conda-recipe/meta.yaml b/conda-recipe/meta.yaml index 9cca62ec0d..d3e570792c 100644 --- a/conda-recipe/meta.yaml +++ b/conda-recipe/meta.yaml @@ -77,7 +77,7 @@ requirements: test: requires: - pyyaml - - impi_rt # [not win] + - mpich # [not win] # DPC part of sklearnex is optional - dpcpp-cpp-rt # [linux64] # TODO: enable data parallel frameworks when they are available on conda-forge From 7bdafbc61e64f65917dfc182dc28c92626b2dbd5 Mon Sep 17 00:00:00 2001 From: Alexander Andreev Date: Wed, 13 Nov 2024 14:07:33 +0000 Subject: [PATCH 13/18] Modify py versions for dpep installation --- .ci/pipeline/build-and-test-lnx.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.ci/pipeline/build-and-test-lnx.yml b/.ci/pipeline/build-and-test-lnx.yml index 36ed7ad97d..28f3182107 100644 --- a/.ci/pipeline/build-and-test-lnx.yml +++ b/.ci/pipeline/build-and-test-lnx.yml @@ -48,7 +48,7 @@ steps: bash .ci/scripts/setup_sklearn.sh $(SKLEARN_VERSION) pip install --upgrade -r requirements-test.txt pip install $(python .ci/scripts/get_compatible_scipy_version.py) - if [ $(echo $(PYTHON_VERSION) | grep '3.9\|3.12') ] && [ $(SKLEARN_VERSION) != "1.0" ]; then pip install dpctl==0.18.* dpnp==0.16.*; fi + if [ $(echo $(PYTHON_VERSION) | grep '3.9\|3.10\|3.11\|3.12') ] && [ $(SKLEARN_VERSION) != "1.0" ]; then pip install dpctl==0.18.* dpnp==0.16.*; fi pip list displayName: "Install testing requirements" - script: | From 6615964d11c17fe09ea717735a94d39f6056de95 Mon Sep 17 00:00:00 2001 From: Alexander Andreev Date: Wed, 13 Nov 2024 14:16:55 +0000 Subject: [PATCH 14/18] Use dpcpp-rt from apt installation --- .ci/pipeline/build-and-test-lnx.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.ci/pipeline/build-and-test-lnx.yml b/.ci/pipeline/build-and-test-lnx.yml index 28f3182107..6548098d39 100644 --- a/.ci/pipeline/build-and-test-lnx.yml +++ b/.ci/pipeline/build-and-test-lnx.yml @@ -27,7 +27,7 @@ steps: conda config --add channels conda-forge conda config --set channel_priority strict conda update -y -q conda - conda create -q -y -n CB -c conda-forge python=$(PYTHON_VERSION) dal-devel=2025 mpich pyyaml dpcpp-cpp-rt=2025.0 + conda create -q -y -n CB -c conda-forge python=$(PYTHON_VERSION) dal-devel=2025 mpich pyyaml displayName: "Conda create" - script: | . /usr/share/miniconda/etc/profile.d/conda.sh @@ -43,6 +43,7 @@ steps: ./conda-recipe/build.sh displayName: "Build daal4py/sklearnex" - script: | + . /opt/intel/oneapi/setvars.sh . /usr/share/miniconda/etc/profile.d/conda.sh conda activate CB bash .ci/scripts/setup_sklearn.sh $(SKLEARN_VERSION) From a30692a1e792556ba4cec48f1773267a188dd58d Mon Sep 17 00:00:00 2001 From: Alexander Andreev Date: Wed, 13 Nov 2024 15:54:15 +0000 Subject: [PATCH 15/18] Revert "Use dpcpp-rt from apt installation" This reverts commit 6615964d11c17fe09ea717735a94d39f6056de95. --- .ci/pipeline/build-and-test-lnx.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.ci/pipeline/build-and-test-lnx.yml b/.ci/pipeline/build-and-test-lnx.yml index 6548098d39..28f3182107 100644 --- a/.ci/pipeline/build-and-test-lnx.yml +++ b/.ci/pipeline/build-and-test-lnx.yml @@ -27,7 +27,7 @@ steps: conda config --add channels conda-forge conda config --set channel_priority strict conda update -y -q conda - conda create -q -y -n CB -c conda-forge python=$(PYTHON_VERSION) dal-devel=2025 mpich pyyaml + conda create -q -y -n CB -c conda-forge python=$(PYTHON_VERSION) dal-devel=2025 mpich pyyaml dpcpp-cpp-rt=2025.0 displayName: "Conda create" - script: | . /usr/share/miniconda/etc/profile.d/conda.sh @@ -43,7 +43,6 @@ steps: ./conda-recipe/build.sh displayName: "Build daal4py/sklearnex" - script: | - . /opt/intel/oneapi/setvars.sh . /usr/share/miniconda/etc/profile.d/conda.sh conda activate CB bash .ci/scripts/setup_sklearn.sh $(SKLEARN_VERSION) From 6df1e6884d3be2d0534386691d8718585367f02e Mon Sep 17 00:00:00 2001 From: Alexander Andreev Date: Wed, 13 Nov 2024 19:27:42 +0000 Subject: [PATCH 16/18] Remove py312 for dpep installation --- .ci/pipeline/build-and-test-lnx.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.ci/pipeline/build-and-test-lnx.yml b/.ci/pipeline/build-and-test-lnx.yml index 28f3182107..3e755374b6 100644 --- a/.ci/pipeline/build-and-test-lnx.yml +++ b/.ci/pipeline/build-and-test-lnx.yml @@ -48,7 +48,7 @@ steps: bash .ci/scripts/setup_sklearn.sh $(SKLEARN_VERSION) pip install --upgrade -r requirements-test.txt pip install $(python .ci/scripts/get_compatible_scipy_version.py) - if [ $(echo $(PYTHON_VERSION) | grep '3.9\|3.10\|3.11\|3.12') ] && [ $(SKLEARN_VERSION) != "1.0" ]; then pip install dpctl==0.18.* dpnp==0.16.*; fi + if [ $(echo $(PYTHON_VERSION) | grep '3.9\|3.10\|3.11') ] && [ $(SKLEARN_VERSION) != "1.0" ]; then pip install dpctl==0.18.* dpnp==0.16.*; fi pip list displayName: "Install testing requirements" - script: | From e97c6070cbc3fa383bf6372a5b7d406ad25703be Mon Sep 17 00:00:00 2001 From: Alexander Andreev Date: Thu, 14 Nov 2024 00:07:01 +0000 Subject: [PATCH 17/18] Revert mpi to impi --- conda-recipe/meta.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/conda-recipe/meta.yaml b/conda-recipe/meta.yaml index d3e570792c..e8deda252c 100644 --- a/conda-recipe/meta.yaml +++ b/conda-recipe/meta.yaml @@ -62,7 +62,7 @@ requirements: - jinja2 - pybind11 - numpy - - mpich # [not win] + - impi-devel # [not win] # dal-devel pinning depends on the recipe location (repo or feedstock) - dal-devel # - dal-devel =={{ version }} @@ -77,7 +77,7 @@ requirements: test: requires: - pyyaml - - mpich # [not win] + - impi_rt # [not win] # DPC part of sklearnex is optional - dpcpp-cpp-rt # [linux64] # TODO: enable data parallel frameworks when they are available on conda-forge From 664f3edd2d5c9d79382894b5c3031fde48874ab5 Mon Sep 17 00:00:00 2001 From: Alexander Andreev Date: Thu, 14 Nov 2024 11:01:56 +0000 Subject: [PATCH 18/18] Add comment about dpep installation --- .ci/pipeline/build-and-test-lnx.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.ci/pipeline/build-and-test-lnx.yml b/.ci/pipeline/build-and-test-lnx.yml index 3e755374b6..09e425bf0d 100644 --- a/.ci/pipeline/build-and-test-lnx.yml +++ b/.ci/pipeline/build-and-test-lnx.yml @@ -48,6 +48,8 @@ steps: bash .ci/scripts/setup_sklearn.sh $(SKLEARN_VERSION) pip install --upgrade -r requirements-test.txt pip install $(python .ci/scripts/get_compatible_scipy_version.py) + # dpep installation is set to pypi to avoid conflict of numpy versions from pip and conda + # py312 is disabled due to segfault on exit of program with usage of dpctl if [ $(echo $(PYTHON_VERSION) | grep '3.9\|3.10\|3.11') ] && [ $(SKLEARN_VERSION) != "1.0" ]; then pip install dpctl==0.18.* dpnp==0.16.*; fi pip list displayName: "Install testing requirements"