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

Added variable to limit pytorch memory in lammps interface #85

Merged
merged 4 commits into from
Jul 23, 2024

Conversation

bnebgen-LANL
Copy link
Collaborator

Added setting PYTORCH_GPU_MEM_FRAC that will set the call torch.cuda.set_per_process_memory_fraction in the lammps interface. Helps prevent out of memory errors when running with kokkos. Added documentation for new setting.

@lubbersnick
Copy link
Collaborator

looks good, are you ready to merge?

@bnebgen-LANL bnebgen-LANL merged commit c07f09e into development Jul 23, 2024
2 checks passed
@lubbersnick lubbersnick deleted the torchMemory branch September 3, 2024 17:30
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