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.raw_ops.TensorScatterMin and tf.tensor_scatter_nd_min when the rank of indices > 2. #65669

Open
xl1043237213 opened this issue Apr 14, 2024 · 3 comments
Assignees
Labels
awaiting review Pull request awaiting review comp:ops OPs related issues TF 2.15 For issues related to 2.15.x type:bug Bug

Comments

@xl1043237213
Copy link

Issue type

Bug

Have you reproduced the bug with TensorFlow Nightly?

Yes

Source

binary

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.raw_ops.TensorScatterMin and tf.tensor_scatter_nd_min when the rank of indices > 2, 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/1An8M5c6VvjjZNvG_xx94Oy-H93suc6mD?usp=sharing

Relevant log output

Check failed: d < dims() (1 vs. 1)
@google-ml-butler google-ml-butler bot added the type:bug Bug label Apr 14, 2024
@SuryanarayanaY SuryanarayanaY added comp:ops OPs related issues TF 2.15 For issues related to 2.15.x labels Apr 15, 2024
@SuryanarayanaY
Copy link
Collaborator

SuryanarayanaY commented Apr 15, 2024

Hi @xl1043237213 ,

Thanks for reporting. I have reproduced the reported check fail and attached screenshot below.

@SuryanarayanaY
Copy link
Collaborator

Screenshot 2024-04-15 at 1 46 43 PM

@SuryanarayanaY
Copy link
Collaborator

This seems related to PR #63725

@SuryanarayanaY SuryanarayanaY added the awaiting review Pull request awaiting review label Apr 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
awaiting review Pull request awaiting review comp:ops OPs related issues TF 2.15 For issues related to 2.15.x type:bug Bug
Projects
None yet
Development

No branches or pull requests

2 participants