Giter VIP home page Giter VIP logo

Comments (5)

cubeye avatar cubeye commented on August 24, 2024 17

@JohnnieXDU If you installed your tensorflow r1.3 from source, you could copy cuda_config.h to your python dist-packages,

sudo cp tensorflow/third_party/toolchains/gpus/cuda/cuda/cuda_config.h /usr/local/lib/python2.7/dist-packages/tensorflow/include/tensorflow/stream_executor/cuda/

then you may still have the following compilation issues:

/usr/local/lib/python2.7/dist-packages/tensorflow/include/tensorflow/core/util/cuda_kernel_helper.h(620): error: identifier "__shfl" is undefined
/usr/local/lib/python2.7/dist-packages/tensorflow/include/tensorflow/core/util/cuda_kernel_helper.h(640): error: identifier "__shfl_up" is undefined
/usr/local/lib/python2.7/dist-packages/tensorflow/include/tensorflow/core/util/cuda_kernel_helper.h(660): error: identifier "__shfl_down" is undefined
/usr/local/lib/python2.7/dist-packages/tensorflow/include/tensorflow/core/util/cuda_kernel_helper.h(680): error: identifier "__shfl_xor" is undefined

The solution is to add the following compiler flags back to the Makefile
GPUCFLAGS = -c -gencode=arch=compute_30,code=sm_30

This worked on my machine.

from flownet2-tf.

MatthewD1993 avatar MatthewD1993 commented on August 24, 2024 1

you have to use tensorflow 1.2.1.

from flownet2-tf.

JohnnieXDU avatar JohnnieXDU commented on August 24, 2024

Thanks, finally I fix this by using TF 1.2.1 @MatthewD1993 @cubeye

from flownet2-tf.

qiufan avatar qiufan commented on August 24, 2024

@cubeye Thank you very much~~

from flownet2-tf.

LiuzhuForFun avatar LiuzhuForFun commented on August 24, 2024

thanks!

from flownet2-tf.

Related Issues (20)

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.