Coder Social home page Coder Social logo

Comments (4)

jmontalt avatar jmontalt commented on July 19, 2024

I'm afraid I haven't seen this one before. I would start by tracking what is happening to fft_plan_. Did cufftPlanMany return an invalid plan? If so, why wasn't the error caught? Or was the plan valid at first but then we broke it? If so, where? Is this the first use of the plan?

Just throwing some ideas around. If you can reproduce it I'll also try to have a look.

from tensorflow-nufft.

chaithyagr avatar chaithyagr commented on July 19, 2024

I seem to encounter this issue only in Graph mode!
@jmontalt do you expect anything to be in terms of execution cycles with graph vs eager execution?

from tensorflow-nufft.

chaithyagr avatar chaithyagr commented on July 19, 2024

I guess we need to use the stream_executor wrapper to rightly use FFT.
It is available here: https://github.com/tensorflow/tensorflow/blob/master/tensorflow/stream_executor/fft.h
WDYT?

from tensorflow-nufft.

jmontalt avatar jmontalt commented on July 19, 2024

Hi @chaithyagr , I'm not sure where the problem originates, as I haven't had the chance to take a look yet. But yes, I think using the stream executor is the right thing to do. A while ago I considered doing just that, but in the end I decided against it simply because time is in short supply and things seemed to work anyway.

I think we should be able to pretty much replicate what the FFT ops do: https://github.com/tensorflow/tensorflow/blob/master/tensorflow/core/kernels/fft_ops.cc

from tensorflow-nufft.

Related Issues (19)

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.