Optimized Tensorflow Build For Mac

I tried to build TensorFlow on my macOS. Optimization flag - default; GCP support - No; HDFS support - No; XLA compiler support - No. Tensorflow is an Open Source Software Library for Machine Intelligence originally developed by researchers and engineers working on the Google Brain Team. Version 1.0 has been announced in February, so that's the version we will install. There are several ways to install it, we'll use the pip method for this tutorial.

Serving the underserved

1. (Intel MKL-DNN 2018)

VersionReleaseOptimizationOS
v1.3.12.7, 3.6MKL MSSE4.2 MAVX2 MAVXHigh Sierra
v1.4.0rc02.7, 3.6XLA MKL MSSE4.2 MAVX2 MAVXHigh Sierra
v1.4.02.7, 3.6XLA MKL MSSE4.2 MAVX2 MAVXHigh Sierra
v1.4.12.7, 3.6XLA MKL MSSE4.2 MAVX2 MAVXHigh Sierra
v1.7.0rc12.7, 3.6XLA MKL MSSE4.2 MAVX2 MAVXHigh Sierra

Note v1.7.0rc1 is slow

The suggested version to run currently running on MKL is 1.4.1

Intel MKL-DNN

Intel MKL-DNN includes functionality similar toIntel(R) Math Kernel Library (Intel(R) MKL) 2017, but is not API compatible.We are investigating how to unify the APIs in future Intel MKL releases.

This release contains a range of performance critical functions used in modern image recognition topologies including Cifar*, AlexNet*, VGG*, GoogleNet* and ResNet* optimized for wide range of Intel processors.

Python 3 Install

Python 2 Install

Optimizations

  • MKL: Intel Math Kernel Library
  • XLA: Accelerated Linear Algebra
  • MSSE4 etc.: SIMD Vectorization Extensions

Build It Yourself

This repository contains custom builds of tensorflow. To installone of these on your system, download the correct file accordingto your version of python and gcc and run the following command.

You can also install directly from github using

Latest Builds

TFHWOSGCCPythonSupports
2.1.0CPUUbuntu 16.045.4.03.5.2FMA, AVX, AVX2, SSE4.1, SSE4.2Download
1.14.1CPUmacOS Mojaveclang-1001.0.46.43.7.4FMA, AVX, AVX2, SSE4.1, SSE4.2Download

If you find this project useful, please consider donating to the Rotary AmbalaCancer & General Hospital. It is a donation supported cancer hospital inmy mother's hometown and provides extremely affordable services to the localpopulation. 1995 no doubt tragic kingdom rare.

The donation process on its page is suboptimal, if you prefer not going throughthe trouble, consider using the 'Sponsor' button at the top and I'll make sureyour donations get to the hospital. Thanks! Download john fahey the transfiguration of blind joe death rar.

All Builds

TFHWOSGCCPythonSupports
1.4.0CPUmacOS Sierraclang-802.0.423.6.3SSE4.1, SSE4.2, AVX, AVX2, FMADownload
1.4.1CPUmacOS Sierraclang-900.0.39.22.7.14SSE4.1, SSE4.2, AVX, AVX2, FMADownload
1.4.1CPUmacOS Sierraclang-900.0.39.22.7.13AVX, SSE4.1, SSE4.2Download
1.4.1CPUmacOS Sierraclang-900.0.39.23.6.1AVX, SSE4.1, SSE4.2Download
1.5.0CPUmacOS High Sierraclang-900.0.39.23.6.4SSE4.2, AVX, AVX2, FMADownload
1.5.0CPUmacOS High Sierraclang-900.0.39.23.6.4AVX, SSE4.1, SSE4.2Download
1.6.0CPUUbuntu 16.045.42.7.12SSE4.1, SSE4.2, AVX, AVX2, FMADownload
1.8.0CPUmacOS High Sierraclang-902.0.39.13.6.5SSE4.1, SSE4.2, AVX, AVX2, FMA, SSSE3, POPCNT, CX16Download
1.8.0CPUmacOS High Sierraclang-902.0.39.13.6.5SSE4.1, SSE4.2, AVX, AVX2, FMADownload
1.8.0CPUmacOS High Sierraclang-902.0.39.12.7.15SSE4.1, SSE4.2, AVX, AVX2, FMADownload
1.9.0CPUmacOS High Sierraclang-902.0.39.13.6.5SSE4.1, SSE4.2, AVX, AVX2, FMADownload
1.9.0CPUmacOS High Sierraclang-902.0.39.12.7.15SSE4.1, SSE4.2, AVX, AVX2, FMADownload
1.9.0CPUUbuntu 16.045.43.6.6FMA, AVX, AVX2, SSE4.1, SSE4.2Download
1.9.0CPUUbuntu 16.045.43.5.2FMA, AVX, AVX2, SSE4.1, SSE4.2Download
1.9.0CPUUbuntu 16.045.42.7.12FMA, AVX, AVX2, SSE4.1, SSE4.2Download
1.9.0CPUUbuntu 18.047.33.6.5FMA, AVX, AVX2, SSE4.1, SSE4.2Download
1.10.0CPUUbuntu 18.047.33.6.5FMA, AVX, AVX2, SSE4.1, SSE4.2Download
1.10.0CPUUbuntu 18.047.32.7.15rc1FMA, AVX, AVX2, SSE4.1, SSE4.2Download
1.10.0CPUUbuntu 16.045.43.5.2FMA, AVX, AVX2, SSE4.1, SSE4.2Download
1.10.0CPUUbuntu 16.045.42.7.12FMA, AVX, AVX2, SSE4.1, SSE4.2Download
1.10.0CPUUbuntu 16.045.43.6.6FMA, AVX, AVX2, SSE4.1, SSE4.2, AVX512FDownload
1.11.0CPUMacOS Mojaveclang-1000.10.44.22.7.15FMA, AVX, AVX2, SSE4.1, SSE4.2Download
1.11.0CPUMacOS Mojaveclang-1000.10.44.23.7.0FMA, AVX, AVX2, SSE4.1, SSE4.2Download
1.11.0CPUUbuntu 16.045.42.7.12FMA, AVX, AVX2, SSE4.1, SSE4.2Download
1.11.0CPUUbuntu 16.045.43.5.2FMA, AVX, AVX2, SSE4.1, SSE4.2Download
1.12.0CPUMacOS Mojaveclang-1000.10.44.42.7.15FMA, AVX, AVX2, SSE4.1, SSE4.2Download
1.12.0CPUMacOS Mojaveclang-1000.10.44.43.7.0FMA, AVX, AVX2, SSE4.1, SSE4.2Download
1.12.0CPUUbuntu 16.045.42.7.12FMA, AVX, AVX2, SSE4.1, SSE4.2Download
1.12.0CPUUbuntu 16.045.43.5.2FMA, AVX, AVX2, SSE4.1, SSE4.2Download
1.12.0CPUUbuntu 18.047.32.7.15rc1FMA, AVX, AVX2, SSE4.1, SSE4.2Download
1.12.0CPUUbuntu 18.047.33.6.5FMA, AVX, AVX2, SSE4.1, SSE4.2Download
1.12.0CPUUbuntu 18.047.33.6.5FMA, AVX2, AVX512FDownload
1.12.0CPUUbuntu 16.045.43.5.4FMA, AVX2, AVX512FDownload
1.13.1CPUUbuntu 16.045.43.5.2FMA, AVX, AVX2, SSE4.1, SSE4.2Download
1.13.1CPUMacOS Mojaveclang-1001.0.46.43.7.2FMA, AVX, AVX2, SSE4.1, SSE4.2Download
1.14.1CPUUbuntu 18.047.43.7.3FMA, AVX2, AVX512FDownload
1.14.1CPUmacOS Mojaveclang-1001.0.46.43.7.4FMA, AVX2, AVX512FDownload
1.14.1CPUmacOS Mojaveclang-1001.0.46.43.7.4FMA, AVX, AVX2, SSE4.1, SSE4.2Download
2.1.0CPUUbuntu 16.045.4.03.5.2FMA, AVX, AVX2, SSE4.1, SSE4.2Download
Tensorflow

Visit tensorflow.org for instructions on building tensorflow for your machine.