Build from source | TensorFlow (Google, cn)

GPU

version Python version The compiler Build tools cuDNN CUDA
Tensorflow – 2.4.0 3.6-3.8 GCC 7.3.1 Bazel 3.1.0 8.0 11.0
Tensorflow – 2.3.0 3.5-3.8 GCC 7.3.1 Bazel 3.1.0 7.6 10.1
Tensorflow – 2.2.0 3.5-3.8 GCC 7.3.1 Bazel 2.0.0 7.6 10.1
Tensorflow – 2.1.0 2.7, 3.5-3.7 GCC 7.3.1 Bazel 0.27.1 7.6 10.1
Tensorflow – 2.0.0 2.7, 3.3-3.7 GCC 7.3.1 Bazel 0.26.1 7.4 10.0
Tensorflow_gpu – 1.15.0 2.7, 3.3-3.7 GCC 7.3.1 Bazel 0.26.1 7.4 10.0
Tensorflow_gpu – 1.14.0 2.7, 3.3-3.7 GCC 4.8 Bazel 0.24.1 7.4 10.0
Tensorflow_gpu – 1.13.1 2.7, 3.3-3.7 GCC 4.8 Bazel 0.19.2 7.4 10.0
Tensorflow_gpu – 1.12.0 2.7, 3.3-3.6 GCC 4.8 Bazel 0.15.0 7 9
Tensorflow_gpu – 1.11.0 2.7, 3.3-3.6 GCC 4.8 Bazel 0.15.0 7 9
Tensorflow_gpu – 1.10.0 2.7, 3.3-3.6 GCC 4.8 Bazel 0.15.0 7 9
Tensorflow_gpu – 1.9.0 2.7, 3.3-3.6 GCC 4.8 Bazel 0.11.0 7 9
Tensorflow_gpu – 1.8.0 comes with 2.7, 3.3-3.6 GCC 4.8 Bazel 0.10.0 7 9
Tensorflow_gpu – 1.7.0 2.7, 3.3-3.6 GCC 4.8 Bazel 0.9.0 7 9
Tensorflow_gpu – 1.6.0 2.7, 3.3-3.6 GCC 4.8 Bazel 0.9.0 7 9
Tensorflow_gpu – 1.5.0 2.7, 3.3-3.6 GCC 4.8 Bazel 0.8.0 7 9
Tensorflow_gpu – 1.4.0 2.7, 3.3-3.6 GCC 4.8 Bazel 0.5.4 6 8
Tensorflow_gpu – 1.3.0 2.7, 3.3-3.6 GCC 4.8 Bazel 0.4.5 6 8
Tensorflow_gpu – 1.2.0 2.7, 3.3-3.6 GCC 4.8 Bazel 0.4.5 5.1 8
Tensorflow_gpu – 1.1.0 2.7, 3.3-3.6 GCC 4.8 Bazel 0.4.2 5.1 8
Tensorflow_gpu – 1.0.0 2.7, 3.3-3.6 GCC 4.8 Bazel 0.4.2 5.1 8

macOS

CPU

version Python version The compiler Build tools
Tensorflow – 2.4.0 3.6-3.8 Clang in Xcode 10.3 Bazel 3.1.0
Tensorflow – 2.3.0 3.5-3.8 Clang in Xcode 10.1 Bazel 3.1.0
Tensorflow – 2.2.0 3.5-3.8 Clang in Xcode 10.1 Bazel 2.0.0
Tensorflow – 2.1.0 2.7, 3.5-3.7 Clang in Xcode 10.1 Bazel 0.27.1
Tensorflow – 2.0.0 2.7, 3.5-3.7 Clang in Xcode 10.1 Bazel 0.27.1
Tensorflow – 2.0.0 2.7, 3.3-3.7 Clang in Xcode 10.1 Bazel 0.26.1
Tensorflow – 1.15.0 2.7, 3.3-3.7 Clang in Xcode 10.1 Bazel 0.26.1
Tensorflow – 1.14.0 2.7, 3.3-3.7 The Clang Xcode Bazel 0.24.1
Tensorflow – 1.13.1 2.7, 3.3-3.7 The Clang Xcode Bazel 0.19.2
Tensorflow – 1.12.0 2.7, 3.3-3.6 The Clang Xcode Bazel 0.15.0
Tensorflow – 1.11.0 2.7, 3.3-3.6 The Clang Xcode Bazel 0.15.0
Tensorflow – 1.10.0 2.7, 3.3-3.6 The Clang Xcode Bazel 0.15.0
Tensorflow – 1.9.0 2.7, 3.3-3.6 The Clang Xcode Bazel 0.11.0
Tensorflow – 1.8.0 comes with 2.7, 3.3-3.6 The Clang Xcode Bazel 0.10.1
Tensorflow – 1.7.0 2.7, 3.3-3.6 The Clang Xcode Bazel 0.10.1
Tensorflow – 1.6.0 2.7, 3.3-3.6 The Clang Xcode Bazel 0.8.1
Tensorflow – 1.5.0 2.7, 3.3-3.6 The Clang Xcode Bazel 0.8.1
Tensorflow – 1.4.0 2.7, 3.3-3.6 The Clang Xcode Bazel 0.5.4
Tensorflow – 1.3.0 2.7, 3.3-3.6 The Clang Xcode Bazel 0.4.5
Tensorflow – 1.2.0 2.7, 3.3-3.6 The Clang Xcode Bazel 0.4.5
Tensorflow – 1.1.0 2.7, 3.3-3.6 The Clang Xcode Bazel 0.4.2
Tensorflow – 1.0.0 2.7, 3.3-3.6 The Clang Xcode Bazel 0.4.2

GPU

version Python version The compiler Build tools cuDNN CUDA
Tensorflow_gpu – 1.1.0 2.7, 3.3-3.6 The Clang Xcode Bazel 0.4.2 5.1 8
Tensorflow_gpu – 1.0.0 2.7, 3.3-3.6 The Clang Xcode Bazel 0.4.2 5.1 8