-
Notifications
You must be signed in to change notification settings - Fork 548
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]: MulticomponentMPNN
and MPNN
can't be loaded from checkpoint file in Python 3.12
#738
Comments
JacksonBurns
changed the title
[BUG]:
[BUG]: Mar 22, 2024
MulticomponentMPNN
can't be loaded from checkpoint file in Python 3.12MulticomponentMPNN
and MPNN
can't be loaded from checkpoint file in Python 3.12
Turns out that this actually impacts both the MPNN and the MulticomponentMPNN. |
TODO: just try instantiating and then pickling a (Multicomponent)MPNN, use dill's detect module if unsucessful to diagnose why |
JacksonBurns
added a commit
to JacksonBurns/chemprop
that referenced
this issue
Mar 22, 2024
fix suggested by @knathan to possibly renable loading from checkpoint on 3.12 could resolve chemprop#738
JacksonBurns
added a commit
to JacksonBurns/chemprop
that referenced
this issue
Mar 22, 2024
fix suggested by @knathan to possibly renable loading from checkpoint on 3.12 could resolve chemprop#738
JacksonBurns
added a commit
to JacksonBurns/chemprop
that referenced
this issue
Mar 22, 2024
fix suggested by @knathan to possibly renable loading from checkpoint on 3.12 could resolve chemprop#738
JacksonBurns
added a commit
to JacksonBurns/chemprop
that referenced
this issue
Mar 22, 2024
fix suggested by @knathan to possibly renable loading from checkpoint on 3.12 could resolve chemprop#738
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This issues is tracking a bug which was discovered in PR #714 - the
MulticomponentMPNN
class cannot be loaded from a checkpoint becauselightning
incorrectly infers the class arguments. This can only be fixed by the upstream, so the following steps have been taken here:This seems like some problem with lightning that we have no control over, so it may be best to just wrap the load_from_checkpoint method in MulticomponentMPNN and raise an error/warning about how Python 3.12 is bugged for that function and then wait for lightning to figure it out.
Originally posted by @JacksonBurns in #714 (comment)
The text was updated successfully, but these errors were encountered: