-
Notifications
You must be signed in to change notification settings - Fork 74k
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
Improve fast_tensor_util for bfloat16 #19533
Improve fast_tensor_util for bfloat16 #19533
Conversation
In 19180, improvement has been done to speed up the fast_tensor_util for `float16`. As both `float16` and `bfloat16` uses the same size, `bfloat16` could be improved as well. This fix speeds up `bfloat16` in a similiar fashion as `float16`. This fix is related to 19180. Signed-off-by: Yong Tang <yong.tang.github@outlook.com>
Signed-off-by: Yong Tang <yong.tang.github@outlook.com>
Signed-off-by: Yong Tang <yong.tang.github@outlook.com>
Nagging Reviewer @rmlarsen: It has been 14 days with no activity and the |
Nagging Reviewer @rmlarsen: It has been 29 days with no activity and the |
Nagging Reviewer @rmlarsen: It has been 44 days with no activity and the |
@yongtang is this covered by existing unit tests? |
@rmlarsen Yes the related unit test is in: tensorflow/tensorflow/python/framework/tensor_util_test.py Lines 238 to 257 in 6d8bc3c
|
PiperOrigin-RevId: 206083795
In #19212, improvement has been done to speed up the fast_tensor_util for
float16
. As bothfloat16
and
bfloat16
uses the same size,bfloat16
could be improved as well. This fix speeds upbfloat16
in a similiar fashion asfloat16
.This fix is related to #19212.
Signed-off-by: Yong Tang yong.tang.github@outlook.com