Build and install TensorFlow from source with MKL DNN support and AVX enabled

In this guide, we will walk you through building and installing TensorFlow from source with support for MKL DNN and with AVX enabled. There are six simple steps:

  • Step 1: Clone the source
  • Step 2: Chose your version
  • Step 3: Install Bazel
  • Step 4: Configure the build
  • Step 5: Build the pip wheel file
  • Step 6: Build with pip

Read the complete guide to get started with TensorFlow
This is a companion discussion topic for the original entry at