What do you want to do?
3 use cases
-
Train a machine learning interatomic potential
Fit a MACE model to your own DFT data with mace_run_train and get loss and RMSE plots at the end.
View prompt
Using ACEsuit/mace, train a model on <my train.xyz> with mace_run_train following the README example flags, and report the final energy and force RMSE on the test set.
-
Fine-tune a MACE-MP foundation model on your system
Start from a pretrained materials model and adapt it to your chemistry with a few epochs of training.
View prompt
Using ACEsuit/mace, fine-tune the small MACE-MP foundation model on <my dataset.xyz> with the README fine-tuning flags and compare test errors before and after.
-
Predict energies for a batch of structures
Run a trained or downloaded MACE model over an XYZ file and write the predictions to a new file.
View prompt
Using ACEsuit/mace, run mace_eval_configs on <my structures.xyz> with <my model file>, then list the five lowest energy configurations from the output.
Quick start with Mace
- Check you have what it needs: Python 3.11 or later and PyTorch 2.5 or later, installed first; Install with `pip install mace-torch` (the PyPI package named MACE is unrelated); Training data as XYZ files; a CUDA GPU or Apple Silicon (mps) for practical training speed.
- Open ACEsuit/mace on GitHub and read the README and license.
- Install with
pip install --upgrade pipandpip install mace-torch - Prepare train.xyz and test.xyz, labeling isolated atoms with config_type=IsolatedAtom or using
--E0s="average" - Run mace_run_train with --name, --train_file, --valid_fraction, --test_file, --model="MACE", --r_max=5.0 and the other flags from the README example
- Use --default_dtype float32 for about a 2x training speed-up and --device=mps on Apple Silicon
These steps come from our top use case, Train a machine learning interatomic potential, which also has a copy-paste agent prompt.
Use this in your AI agent
Ask your agent
Using the Deduped MCP, get the setup steps for ACEsuit/mace
Add Deduped to Claude Code once
claude mcp add --transport http deduped https://dedupedai.com/mcp
Every Monday: the 5 hottest repos and exactly how to use them. Free, one email a week, unsubscribe anytime.
Get them freeAbout this repo
- Who it is forComputational chemists and materials scientists who want DFT-quality energies and forces at a fraction of the cost.
- Why it is hot1.4k stars, talked about in 2 AI sources we track
- Sourcegithub.com/ACEsuit/mace ยท Back to Hot repos
Requirements
- Python 3.11 or later and PyTorch 2.5 or later, installed first
- Install with `pip install mace-torch` (the PyPI package named MACE is unrelated)
- Training data as XYZ files; a CUDA GPU or Apple Silicon (mps) for practical training speed
Add this badge to your README
Maintain Mace? Show readers where to find these use cases.
Markdown
[](https://dedupedai.com/use-cases/acesuit-mace/?utm_source=github&utm_medium=badge&utm_campaign=ACEsuit-mace)
HTML
<a href="https://dedupedai.com/use-cases/acesuit-mace/?utm_source=github&utm_medium=badge&utm_campaign=ACEsuit-mace"><img src="https://dedupedai.com/badge/ACEsuit/mace.svg" alt="Use cases on Deduped" height="20"></a>
A static image, no tracking script. About the badge
Questions about Mace
What is Mace?
MACE provides fast and accurate machine learning interatomic potentials with higher order equivariant message passing. The package ships command line tools to train (mace_run_train) and evaluate (mace_eval_configs) models on XYZ datasets, and pretrained foundation models such as MACE-MP for materials and MACE-OFF for organic molecules that work as ASE calculators or as a starting point for fine-tuning. It is an open-source project on GitHub: https://github.com/ACEsuit/mace.
How do I use Mace?
Install with pip install --upgrade pip and pip install mace-torch; then Prepare train.xyz and test.xyz, labeling isolated atoms with config_type=IsolatedAtom or using --E0s="average"; run mace_run_train with --name, --train_file, --valid_fraction, --test_file, --model="MACE", --r_max=5.0 and the other flags from the README example. The use cases on this page give the full steps and a copy-paste agent prompt for each job.
Who is Mace for?
Computational chemists and materials scientists who want DFT-quality energies and forces at a fraction of the cost.
What can I do with Mace?
3 use cases so far, for example: Train a machine learning interatomic potential; Fine-tune a MACE-MP foundation model on your system; Predict energies for a batch of structures. Each has steps and a copy-paste agent prompt.
What do I need to run Mace?
Python 3.11 or later and PyTorch 2.5 or later, installed first; Install with `pip install mace-torch` (the PyPI package named MACE is unrelated); Training data as XYZ files; a CUDA GPU or Apple Silicon (mps) for practical training speed.
What are alternatives to Mace?
Other hot AI repos in Security and science: Failproofai, Codex Security, Chgnet, Semgrep, Syft.
Is Mace safe to run?
Deduped does not own, audit or vouch for it. Read the README and license, run it on your own systems first and review every command before you run it.