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
My example is in the latest version of torch==2.3.0:
$ pip install torch dill
There is a module in torch._C._dynamo called eval_frame that is not importable as such:
importtorch._C._dynamoprint(torch._C._dynamo.eval_frame) # <module 'torch._C._dynamo.eval_frame'>importtorch._C._dynamo.eval_frame# ModuleNotFoundError: No module named 'torch._C._dynamo.eval_frame'; 'torch._C._dynamo' is not a package
My example is in the latest version of
torch==2.3.0
:$ pip install torch dill
There is a module in
torch._C._dynamo
calledeval_frame
that is not importable as such:I suppose it is like an imported
module
. It is a C++ binding: https://github.com/pytorch/pytorch/blob/556e4ec6c93d4ccfbf84cffe462308340417a95b/torch/csrc/dynamo/init.cpp#L58When I try to pickle attributes of
eval_frame
usingdill
, I get aPicklingError
:Is this being mishandled by
dill
or could there be something malformed about theeval_frame
module
?The text was updated successfully, but these errors were encountered: