Skip to main content

Intel® Extension for Scikit-learn is a seamless way to speed up your Scikit-learn application.

Project description

Intel(R) Extension for Scikit-learn*

Join the community on GitHub Discussions PyPI Version Conda Version

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)
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

Benchmarks code

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:

🔗 Important links

💬 Support

Report issues, ask questions, and provide suggestions using:

You may reach out to project maintainers privately at onedal.maintainers@intel.com

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

scikit_learn_intelex_gpu-2026.1.0-py314-none-win_amd64.whl (951.5 kB view details)

Uploaded Python 3.14Windows x86-64

scikit_learn_intelex_gpu-2026.1.0-py314-none-manylinux_2_28_x86_64.whl (1.3 MB view details)

Uploaded Python 3.14manylinux: glibc 2.28+ x86-64

scikit_learn_intelex_gpu-2026.1.0-py313-none-win_amd64.whl (951.6 kB view details)

Uploaded Python 3.13Windows x86-64

scikit_learn_intelex_gpu-2026.1.0-py313-none-manylinux_2_28_x86_64.whl (1.3 MB view details)

Uploaded Python 3.13manylinux: glibc 2.28+ x86-64

scikit_learn_intelex_gpu-2026.1.0-py312-none-win_amd64.whl (951.6 kB view details)

Uploaded Python 3.12Windows x86-64

scikit_learn_intelex_gpu-2026.1.0-py312-none-manylinux_2_28_x86_64.whl (1.3 MB view details)

Uploaded Python 3.12manylinux: glibc 2.28+ x86-64

scikit_learn_intelex_gpu-2026.1.0-py311-none-win_amd64.whl (883.2 kB view details)

Uploaded Python 3.11Windows x86-64

scikit_learn_intelex_gpu-2026.1.0-py311-none-manylinux_2_28_x86_64.whl (1.3 MB view details)

Uploaded Python 3.11manylinux: glibc 2.28+ x86-64

scikit_learn_intelex_gpu-2026.1.0-py310-none-win_amd64.whl (881.3 kB view details)

Uploaded Python 3.10Windows x86-64

scikit_learn_intelex_gpu-2026.1.0-py310-none-manylinux_2_28_x86_64.whl (1.3 MB view details)

Uploaded Python 3.10manylinux: glibc 2.28+ x86-64

File details

Details for the file scikit_learn_intelex_gpu-2026.1.0-py314-none-win_amd64.whl.

File metadata

  • Download URL: scikit_learn_intelex_gpu-2026.1.0-py314-none-win_amd64.whl
  • Upload date:
  • Size: 951.5 kB
  • Tags: Python 3.14, Windows x86-64
  • Uploaded using 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

File hashes

Hashes for scikit_learn_intelex_gpu-2026.1.0-py314-none-win_amd64.whl
Algorithm Hash digest
SHA256 777b042880b2c4c8f56052bf0e5362efe87bf292b12ebee9fe27c231f8a7a3eb
MD5 30692c0955b7b5a2d7af69c9f4718a01
BLAKE2b-256 6cd2d9e247c47449ef0fd54e9fbd4c4217452685450094e94e032138062579c8

See more details on using hashes here.

File details

Details for the file scikit_learn_intelex_gpu-2026.1.0-py314-none-manylinux_2_28_x86_64.whl.

File metadata

  • Download URL: scikit_learn_intelex_gpu-2026.1.0-py314-none-manylinux_2_28_x86_64.whl
  • Upload date:
  • Size: 1.3 MB
  • Tags: Python 3.14, manylinux: glibc 2.28+ x86-64
  • Uploaded using 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

File hashes

Hashes for scikit_learn_intelex_gpu-2026.1.0-py314-none-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 292f46e16e3588f9f487182423f66eae716bd36000bd4d0ce15df2e06f26b2fb
MD5 cc6106cf3a36ac5c43e476909c1d2e74
BLAKE2b-256 a0850d8f9de3579aab1f8879db2da3501ece2d372d4ee18dace5967ad3ae1796

See more details on using hashes here.

File details

Details for the file scikit_learn_intelex_gpu-2026.1.0-py313-none-win_amd64.whl.

File metadata

  • Download URL: scikit_learn_intelex_gpu-2026.1.0-py313-none-win_amd64.whl
  • Upload date:
  • Size: 951.6 kB
  • Tags: Python 3.13, Windows x86-64
  • Uploaded using 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

File hashes

Hashes for scikit_learn_intelex_gpu-2026.1.0-py313-none-win_amd64.whl
Algorithm Hash digest
SHA256 7d5c2210424441f421a3d5f1dcf2a109feda86635e6a7c4cd1ce8e1cf5a2dd78
MD5 7334ffa95ff21106848aa5f470c300ff
BLAKE2b-256 3b838662a51a569e80ab261faaaf8c5563388ea7cbf27e5a846f6882433ca2cb

See more details on using hashes here.

File details

Details for the file scikit_learn_intelex_gpu-2026.1.0-py313-none-manylinux_2_28_x86_64.whl.

File metadata

  • Download URL: scikit_learn_intelex_gpu-2026.1.0-py313-none-manylinux_2_28_x86_64.whl
  • Upload date:
  • Size: 1.3 MB
  • Tags: Python 3.13, manylinux: glibc 2.28+ x86-64
  • Uploaded using 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

File hashes

Hashes for scikit_learn_intelex_gpu-2026.1.0-py313-none-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 0fb941ddfc066d14a3480031172a9367e8561c2e02a9d1dd56431d7bef9e6d34
MD5 e583be4004735906b8c244424ae3f993
BLAKE2b-256 bf514583ece0a7145de749e6ab54f7507bee43192f05928798028a0630c01a1f

See more details on using hashes here.

File details

Details for the file scikit_learn_intelex_gpu-2026.1.0-py312-none-win_amd64.whl.

File metadata

  • Download URL: scikit_learn_intelex_gpu-2026.1.0-py312-none-win_amd64.whl
  • Upload date:
  • Size: 951.6 kB
  • Tags: Python 3.12, Windows x86-64
  • Uploaded using 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

File hashes

Hashes for scikit_learn_intelex_gpu-2026.1.0-py312-none-win_amd64.whl
Algorithm Hash digest
SHA256 e6cc48b3dd07fee6c22a72fa92581589f015695e24f4954aef510e2e423ab444
MD5 1b97c96ad6e495f671a2c39bf164709f
BLAKE2b-256 30a70ed0832f9d20842539893d9d35092ce5f0a58dbc508ef27790c6bec95127

See more details on using hashes here.

File details

Details for the file scikit_learn_intelex_gpu-2026.1.0-py312-none-manylinux_2_28_x86_64.whl.

File metadata

  • Download URL: scikit_learn_intelex_gpu-2026.1.0-py312-none-manylinux_2_28_x86_64.whl
  • Upload date:
  • Size: 1.3 MB
  • Tags: Python 3.12, manylinux: glibc 2.28+ x86-64
  • Uploaded using 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

File hashes

Hashes for scikit_learn_intelex_gpu-2026.1.0-py312-none-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 460c3d17928e38637974d16046741c9ba13014364e0680f58dd4ca0d08f6dcb6
MD5 cd6a238e112212da9076cb5c829e52be
BLAKE2b-256 ef71e60a7f1f9ce61ff64a91794f74aca80a49af947a705578e04d42df21c639

See more details on using hashes here.

File details

Details for the file scikit_learn_intelex_gpu-2026.1.0-py311-none-win_amd64.whl.

File metadata

  • Download URL: scikit_learn_intelex_gpu-2026.1.0-py311-none-win_amd64.whl
  • Upload date:
  • Size: 883.2 kB
  • Tags: Python 3.11, Windows x86-64
  • Uploaded using 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

File hashes

Hashes for scikit_learn_intelex_gpu-2026.1.0-py311-none-win_amd64.whl
Algorithm Hash digest
SHA256 5cfa612be30902ba660d1682974f8b56701d32e817fa67b38aec80fa42678a9b
MD5 b1e5331bb3eba36dd7ca6f06cbd9ae85
BLAKE2b-256 6a4468c4538d8256e4c04feb37b9edaf57f04c39e484f12cd05d20d10bd9a21a

See more details on using hashes here.

File details

Details for the file scikit_learn_intelex_gpu-2026.1.0-py311-none-manylinux_2_28_x86_64.whl.

File metadata

  • Download URL: scikit_learn_intelex_gpu-2026.1.0-py311-none-manylinux_2_28_x86_64.whl
  • Upload date:
  • Size: 1.3 MB
  • Tags: Python 3.11, manylinux: glibc 2.28+ x86-64
  • Uploaded using 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

File hashes

Hashes for scikit_learn_intelex_gpu-2026.1.0-py311-none-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 17eca2fd4b4b20e50f4ef8b334bdbcf38273e852352d836af2f4d3ccd715f2bb
MD5 cf9cb97f4a452b271f4abd590c2fd108
BLAKE2b-256 c81e40d1e71b5c24d77bc63b9a7cd813c5b58d17a7e15e48c1af528555a1f28a

See more details on using hashes here.

File details

Details for the file scikit_learn_intelex_gpu-2026.1.0-py310-none-win_amd64.whl.

File metadata

  • Download URL: scikit_learn_intelex_gpu-2026.1.0-py310-none-win_amd64.whl
  • Upload date:
  • Size: 881.3 kB
  • Tags: Python 3.10, Windows x86-64
  • Uploaded using 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

File hashes

Hashes for scikit_learn_intelex_gpu-2026.1.0-py310-none-win_amd64.whl
Algorithm Hash digest
SHA256 a0f0799117f5b20fecb8a5334eed21f4f482759d39668524e0f835b57910877c
MD5 1e59dcba635f0403b5249beabab45e11
BLAKE2b-256 48ea941008fb2b4f1aced413c35faf4c6182adcbcda43c2f1fe570ac4efa501a

See more details on using hashes here.

File details

Details for the file scikit_learn_intelex_gpu-2026.1.0-py310-none-manylinux_2_28_x86_64.whl.

File metadata

  • Download URL: scikit_learn_intelex_gpu-2026.1.0-py310-none-manylinux_2_28_x86_64.whl
  • Upload date:
  • Size: 1.3 MB
  • Tags: Python 3.10, manylinux: glibc 2.28+ x86-64
  • Uploaded using 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

File hashes

Hashes for scikit_learn_intelex_gpu-2026.1.0-py310-none-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 20eb5e5d4f0c6eff56d027b0fa465e068beeef9777446cfb29b342128caae993
MD5 0d493d9f212da6c7763e6c59ee4d4935
BLAKE2b-256 69458128764f953692a4759383a34df64c15c922de10920893b90aef7e4c3094

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page