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

[PT_BREAK] value cannot be converted to type at::BFloat16 without overflow: -3.40282e+38 #2535

Closed
zasdfgbnm opened this issue Oct 6, 2020 · 0 comments · Fixed by #2536
Closed

Comments

@zasdfgbnm
Copy link
Contributor

This is a failure in pytorch/pytorch#45247:

Oct 06 20:13:12 ======================================================================
Oct 06 20:13:12 ERROR [0.005s]: test_clamp_max_xla_bfloat16 (__main__.TestTensorDeviceOpsXLA)
Oct 06 20:13:12 ----------------------------------------------------------------------
Oct 06 20:13:12 Traceback (most recent call last):
Oct 06 20:13:12   File "/opt/conda/lib/python3.6/site-packages/torch/testing/_internal/common_device_type.py", line 273, in instantiated_test
Oct 06 20:13:12     result = test_fn(self, *args)
Oct 06 20:13:12   File "/var/lib/jenkins/workspace/xla/test/../../test/test_torch.py", line 20477, in fn
Oct 06 20:13:12     device_result = getattr(device_tensor, op_str)(*device_args)
Oct 06 20:13:12 RuntimeError: value cannot be converted to type at::BFloat16 without overflow: -3.40282e+38
Oct 06 20:13:12 
Oct 06 20:13:12 ======================================================================
Oct 06 20:13:12 ERROR [0.005s]: test_clamp_min_inplace_xla_bfloat16 (__main__.TestTensorDeviceOpsXLA)
Oct 06 20:13:12 ----------------------------------------------------------------------
Oct 06 20:13:12 Traceback (most recent call last):
Oct 06 20:13:12   File "/opt/conda/lib/python3.6/site-packages/torch/testing/_internal/common_device_type.py", line 273, in instantiated_test
Oct 06 20:13:12     result = test_fn(self, *args)
Oct 06 20:13:12   File "/var/lib/jenkins/workspace/xla/test/../../test/test_torch.py", line 20477, in fn
Oct 06 20:13:12     device_result = getattr(device_tensor, op_str)(*device_args)
Oct 06 20:13:12 RuntimeError: value cannot be converted to type at::BFloat16 without overflow: 3.40282e+38
Oct 06 20:13:12 
Oct 06 20:13:12 ======================================================================
Oct 06 20:13:12 ERROR [0.005s]: test_clamp_min_xla_bfloat16 (__main__.TestTensorDeviceOpsXLA)
Oct 06 20:13:12 ----------------------------------------------------------------------
Oct 06 20:13:12 Traceback (most recent call last):
Oct 06 20:13:12   File "/opt/conda/lib/python3.6/site-packages/torch/testing/_internal/common_device_type.py", line 273, in instantiated_test
Oct 06 20:13:12     result = test_fn(self, *args)
Oct 06 20:13:12   File "/var/lib/jenkins/workspace/xla/test/../../test/test_torch.py", line 20477, in fn
Oct 06 20:13:12     device_result = getattr(device_tensor, op_str)(*device_args)
Oct 06 20:13:12 RuntimeError: value cannot be converted to type at::BFloat16 without overflow: 3.40282e+38
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

Successfully merging a pull request may close this issue.

1 participant