-
Notifications
You must be signed in to change notification settings - Fork 18
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
Use args when calling self.aev_computer #118
Conversation
Does this introduce any compatibility issues we need to be aware of, such as only working with newer versions of TorchANI? |
I don't think so, I've checked back to version 1.0.0 of TorchANI and the signature of Just to note that while the PR linked to above won't (yet) be merged due to a code freeze, this fix is independent of it, i.e. it allows you to use an AEVComputer forward hook with OptimizedTorchANI without requiring the fix to TorchANI itself. |
@RaulPPelaez any idea what's going on with CI? |
Could it be branch protection rules related to OP being a first time contributor? https://github.com/orgs/community/discussions/26698 I cannot access those settings for this repo, can you take a look @peastman ? |
I checked and the rules listed there are correct. The problem is that none of the CI builds have run. And there's no option to retrigger them. Let me try making a trivial change to the file and see if that gets it working. |
Look like they're running now. |
One build is failing with the dreaded |
Many thanks for looking at this so quickly. |
This PR allows the use of a forward hook on the internal AEVComputer of ANI models when using OptmizedTorchANI via TorchScript. See aiqm/torchani#649 for details.