This is a fixed dashboard published on Nov. 6, 2026, so it might be outdated. See the latest results on the dev dashboard.

This dashboard compares the time of a single fitTraining a model on data. More in the scikit-learn glossary of any software on any machine with other softwares, on the same machine or another one. There are four main ways to use it, each explained below with what came out of it.

Software comparison

Compares implementationsCode that runs a given estimator: stock scikit-learn, scikit-learn-intelex or an Array API backend. on the same machine: stock scikit-learn, scikit-learn-intelex, cuML and Array APIStandard API shared by array libraries (NumPy, PyTorch, CuPy, dpnp). With it, some scikit-learn estimators run directly on these libraries' arrays, including on GPU. backends (PyTorchDeep learning library. scikit-learn can take its tensors as Array API inputs, on CPU or GPU. More, dpnpIntel's NumPy-like array library, running on Intel GPUs and CPUs. More, CuPyNumPy-like array library running on NVIDIA GPUs. More). Since the hardware is fixed, a speed-upBaseline time divided by the compared time: 2x is twice as fast as the baseline, 0.5x twice as slow. In the detailed results, a noisy speed-up is shown as ~1.5x (5-15% spread over the repeats) or as a range like 1.2-1.9x (more than 15%). comes from the software: faster algorithms, better use of the CPU (vectorizationUsing CPU instructions that process several numbers at once (SIMD)., threadingUnits of execution that share the memory of their process. Each one can run on its own CPU core.), or offloading to the GPU. This is what the page shows by default.

How to read

Pick a machine tab. The top of the tab describes the machine and the software environmentOne Pixi environment of this repository: a fixed set of package versions and builds. of the baselineThe reference that speed-ups are computed against. (versions, BLASBasic Linear Algebra Subprograms: the library that runs the matrix and vector products of NumPy and SciPy. OpenBLAS and MKL are two implementations of it. and OpenMPStandard for running the loops of compiled code on several threads. scikit-learn's Cython code (HistGradientBoosting, KMeans, ...) uses it. libraries), and the tabs under "Compared to" describe the other softwares. The baseline defaults to stock scikit-learn from PyPIThe Python Package Index, where pip installs packages from. Its scikit-learn wheels bundle their own OpenMP runtime, and NumPy and SciPy bundle OpenBLAS., and its selector changes it.

There's one plot per estimator category (linear, tree-based, clustering), each comparing fitTraining a model on data. More in the scikit-learn glossary times. In each plot:

  • the x-axis lists the estimators, with one color per software. A software keeps its color on every machine and for every baseline;
  • each point is one benchmark case (dataset and hyperparametersParameters set before fit that control how an estimator learns, such as max_depth or the regularization strength. More in the scikit-learn glossary);
  • the y-axis is the speed-up over the baseline, in log scale. Points above the dashed 1x line are faster than the baseline.

The marker shape flags cases to double check:

  • circle (●): metricsScores of the fitted model on held-out data (ROC AUC, R2 score). They check that the compared implementations learn equivalent models. More in the scikit-learn glossary and setup match the baseline;
  • square (■): metrics match but the setup differs, for instance a different solverThe optimization algorithm used by fit, for instance lbfgs or newton-cholesky for LogisticRegression. or number of iterations, scikit-learn-intelex using histogram-based splitsSplits chosen among bin edges instead of among every distinct feature value. Faster, and usually as accurate., or cuML Random Forest using quantile-based splitsSplit candidates chosen from a fixed number of quantiles of each feature, instead of among every distinct value. cuML Random Forest does this, with n_bins=256 in these benchmarks (128 by default)., where scikit-learn uses exact onesSplits chosen among every distinct value of the feature.;
  • open diamond (◇): the metrics differ;
  • grey point (●): scikit-learn-intelex fell backscikit-learn-intelex ran the stock scikit-learn code, because it doesn't support this case's parameters or data. to scikit-learn;
  • cross (✕): failed run.

The notes under each plot count these cases.

Hover a point to see its case. Click it to find its row in "Detailed results", the table below each row, which has the exact timings and metrics and can be filtered by column.

Findings

On the benchmarked cases:

  • sklearnex-cpu is the most consistently fast option. Linear models gain less than tree-based models and KMeans.
  • sklearnex tree-based models are fast, but don't behave exactly like scikit-learn:
    • By default, sklearnex random forests and extra trees bin featuresMapping each feature to a small number of integer bins (a few hundred at most) before building trees. (max_bins=256Maximum number of bins per feature for histogram-based splits.), which scikit-learn doesn't implement yet. Binning roughly doubles or triples the fit speed-up. Cases run with exact splitsSplits chosen among every distinct value of the feature. (max_bins=n_samples) are on the left of each software in the tree-based plots.
    • Two oneDALoneAPI Data Analytics Library: Intel's C++ library that implements the algorithms of scikit-learn-intelex. bugs make some fits worse: oneDAL#3648 (ExtraTreesRegressor) and oneDAL#3771 (max_leaf_nodesTree parameter capping the number of leaves. With it, trees grow best-first: the most promising node is split first.).
  • sklearnex KMeans fits ~3x faster and is never slower than scikit-learn.
  • Array APIStandard API shared by array libraries (NumPy, PyTorch, CuPy, dpnp). With it, some scikit-learn estimators run directly on these libraries' arrays, including on GPU. backends are mixed. Only LogisticRegression and Ridge are benchmarked for now:
    • LogisticRegression on GPU is fairly fast.
    • Ridge uses the SVDSingular value decomposition: a stable but costly way to solve Ridge's least squares problem. solver instead of CholeskyMatrix factorization used to solve Ridge's normal equations. Faster than SVD. under Array API, which makes it slower (scikit-learn#35060).
    • PyTorchDeep learning library. scikit-learn can take its tensors as Array API inputs, on CPU or GPU. More on CPU parallelizes every operation, including small vector operations. That's why LogisticRegression is slower than scikit-learn with NumPy.
  • cuML LogisticRegression always runs the quasi-Newton solverThe optimization algorithm used by fit, for instance lbfgs or newton-cholesky for LogisticRegression. qn (L-BFGS or OWL-QN). The point label can still say lbfgs, newton-cg, or newton-cholesky: the wrapper maps every one of those names onto qn. On the cuML side, the three synthetic solver cases time the same algorithm. scikit-learn runs the named solver.
Builds comparison

Compares buildsOne packaging of the same scikit-learn version. Here, builds differ by their BLAS and OpenMP libraries. of plain scikit-learn with the PyPI wheelThe Python Package Index, where pip installs packages from. Its scikit-learn wheels bundle their own OpenMP runtime, and NumPy and SciPy bundle OpenBLAS.. The code is the same, only the BLAS/OpenMP runtimeThe BLAS and OpenMP libraries loaded at run time. They do the multithreaded number crunching for scikit-learn. changes. The conda-forgeCommunity-maintained channel of conda packages. Its scikit-learn can be installed with different BLAS and OpenMP libraries. build names encode two choices:

  • libgomp or libomp: the OpenMPStandard for running the loops of compiled code on several threads. scikit-learn's Cython code (HistGradientBoosting, KMeans, ...) uses it. runtime of scikit-learn's own loops (libgompGCC's OpenMP runtime, used by the PyPI scikit-learn wheels on Linux. or libompLLVM's OpenMP runtime, used by the PyPI scikit-learn wheels on macOS.).
  • openblas or openblas-omp: how OpenBLASOpen-source BLAS implementation. The NumPy and SciPy wheels on PyPI each ship their own copy of it. runs its threads, with pthreads (the conda-forge default) or with OpenMP. In libomp-openblas-omp, OpenBLAS and scikit-learn share the same libomp threads. mkl is MKLIntel's Math Kernel Library (oneMKL): a BLAS implementation tuned for Intel CPUs, available as a conda-forge build option., on libomp too.

sklearn-cf-default installs conda-forge's scikit-learn without pinning either, which gives the same libraries as sklearn-cf-libgomp-openblas.

How to read

The plots read like in the software comparison above, with one color per build.

The "Threadpools" and "OpenMP" lines of each environment tab show what was loaded at run time. sklearn-pypi lists two libscipy_openblas: the NumPy and SciPy wheels each ship their own copy of OpenBLAS, and both get loaded, often in different versions. NumPy's matrix products run on NumPy's copy, SciPy's linear algebra (used by some solvers) on SciPy's. On conda-forge, NumPy and SciPy share a single OpenBLAS.

Findings
  • MKLIntel's Math Kernel Library (oneMKL): a BLAS implementation tuned for Intel CPUs, available as a conda-forge build option. is a good pick for linear models: it speeds up BLASBasic Linear Algebra Subprograms: the library that runs the matrix and vector products of NumPy and SciPy. OpenBLAS and MKL are two implementations of it.-bound linear model fits, commonly by 1.3x to 1.5x.
  • On the laptop, every conda-forgeCommunity-maintained channel of conda packages. Its scikit-learn can be installed with different BLAS and OpenMP libraries. build fits LogisticRegression much faster than the PyPIThe Python Package Index, where pip installs packages from. Its scikit-learn wheels bundle their own OpenMP runtime, and NumPy and SciPy bundle OpenBLAS. one, up to ~10x on some datasets. This comes from the OpenBLASOpen-source BLAS implementation. The NumPy and SciPy wheels on PyPI each ship their own copy of it. shipped in scipy and is going to be fixed in scipy soon, see scipy#26193.
  • HistGradientBoosting varies more between builds. On laptops, this comes from differences in active waitIdle OpenMP threads spin on the CPU for a while before sleeping, so they start the next parallel loop faster, at the cost of CPU time. (how long idle OpenMP threadsStandard for running the loops of compiled code on several threads. scikit-learn's Cython code (HistGradientBoosting, KMeans, ...) uses it. spin before sleeping), which conda-forge disables by default. Without active wait, HGB fits on small and medium datasets can be much slower. On the high-end server, the LLVM/Intel OpenMPLLVM's OpenMP runtime (libomp) and Intel's (libiomp5), which share most of their code. runtimes seem faster than libgompGCC's OpenMP runtime, used by the PyPI scikit-learn wheels on Linux.. See scikit-learn#34764 for the analysis, and scikit-learn#34935 for a fix in progress, based on the insights from the HistGradientBoosting thread-scalability breakdown plots.
  • ExtraTrees fits are ~25% slower on conda-forge builds. scikit-learn#34876 fixes it and will land in the next release.
Hardware comparison

Compares machines running the same software. Since the software is fixed, a speed-upBaseline time divided by the compared time: 2x is twice as fast as the baseline, 0.5x twice as slow. In the detailed results, a noisy speed-up is shown as ~1.5x (5-15% spread over the repeats) or as a range like 1.2-1.9x (more than 15%). comes from the hardware. For many fits at once, see the parallelized fits dashboard.

How to read

The plots read like in the software comparison above, with one color per machine. The CPU and GPU runs of a library are separate softwares, like sklearn-torch-cpu and sklearn-torch-gpu.

Random forests and extra trees often have a different forest size on each machine: their times are rescaled to the same size, and their metrics aren't compared when the sizes differ. KMeans is capped at 64 threads on machines with more than 64 CPUs, to avoid an OpenBLAS crash.

Findings

On the benchmarked cases:

  • The high-end Intel Xeon server mostly helps random forests and extra trees. With scikit-learn, their fit is ~2x to 4x faster than on the Intel Core Ultra laptop.
  • scikit-learn-intelex makes much better use of the server's 172 cores. With it, random forests and extra trees fit ~10x to 12x faster on the server than on the laptop.
  • For linear models, the server is often slower than the laptop. A single fit doesn't use many cores well, so the laptop's faster cores probably win.
  • HistGradientBoosting results are hard to interpret, because of known scalability issues on laptops with conda-forgeCommunity-maintained channel of conda packages. Its scikit-learn can be installed with different BLAS and OpenMP libraries. builds and on machines with many cores. See scikit-learn#34764 and the HistGradientBoosting thread-scalability breakdown.
Cross comparison

Changes software and hardware at once, to answer questions like "is cuML on this GPU faster than scikit-learn-intelex on my server?". A speed-upBaseline time divided by the compared time: 2x is twice as fast as the baseline, 0.5x twice as slow. In the detailed results, a noisy speed-up is shown as ~1.5x (5-15% spread over the repeats) or as a range like 1.2-1.9x (more than 15%). here mixes both effects. To separate them, see the software and hardware comparisons above. Pick what to compare in "Advanced comparison settings", above the plots.

How to read

The plots read like in the hardware comparison above, with the same notes on forest sizes and KMeans.

Findings

On the benchmarked cases:

  • Software and hardware gains can compound. Random forests fit ~30x faster with scikit-learn-intelex on the Intel Xeon server than with scikit-learn on the Intel Core Ultra laptop, while the software alone gives ~2x to 3x and the server alone ~3x.
  • cuML on the NVIDIA L4 fits LogisticRegression ~3.5x and RandomForestClassifier ~2.5x faster than scikit-learn on the laptop. RandomForestRegressor and Ridge are often slower.
  • A big CPU server can beat that GPU: scikit-learn-intelex on the Intel Xeon server fits random forests ~20x to 35x faster than cuML on the L4, and ~1.7x to 2.5x faster on the Intel Core Ultra laptop, with 256 bins on both sides.
  • Array APIStandard API shared by array libraries (NumPy, PyTorch, CuPy, dpnp). With it, some scikit-learn estimators run directly on these libraries' arrays, including on GPU. on a GPU is mostly a LogisticRegression story: PyTorchDeep learning library. scikit-learn can take its tensors as Array API inputs, on CPU or GPU. More on the L4 or the Arc B580 fits it ~10x to 20x faster than scikit-learn on the laptop, but Ridge is slower.

Baseline

Compared to:

Advanced comparison settings
How to use

Compare the baseline with either one software on every machine (one color per machine), or every software on one machine (one color per software). In the second case, the checkboxes pick which softwares to include. Stock scikit-learn is always included.

Software variants to include