From d9064ed8034a609728f78a64de663bf9821bb115 Mon Sep 17 00:00:00 2001 From: Kirill Date: Tue, 6 Jul 2021 23:11:47 +0300 Subject: [PATCH 1/2] Create requirements.txt --- daal4py_bench/requirements.txt | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 daal4py_bench/requirements.txt diff --git a/daal4py_bench/requirements.txt b/daal4py_bench/requirements.txt new file mode 100644 index 000000000..c381d913c --- /dev/null +++ b/daal4py_bench/requirements.txt @@ -0,0 +1,5 @@ +scikit-learn +pandas +daal4py +openpyxl +tqdm From c221b57eaeaac1cd0a2f928418e14b7198e4ef00 Mon Sep 17 00:00:00 2001 From: Kirill Date: Tue, 6 Jul 2021 23:13:21 +0300 Subject: [PATCH 2/2] Update azure-pipelines.yml --- azure-pipelines.yml | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index f2cbc6920..6201bdca7 100755 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -30,14 +30,12 @@ jobs: - job: Linux_daal4py pool: vmImage: 'ubuntu-20.04' - steps: - - script: | - conda update -y -q conda - conda create -n bench -q -y -c conda-forge python=3.8 pandas scikit-learn daal4py tqdm - displayName: Create Anaconda environment + - task: UsePythonVersion@0 + displayName: 'Use Python $(python.version)' + inputs: + versionSpec: '$(python.version)' - script: | - . /usr/share/miniconda/etc/profile.d/conda.sh - conda activate bench + pip install -r daal4py/requirements.txt python runner.py --configs configs/testing/daal4py.json --no-intel-optimized displayName: Run bench - job: Linux_XGBoost_and_daal4py