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
Currently, the C++ VideoDecoder code will throw normal C++ exceptions such as throw std::runtime_exception(). This has caused some problems with how PyTorch handles custom C++ ops, resulting in segfaults. We should exclusively use PyTorch macros (TORCH_CHECK(), C10_THROW_ERROR(), etc) to make sure our C++ error handling correctly propagates to Python.