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

Check failed in tf.transpose, tf.raw_ops.Transpose and tf.compat.v1.transpose when the values of perm have negative numbers. #65649

Open
xl1043237213 opened this issue Apr 14, 2024 · 1 comment
Assignees
Labels
comp:ops OPs related issues stat:awaiting tensorflower Status - Awaiting response from tensorflower TF 2.16 type:bug Bug

Comments

@xl1043237213
Copy link

xl1043237213 commented Apr 14, 2024

Issue type

Bug

Have you reproduced the bug with TensorFlow Nightly?

Yes

Source

source

TensorFlow version

tf 2.15

Custom code

No

OS platform and distribution

Linux Ubuntu 20.04

Mobile device

No response

Python version

3.10

Bazel version

No response

GCC/compiler version

No response

CUDA/cuDNN version

No response

GPU model and memory

No response

Current behavior?

Check failed in tf.transpose when the values of perm have negative numbers, which causes the program to crash. See the colab link below for details.

Standalone code to reproduce the issue

https://colab.research.google.com/drive/1GtoXacWSEuyLXVE5GD9IIB-YcMOxV6sP?usp=sharing

Relevant log output

Check failed: d >= 0 (0 vs. -2)
Aborted (core dumped)
@google-ml-butler google-ml-butler bot added the type:bug Bug label Apr 14, 2024
@xl1043237213 xl1043237213 changed the title Check failed in tf.transpose when the values of perm have negative numbers. Check failed in tf.transpose and tf.raw_ops.Transpose when the values of perm have negative numbers. Apr 14, 2024
@xl1043237213 xl1043237213 changed the title Check failed in tf.transpose and tf.raw_ops.Transpose when the values of perm have negative numbers. Check failed in tf.transpose, tf.raw_ops.Transpose and tf.compat.v1.transpose when the values of perm have negative numbers. Apr 14, 2024
@tilakrayal tilakrayal added TF 2.15 For issues related to 2.15.x comp:ops OPs related issues TF 2.16 stat:awaiting tensorflower Status - Awaiting response from tensorflower and removed TF 2.15 For issues related to 2.15.x labels Apr 15, 2024
@tilakrayal
Copy link
Contributor

@xl1043237213,
I was able to reproduce the issue on TensorFlow v2.15, v2.16 and tf-nightly. Kindly find the gist of it here.

image

@tilakrayal tilakrayal added stat:awaiting tensorflower Status - Awaiting response from tensorflower and removed stat:awaiting tensorflower Status - Awaiting response from tensorflower labels May 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
comp:ops OPs related issues stat:awaiting tensorflower Status - Awaiting response from tensorflower TF 2.16 type:bug Bug
Projects
None yet
Development

No branches or pull requests

2 participants