Skip to content

Add support for MACE models to the external tools#22

Merged
cplett merged 12 commits into
faccts:mainfrom
ilyes319:main
Jun 5, 2026
Merged

Add support for MACE models to the external tools#22
cplett merged 12 commits into
faccts:mainfrom
ilyes319:main

Conversation

@ilyes319

@ilyes319 ilyes319 commented Dec 2, 2025

Copy link
Copy Markdown
Contributor

Hello ORCA team,

This PR allows interface the orca-external-tools to mace. It follows the same principle as the UMA interface.

@CLAassistant

CLAassistant commented Dec 2, 2025

Copy link
Copy Markdown

CLA assistant check
All committers have signed the CLA.

@cplett

cplett commented Dec 5, 2025

Copy link
Copy Markdown
Contributor

Hi,
thank you very much for the contribution. Integrating the MACE models is a great idea!
We’re currently preparing a restructuring of orca-external-tools, which is planned for very soon (likely next week). Once that’s done, I’ll come back to this PR.

@cplett
cplett self-requested a review December 5, 2025 12:44
@cplett cplett added the enhancement New feature or request label Dec 5, 2025
@cplett

cplett commented Dec 17, 2025

Copy link
Copy Markdown
Contributor

Hi,
Thank you very much for your patience! The restructuring is now complete, so it would be great to include MACE at this point.
Would you be willing to align your implementation with the current code structure? Hopefully this won’t require too much additional work, and I’d be very happy to help if you run into any issues. If you don’t have the time, I can also take a look at aligning it, since edits by maintainers are allowed.

I’m really looking forward to using MACE with ORCA!

@cplett cplett added this to the v2.1.0 milestone Dec 17, 2025
@cplett

cplett commented Feb 18, 2026

Copy link
Copy Markdown
Contributor

Hey @ilyes319,
Have you had a chance to adapt the MACE implementation to the new orca-external-tools structure? If not, just let me know if you need any assistance or if you'd prefer that I take over.

@ilyes319

Copy link
Copy Markdown
Contributor Author

Hey @cplett I will not be able to do it in the next few months, so would be good if you can do it. Thank you!

cplett added 4 commits May 6, 2026 08:42
Signed-off-by: Christoph Plett <plett@faccts.de>
Signed-off-by: Christoph Plett <plett@faccts.de>
Signed-off-by: Christoph Plett <plett@faccts.de>
@ilyes319

ilyes319 commented Jun 2, 2026

Copy link
Copy Markdown
Contributor Author

@cplett Can you give me pointers to how I should refactor the code to follow your new code.

@cplett

cplett commented Jun 2, 2026

Copy link
Copy Markdown
Contributor

@ilyes319 You might want to take a look at the PR I opened for your fork: ilyes319#1. In that PR, I updated your changes to match the current project structure.
I didn't want to modify your fork directly, so I opened the PR instead. I couldn't request your review there so it was probably easy to overlook. Sorry about that!

Feel free to suggest or make any additional changes and then merge the PR into your branch. After that, your original PR should be up to date and ready to be merged into the main repository.

ilyes319 and others added 2 commits June 4, 2026 17:34
Update of MACE integration to current OET structure
- Drop stray "c" before shebang in src/oet/calculator/mace.py
- Add init-once guard to set_calculator so server mode reuses the
  loaded model across requests instead of reloading every call
- Only emit the "MP suite not used" dispersion warning when the user
  actually passed --dispersion (defaults were always truthy)
- Replace placeholder docstring and stale "# run uma" comment
- Fix tests/mace/* bin_mace/ paths -> bin/
- Fix tests/mace/* arg list: "head" -> "--head"

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
@ilyes319

ilyes319 commented Jun 4, 2026

Copy link
Copy Markdown
Contributor Author

@cplett I have updated the PR, merged your PR.

@cplett cplett left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

LGTM.
Again, thank you very much for the contribution! I'm going to merge it and will prepare a new release soon.

@cplett
cplett merged commit 5a02d92 into faccts:main Jun 5, 2026
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants