Skip to content

raistefintel/intel-extension-for-tensorflow

 
 

Repository files navigation

Intel® Extension for TensorFlow*

Python version license

Intel® Extension for TensorFlow* is a heterogeneous, high performance deep learning extension plugin based on TensorFlow PluggableDevice interface, aiming to bring Intel XPU (GPU, CPU, etc) devices into TensorFlow open source community for AI workload acceleration. It allows users to flexibly plug an XPU into TensorFlow on-demand, exposing the computing power inside Intel's hardware.

This diagram provides a summary of the TensorFlow* PyPI package ecosystem.

  • TensorFlow PyPI packages: estimator, keras, tensorboard, tensorflow-base

  • Intel® Extension for TensorFlow* package:

    intel_extension_for_tensorflow contains:

    • XPU specific implementation
      • Kernels & operators
      • Graph optimizer
      • Device runtime
    • XPU configuration management
      • XPU backend selection
      • Options turning on/off advanced features

Install

Hardware Requirement

Intel® Extension for TensorFlow* provides Intel GPU support and experimental Intel CPU support.

Software Requirement

Package CPU GPU Installation
Intel GPU driver Y Install Intel GPU driver
Intel® oneAPI Base Toolkit Y Install Intel® oneAPI Base Toolkit
TensorFlow Y Y Install TensorFlow 2.10.0

Installation Channel:

Intel® Extension for TensorFlow* can be installed through the following channels:

PyPI DockerHub Source
GPU \ CPU GPU Container \ CPU Container Build from source

Install for GPU

pip install tensorflow==2.10.0
pip install --upgrade intel-extension-for-tensorflow[gpu]

Please refer to GPU installation for details.

Install for CPU [Experimental]

pip install tensorflow==2.10.0
pip install --upgrade intel-extension-for-tensorflow[cpu]

Sanity check instructions:

python -c "import intel_extension_for_tensorflow as itex; print(itex.__version__)"

Documentation

Visit the online document website, and then get started with a tour of Intel® Extension for TensorFlow* examples.

Contributing

We welcome community contributions to Intel® Extension for TensorFlow*.

This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the Contributor Covenant. Please see contribution guidelines for additional details.

Resources

Support

Please submit your questions, feature requests, and bug reports on the GitHub issues page.

Security

See Intel's Security Center for information on how to report a potential security issue or vulnerability.

See also: Security Policy

License

Apache License 2.0

This distribution includes third party software governed by separate license terms. This third party software, even if included with the distribution of the Intel software, may be governed by separate license terms, including without limitation, third party license terms, other Intel software license terms, and open source software license terms. These separate license terms govern your use of the third party programs as set forth in the "THIRD-PARTY-PROGRAMS" file.

About

Intel® Extension for TensorFlow*

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C++ 61.7%
  • Python 36.4%
  • Starlark 1.4%
  • C 0.3%
  • Shell 0.1%
  • Dockerfile 0.1%