Comments (4)
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.
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.
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.
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)
- `tfft.util.estimate_density` is inaccurate HOT 1
- NUFFT ignores TensorFlow's intra-op parallelism setting HOT 1
- NUFFT ignores CUDA device/stream specified by TF framework HOT 1
- Accept tensors in the `grid_shape` argument HOT 1
- Implement 1D NUFFT for GPU HOT 1
- Finish code refactoring/linting
- I dont think the gradients wrt to `points` is right? HOT 5
- Implement shape inference function HOT 1
- NaN's randomly pop up in computations HOT 18
- Compiling without cuda? HOT 16
- Test Case NUFFT1 and Real Valued Data HOT 2
- Allow user to specify `max_batch_size`? HOT 7
- Still facing NaN issues! HOT 21
- Scaling for NUFFT operator HOT 1
- Cannot pip install HOT 2
- ImportError: cannot import name 'nufft_options_pb2' HOT 1
- Running NUFFT in parallel causes a seg fault in CPU kernel HOT 2
- how to specify number of modes/frequencies? HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from tensorflow-nufft.