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
Segmentation fault in tf.histogram_fixed_width #45770
Comments
|
I have tried in colab with TF 2.3, nightly version( |
|
Does this also reproduce with TF 2.4? |
|
I have tried in colab with TF 2.4 and i was able to reproduce the issue. Please, find the gist here. Thanks! |
|
Looks like |
|
I see that the example crashes if executed on cpu with TF 2.4 where as on gpu execution with TF 2.4 it passes with following output. <tf.Tensor: shape=(100,), dtype=int32, numpy=
array([0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], dtype=int32)> |
|
It is still replicating in CPU mode for TF 2.8. |
Fixes #45770 PiperOrigin-RevId: 443149951
Fixes #45770 PiperOrigin-RevId: 443149951
Fixes #45770 PiperOrigin-RevId: 443149951
Fixes #45770 PiperOrigin-RevId: 443149951
Please make sure that this is a bug. As per our
GitHub Policy,
we only address code/doc bugs, performance issues, feature requests and
build/installation issues on GitHub. tag:bug_template
System information
Describe the current behavior
tf.histogram_fixed_widthcrashes (segmentation fault) whenvaluescontain nanDescribe the expected behavior
Expect no crash
Standalone code to reproduce the issue
The text was updated successfully, but these errors were encountered: