Skip to content

Commit 068a27e

Browse files
committed
Remove online inference mode mentions
1 parent 251a00c commit 068a27e

File tree

4 files changed

+2
-7
lines changed

4 files changed

+2
-7
lines changed

configs/BENCH-CONFIG-SPEC.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ Configs have the three highest parameter keys:
108108
|:---------------|:--------------|:--------|:------------|
109109
| `algorithm`:`estimator` | None | | Name of measured estimator. |
110110
| `algorithm`:`estimator_params` | Empty `dict` | | Parameters for estimator constructor. |
111-
| `algorithm`:`online_inference_mode` | False | | Enables online mode for inference methods of estimator (separate call for each sample). |
111+
| `algorithm`:`batch_size`:`{stage}` | None | Any positive integer | Enables online mode for `{stage}` methods of estimator (sequential calls for each batch). |
112112
| `algorithm`:`sklearn_context` | None | | Parameters for sklearn `config_context` used over estimator. |
113113
| `algorithm`:`sklearnex_context` | None | | Parameters for sklearnex `config_context` used over estimator. Updated by `sklearn_context` if set. |
114114
| `bench`:`ensure_sklearnex_patching` | True | | If True, warns about sklearnex patching failures. |

configs/sklearn_example.json

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -83,10 +83,7 @@
8383
"TEMPLATES": {
8484
"multi clsf": {
8585
"SETS": ["common", "multi clsf data"],
86-
"algorithm": {
87-
"estimator": "LogisticRegression",
88-
"online_inference_mode": true
89-
}
86+
"algorithm": { "estimator": "LogisticRegression" }
9087
},
9188
"supervised": {
9289
"SETS": ["common", "binary clsf data", "supervised algorithms"]

sklbench/emulators/svs/neighbors.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,6 @@ def fit(self, X, y=None):
4545
build_params = svs.VamanaBuildParameters(
4646
graph_max_degree=self.graph_max_degree,
4747
window_size=self.window_size,
48-
# num_threads=self.n_jobs,
4948
)
5049
self._index = svs.Vamana.build(
5150
build_params,

sklbench/report/implementation.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,6 @@
9393
"estimator",
9494
"method",
9595
"function",
96-
"online_inference_mode",
9796
"device",
9897
"environment_name",
9998
# data

0 commit comments

Comments
 (0)