From 2553f075513dad92bf8f60ddeabf12c041d1b78b Mon Sep 17 00:00:00 2001 From: ethanglaser Date: Tue, 24 Nov 2026 14:10:16 -0800 Subject: [PATCH 1/2] Fixes for GPU runs --- configs/regular/tsne.json | 2 +- sklbench/benchmarks/sklearn_estimator.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/configs/regular/tsne.json b/configs/regular/tsne.json index 206051a5..8c280dde 100644 --- a/configs/regular/tsne.json +++ b/configs/regular/tsne.json @@ -25,7 +25,7 @@ "TEMPLATES": { "sklearn tsne": { "SETS": [ - "sklearn-ex[cpu,gpu] implementations", + "sklearn-ex[cpu] implementations", "common tsne parameters", "sklearn parameters", "tsne datasets" diff --git a/sklbench/benchmarks/sklearn_estimator.py b/sklbench/benchmarks/sklearn_estimator.py index 8c511ce3..11dec4f7 100644 --- a/sklbench/benchmarks/sklearn_estimator.py +++ b/sklbench/benchmarks/sklearn_estimator.py @@ -225,7 +225,7 @@ def get_subset_metrics_of_estimator( ) } ) - if len(np.unique(y)) < 128: + if len(np.unique(convert_to_numpy(y))) < 128: metrics.update( { "homogeneity": ( From 25ffdd70f4ab9f69b2fd28715187fc73e014dc95 Mon Sep 17 00:00:00 2001 From: ethanglaser Date: Mon, 30 Nov 2026 05:52:36 -0800 Subject: [PATCH 2/2] lint --- configs/regular/tsne.json | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/configs/regular/tsne.json b/configs/regular/tsne.json index 8c280dde..c3cc0251 100644 --- a/configs/regular/tsne.json +++ b/configs/regular/tsne.json @@ -24,12 +24,7 @@ }, "TEMPLATES": { "sklearn tsne": { - "SETS": [ - "sklearn-ex[cpu] implementations", - "common tsne parameters", - "sklearn parameters", - "tsne datasets" - ] + "SETS": ["sklearn-ex[cpu] implementations", "common tsne parameters", "sklearn parameters", "tsne datasets"] }, "cuml tsne": { "SETS": ["cuml implementation", "common tsne parameters", "cuml parameters", "tsne datasets"]