Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Aborted (core dumped) in tf.irfftnd/ifftnd/irfftnd #67098

Open
x0w3n opened this issue May 7, 2024 · 2 comments
Open

Aborted (core dumped) in tf.irfftnd/ifftnd/irfftnd #67098

x0w3n opened this issue May 7, 2024 · 2 comments
Assignees
Labels
comp:gpu GPU related issues TF 2.16 type:bug Bug

Comments

@x0w3n
Copy link

x0w3n commented May 7, 2024

Issue type

Bug

Have you reproduced the bug with TensorFlow Nightly?

No

Source

source

TensorFlow version

tf 2.16

Custom code

Yes

OS platform and distribution

Linux Ubuntu 22.04.3 LTS (x86_64)

Mobile device

No response

Python version

3.9.13

Bazel version

No response

GCC/compiler version

No response

CUDA/cuDNN version

No response

GPU model and memory

No response

Current behavior?

When the fft_length parameter of tf.irfftnd/ifftnd/irfftnd is less than or equal to 0, it will trigger a crash, resulting in Check failed.

Standalone code to reproduce the issue

import tensorflow as tf

input1 = tf.random.normal([10,10,10,10,10], dtype=tf.float32)
input2 = tf.random.normal([10,10,10,10,10], dtype=tf.float32)
input3 = tf.complex(input1,input2)

tf.irfftnd(input3,-3,-3) #crash
# tf.ifftnd(input3,-3,-3) #crash
# tf.irfftnd(input3,-3,-3) #crash

Relevant log output

2024-05-07 07:46:42.396021: F tensorflow/core/framework/tensor_shape.cc:45] Check failed: NDIMS == dims() (1 vs. 0)Asking for tensor of 1 dimensions from a tensor of 0 dimensions
Aborted (core dumped)
@google-ml-butler google-ml-butler bot added the type:bug Bug label May 7, 2024
@x0w3n x0w3n changed the title Aborted (core dumped) in tf.irfftnd/ifftnd/irfftnd Aborted (core dumped) in tf.irfftnd/ifftnd/irfftnd May 7, 2024
@Venkat6871 Venkat6871 added TF 2.16 comp:gpu GPU related issues labels May 8, 2024
@Venkat6871
Copy link

Hi @x0w3n ,

Sorry for the delay, I tried to run your code on colab using TF v2.16, nightly and faced the same issue. Please find the gist here for reference.

Thank you!

@x0w3n
Copy link
Author

x0w3n commented May 15, 2024

Hi @x0w3n ,

Sorry for the delay, I tried to run your code on colab using TF v2.16, nightly and faced the same issue. Please find the gist here for reference.

Thank you!
OK. Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
comp:gpu GPU related issues TF 2.16 type:bug Bug
Projects
None yet
Development

No branches or pull requests

2 participants