You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If XLA fails to compile a program and returns a Status error, PyTorch/XLA should handle it gracefully (e.g. by raising an appropriate Python exception) instead of crashing.
🐛 Bug
If XLA fails to compile a program and returns a Status error, PyTorch/XLA should handle it gracefully (e.g. by raising an appropriate Python exception) instead of crashing.
To Reproduce
See
xla/torch_xla/csrc/runtime/pjrt_computation_client.cc
Lines 635 to 641 in a45a05a
CompileAndLoad(...).value()
will crash ifCompileAndLoad(...)
returns an error. We should check for error before getting the value.The text was updated successfully, but these errors were encountered: