Commit f5c69ce
Handle unsupported pybind inputs non-fatally (pytorch#10670)
Summary:
Currently, passing unsupported python types to pybind method execution, such as lists, dicts, or tuples, will crash the kernel due to hitting an assert. This PR updates the logic to raise an exception, which gets nicely bubbled up to the notebook. This gives the user a nicer error message and does not crash the bento/jupyter process.
Differential Revision: D741185091 parent 94f7b10 commit f5c69ce
2 files changed
+1188
-1174
lines changed
0 commit comments