Skip to content

fix: forces criteria and gpu usage#58

Open
Ramlaoui wants to merge 2 commits intomainfrom
fix/forces-criteria
Open

fix: forces criteria and gpu usage#58
Ramlaoui wants to merge 2 commits intomainfrom
fix/forces-criteria

Conversation

@Ramlaoui
Copy link
Copy Markdown
Collaborator

  • Forces criteria:
    The default forces criteria was set at 0.1 eV/A which is way too loose in my opinion and makes relaxation less useful. Changed it to 0.02 eV/A while keeping the same total number of steps.

  • Multiprocessing with fork (default in Linux systems) does not work for spawning multiple CUDA contexts, switched it to spawn by default

  • Detects GPU for computing MLIPs so that it's significantly faster when it is available.

@Ramlaoui Ramlaoui requested a review from sid-betalol August 18, 2025 17:15
@Ramlaoui
Copy link
Copy Markdown
Collaborator Author

One additional suggestion:

The code seems to not really be formatted according to the pre-commit hook available in the repo. I would suggestion doing the following:

uv run pre-commit install
ruff format .

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.

1 participant