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

Crash observed when importing tensorflow and bfloat16 module #2

Open
murthy-l opened this issue Feb 3, 2022 · 1 comment
Open

Crash observed when importing tensorflow and bfloat16 module #2

murthy-l opened this issue Feb 3, 2022 · 1 comment

Comments

@murthy-l
Copy link

murthy-l commented Feb 3, 2022

Bfloat16 module crashes when tried to import along with tensorflow.
Tensorflow supports bfloat16, i am aware of it, but in larger project this is affecting the bfloat16 usage
Simple steps to reproduce the issue

$ python
Python 3.8.10 (default, Nov 26 2021, 20:14:08)
[GCC 9.3.0] on linux
Type "help", "copyright", "credits" or "license" for more information.

import tensorflow
import bfloat16
Segmentation fault (core dumped)

tensorflow version 2.6.2
bfloat16 version 1.1

@zhengbuqian
Copy link

In my experiment importing bfloat16 first and then tensorflow did the trick.

But I only tested on a small script, not sure what the root cause is and whether it'll cause issue in a more complex program/project.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants