Skip to content

Compile Tensorflow by CMake: Windows

Tang, Wenyi edited this page Sep 8, 2018 · 1 revision

Tutorial - Compile Tensorflow by CMake on Windows

Requirements

  • CMake >= 3.12
  • VS2015 + CUDA 9.0 + cuDNN 7 (If you need GPU version, VC version must lower than 1914, see here)
  • Python 3 (I only verified on Python3.6), with pip package:
    • protobuf==3.6
    • absl-py
    • setuptools
    • wheel
    • numpy

Step-by-step compilation

  1. clone the repository

git clone https://github.com/LoSealL/tensorflow-cmake