-
-
Notifications
You must be signed in to change notification settings - Fork 179
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
PyTorch C++-generated module "not found as" itself? #658
Comments
ringohoffman
changed the title
Non-
PyTorch C++-generated module "not found as" itself?
May 14, 2024
dill
-picklable module?
Seems like it could be a more fundamental issue with Looking for feedback. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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: