项目作者: AfsmNGhr

项目描述 :
Build tensorflow wheel for alpine
高级语言: Dockerfile
项目地址: git://github.com/AfsmNGhr/alpine-tensorflow.git
创建时间: 2019-05-02T09:35:41Z
项目社区:https://github.com/AfsmNGhr/alpine-tensorflow

开源协议:MIT License

下载


Tensorflow for Alpine

It work on Alpine 3.10 and Tensorflow 1.13.2.
Compile tensorflow with options:

  1. CC_OPT_FLAGS='-march=native'
  2. TF_NEED_JEMALLOC=1
  3. TF_NEED_GCP=0
  4. TF_NEED_HDFS=0
  5. TF_NEED_S3=0
  6. TF_ENABLE_XLA=0
  7. TF_NEED_GDR=0
  8. TF_NEED_VERBS=0
  9. TF_NEED_OPENCL=0
  10. TF_NEED_CUDA=0
  11. TF_NEED_MPI=0

How to install

Use the pre-built binary wheel hosted on Github.

How to compile

If you want to compile it yourself, use the Dockerfile. Note that it can take many hours.