Skip to content
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

Emphasize where strain needs to be in inputs #673

Merged
merged 1 commit into from
Nov 14, 2024

Conversation

WardLT
Copy link
Contributor

@WardLT WardLT commented Nov 13, 2024

Took me a long time to figure out why the strain was not being used when computing forces. Felt stupid afterwards, but also that it could be an easy mistake others would make.

Took me a long time to figure out why the strain was not being used when computing forces. Felt stupid afterwards, but also that it could be an easy mistake others would make.
@WardLT
Copy link
Contributor Author

WardLT commented Nov 13, 2024

For clarity, I was getting a RuntimeError: One of the differentiated Tensors appears to not have been used in the graph. Set allow_unused=True if this is the desired behavior. when using calc_stress=True for the Forces output module.

@jnsLs jnsLs merged commit 47cfa5e into atomistic-machine-learning:master Nov 14, 2024
1 check passed
@jnsLs
Copy link
Collaborator

jnsLs commented Nov 14, 2024

Thank you for your contribution!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants