File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ variables :
2+ - name : python.version
3+ value : ' 3.8'
4+
15jobs :
26- job : Linux_Sklearn
37 pool :
48 vmImage : ' ubuntu-20.04'
59 steps :
10+ - task : UsePythonVersion@0
11+ displayName : ' Use Python $(python.version)'
12+ inputs :
13+ versionSpec : ' $(python.version)'
614 - script : |
7- conda update -y -q conda
8- export FORCE_DAAL4PY_SKLEARN=yes
9- conda create -q -y -n bench -c conda-forge python=3.7 pandas scikit-learn scikit-learn-intelex
10- displayName: Create Anaconda environment
11- - script : |
12- . /usr/share/miniconda/etc/profile.d/conda.sh
13- conda activate bench
15+ pip install -r sklearn_bench/requirements.txt
1416 python runner.py --configs configs/testing/sklearn.json
1517 displayName: Run bench
1618 - job : Linux_XGBoost
1719 pool :
1820 vmImage : ' ubuntu-20.04'
1921 steps :
22+ - task : UsePythonVersion@0
23+ displayName : ' Use Python $(python.version)'
24+ inputs :
25+ versionSpec : ' $(python.version)'
2026 - script : |
21- conda update -y -q conda
22- conda create -n bench -q -y -c conda-forge python=3.7 pandas xgboost scikit-learn
23- displayName: Create Anaconda environment
24- - script : |
25- . /usr/share/miniconda/etc/profile.d/conda.sh
26- conda activate bench
27+ pip install -r xgboost_bench/requirements.txt
2728 python runner.py --configs configs/testing/xgboost.json --no-intel-optimized
2829 displayName: Run bench
2930 - job : Linux_daal4py
5859 steps :
5960 - task : UsePythonVersion@0
6061 inputs :
61- versionSpec : ' 3.7 '
62+ versionSpec : ' $(python.version) '
6263 addToPath : true
6364 - script : |
6465 python -m pip install --upgrade pip setuptools
7172 steps :
7273 - task : UsePythonVersion@0
7374 inputs :
74- versionSpec : ' 3.7 '
75+ versionSpec : ' $(python.version) '
7576 addToPath : true
7677 - script : |
7778 python -m pip install --upgrade pip setuptools
You can’t perform that action at this time.
0 commit comments