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)
Version | Release | Optimization | OS |
---|---|---|---|
v1.3.1 | 2.7, 3.6 | MKL MSSE4.2 MAVX2 MAVX | High Sierra |
v1.4.0rc0 | 2.7, 3.6 | XLA MKL MSSE4.2 MAVX2 MAVX | High Sierra |
v1.4.0 | 2.7, 3.6 | XLA MKL MSSE4.2 MAVX2 MAVX | High Sierra |
v1.4.1 | 2.7, 3.6 | XLA MKL MSSE4.2 MAVX2 MAVX | High Sierra |
v1.7.0rc1 | 2.7, 3.6 | XLA MKL MSSE4.2 MAVX2 MAVX | High 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
TF | HW | OS | GCC | Python | Supports | |
---|---|---|---|---|---|---|
2.1.0 | CPU | Ubuntu 16.04 | 5.4.0 | 3.5.2 | FMA, AVX, AVX2, SSE4.1, SSE4.2 | Download |
1.14.1 | CPU | macOS Mojave | clang-1001.0.46.4 | 3.7.4 | FMA, AVX, AVX2, SSE4.1, SSE4.2 | Download |
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
TF | HW | OS | GCC | Python | Supports | |
---|---|---|---|---|---|---|
1.4.0 | CPU | macOS Sierra | clang-802.0.42 | 3.6.3 | SSE4.1, SSE4.2, AVX, AVX2, FMA | Download |
1.4.1 | CPU | macOS Sierra | clang-900.0.39.2 | 2.7.14 | SSE4.1, SSE4.2, AVX, AVX2, FMA | Download |
1.4.1 | CPU | macOS Sierra | clang-900.0.39.2 | 2.7.13 | AVX, SSE4.1, SSE4.2 | Download |
1.4.1 | CPU | macOS Sierra | clang-900.0.39.2 | 3.6.1 | AVX, SSE4.1, SSE4.2 | Download |
1.5.0 | CPU | macOS High Sierra | clang-900.0.39.2 | 3.6.4 | SSE4.2, AVX, AVX2, FMA | Download |
1.5.0 | CPU | macOS High Sierra | clang-900.0.39.2 | 3.6.4 | AVX, SSE4.1, SSE4.2 | Download |
1.6.0 | CPU | Ubuntu 16.04 | 5.4 | 2.7.12 | SSE4.1, SSE4.2, AVX, AVX2, FMA | Download |
1.8.0 | CPU | macOS High Sierra | clang-902.0.39.1 | 3.6.5 | SSE4.1, SSE4.2, AVX, AVX2, FMA, SSSE3, POPCNT, CX16 | Download |
1.8.0 | CPU | macOS High Sierra | clang-902.0.39.1 | 3.6.5 | SSE4.1, SSE4.2, AVX, AVX2, FMA | Download |
1.8.0 | CPU | macOS High Sierra | clang-902.0.39.1 | 2.7.15 | SSE4.1, SSE4.2, AVX, AVX2, FMA | Download |
1.9.0 | CPU | macOS High Sierra | clang-902.0.39.1 | 3.6.5 | SSE4.1, SSE4.2, AVX, AVX2, FMA | Download |
1.9.0 | CPU | macOS High Sierra | clang-902.0.39.1 | 2.7.15 | SSE4.1, SSE4.2, AVX, AVX2, FMA | Download |
1.9.0 | CPU | Ubuntu 16.04 | 5.4 | 3.6.6 | FMA, AVX, AVX2, SSE4.1, SSE4.2 | Download |
1.9.0 | CPU | Ubuntu 16.04 | 5.4 | 3.5.2 | FMA, AVX, AVX2, SSE4.1, SSE4.2 | Download |
1.9.0 | CPU | Ubuntu 16.04 | 5.4 | 2.7.12 | FMA, AVX, AVX2, SSE4.1, SSE4.2 | Download |
1.9.0 | CPU | Ubuntu 18.04 | 7.3 | 3.6.5 | FMA, AVX, AVX2, SSE4.1, SSE4.2 | Download |
1.10.0 | CPU | Ubuntu 18.04 | 7.3 | 3.6.5 | FMA, AVX, AVX2, SSE4.1, SSE4.2 | Download |
1.10.0 | CPU | Ubuntu 18.04 | 7.3 | 2.7.15rc1 | FMA, AVX, AVX2, SSE4.1, SSE4.2 | Download |
1.10.0 | CPU | Ubuntu 16.04 | 5.4 | 3.5.2 | FMA, AVX, AVX2, SSE4.1, SSE4.2 | Download |
1.10.0 | CPU | Ubuntu 16.04 | 5.4 | 2.7.12 | FMA, AVX, AVX2, SSE4.1, SSE4.2 | Download |
1.10.0 | CPU | Ubuntu 16.04 | 5.4 | 3.6.6 | FMA, AVX, AVX2, SSE4.1, SSE4.2, AVX512F | Download |
1.11.0 | CPU | MacOS Mojave | clang-1000.10.44.2 | 2.7.15 | FMA, AVX, AVX2, SSE4.1, SSE4.2 | Download |
1.11.0 | CPU | MacOS Mojave | clang-1000.10.44.2 | 3.7.0 | FMA, AVX, AVX2, SSE4.1, SSE4.2 | Download |
1.11.0 | CPU | Ubuntu 16.04 | 5.4 | 2.7.12 | FMA, AVX, AVX2, SSE4.1, SSE4.2 | Download |
1.11.0 | CPU | Ubuntu 16.04 | 5.4 | 3.5.2 | FMA, AVX, AVX2, SSE4.1, SSE4.2 | Download |
1.12.0 | CPU | MacOS Mojave | clang-1000.10.44.4 | 2.7.15 | FMA, AVX, AVX2, SSE4.1, SSE4.2 | Download |
1.12.0 | CPU | MacOS Mojave | clang-1000.10.44.4 | 3.7.0 | FMA, AVX, AVX2, SSE4.1, SSE4.2 | Download |
1.12.0 | CPU | Ubuntu 16.04 | 5.4 | 2.7.12 | FMA, AVX, AVX2, SSE4.1, SSE4.2 | Download |
1.12.0 | CPU | Ubuntu 16.04 | 5.4 | 3.5.2 | FMA, AVX, AVX2, SSE4.1, SSE4.2 | Download |
1.12.0 | CPU | Ubuntu 18.04 | 7.3 | 2.7.15rc1 | FMA, AVX, AVX2, SSE4.1, SSE4.2 | Download |
1.12.0 | CPU | Ubuntu 18.04 | 7.3 | 3.6.5 | FMA, AVX, AVX2, SSE4.1, SSE4.2 | Download |
1.12.0 | CPU | Ubuntu 18.04 | 7.3 | 3.6.5 | FMA, AVX2, AVX512F | Download |
1.12.0 | CPU | Ubuntu 16.04 | 5.4 | 3.5.4 | FMA, AVX2, AVX512F | Download |
1.13.1 | CPU | Ubuntu 16.04 | 5.4 | 3.5.2 | FMA, AVX, AVX2, SSE4.1, SSE4.2 | Download |
1.13.1 | CPU | MacOS Mojave | clang-1001.0.46.4 | 3.7.2 | FMA, AVX, AVX2, SSE4.1, SSE4.2 | Download |
1.14.1 | CPU | Ubuntu 18.04 | 7.4 | 3.7.3 | FMA, AVX2, AVX512F | Download |
1.14.1 | CPU | macOS Mojave | clang-1001.0.46.4 | 3.7.4 | FMA, AVX2, AVX512F | Download |
1.14.1 | CPU | macOS Mojave | clang-1001.0.46.4 | 3.7.4 | FMA, AVX, AVX2, SSE4.1, SSE4.2 | Download |
2.1.0 | CPU | Ubuntu 16.04 | 5.4.0 | 3.5.2 | FMA, AVX, AVX2, SSE4.1, SSE4.2 | Download |
Visit tensorflow.org for instructions on building tensorflow for your machine.