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.raw_ops.FusedPadConv2D #67527

Open
LongZE666 opened this issue May 14, 2024 · 1 comment
Open

Aborted (core dumped) in tf.raw_ops.FusedPadConv2D #67527

LongZE666 opened this issue May 14, 2024 · 1 comment
Assignees
Labels
comp:ops OPs related issues TF 2.16 type:bug Bug

Comments

@LongZE666
Copy link

Issue type

Bug

Have you reproduced the bug with TensorFlow Nightly?

Yes

Source

source

TensorFlow version

tf 2.16.1

Custom code

Yes

OS platform and distribution

Ubuntu 20.04

Mobile device

No response

Python version

No response

Bazel version

No response

GCC/compiler version

No response

CUDA/cuDNN version

No response

GPU model and memory

No response

Current behavior?

When input dimension is less than 4, it will cause abort.

Standalone code to reproduce the issue

import tensorflow as tf

mode = "REFLECT"
strides = [1, 1, 1, 1]
padding = "VALID"
input = tf.constant(1.5e+300, shape=[], dtype=tf.float64)
paddings = tf.constant(65534, shape=[4,2], dtype=tf.int32)
filter = tf.constant([], shape=[1,1,0,1,0], dtype=tf.float64)
tf.raw_ops.FusedPadConv2D(input=input, paddings=paddings, filter=filter, mode=mode, strides=strides, padding=padding)

Relevant log output

2024-05-14 08:19:37.953832: F tensorflow/core/framework/tensor_shape.cc:357] Check failed: d < dims() (1 vs. 0)
Aborted (core dumped)
@google-ml-butler google-ml-butler bot added the type:bug Bug label May 14, 2024
@LongZE666 LongZE666 changed the title Aborted (core dumped) in Aborted (core dumped) Aborted (core dumped) in tf.raw_ops.FusedPadConv2D May 14, 2024
@sushreebarsa sushreebarsa added comp:ops OPs related issues TF 2.16 labels May 15, 2024
@sushreebarsa
Copy link
Contributor

@SuryanarayanaY I was able to replicate the issue reported here.
Thank you!

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

No branches or pull requests

3 participants