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

bfloat16 cannot be used with tf.keras.backend #60

Open
arahosu opened this issue Apr 28, 2020 · 0 comments
Open

bfloat16 cannot be used with tf.keras.backend #60

arahosu opened this issue Apr 28, 2020 · 0 comments
Labels
bug Something isn't working

Comments

@arahosu
Copy link
Member

arahosu commented Apr 28, 2020

Our current loss functions are implemented using tf.keras.backend. This throws an error when we use more memory-efficient data types like bfloat16 or other mixed-precision strategies. We could potentially reimplement the loss functions using low-level Tensorflow function (without relying on Keras backend functions)

@arahosu arahosu added the bug Something isn't working label Apr 28, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant