Skip to content

Commit 19f05fd

Browse files
add shorthand example for PRs in oneDAL
1 parent d2124b6 commit 19f05fd

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

README.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,14 @@ python -m sklbench --config configs/sklearn_example.json --report --result-file
6464

6565
For a description of all benchmarks runner arguments, refer to [documentation](sklbench/runner/README.md#arguments).
6666

67+
Can also specify filters in addition to what the configs state - for example, to benchmark cases before/after a change in some CPU-only algorithm like PCA in oneDAL:
68+
```shell
69+
python -m sklbench \
70+
--config configs/regular/pca.json \
71+
--filters algorithm:library=sklearnex algorithm:device=cpu \
72+
--result-file pca_before.json
73+
```
74+
6775
### Report Generator
6876

6977
To combine raw result files gathered from different environments, call the report generator:

0 commit comments

Comments
 (0)