Substitute per_atom for sample_kind, which is more flexible#165
Substitute per_atom for sample_kind, which is more flexible#165
per_atom for sample_kind, which is more flexible#165Conversation
|
I think that if we're going to bump the major version number it'd be good to merge this to a "release branch" and work on that branch for all ml-4-es developments. That way we can keep a stable API, and only do the breaking change at once when we are sure everything is working well. |
|
I was even thinking of introducing this in metatrain only, and then mapping I'm also fine if you want to do a |
|
One thing to note is that there is nothing electronic structure specific here or in the Having this in a Mocking In any case, even if we agree not to merge it soon, I'll keep this PR here since it contains the work that needs to be done at some point. |
|
Alternatively if you want something that doesn't introduce breaking changes we could temporarily have an extra I just did |
|
Ok, maybe I just try to mock |
This is part of the path to having electronic structure targets. In that case we need to define targets and outputs that are "per-pair of atoms". In metatrain,
ModelOutputis used all the time, so we can't introduce per pair targets in metatrain without modifying metatomic.There will be an accompanying metatrain PR.
This will of course break everything, so we will likely need to bump the major version.
📚 Download documentation for this pull-request