Skip to content

Conversation

@misko
Copy link
Contributor

@misko misko commented Sep 19, 2025

The pytorch compiler does not like when variables get assigned .requires_grad and creates breaks. Some of our logic is a bit complicated when setting up a network to track stress.

Instead of using a zero displacement matrix to track the gradient to compute stress we could just directly compute this from dE/dpos = Forces and dE/dcell. This is what this PR does

@meta-cla meta-cla bot added the cla signed label Sep 19, 2025
@misko misko added enhancement New feature or request patch Patch version release labels Sep 19, 2025
@misko misko marked this pull request as ready for review September 23, 2025 18:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cla signed enhancement New feature or request patch Patch version release

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants