Intel(R) Extension for Scikit-learn*
Extension for Scikit-learn is a free software AI accelerator designed to deliver over 10-100X acceleration to your existing scikit-learn code. The software acceleration is achieved with vector instructions, AI hardware-specific memory optimizations, threading, and optimizations.
With Extension for Scikit-learn, you can:
- Speed up training and inference by up to 100x with equivalent mathematical accuracy
- Benefit from performance improvements across different hardware configurations, including GPUs and multi-GPU configurations
- Integrate the extension into your existing Scikit-learn applications without code modifications
- Continue to use the open-source scikit-learn API
- Enable and disable the extension with a couple of lines of code or at the command line
🛠 Installation
Intel(R) Extension for Scikit-learn is available at the Python Package Index, in Conda-Forge and in Intel's conda channel. Intel(R) Extension for Scikit-learn is also available as a part of Intel® oneAPI AI Analytics Toolkit (AI Kit).
To install through pip:
pip install scikit-learn-intelex
See the documentation for more details about supported platforms and other ways of installing it.
You can build the package from sources as well.
⚡️ Get Started
Easiest way to benefit from accelerations from the extension is by patching scikit-learn with it:
- Enable CPU optimizations
import numpy as np
from sklearnex import patch_sklearn
patch_sklearn()
from sklearn.cluster import DBSCAN
X = np.array([[1., 2.], [2., 2.], [2., 3.],
[8., 7.], [8., 8.], [25., 80.]], dtype=np.float32)
clustering = DBSCAN(eps=3, min_samples=2).fit(X)
-
Enable GPU optimizations
Note: executing on GPU has additional system software requirements - see details.
import numpy as np
from sklearnex import patch_sklearn, config_context
patch_sklearn()
from sklearn.cluster import DBSCAN
X = np.array([[1., 2.], [2., 2.], [2., 3.],
[8., 7.], [8., 8.], [25., 80.]], dtype=np.float32)
with config_context(target_offload="gpu:0"):
clustering = DBSCAN(eps=3, min_samples=2).fit(X)
Usage without patching
Alternatively, all functionalities are also available under a separate module which can be imported directly, without involving any patching.
-
To run on CPU:
import numpy as np from sklearnex.cluster import DBSCAN X = np.array([[1., 2.], [2., 2.], [2., 3.], [8., 7.], [8., 8.], [25., 80.]], dtype=np.float32) clustering = DBSCAN(eps=3, min_samples=2).fit(X)
-
To run on GPU:
import numpy as np from sklearnex import config_context from sklearnex.cluster import DBSCAN X = np.array([[1., 2.], [2., 2.], [2., 3.], [8., 7.], [8., 8.], [25., 80.]], dtype=np.float32) with config_context(target_offload="gpu:0"): clustering = DBSCAN(eps=3, min_samples=2).fit(X)
🚀 Scikit-learn patching
Configurations:
- HW: c5.24xlarge AWS EC2 Instance using an Intel Xeon Platinum 8275CL with 2 sockets and 24 cores per socket
- SW: scikit-learn version 0.24.2, scikit-learn-intelex version 2021.2.3, Python 3.8
Intel(R) Extension for Scikit-learn patching affects performance of specific Scikit-learn functionality. Refer to the list of supported algorithms and parameters for details. In cases when unsupported parameters are used, the package fallbacks into original Scikit-learn. If the patching does not cover your scenarios, submit an issue on GitHub.
Read more about it in the documentation for scikit-learn patching.
👀 Follow us on Medium
We publish blogs on Medium, so follow us to learn tips and tricks for more efficient data analysis with the help of Intel(R) Extension for Scikit-learn. Here are our latest blogs:
- Save Time and Money with Intel Extension for Scikit-learn
- Superior Machine Learning Performance on the Latest Intel Xeon Scalable Processors
- Leverage Intel Optimizations in Scikit-Learn
- Intel Gives Scikit-Learn the Performance Boost Data Scientists Need
- From Hours to Minutes: 600x Faster SVM
- Improve the Performance of XGBoost and LightGBM Inference
- Accelerate Kaggle Challenges Using Intel AI Analytics Toolkit
- Accelerate Your scikit-learn Applications
- Accelerate Linear Models for Machine Learning
- Accelerate K-Means Clustering
🔗 Important links
- Notebook examples
- Documentation
- scikit-learn API and patching
- Benchmark code
- Building from Sources
- About Intel(R) oneAPI Data Analytics Library
💬 Support
Report issues, ask questions, and provide suggestions using:
You may reach out to project maintainers privately at onedal.maintainers@intel.com
Metadata
Release files for scikit-learn-intelex-gpu 2026.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distributions (wheels)
Total release size: 11.0 MB
Release files / scikit_learn_intelex_gpu-2026.1.0-py314-none-win_amd64.whl
| Download URL | scikit_learn_intelex_gpu-2026.1.0-py314-none-win_amd64.whl |
|---|---|
| Size | 951.5 kB |
| Tags | Python 3.14 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
777b042880b2c4c8f56052bf0e5362efe87bf292b12ebee9fe27c231f8a7a3eb
|
|
BLAKE2b-256 checksum How to use checksums |
6cd2d9e247c47449ef0fd54e9fbd4c4217452685450094e94e032138062579c8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.8.0 colorama/0.4.4 importlib-metadata/4.6.4 keyring/23.5.0 pkginfo/1.8.2 readme-renderer/34.0 requests-toolbelt/0.9.1 requests/2.34.2 rfc3986/1.5.0 tqdm/4.57.0 urllib3/1.26.5 CPython/3.10.6
|
Release files / scikit_learn_intelex_gpu-2026.1.0-py314-none-manylinux_2_28_x86_64.whl
| Download URL | scikit_learn_intelex_gpu-2026.1.0-py314-none-manylinux_2_28_x86_64.whl |
|---|---|
| Size | 1.3 MB |
| Tags | Linux glibc 2.28+ x86-64 Python 3.14 |
|
SHA-256 checksum How to use checksums |
292f46e16e3588f9f487182423f66eae716bd36000bd4d0ce15df2e06f26b2fb
|
|
BLAKE2b-256 checksum How to use checksums |
a0850d8f9de3579aab1f8879db2da3501ece2d372d4ee18dace5967ad3ae1796
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.8.0 colorama/0.4.4 importlib-metadata/4.6.4 keyring/23.5.0 pkginfo/1.8.2 readme-renderer/34.0 requests-toolbelt/0.9.1 requests/2.34.2 rfc3986/1.5.0 tqdm/4.57.0 urllib3/1.26.5 CPython/3.10.6
|
Release files / scikit_learn_intelex_gpu-2026.1.0-py313-none-win_amd64.whl
| Download URL | scikit_learn_intelex_gpu-2026.1.0-py313-none-win_amd64.whl |
|---|---|
| Size | 951.6 kB |
| Tags | Python 3.13 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
7d5c2210424441f421a3d5f1dcf2a109feda86635e6a7c4cd1ce8e1cf5a2dd78
|
|
BLAKE2b-256 checksum How to use checksums |
3b838662a51a569e80ab261faaaf8c5563388ea7cbf27e5a846f6882433ca2cb
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.8.0 colorama/0.4.4 importlib-metadata/4.6.4 keyring/23.5.0 pkginfo/1.8.2 readme-renderer/34.0 requests-toolbelt/0.9.1 requests/2.34.2 rfc3986/1.5.0 tqdm/4.57.0 urllib3/1.26.5 CPython/3.10.6
|
Release files / scikit_learn_intelex_gpu-2026.1.0-py313-none-manylinux_2_28_x86_64.whl
| Download URL | scikit_learn_intelex_gpu-2026.1.0-py313-none-manylinux_2_28_x86_64.whl |
|---|---|
| Size | 1.3 MB |
| Tags | Linux glibc 2.28+ x86-64 Python 3.13 |
|
SHA-256 checksum How to use checksums |
0fb941ddfc066d14a3480031172a9367e8561c2e02a9d1dd56431d7bef9e6d34
|
|
BLAKE2b-256 checksum How to use checksums |
bf514583ece0a7145de749e6ab54f7507bee43192f05928798028a0630c01a1f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.8.0 colorama/0.4.4 importlib-metadata/4.6.4 keyring/23.5.0 pkginfo/1.8.2 readme-renderer/34.0 requests-toolbelt/0.9.1 requests/2.34.2 rfc3986/1.5.0 tqdm/4.57.0 urllib3/1.26.5 CPython/3.10.6
|
Release files / scikit_learn_intelex_gpu-2026.1.0-py312-none-win_amd64.whl
| Download URL | scikit_learn_intelex_gpu-2026.1.0-py312-none-win_amd64.whl |
|---|---|
| Size | 951.6 kB |
| Tags | Python 3.12 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
e6cc48b3dd07fee6c22a72fa92581589f015695e24f4954aef510e2e423ab444
|
|
BLAKE2b-256 checksum How to use checksums |
30a70ed0832f9d20842539893d9d35092ce5f0a58dbc508ef27790c6bec95127
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.8.0 colorama/0.4.4 importlib-metadata/4.6.4 keyring/23.5.0 pkginfo/1.8.2 readme-renderer/34.0 requests-toolbelt/0.9.1 requests/2.34.2 rfc3986/1.5.0 tqdm/4.57.0 urllib3/1.26.5 CPython/3.10.6
|
Release files / scikit_learn_intelex_gpu-2026.1.0-py312-none-manylinux_2_28_x86_64.whl
| Download URL | scikit_learn_intelex_gpu-2026.1.0-py312-none-manylinux_2_28_x86_64.whl |
|---|---|
| Size | 1.3 MB |
| Tags | Linux glibc 2.28+ x86-64 Python 3.12 |
|
SHA-256 checksum How to use checksums |
460c3d17928e38637974d16046741c9ba13014364e0680f58dd4ca0d08f6dcb6
|
|
BLAKE2b-256 checksum How to use checksums |
ef71e60a7f1f9ce61ff64a91794f74aca80a49af947a705578e04d42df21c639
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.8.0 colorama/0.4.4 importlib-metadata/4.6.4 keyring/23.5.0 pkginfo/1.8.2 readme-renderer/34.0 requests-toolbelt/0.9.1 requests/2.34.2 rfc3986/1.5.0 tqdm/4.57.0 urllib3/1.26.5 CPython/3.10.6
|
Release files / scikit_learn_intelex_gpu-2026.1.0-py311-none-win_amd64.whl
| Download URL | scikit_learn_intelex_gpu-2026.1.0-py311-none-win_amd64.whl |
|---|---|
| Size | 883.2 kB |
| Tags | Python 3.11 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
5cfa612be30902ba660d1682974f8b56701d32e817fa67b38aec80fa42678a9b
|
|
BLAKE2b-256 checksum How to use checksums |
6a4468c4538d8256e4c04feb37b9edaf57f04c39e484f12cd05d20d10bd9a21a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.8.0 colorama/0.4.4 importlib-metadata/4.6.4 keyring/23.5.0 pkginfo/1.8.2 readme-renderer/34.0 requests-toolbelt/0.9.1 requests/2.34.2 rfc3986/1.5.0 tqdm/4.57.0 urllib3/1.26.5 CPython/3.10.6
|
Release files / scikit_learn_intelex_gpu-2026.1.0-py311-none-manylinux_2_28_x86_64.whl
| Download URL | scikit_learn_intelex_gpu-2026.1.0-py311-none-manylinux_2_28_x86_64.whl |
|---|---|
| Size | 1.3 MB |
| Tags | Linux glibc 2.28+ x86-64 Python 3.11 |
|
SHA-256 checksum How to use checksums |
17eca2fd4b4b20e50f4ef8b334bdbcf38273e852352d836af2f4d3ccd715f2bb
|
|
BLAKE2b-256 checksum How to use checksums |
c81e40d1e71b5c24d77bc63b9a7cd813c5b58d17a7e15e48c1af528555a1f28a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.8.0 colorama/0.4.4 importlib-metadata/4.6.4 keyring/23.5.0 pkginfo/1.8.2 readme-renderer/34.0 requests-toolbelt/0.9.1 requests/2.34.2 rfc3986/1.5.0 tqdm/4.57.0 urllib3/1.26.5 CPython/3.10.6
|
Release files / scikit_learn_intelex_gpu-2026.1.0-py310-none-win_amd64.whl
| Download URL | scikit_learn_intelex_gpu-2026.1.0-py310-none-win_amd64.whl |
|---|---|
| Size | 881.3 kB |
| Tags | Python 3.10 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
a0f0799117f5b20fecb8a5334eed21f4f482759d39668524e0f835b57910877c
|
|
BLAKE2b-256 checksum How to use checksums |
48ea941008fb2b4f1aced413c35faf4c6182adcbcda43c2f1fe570ac4efa501a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.8.0 colorama/0.4.4 importlib-metadata/4.6.4 keyring/23.5.0 pkginfo/1.8.2 readme-renderer/34.0 requests-toolbelt/0.9.1 requests/2.34.2 rfc3986/1.5.0 tqdm/4.57.0 urllib3/1.26.5 CPython/3.10.6
|
Release files / scikit_learn_intelex_gpu-2026.1.0-py310-none-manylinux_2_28_x86_64.whl
| Download URL | scikit_learn_intelex_gpu-2026.1.0-py310-none-manylinux_2_28_x86_64.whl |
|---|---|
| Size | 1.3 MB |
| Tags | Linux glibc 2.28+ x86-64 Python 3.10 |
|
SHA-256 checksum How to use checksums |
20eb5e5d4f0c6eff56d027b0fa465e068beeef9777446cfb29b342128caae993
|
|
BLAKE2b-256 checksum How to use checksums |
69458128764f953692a4759383a34df64c15c922de10920893b90aef7e4c3094
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.8.0 colorama/0.4.4 importlib-metadata/4.6.4 keyring/23.5.0 pkginfo/1.8.2 readme-renderer/34.0 requests-toolbelt/0.9.1 requests/2.34.2 rfc3986/1.5.0 tqdm/4.57.0 urllib3/1.26.5 CPython/3.10.6
|