File tree Expand file tree Collapse file tree 6 files changed +17
-31
lines changed Expand file tree Collapse file tree 6 files changed +17
-31
lines changed Original file line number Diff line number Diff line change 12
12
inputs :
13
13
versionSpec : " $(python.version)"
14
14
- script : |
15
+ pip install -r requirements-common.txt
15
16
pip install -r sklearn_bench/requirements.txt
16
17
python runner.py --configs configs/testing/sklearn.json
17
18
displayName: Run bench
24
25
inputs :
25
26
versionSpec : " $(python.version)"
26
27
- script : |
28
+ pip install -r requirements-common.txt
27
29
pip install -r xgboost_bench/requirements.txt
28
30
python runner.py --configs configs/testing/xgboost.json --no-intel-optimized
29
31
displayName: Run bench
36
38
inputs :
37
39
versionSpec : " $(python.version)"
38
40
- script : |
41
+ pip install -r requirements-common.txt
39
42
pip install -r daal4py_bench/requirements.txt
40
43
python runner.py --configs configs/testing/daal4py.json --no-intel-optimized
41
44
displayName: Run bench
Original file line number Diff line number Diff line change @@ -250,25 +250,16 @@ def size_str(shape):
250
250
return 'x' .join (str (d ) for d in shape )
251
251
252
252
253
- def set_daal_num_threads (num_threads ):
254
- try :
255
- import daal4py
256
- if num_threads :
257
- daal4py .daalinit (nthreads = num_threads )
258
- except ImportError :
259
- logging .info ('@ Package "daal4py" was not found. Number of threads '
260
- 'is being ignored' )
261
-
262
-
263
253
def prepare_daal_threads (num_threads = - 1 ):
264
254
try :
265
- if num_threads > 0 :
266
- set_daal_num_threads (num_threads )
267
255
import daal4py
256
+ if num_threads > 0 :
257
+ daal4py .daalinit (nthreads = num_threads )
268
258
num_threads = daal4py .num_threads ()
269
259
except ImportError :
260
+ logging .warning ('@ Package "daal4py" was not found. Number of threads '
261
+ 'is being ignored' )
270
262
num_threads = 1
271
-
272
263
return num_threads
273
264
274
265
Original file line number Diff line number Diff line change 1
- scikit-learn < 1.1 # TODO: remove after scikit-learn-intelex release with fix
2
- pandas
3
- daal4py
4
- openpyxl
5
- tqdm
6
- requests
1
+ daal4py == 2023.0.0
2
+ dpcpp-cpp-rt == 2023.0.0
Original file line number Diff line number Diff line change
1
+ scikit-learn==1.2.0
2
+ pandas==1.5.2
3
+ openpyxl
4
+ tqdm
5
+ requests
Original file line number Diff line number Diff line change 1
- scikit-learn < 1.1 # TODO: remove after scikit-learn-intelex release with fix
2
- pandas
3
- scikit-learn-intelex
4
- openpyxl
5
- tqdm
6
- requests
1
+ scikit-learn-intelex == 2023.0.0
2
+ dpcpp-cpp-rt == 2023.0.0
Original file line number Diff line number Diff line change 1
- scikit-learn
2
- pandas
3
- xgboost
4
- openpyxl
5
- tqdm
6
- requests
1
+ xgboost == 1.7.2
You can’t perform that action at this time.
0 commit comments