From 19f05fdbab6a45d7c97d4927c0cb6557cb6bf985 Mon Sep 17 00:00:00 2001 From: David Cortes Date: Thu, 30 Oct 2025 08:45:49 +0100 Subject: [PATCH] add shorthand example for PRs in oneDAL --- README.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/README.md b/README.md index 80c8ef57..c6f305b1 100755 --- a/README.md +++ b/README.md @@ -64,6 +64,14 @@ python -m sklbench --config configs/sklearn_example.json --report --result-file For a description of all benchmarks runner arguments, refer to [documentation](sklbench/runner/README.md#arguments). +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: +```shell +python -m sklbench \ + --config configs/regular/pca.json \ + --filters algorithm:library=sklearnex algorithm:device=cpu \ + --result-file pca_before.json +``` + ### Report Generator To combine raw result files gathered from different environments, call the report generator: