You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Run `python runner.py --configs configs/config_example.json [--output-file result.json --verbose INFO --report]` to launch benchmarks.
67
66
68
-
runner options:
69
-
*``configs`` : configuration files paths
70
-
*``no-intel-optimized`` : using Scikit-learn without Intel(R) Extension for Scikit-learn*. Now avalible for scikit-learn benchmarks. Default starts with using Intel(R) Extension for Scikit-learn*.
71
-
*``output-file``: output file name for result benchmarks. Default is `result.json`
72
-
*``report``: create an Excel report based on benchmarks results. Need library `openpyxl`.
73
-
*``dummy-run``: run configuration parser and datasets generation without benchmarks running.
74
-
*``verbose``: *WARNING*, *INFO*, *DEBUG*. print additional information during benchmarks running. Default is *INFO*
67
+
Options:
68
+
*``--configs``: specify the path to a configuration file.
69
+
*``--no-intel-optimized``: use Scikit-learn without [Intel(R) Extension for Scikit-learn*](#intelr-extension-for-scikit-learn-support). Now available for [scikit-learn benchmarks](https://github.com/IntelPython/scikit-learn_bench/tree/master/sklearn_bench). By default, the runner uses Intel(R) Extension for Scikit-learn.
70
+
*``--output-file``: output file name for the benchmark result. The default name is `result.json`
71
+
*``--report``: create an Excel report based on benchmark results. The `openpyxl` library is required.
72
+
*``--dummy-run``: run configuration parser and dataset generation without benchmarks running.
73
+
*``--verbose``: *WARNING*, *INFO*, *DEBUG*. print additional information during benchmarks running. Default is *INFO*.
75
74
76
75
| Level | Description |
77
76
|-----------|---------------|
@@ -108,6 +107,18 @@ The configuration of benchmarks allows you to select the frameworks to run, sele
When you run scikit-learn benchmarks on CPU, [Intel(R) Extension for Scikit-learn](https://github.com/intel/scikit-learn-intelex) is used by default. Use the ``--no-intel-optimized`` option to run the benchmarks without the extension.
113
+
114
+
The following benchmarks have a GPU support:
115
+
* dbscan
116
+
* kmeans
117
+
* linear
118
+
* log_reg
119
+
120
+
You may use the [configuration file for these benchmarks](https://github.com/IntelPython/scikit-learn_bench/blob/master/configs/skl_xpu_config.json) to run them on both CPU and GPU.
121
+
111
122
## Algorithms parameters
112
123
113
124
You can launch benchmarks for each algorithm separately.
Copy file name to clipboardExpand all lines: configs/README.md
+1
Original file line number
Diff line number
Diff line change
@@ -27,6 +27,7 @@ Refer to the tables below for descriptions of all fields in the configuration fi
27
27
|data-order| array[string]|**REQUIRED** input data order. Data order: *C* (row-major, default) or *F* (column-major) |
28
28
|dtype| array[string]|**REQUIRED** input data type. Data type: *float64* (default) or *float32*|
29
29
|check-finitness| array[]| Check finiteness in sklearn input check(disabled by default) |
30
+
|device| array[string]| For scikit-learn only. The list of devices to run the benchmarks on. It can be *None* (default, run on CPU without sycl context) or one of the types of sycl devices: *cpu*, *gpu*, *host*. Refer to [SYCL specification](https://www.khronos.org/files/sycl/sycl-2020-reference-guide.pdf) for details|
0 commit comments