/atomistic-skills:ml-mlip-speedfrom Atomistic Skills
Benchmarks inference speed and memory usage of MLIP models (MACE, MatGL, FairChem) across system sizes. Generates latency and memory-per-atom plots for comparing foundation interatomic potentials.
Ships in Atomistic Skills. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them; scripts run unread.
Evaluate and compare the inference speed (latency) and memory consumption of various foundation MLIP models to determine their suitability for different simulation scales and timescales.
The benchmark_mlips.py script measures performance by running short MD simulations on NaCl supercells of varying sizes.
Run the script once per environment: mlip covers MACE and MatGL, fairchem covers FairChem. The script automatically skips models not supported by the current environment.
Because FairChem cannot share an environment with MACE (their e3nn requirements conflict), the benchmark results are built incrementally.
speed_benchmark.yaml file.matplotlib) with the --only_plot flag to generate the combined graphs from the accumulated total data.# One run per environment; each adds to the shared results file
${CLAUDE_SKILL_DIR}/../../venv/run mlip python ${CLAUDE_SKILL_DIR}/scripts/benchmark_mlips.py --output_dir results/
${CLAUDE_SKILL_DIR}/../../venv/run fairchem python ${CLAUDE_SKILL_DIR}/scripts/benchmark_mlips.py --output_dir results/
# Generate final combined plots
${CLAUDE_SKILL_DIR}/../../venv/run mlip python ${CLAUDE_SKILL_DIR}/scripts/benchmark_mlips.py --only_plot --output_dir results/
Key Arguments:
--models: List of model names/checkpoints to benchmark.--providers: Corresponding providers (mace, matgl, fairchem).--output_dir: Directory to save results and plots.--max_atoms_limit: Maximum system size to test (default: 5000).--only_plot: Re-generate plots from an existing results file without running simulations.--results_file: Results YAML that runs update and --only_plot reads (default: <output_dir>/speed_benchmark.yaml).--hardware_name: Label for plot titles and file names (default: the detected GPU name, or CPU). Set it when replotting data measured elsewhere, e.g. the stored reference:
${CLAUDE_SKILL_DIR}/../../venv/run mlip python ${CLAUDE_SKILL_DIR}/scripts/benchmark_mlips.py --only_plot \
--results_file ${CLAUDE_SKILL_DIR}/resources/speed_benchmark_dgx_spark.yaml --hardware_name NVIDIA_GB10 --output_dir plots/
Performance benchmarks conducted on NVIDIA GB10 reveal distinct performance tiers:
CHGNet-PES-MatPES-PBE-1M-2026.9, TensorNet and MACE-MP-small reach ~0.1 ms/atom at 1,000–2,700 atoms. The CHGNet entry in the reference file was measured in 2026-10 with the current mlip stack; the other entries are from an earlier run.MACE small/medium models and eSEN models occupy the mid-range (~0.3 - 1.0 ms/atom).MACE-MH-1 and UMA-medium are heavier (~1.5 - 4.0 ms/atom), making them ideal for static calculations or small-scale MD.[!IMPORTANT] Constant Overhead: MLIP inference on GPUs has a significant constant overhead (fixed cost regardless of system size). For very small systems (<100 atoms), the inference time per atom is dominated by this overhead, resulting in poor efficiency.
Best Practice: For capturing chemical rare events or maximizing throughput, it is more efficient to use larger cells of ~500 atoms. At this size, the constant overhead is amortized, allowing the MLIP to operate closer to its peak theoretical throughput while providing a larger volume for sampling transitions.

[!TIP] Use these results to select models for long MD simulations or large-scale screening. For systems >1000 atoms, prioritize models with latency < 0.5 ms/atom if ns-scale MD is required.
Author: Bowen Deng Contact: GitHub @learningmatter-mit
examples/inference_speed_nvidia_gb10.png (opens in a new tab)examples/memory_usage_nvidia_gb10.png (opens in a new tab)examples/nacl_gb10_small/README.md (opens in a new tab)examples/nacl_gb10_small/compare_with_reference.py (opens in a new tab)examples/nacl_gb10_small/comparison/comparison_vs_reference.csv (opens in a new tab)examples/nacl_gb10_small/comparison/input_configs.yaml (opens in a new tab)examples/nacl_gb10_small/comparison/speed_vs_reference.png (opens in a new tab)examples/nacl_gb10_small/comparison/speed_vs_reference.svg (opens in a new tab)examples/nacl_gb10_small/run/input_configs.yaml (opens in a new tab)examples/nacl_gb10_small/run/speed_benchmark.yaml (opens in a new tab)resources/speed_benchmark_dgx_spark.yaml (opens in a new tab)scripts/benchmark_mlips.py (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub learningmatter-mit/atomisticskills --plugin atomistic-skills133 skills in this plugin
/chem-bond-dissociationCalculate homolytic and heterolytic bond dissociation energies (BDEs) for all single bonds in a molecule using MLIPs with RDKit fragmentation./chem-conformer-searchGenerate molecular conformers with RDKit ETKDG, relax with MLIPs, and rank by energy with Boltzmann weighting./chem-db-mofQuery multiple MOF databases (QMOF via MPContribs; ARC-MOF DB7/Majumdar et al. via Materials Cloud) and download CIF structures with optional element or identifier filters.Other plugins' skills for the same job