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.0.0-py314-none-win_amd64.whl (950.1 kB view details)

Uploaded Python 3.14Windows x86-64

scikit_learn_intelex_gpu-2026.0.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.0.0-py313-none-win_amd64.whl (950.0 kB view details)

Uploaded Python 3.13Windows x86-64

scikit_learn_intelex_gpu-2026.0.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.0.0-py312-none-win_amd64.whl (949.9 kB view details)

Uploaded Python 3.12Windows x86-64

scikit_learn_intelex_gpu-2026.0.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.0.0-py311-none-win_amd64.whl (881.9 kB view details)

Uploaded Python 3.11Windows x86-64

scikit_learn_intelex_gpu-2026.0.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.0.0-py310-none-win_amd64.whl (879.8 kB view details)

Uploaded Python 3.10Windows x86-64

scikit_learn_intelex_gpu-2026.0.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.0.0-py314-none-win_amd64.whl.

File metadata

  • Download URL: scikit_learn_intelex_gpu-2026.0.0-py314-none-win_amd64.whl
  • Upload date:
  • Size: 950.1 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.33.1 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.0.0-py314-none-win_amd64.whl
Algorithm Hash digest
SHA256 42c5cbb43f56ba36d51434c41ce1cddd997b2ce243676168bf2f40fbef783144
MD5 a4292bf500b49e70576768761c04598a
BLAKE2b-256 0334e2c6c7d76b63e59657387c14fb373b55fb5c0c8ffe05243b9284582beffd

See more details on using hashes here.

File details

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

File metadata

  • Download URL: scikit_learn_intelex_gpu-2026.0.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.33.1 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.0.0-py314-none-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 09bda91cdd4cf3d8ca6cbabc9f9293f109ab5f1f4dc864b0d1b9299714aa1b02
MD5 9314dd524f9118d1ec8cea7d5b3eadd4
BLAKE2b-256 87c67a080a17c7a7bd5ba42a5f99fc86adf8c4a0d734c18c765dfc80fcc570e8

See more details on using hashes here.

File details

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

File metadata

  • Download URL: scikit_learn_intelex_gpu-2026.0.0-py313-none-win_amd64.whl
  • Upload date:
  • Size: 950.0 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.33.1 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.0.0-py313-none-win_amd64.whl
Algorithm Hash digest
SHA256 428b3cbde1fcdc0296fd1fe2c6db68ce34b86f8c89372df70840c37b2fee6aa1
MD5 c6e2f7b80b3b7ff847aee4744231b3eb
BLAKE2b-256 8930e7b4a80ee320c40a9811be082c17d3a7abff7a4dc51e01091b544d672aec

See more details on using hashes here.

File details

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

File metadata

  • Download URL: scikit_learn_intelex_gpu-2026.0.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.33.1 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.0.0-py313-none-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 05707d1b31a66ae7115a4f7b474b56929bbe3ab1ae94d4b394471ceac87d75a6
MD5 982b12b070078336bd26ad633f792c47
BLAKE2b-256 5a44ac9899bdd9fc69ed6d5b1347926a21090ed18ee3dd03541d861fd507a64c

See more details on using hashes here.

File details

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

File metadata

  • Download URL: scikit_learn_intelex_gpu-2026.0.0-py312-none-win_amd64.whl
  • Upload date:
  • Size: 949.9 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.33.1 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.0.0-py312-none-win_amd64.whl
Algorithm Hash digest
SHA256 4c0afb0dd96a41b0337bd3f5f2652eadb3f439c355fbd7fe184ba400d322ed01
MD5 31e7a7207bca1159036838ac1ac5372e
BLAKE2b-256 8096eb6445926139ec88115b0621e2437958cffa65d53dd0670dab4e52b477aa

See more details on using hashes here.

File details

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

File metadata

  • Download URL: scikit_learn_intelex_gpu-2026.0.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.33.1 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.0.0-py312-none-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 04724cb87d8c81e80f42c3ef683f6abdcb05cd11ea5c423fd66a46fcfc3023fb
MD5 b705f57501e624e8742de7b6bdc2c732
BLAKE2b-256 a4470d8a9fb9d00b0483d856d70cfe7d81fd4b3d331239f4f42392c2c3a2988c

See more details on using hashes here.

File details

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

File metadata

  • Download URL: scikit_learn_intelex_gpu-2026.0.0-py311-none-win_amd64.whl
  • Upload date:
  • Size: 881.9 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.33.1 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.0.0-py311-none-win_amd64.whl
Algorithm Hash digest
SHA256 584c1ec7432e43d49d9a1aef004685f3d724c4391deb249cff3785eab8e2c648
MD5 c5b105ebd4243fc14ebecbb5e7031087
BLAKE2b-256 cb55915f62fb624e024831310ba50f815df9d6a6710c4beabc01e050bb69a1aa

See more details on using hashes here.

File details

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

File metadata

  • Download URL: scikit_learn_intelex_gpu-2026.0.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.33.1 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.0.0-py311-none-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 659d230440b81d5081a1ea118c6189f23c112e9d729f3232472d1a8b60e041c5
MD5 94040bc51c16061f1dd65e10ba270118
BLAKE2b-256 5a408670e82b96b4a9687a1928a91ecaa13f4f89b928d4d4c8bf98e5ca59ba69

See more details on using hashes here.

File details

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

File metadata

  • Download URL: scikit_learn_intelex_gpu-2026.0.0-py310-none-win_amd64.whl
  • Upload date:
  • Size: 879.8 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.33.1 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.0.0-py310-none-win_amd64.whl
Algorithm Hash digest
SHA256 bf927ea86b12c2941db7482dc45f1ebcdfb1c4d7e61c882fc50bd209a6e99875
MD5 e976624338c485521ece2c9a4d6f4d3e
BLAKE2b-256 e59c6edde7ab6a91dbe37a5f28249aebb6ff8c4af65636ecb50a5806cac8cfec

See more details on using hashes here.

File details

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

File metadata

  • Download URL: scikit_learn_intelex_gpu-2026.0.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.33.1 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.0.0-py310-none-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 b279dd117f0256cbd17c586d47d2a2557048fe556acb770a07a79ad4a5704937
MD5 cd743f3aff5ff6336def23ca519cd9e4
BLAKE2b-256 8c641ae7e3077ab99b7ee3dc6a39bea399a5a4fedd00f591085e2ad89e302ab2

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