Skip to content

Add per-device repex memory footprint error and warning#82

Merged
lohedges merged 2 commits intodevelfrom
fix_memory_footprint
Nov 17, 2025
Merged

Add per-device repex memory footprint error and warning#82
lohedges merged 2 commits intodevelfrom
fix_memory_footprint

Conversation

@lohedges
Copy link
Copy Markdown
Contributor

This PR adds per-device replica exchange memory footprint checking using nvidia-ml-py. An exception will be raised when the estimated footprint exceeds the total device memory. A warning will be raised when the total leaves less than a 20% free memory buffer.

@tom-potter-cresset

@lohedges lohedges added bug Something isn't working enhancement New feature or request labels Nov 17, 2025
@lohedges
Copy link
Copy Markdown
Contributor Author

The PR also fixes a bug that means that the dynamics object would not be reconstructed if constraints change between minimisation and production when no equilibration is performed.

@lohedges lohedges merged commit ed143a0 into devel Nov 17, 2025
4 checks passed
@lohedges lohedges deleted the fix_memory_footprint branch November 17, 2025 11:41
lohedges added a commit that referenced this pull request Nov 17, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant