tqchen commented on code in PR #709:
URL: https://github.com/apache/tvm-ffi/pull/709#discussion_r3832996074
##########
python/tvm_ffi/cython/object.pxi:
##########
@@ -47,6 +48,54 @@ def _new_object(cls):
return cls.__new__(cls)
+# Types that hold a live process resource (a code pointer, a device allocation,
+# a dlopen handle, a PyObject*) and therefore have no value representation that
+# survives a pickle round trip. Maps type key -> explanation of the remedy.
+_UNPICKLABLE_TYPE_REASONS: dict[str, str] = {
Review Comment:
we can skip this for now
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]