Skip to content
Navigation Menu
Sign in
Products
Platform
GitHub
Repository hosting, code review, and collaboration
Copilot
AI coding agent for tasks, projects, and automated work
Build & Ship
Actions
CI/CD and automation
Code Quality
Quality analysis, fixes, and enforcement
Codespaces
Cloud development environments
Secure
Code Security
Vulnerability detection and remediation
Secret Protection
Secret scanning and leak prevention
All Features
Developers
Learn
Documentation
Training
Certifications
Build
Build with Copilot
Customize Copilot
Integrations
Explore
Trending repos
GitHub Sponsors
Developer articles
Changelog
Changelog
Your source for the latest features, improvements, and fixes across GitHub products, all in one place.
Businesses
By Stage
Enterprises
Team
Startups
Nonprofits
By Industry
Healthcare
Financial services
Manufacturing
Government
See all industries
Evaluate GitHub
Why GitHub
Customer Stories
Business insights
Trust Center
Add-ons
GitHub Advanced Security
Enterprise-grade code security
Copilot for business
Enterprise-grade AI features
Premium Support
Enterprise-grade 24/7 support
Resources
Learn & Connect
Documentation
Resource center
Blog
Events & webinars
Community Forum
Customer Stories
Integrations
Support
Customer support
Training
GitHub Status
Company
About
Partners
Changelog
GitHub Universe
GitHub Universe
The event for developers, by developers — talks, workshops, and what’s next for GitHub.
Pricing
Search
/
Sign in
Sign up
Appearance settings
You signed in with another tab or window.
Reload
to refresh your session.
You signed out in another tab or window.
Reload
to refresh your session.
You switched accounts on another tab or window.
Reload
to refresh your session.
Dismiss alert
{{ message }}
metatensor
metatomic
Repository navigation
Code
Issues
23
(23)
Pull requests
10
(10)
Actions
Security and quality
Insights
More
items
Implement a C API for metatomic
- #232
#232
Draft
Luthaf
wants to merge 93 commits into
main
metatensor/metatomic:main
from
metatomic-core
metatensor/metatomic:metatomic-core
Copy head branch name to clipboard
Conversation
Commits
93
(93)
Checks
Files changed
Draft
Implement a C API for metatomic
#232
Luthaf
wants to merge 93 commits into
main
metatensor/metatomic:main
from
metatomic-core
metatensor/metatomic:metatomic-core
Copy head branch name to clipboard
Commits
Commits on Oct 20, 2026
Add an empty metatomic-core python package, re-exporting metatomic-torch
Luthaf
committed
75a383f
View commit details
Copy full SHA for 75a383f
Browse repository at this point
Use pathlib for all path manipulations
Luthaf
committed
75fd10f
View commit details
Copy full SHA for 75fd10f
Browse repository at this point
Switch main test runner from tox to cargo
Luthaf
committed
50d1259
View commit details
Copy full SHA for 50d1259
Browse repository at this point
Scaffold a new metatomic-core package
Luthaf
committed
2b8a70c
View commit details
Copy full SHA for 2b8a70c
Browse repository at this point
Draft the C API for metatomic-core
Luthaf
committed
01bc92b
View commit details
Copy full SHA for 01bc92b
Browse repository at this point
Implement PairListOptions json serialization
sofiia-chorna
authored and
Luthaf
committed
dab6e29
View commit details
Copy full SHA for dab6e29
Browse repository at this point
Implement JSON serialization for `Quantity`
Show description for 9ddae18
GardevoirX
and
Luthaf
committed
9ddae18
View commit details
Copy full SHA for 9ddae18
Browse repository at this point
Validate quantities names
Luthaf
committed
11ae694
View commit details
Copy full SHA for 11ae694
Browse repository at this point
Implement JSON serialization for ModelMetadata
Show description for c9172cb
alessandroforina
and
Luthaf
committed
c9172cb
View commit details
Copy full SHA for c9172cb
Browse repository at this point
Add error handling based on metatensor
RMeli
authored and
Luthaf
committed
1b290b4
View commit details
Copy full SHA for 1b290b4
Browse repository at this point
Implement mta_string_t in the C API
johannes-spies
authored and
Luthaf
committed
3167522
View commit details
Copy full SHA for 3167522
Browse repository at this point
Port unit parsing from metatomic-torch
Luthaf
committed
6bf6d4d
View commit details
Copy full SHA for 6bf6d4d
Browse repository at this point
document mta_model_t and related functions in C API
sofiia-chorna
authored and
Luthaf
committed
f9593d5
View commit details
Copy full SHA for f9593d5
Browse repository at this point
Add ModelCapabilities to the JSON structs
Luthaf
committed
39bff8b
View commit details
Copy full SHA for 39bff8b
Browse repository at this point
Implement plugin registration and loading, model loading
Show description for 260539e
frostedoyster
and
Luthaf
committed
260539e
View commit details
Copy full SHA for 260539e
Browse repository at this point
Add a C model registration test
frostedoyster
authored and
Luthaf
committed
ea6f8f3
View commit details
Copy full SHA for ea6f8f3
Browse repository at this point
Implement System in metatomic-core
Show description for 00113df
Luthaf
and
frostedoyster
committed
00113df
View commit details
Copy full SHA for 00113df
Browse repository at this point
Implement `mta_format_metadata`
GardevoirX
authored and
Luthaf
committed
18a9160
View commit details
Copy full SHA for 18a9160
Browse repository at this point
Add unit conversion and error handling to C++
RMeli
authored and
Luthaf
committed
557d4bf
View commit details
Copy full SHA for 557d4bf
Browse repository at this point
Add C++ documentation
Luthaf
committed
931b5f1
View commit details
Copy full SHA for 931b5f1
Browse repository at this point
Expose mta_model_t function in rust's Model struct
alessandroforina
authored and
Luthaf
committed
498ba07
View commit details
Copy full SHA for 498ba07
Browse repository at this point
Cleanup CMake code calling cargo
Luthaf
committed
1b27fb9
View commit details
Copy full SHA for 1b27fb9
Browse repository at this point
C++ API to format model metadata (#266)
RMeli
authored and
Luthaf
committed
b287597
View commit details
Copy full SHA for b287597
Browse repository at this point
Add C++ API for loading plugins
RMeli
authored and
Luthaf
committed
36325c7
View commit details
Copy full SHA for 36325c7
Browse repository at this point
Re-enable Windows Rust tests
Luthaf
committed
f98b580
View commit details
Copy full SHA for f98b580
Browse repository at this point
Add a C API for systems
Luthaf
committed
e9d07fe
View commit details
Copy full SHA for e9d07fe
Browse repository at this point
Separate C++ and C API tests
Luthaf
committed
90061fa
View commit details
Copy full SHA for 90061fa
Browse repository at this point
Better fix to "no module named __pip__" in tests
Luthaf
committed
fbd139b
View commit details
Copy full SHA for fbd139b
Browse repository at this point
Bump MSRV to 1.88
Luthaf
committed
7960084
View commit details
Copy full SHA for 7960084
Browse repository at this point
Update to edition 2024
Luthaf
committed
53c5aaa
View commit details
Copy full SHA for 53c5aaa
Browse repository at this point
Implement serialization for Systems
Show description for 74560d4
Luthaf
and
frostedoyster
committed
74560d4
View commit details
Copy full SHA for 74560d4
Browse repository at this point
Remove double indirection (Box + Arc) in mta_system_t
Luthaf
committed
119e4d6
View commit details
Copy full SHA for 119e4d6
Browse repository at this point
C++ metadata classes with JSON serialization/deserialization (#277)
RMeli
authored and
Luthaf
committed
2ac55ae
View commit details
Copy full SHA for 2ac55ae
Browse repository at this point
Implement System in the C++ API
frostedoyster
authored and
Luthaf
committed
94af8f9
View commit details
Copy full SHA for 94af8f9
Browse repository at this point
Group all code accessing values in a new `kernels` module
Luthaf
committed
14e9071
View commit details
Copy full SHA for 14e9071
Browse repository at this point
Add cuda kernels for system validation
Luthaf
committed
e42ef0a
View commit details
Copy full SHA for e42ef0a
Browse repository at this point
Add custom metal kernels for system validation
Luthaf
committed
b90ef7c
View commit details
Copy full SHA for b90ef7c
Browse repository at this point
Cache reference values on device
Show description for 6d4ce0e
Luthaf
committed
6d4ce0e
View commit details
Copy full SHA for 6d4ce0e
Browse repository at this point
Remove cargo caching in CI, it interacts badly with our setup
Show description for a2c30e2
Luthaf
committed
a2c30e2
View commit details
Copy full SHA for a2c30e2
Browse repository at this point
Use an output parameter in mta_load{_buffer}
Show description for 6c72586
Luthaf
committed
6c72586
View commit details
Copy full SHA for 6c72586
Browse repository at this point
Refactory quantity name parsing, keep the separate components accessible
Luthaf
committed
53123bb
View commit details
Copy full SHA for 53123bb
Browse repository at this point
Add function to check that Quantity match the expected layout
Show description for bb8c287
GardevoirX
and
Luthaf
committed
bb8c287
View commit details
Copy full SHA for bb8c287
Browse repository at this point
Update to metatensor-core v0.2.4
Show description for d049738
Luthaf
committed
d049738
View commit details
Copy full SHA for d049738
Browse repository at this point
C++ API for custom models (#314)
RMeli
authored and
Luthaf
committed
6dc499b
View commit details
Copy full SHA for 6dc499b
Browse repository at this point
Setup examples/tutorials for the C API (#313)
Luthaf
committed
f460d3e
View commit details
Copy full SHA for f460d3e
Browse repository at this point
Always handle System through an Arc
Luthaf
committed
6c54b91
View commit details
Copy full SHA for 6c54b91
Browse repository at this point
Handle multiple devices in ReferenceValue
Luthaf
committed
17b2d98
View commit details
Copy full SHA for 17b2d98
Browse repository at this point
Add tests for cuda and metal kernels
Luthaf
committed
a042c36
View commit details
Copy full SHA for a042c36
Browse repository at this point
Add a scale_inplace kernel for unit conversion
Luthaf
committed
b7f9a92
View commit details
Copy full SHA for b7f9a92
Browse repository at this point
Add a kernel to clone DLPack Tensors and use it to clone Systems
Luthaf
committed
d4e2122
View commit details
Copy full SHA for d4e2122
Browse repository at this point
Add a check_atomic_types kernel
Luthaf
committed
08cfa72
View commit details
Copy full SHA for 08cfa72
Browse repository at this point
Implement mta_execute_model
Show description for 18d93b1
Luthaf
committed
18d93b1
View commit details
Copy full SHA for 18d93b1
Browse repository at this point
Remove supported_outputs from mta_model_t
Show description for cbadc56
Luthaf
committed
cbadc56
View commit details
Copy full SHA for cbadc56
Browse repository at this point
Use builders for metadata objects in C++ (#319)
RMeli
authored and
Luthaf
committed
6568e5e
View commit details
Copy full SHA for 6568e5e
Browse repository at this point
Install nlohmann_json headers in include/metatomic/third-party/
Show description for 4b3f090
Luthaf
committed
4b3f090
View commit details
Copy full SHA for 4b3f090
Browse repository at this point
Build the library in metatomic-core Python package
johannes-spies
authored and
Luthaf
committed
f87e648
View commit details
Copy full SHA for f87e648
Browse repository at this point
Serialization for C++ system
lucaskloss
authored and
Luthaf
committed
0aee6cd
View commit details
Copy full SHA for 0aee6cd
Browse repository at this point
C declaration generation for Python and minimal library loading
Luthaf
committed
83a5e40
View commit details
Copy full SHA for 83a5e40
Browse repository at this point
Remap path properly for code coverage
Luthaf
committed
9d90d4f
View commit details
Copy full SHA for 9d90d4f
Browse repository at this point
Implement metadata classes in Python
Luthaf
committed
22f15a7
View commit details
Copy full SHA for 22f15a7
Browse repository at this point
C++ wrapper for mta_execute_model
RMeli
authored and
Luthaf
committed
6d03e5b
View commit details
Copy full SHA for 6d03e5b
Browse repository at this point
Add more status code that can be used by models
Luthaf
committed
ba5b711
View commit details
Copy full SHA for ba5b711
Browse repository at this point
C API tutorials for custom models and plugins (#320)
Show description for 9c73878
EricBoittier
and
Luthaf
committed
9c73878
View commit details
Copy full SHA for 9c73878
Browse repository at this point
Pass through exceptions in the C++ bindings
Show description for acd3c0f
RMeli
authored and
Luthaf
committed
acd3c0f
View commit details
Copy full SHA for acd3c0f
Browse repository at this point
API to define plugins in C++
RMeli
authored and
Luthaf
committed
f64be59
View commit details
Copy full SHA for f64be59
Browse repository at this point
Print more details when regression tests fails
Luthaf
committed
13a1db6
View commit details
Copy full SHA for 13a1db6
Browse repository at this point
Do not drop System if `add_custom_data/add_pairs` errors (#346)
Luthaf
committed
c134703
View commit details
Copy full SHA for c134703
Browse repository at this point
Add a C Lennard-Jones plugin for engine development (#326)
Show description for c5ad49c
EricBoittier
and
Luthaf
committed
c5ad49c
View commit details
Copy full SHA for c5ad49c
Browse repository at this point
Make sure to respect DLPack byte_offset in metal kernels
Luthaf
committed
a3953ba
View commit details
Copy full SHA for a3953ba
Browse repository at this point
Add a Python System class wrapping mta_system_t
EricBoittier
authored and
Luthaf
committed
dc30736
View commit details
Copy full SHA for dc30736
Browse repository at this point
Implement models in Python
Luthaf
committed
8ff71b8
View commit details
Copy full SHA for 8ff71b8
Browse repository at this point
Load plugins and external models from Python
Luthaf
committed
89e4d8e
View commit details
Copy full SHA for 89e4d8e
Browse repository at this point
Allow loading the same plugin multiple time (#350)
Show description for 9e1de9a
Luthaf
committed
9e1de9a
View commit details
Copy full SHA for 9e1de9a
Browse repository at this point
Requested inputs and pair list can depend on which outputs will be computed
Luthaf
committed
545d597
View commit details
Copy full SHA for 545d597
Browse repository at this point
Python plugin to define models as Python scripts
Luthaf
committed
50a4844
View commit details
Copy full SHA for 50a4844
Browse repository at this point
Add NumpyModel base class to allow defining custom models based on numpy
Luthaf
committed
3656f55
View commit details
Copy full SHA for 3656f55
Browse repository at this point
Commits on Oct 22, 2026
TorchModel base class for custom models using eager PyTorch
Show description for 0073376
Luthaf
committed
0073376
View commit details
Copy full SHA for 0073376
Browse repository at this point
Tweak argument order for Quantity constructor
Show description for 0b34b9e
Luthaf
committed
0b34b9e
View commit details
Copy full SHA for 0b34b9e
Browse repository at this point
Remove one level of indentation from the C++ API
Luthaf
committed
9e7312d
View commit details
Copy full SHA for 9e7312d
Browse repository at this point
Commits on Oct 23, 2026
Validate units for standard dimensions
Luthaf
committed
a370eee
View commit details
Copy full SHA for a370eee
Browse repository at this point
Numpy-based LennardJonesModel for testing
Show description for 07cb876
Luthaf
committed
07cb876
View commit details
Copy full SHA for 07cb876
Browse repository at this point
Commits on Oct 26, 2026
Also apply unit conversion to "positions" gradients
Luthaf
committed
19a1a57
View commit details
Copy full SHA for 19a1a57
Browse repository at this point
Commits on Oct 27, 2026
Link metatomic-torch with the new metatomic-core
Luthaf
committed
96088ab
View commit details
Copy full SHA for 96088ab
Browse repository at this point
Remove deprecated metatomic.torch.ase_calculator
Luthaf
committed
53364c0
View commit details
Copy full SHA for 53364c0
Browse repository at this point
Remove ASE dependency in metatomic-torch tests
Show description for 9f7c78a
Luthaf
committed
9f7c78a
View commit details
Copy full SHA for 9f7c78a
Browse repository at this point
Use the -core unit function in -torch
Luthaf
committed
25955b2
View commit details
Copy full SHA for 25955b2
Browse repository at this point
Expose unit conversion in the Python API (#370)
EricBoittier
authored
54769af
View commit details
Copy full SHA for 54769af
Browse repository at this point
Write missing parts of the C API reference documentation
Luthaf
committed
c776550
View commit details
Copy full SHA for c776550
Browse repository at this point
Commits on Nov 2, 2026
`mta_torch::PairListOptions` based on metatomic-core
Luthaf
committed
e29bc6f
View commit details
Copy full SHA for e29bc6f
Browse repository at this point
`mta_torch::System` based on metatomic-core
Luthaf
committed
41523a9
View commit details
Copy full SHA for 41523a9
Browse repository at this point
Also use hex-encoded double for interaction_range in JSON
Luthaf
committed
9e2c5c7
View commit details
Copy full SHA for 9e2c5c7
Browse repository at this point
`mta_torch::ModelMetadata` based on metatomic-core
Show description for 308f672
Luthaf
committed
308f672
View commit details
Copy full SHA for 308f672
Browse repository at this point
Commits on Nov 5, 2026
Allow running legacy metatomic-torch models through TorchModel (#366)
EricBoittier
authored
292baad
View commit details
Copy full SHA for 292baad
Browse repository at this point
You can’t perform that action at this time.