Skip to content

Add Differentiable Physics: Mass-Spring System example #1359

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

Merged
merged 13 commits into from
Jun 25, 2025

Conversation

abhitorch81
Copy link
Contributor

Re-submitting PR #1332 from my corporate GitHub account (abhitorch81).

This PR includes:

  • A simple differentiable mass-spring system using PyTorch
  • Clarified explanation of initial and target particle positions
  • Simulation defined in 2D with gravity vector [0, -9.8]
  • High-resolution PNG output showing final vs. target positions
  • Formal reference to Learning to Simulate Complex Physics with Graph Networks

Reviewer feedback from @dvrogozh on the previous PR has been fully addressed.

@abhitorch81 abhitorch81 requested a review from msaroufim as a code owner June 25, 2025 07:53
Copy link

netlify bot commented Jun 25, 2025

Deploy Preview for pytorch-examples-preview canceled.

Name Link
🔨 Latest commit 42dacb5
🔍 Latest deploy log https://app.netlify.com/projects/pytorch-examples-preview/deploys/685bb16a5e26a50008ed5372

@abhitorch81
Copy link
Contributor Author

abhitorch81 commented Jun 25, 2025

@dvrogozh Can you review the PR converted from personal id to corporate id ,continuing from #1332

@msaroufim msaroufim merged commit 7c35995 into pytorch:main Jun 25, 2025
8 checks passed
msaroufim added a commit that referenced this pull request Jun 25, 2025
msaroufim added a commit that referenced this pull request Jun 25, 2025
Revert "Add Differentiable Physics: Mass-Spring System example (#1359)"

This reverts commit 7c35995.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants