From 97ee84a7e4ac3b8c23c597db09d7566d8411af3a Mon Sep 17 00:00:00 2001 From: Ethan Glaser Date: Wed, 27 Nov 2024 11:12:07 -0800 Subject: [PATCH 1/5] ci: add NO_DIST to sklearnex workload --- .ci/pipeline/ci.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.ci/pipeline/ci.yml b/.ci/pipeline/ci.yml index b0d1433d9d5..9c50edd384c 100755 --- a/.ci/pipeline/ci.yml +++ b/.ci/pipeline/ci.yml @@ -622,6 +622,7 @@ jobs: export PREFIX=${CONDA_PREFIX} cd sklearnex export PYTHON=python + export NO_DIST=1 ./conda-recipe/build.sh displayName: sklearnex build - task: PublishPipelineArtifact@1 From b553d2b5b28460248060c773ba9585c089af4fe5 Mon Sep 17 00:00:00 2001 From: Ethan Glaser Date: Wed, 27 Nov 2024 15:03:08 -0800 Subject: [PATCH 2/5] add no-dist to run_examples --- .ci/pipeline/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.ci/pipeline/ci.yml b/.ci/pipeline/ci.yml index 9c50edd384c..62e8abbaeb5 100755 --- a/.ci/pipeline/ci.yml +++ b/.ci/pipeline/ci.yml @@ -643,7 +643,7 @@ jobs: conda activate CB source $(Pipeline.Workspace)/daal/latest/env/vars.sh ret_code=0 - python -m sklearnex sklearnex/tests/run_examples.py + python -m sklearnex sklearnex/tests/run_examples.py --no-dist ret_code=$(($ret_code + $?)) exit $ret_code displayName: sklearnex examples From ac3f6145a9d0d25077c0c28957028e4d070f233c Mon Sep 17 00:00:00 2001 From: ethanglaser <42726565+ethanglaser@users.noreply.github.com> Date: Wed, 27 Nov 2024 17:37:42 -0800 Subject: [PATCH 3/5] Update .ci/pipeline/ci.yml --- .ci/pipeline/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.ci/pipeline/ci.yml b/.ci/pipeline/ci.yml index 62e8abbaeb5..047add5b909 100755 --- a/.ci/pipeline/ci.yml +++ b/.ci/pipeline/ci.yml @@ -643,7 +643,7 @@ jobs: conda activate CB source $(Pipeline.Workspace)/daal/latest/env/vars.sh ret_code=0 - python -m sklearnex sklearnex/tests/run_examples.py --no-dist + python -m sklearnex sklearnex/tests/run_examples.py --nodist ret_code=$(($ret_code + $?)) exit $ret_code displayName: sklearnex examples From 197becc25e08f2419cb1b72ef17d275411b24a8e Mon Sep 17 00:00:00 2001 From: ethanglaser <42726565+ethanglaser@users.noreply.github.com> Date: Mon, 2 Dec 2024 16:30:05 -0800 Subject: [PATCH 4/5] Update .ci/pipeline/ci.yml --- .ci/pipeline/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.ci/pipeline/ci.yml b/.ci/pipeline/ci.yml index 047add5b909..9c50edd384c 100755 --- a/.ci/pipeline/ci.yml +++ b/.ci/pipeline/ci.yml @@ -643,7 +643,7 @@ jobs: conda activate CB source $(Pipeline.Workspace)/daal/latest/env/vars.sh ret_code=0 - python -m sklearnex sklearnex/tests/run_examples.py --nodist + python -m sklearnex sklearnex/tests/run_examples.py ret_code=$(($ret_code + $?)) exit $ret_code displayName: sklearnex examples From 435b5f49601af5c3e9ae0c2af4608ff0e3036fbf Mon Sep 17 00:00:00 2001 From: Ethan Glaser Date: Tue, 3 Dec 2024 09:51:23 -0800 Subject: [PATCH 5/5] move NO_DIST setting away from build step --- .ci/pipeline/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.ci/pipeline/ci.yml b/.ci/pipeline/ci.yml index 9c50edd384c..c26aa95ec31 100755 --- a/.ci/pipeline/ci.yml +++ b/.ci/pipeline/ci.yml @@ -622,7 +622,6 @@ jobs: export PREFIX=${CONDA_PREFIX} cd sklearnex export PYTHON=python - export NO_DIST=1 ./conda-recipe/build.sh displayName: sklearnex build - task: PublishPipelineArtifact@1 @@ -635,6 +634,7 @@ jobs: source /usr/share/miniconda/etc/profile.d/conda.sh conda activate CB source $(Pipeline.Workspace)/daal/latest/env/vars.sh + export NO_DIST=1 ./sklearnex/conda-recipe/run_test.sh timeoutInMinutes: 20 displayName: sklearnex test