Code Monkey home page Code Monkey logo

tensorflow-gpu-1.8.0-cp36-cp36m-macosx_10_13_x86_64_avx_sse4.1_sse4.2's Introduction

Tensorflow-GPU-1.8.0-cp36-cp36m-macosx_10_13_x86_64_AVX_SSE4.1_SSE4.2

适用于老旧CPU的Tensorflow-GPU-1.8 python 3.6

环境要求
macOS High Sierra 10.13.6
TensorFlow 1.8
python 3.6.5/6
NVIDIA Web-Drivers 387.10.10.10.40.105
CUDA-Drivers 387.178
CUDA Toolkit 9.1.128
cuDNN 7.0.5


>~/.bash_profile
export CUDA_HOME=/usr/local/cuda
export DYLD_LIBRARY_PATH="$CUDA_HOME/lib:$CUDA_HOME/extras/CUPTI/lib"
export LD_LIBRARY_PATH=$DYLD_LIBRARY_PATH
export PATH=$DYLD_LIBRARY_PATH:$PATH
export flags="--config=cuda --config=opt"

>编译环境
Homebrew
bazel 0.10.0
Xcode 8.2
Anaconda3-5.2.0-Python-3.6.5
nccl 2.1.15

>编译指令
bazel build --config=cuda --config=opt --cxxopt="-D_GLIBCXX_USE_CXX11_ABI=0" --action_env PATH --action_env LD_LIBRARY_PATH --action_env DYLD_LIBRARY_PATH --copt=-march=native --copt=-msse4.1 --copt=-msse4.2 --copt=-mavx //tensorflow/tools/pip_package:build_pip_package

>如遇-ncclAllReduce
下载_nccl_ops.so文件替换到你的Pyhon安装目录... /Lib/site-packages/tensorflow/contrib/nccl/ops

tensorflow-gpu-1.8.0-cp36-cp36m-macosx_10_13_x86_64_avx_sse4.1_sse4.2's People

Contributors

tt0576 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.