Giter VIP home page Giter VIP logo

Comments (3)

JiamingSuen avatar JiamingSuen commented on May 31, 2024 2

Yes this would resolve the problem:

cd `python -c 'import tensorflow as tf; print(tf.sysconfig.get_include())'`
cd tensorflow/stream_executor/cuda
curl -O https://raw.githubusercontent.com/tensorflow/tensorflow/master/third_party/toolchains/gpus/cuda/cuda/cuda_config.h

But I'm not sure if this is the best practice since it seems to be a hack.. For now it's enough.
@Zardinality well your modification for make.sh in a0f9e94 it didn't resolve the problem entirely since you used both CUDA_HOME and CUDA_PATH in the script.

from tf_deformable_net.

Zardinality avatar Zardinality commented on May 31, 2024

Sorry for my neglection on the header stuff, last day in another repo someone file an issue about it, so I change README of it to add a reminder. But I forgot this repo. How I wish could get rid of this include! But I have to use cublas and allocate gpu memory in deform_conv.cc.

If I am right, cuda_config.h should be placed in $TF_INC/tensorflow/stream_executor/cuda and the simplest method to repair it is to copy the header to this path in make.sh. What do you think?

from tf_deformable_net.

bwuzhang avatar bwuzhang commented on May 31, 2024

I copied https://github.com/tensorflow/tensorflow/blob/master/third_party/toolchains/gpus/cuda/cuda/cuda_config.h to $ROOT_PYTHON/site-packages/tensorflow/include/cude/cuda_config.h. It works for me.

from tf_deformable_net.

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.