-
-
Notifications
You must be signed in to change notification settings - Fork 44
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
bug: BuiltinModuleError in PyTorch 2.3.0 #323
Comments
Hey, thanks for the kind words and for the report! It looks like the traceback is incomplete? I'll try to reproduce it anyway, the given info should be enough 🙂 |
Hey, the three lines posted above were missing. Added them now. Again, great tool! |
So, with only torch==2.3.0 (no dependencies), Griffe loads and dumps it without any issue. If I install torch's dependencies as well, I'm getting an error similar to yours: |
OK, looks like torch has some compiled modules ( |
Should be fixed in v1.3.0 🙂 |
Amazing work on
griffe
!Description of the bug
For
torch
2.3.0 we get the following error:Version 2.4.0 runs without issue.
To Reproduce
Full traceback
Full traceback
Expected behavior
Output the json information, e.g.
Environment information
griffe
v1.2.0The text was updated successfully, but these errors were encountered: