Skip to content

Use nvalchemi neighbor list when possible#164

Merged
Luthaf merged 1 commit intomainfrom
nvalchemi-neighborlist
Feb 27, 2026
Merged

Use nvalchemi neighbor list when possible#164
Luthaf merged 1 commit intomainfrom
nvalchemi-neighborlist

Conversation

@frostedoyster
Copy link
Contributor

@frostedoyster frostedoyster commented Feb 26, 2026

As in the title

Contributor (creator of pull-request) checklist

  • Tests updated (for new features and bugfixes)?
  • Documentation updated (for new features)?
  • Issue referenced (for PRs that solve an issue)?

Reviewer checklist

  • CHANGELOG updated with public API or any other important changes?

📚 Download documentation for this pull-request

Copy link
Member

@Luthaf Luthaf left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The code looks good overall, we do need to find a way to test it on CUDA in CI.

"""
if (
all(system.device.type == "cuda" for system in systems)
and all(options.full_list for options in requested_options)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could we compute all full NL using nvalchemiops, and any half NL using vesin?

Copy link
Contributor Author

@frostedoyster frostedoyster Feb 26, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I did it on purpose to allow for batching in the future. nvalchemiops already supports it (although the API is terrible so I didn't implement it to avoid making mistakes that would mess up the PET-MAD-1.5 release), vesin perhaps in the future

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't understand what you mean. Batching would be over systems anyway, right? There would still be a loop over NL options?

@frostedoyster frostedoyster requested a review from Luthaf February 26, 2026 18:12
Co-Authored-By: Guillaume Fraux <guillaume.fraux@epfl.ch>
@Luthaf Luthaf force-pushed the nvalchemi-neighborlist branch from f23c95e to ed73ab3 Compare February 27, 2026 14:49
@Luthaf Luthaf merged commit 9fb071d into main Feb 27, 2026
7 checks passed
@Luthaf Luthaf deleted the nvalchemi-neighborlist branch February 27, 2026 15:26
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