TACE 0.0.6__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- tace-0.0.6/LICENSE.md +21 -0
- tace-0.0.6/PKG-INFO +52 -0
- tace-0.0.6/README.rst +105 -0
- tace-0.0.6/TACE.egg-info/PKG-INFO +52 -0
- tace-0.0.6/TACE.egg-info/SOURCES.txt +87 -0
- tace-0.0.6/TACE.egg-info/dependency_links.txt +1 -0
- tace-0.0.6/TACE.egg-info/entry_points.txt +9 -0
- tace-0.0.6/TACE.egg-info/requires.txt +45 -0
- tace-0.0.6/TACE.egg-info/top_level.txt +1 -0
- tace-0.0.6/pyproject.toml +84 -0
- tace-0.0.6/setup.cfg +4 -0
- tace-0.0.6/tace/__init__.py +11 -0
- tace-0.0.6/tace/dataset/__init__.py +0 -0
- tace-0.0.6/tace/dataset/dataloader.py +216 -0
- tace-0.0.6/tace/dataset/datamodule.py +492 -0
- tace-0.0.6/tace/dataset/element.py +130 -0
- tace-0.0.6/tace/dataset/graph.py +202 -0
- tace-0.0.6/tace/dataset/neighbour_list.py +151 -0
- tace-0.0.6/tace/dataset/read.py +357 -0
- tace-0.0.6/tace/dataset/split.py +42 -0
- tace-0.0.6/tace/dataset/statistics.py +433 -0
- tace-0.0.6/tace/dataset/utils.py +69 -0
- tace-0.0.6/tace/interface/__init__.py +0 -0
- tace-0.0.6/tace/interface/ase/__init__.py +3 -0
- tace-0.0.6/tace/interface/ase/calculator.py +273 -0
- tace-0.0.6/tace/interface/lammps/__init__.py +0 -0
- tace-0.0.6/tace/interface/lammps/mliap.py +139 -0
- tace-0.0.6/tace/lightning/__init__.py +0 -0
- tace-0.0.6/tace/lightning/lit_model.py +263 -0
- tace-0.0.6/tace/lightning/select_model.py +131 -0
- tace-0.0.6/tace/lightning/trainer.py +186 -0
- tace-0.0.6/tace/models/__init__.py +0 -0
- tace-0.0.6/tace/models/act.py +52 -0
- tace-0.0.6/tace/models/angular.py +187 -0
- tace-0.0.6/tace/models/base.py +8 -0
- tace-0.0.6/tace/models/ctr.py +224 -0
- tace-0.0.6/tace/models/embedding.py +316 -0
- tace-0.0.6/tace/models/gate.py +56 -0
- tace-0.0.6/tace/models/ictd.py +53 -0
- tace-0.0.6/tace/models/inter.py +370 -0
- tace-0.0.6/tace/models/kernel/__init__.py +0 -0
- tace-0.0.6/tace/models/kernel/analytical.py +272 -0
- tace-0.0.6/tace/models/kernel/broadcast.py +115 -0
- tace-0.0.6/tace/models/kernel/einsum.py +51 -0
- tace-0.0.6/tace/models/kernel/matrix.py +134 -0
- tace-0.0.6/tace/models/kernel/triton.py +10 -0
- tace-0.0.6/tace/models/layers.py +213 -0
- tace-0.0.6/tace/models/linear.py +230 -0
- tace-0.0.6/tace/models/mlp.py +149 -0
- tace-0.0.6/tace/models/paths.py +287 -0
- tace-0.0.6/tace/models/prod.py +240 -0
- tace-0.0.6/tace/models/quantity.py +825 -0
- tace-0.0.6/tace/models/radial.py +723 -0
- tace-0.0.6/tace/models/readout.py +107 -0
- tace-0.0.6/tace/models/representation.py +271 -0
- tace-0.0.6/tace/models/rotate.py +142 -0
- tace-0.0.6/tace/models/so2_ctr.py +294 -0
- tace-0.0.6/tace/models/tace.py +1328 -0
- tace-0.0.6/tace/models/test.py +262 -0
- tace-0.0.6/tace/models/utils.py +362 -0
- tace-0.0.6/tace/models/wrapper.py +521 -0
- tace-0.0.6/tace/scripts/__init__.py +0 -0
- tace-0.0.6/tace/scripts/clean.py +78 -0
- tace-0.0.6/tace/scripts/convert.py +188 -0
- tace-0.0.6/tace/scripts/eval.py +199 -0
- tace-0.0.6/tace/scripts/export.py +90 -0
- tace-0.0.6/tace/scripts/graph.py +83 -0
- tace-0.0.6/tace/scripts/split.py +93 -0
- tace-0.0.6/tace/scripts/train.py +114 -0
- tace-0.0.6/tace/utils/__init__.py +0 -0
- tace-0.0.6/tace/utils/_global.py +25 -0
- tace-0.0.6/tace/utils/callbacks.py +77 -0
- tace-0.0.6/tace/utils/cfg.py +42 -0
- tace-0.0.6/tace/utils/ema.py +289 -0
- tace-0.0.6/tace/utils/env.py +12 -0
- tace-0.0.6/tace/utils/hydra_resolver.py +41 -0
- tace-0.0.6/tace/utils/logger.py +71 -0
- tace-0.0.6/tace/utils/loss/__init__.py +21 -0
- tace-0.0.6/tace/utils/loss/fn.py +256 -0
- tace-0.0.6/tace/utils/loss/legacy.py +867 -0
- tace-0.0.6/tace/utils/loss/normal.py +62 -0
- tace-0.0.6/tace/utils/loss/uncertainty.py +74 -0
- tace-0.0.6/tace/utils/lr_scheduler.py +151 -0
- tace-0.0.6/tace/utils/metrics.py +188 -0
- tace-0.0.6/tace/utils/spectra.py +58 -0
- tace-0.0.6/tace/utils/strategy.py +63 -0
- tace-0.0.6/tace/utils/torch_scatter.py +232 -0
- tace-0.0.6/tace/utils/units.py +33 -0
- tace-0.0.6/tace/utils/utils.py +223 -0
tace-0.0.6/LICENSE.md
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) [2025] [Zemin Xu]
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
tace-0.0.6/PKG-INFO
ADDED
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: TACE
|
|
3
|
+
Version: 0.0.6
|
|
4
|
+
Summary: TACE - Cartesian Tensor based E(3) equivariant interatomic potentials.
|
|
5
|
+
Author-email: Zemin Xu <xvzemin@smail.nju.edu.cn>
|
|
6
|
+
Project-URL: Homepage, https://github.com/xvzemin/tace
|
|
7
|
+
Requires-Python: >=3.10
|
|
8
|
+
License-File: LICENSE.md
|
|
9
|
+
Requires-Dist: torch<2.10
|
|
10
|
+
Requires-Dist: lightning
|
|
11
|
+
Requires-Dist: omegaconf
|
|
12
|
+
Requires-Dist: hydra-core>=1.3
|
|
13
|
+
Requires-Dist: matscipy
|
|
14
|
+
Requires-Dist: ase
|
|
15
|
+
Requires-Dist: numpy
|
|
16
|
+
Requires-Dist: e3nn
|
|
17
|
+
Requires-Dist: wandb
|
|
18
|
+
Requires-Dist: torch_geometric
|
|
19
|
+
Requires-Dist: scipy
|
|
20
|
+
Requires-Dist: configargparse
|
|
21
|
+
Requires-Dist: lmdb
|
|
22
|
+
Requires-Dist: pandas
|
|
23
|
+
Provides-Extra: lammps
|
|
24
|
+
Requires-Dist: cython; extra == "lammps"
|
|
25
|
+
Requires-Dist: cupy-cuda12x; extra == "lammps"
|
|
26
|
+
Provides-Extra: dev
|
|
27
|
+
Requires-Dist: sphinx; extra == "dev"
|
|
28
|
+
Requires-Dist: myst-parser; extra == "dev"
|
|
29
|
+
Requires-Dist: sphinx-copybutton; extra == "dev"
|
|
30
|
+
Requires-Dist: pydata-sphinx-theme; extra == "dev"
|
|
31
|
+
Requires-Dist: black; extra == "dev"
|
|
32
|
+
Requires-Dist: isort; extra == "dev"
|
|
33
|
+
Requires-Dist: pre-commit; extra == "dev"
|
|
34
|
+
Requires-Dist: MDAnalysis; extra == "dev"
|
|
35
|
+
Requires-Dist: tidynamics; extra == "dev"
|
|
36
|
+
Requires-Dist: mdtraj; extra == "dev"
|
|
37
|
+
Requires-Dist: scikit-learn; extra == "dev"
|
|
38
|
+
Requires-Dist: umap-learn; extra == "dev"
|
|
39
|
+
Requires-Dist: cotengra; extra == "dev"
|
|
40
|
+
Requires-Dist: optuna; extra == "dev"
|
|
41
|
+
Requires-Dist: cmaes; extra == "dev"
|
|
42
|
+
Requires-Dist: nevergrad; extra == "dev"
|
|
43
|
+
Requires-Dist: configargparse; extra == "dev"
|
|
44
|
+
Requires-Dist: ase_db_backends; extra == "dev"
|
|
45
|
+
Requires-Dist: tomli; extra == "dev"
|
|
46
|
+
Requires-Dist: matcalc; extra == "dev"
|
|
47
|
+
Requires-Dist: pandas; extra == "dev"
|
|
48
|
+
Requires-Dist: matminer; extra == "dev"
|
|
49
|
+
Requires-Dist: vtk; extra == "dev"
|
|
50
|
+
Requires-Dist: pymatgen; extra == "dev"
|
|
51
|
+
Requires-Dist: pymatviz==0.15.1; extra == "dev"
|
|
52
|
+
Dynamic: license-file
|
tace-0.0.6/README.rst
ADDED
|
@@ -0,0 +1,105 @@
|
|
|
1
|
+
Tensor Atomic Cluster Expansion
|
|
2
|
+
===============================
|
|
3
|
+
.. = - ~ ^ "
|
|
4
|
+
|
|
5
|
+
.. image:: arch.png
|
|
6
|
+
:width: 100%
|
|
7
|
+
:align: center
|
|
8
|
+
|
|
9
|
+
Docs
|
|
10
|
+
----
|
|
11
|
+
|
|
12
|
+
https://tace.readthedocs.io/en/latest/index.html
|
|
13
|
+
|
|
14
|
+
Overview
|
|
15
|
+
--------
|
|
16
|
+
|
|
17
|
+
TACE is a Cartesian-based machine learning model designed to predict both scalar and tensorial properties.
|
|
18
|
+
|
|
19
|
+
In principle, the framework supports any tensorial properties (either direct or conservative) determined by the underlying atomic structure.
|
|
20
|
+
Currently, the officially supported properties include:
|
|
21
|
+
|
|
22
|
+
- Energy
|
|
23
|
+
- Forces (conservative | direct) *(Direct pretrained follow conservative finetuning not test by us)*
|
|
24
|
+
- Hessians (conservative, predict only)
|
|
25
|
+
- Stress (conservative | direct)
|
|
26
|
+
- Virials (conservative | direct)
|
|
27
|
+
- Charges (Qeq or uniform)
|
|
28
|
+
- Dipole moment (conservative | direct)
|
|
29
|
+
- Polarization (conservative, multi-value for PBC systems)
|
|
30
|
+
- Polarizability (conservative | direct)
|
|
31
|
+
- Born effective charges (conservative, under electric field or LES) *(LES not tested by us)*
|
|
32
|
+
- Magnetic forces 0 (collinear, rank-0)
|
|
33
|
+
- Magnetic forces 1 (non-collinear, rank-1)
|
|
34
|
+
- Atomic stresses (conservative, predict only)
|
|
35
|
+
- Atomic virials (conservative, predict only)
|
|
36
|
+
- Magnetization (conservative) *(not tested by us)*
|
|
37
|
+
- Magnetic susceptibility (conservative) *(not tested by us)*
|
|
38
|
+
- Elastic constant (coming soon)
|
|
39
|
+
- Nuclear chemical shift (coming soon)
|
|
40
|
+
- Nuclear shielding (coming soon)
|
|
41
|
+
|
|
42
|
+
|
|
43
|
+
For embedding property, we support:
|
|
44
|
+
|
|
45
|
+
invariant quantities:
|
|
46
|
+
|
|
47
|
+
- Charges
|
|
48
|
+
- Total charge
|
|
49
|
+
- Spin multiplicity
|
|
50
|
+
- Level (different computational levels)
|
|
51
|
+
- Magmoms 0 (collinear, rank-0)
|
|
52
|
+
- Electron temperature *(not tested by us)*
|
|
53
|
+
|
|
54
|
+
equivariant quantities:
|
|
55
|
+
|
|
56
|
+
- electric field
|
|
57
|
+
- magnetic field *(not tested by us)*
|
|
58
|
+
- Magmoms_1 (non-collinear, rank-1)
|
|
59
|
+
|
|
60
|
+
|
|
61
|
+
Plugins
|
|
62
|
+
-------
|
|
63
|
+
|
|
64
|
+
TACE currently supports the following plugin:
|
|
65
|
+
|
|
66
|
+
- **LES** (Latent Ewald Summation)
|
|
67
|
+
|
|
68
|
+
|
|
69
|
+
Interfaces
|
|
70
|
+
----------
|
|
71
|
+
|
|
72
|
+
- ✅ Supports integration with **LAMMPS** (`LAMMPS-MLIAP`).
|
|
73
|
+
|
|
74
|
+
- ✅ Supports integration with **ASE Calculator** (`ase.Calculator`).
|
|
75
|
+
|
|
76
|
+
|
|
77
|
+
Citing
|
|
78
|
+
------
|
|
79
|
+
|
|
80
|
+
If you use TACE, please cite our papers:
|
|
81
|
+
|
|
82
|
+
.. code-block:: bibtex
|
|
83
|
+
|
|
84
|
+
@misc{TACE,
|
|
85
|
+
title={TACE: A unified Irreducible Cartesian Tensor Framework for Atomistic Machine Learning},
|
|
86
|
+
author={Zemin Xu and Wenbo Xie and Daiqian Xie and P. Hu},
|
|
87
|
+
year={2025},
|
|
88
|
+
eprint={2509.14961},
|
|
89
|
+
archivePrefix={arXiv},
|
|
90
|
+
primaryClass={stat.ML},
|
|
91
|
+
url={https://arxiv.org/abs/2509.14961},
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
Contact
|
|
95
|
+
-------
|
|
96
|
+
|
|
97
|
+
If you have any problems, suggestions or cooperations, please contact us through xvzemin@smail.nju.edu.cn
|
|
98
|
+
|
|
99
|
+
For bugs or feature requests, please use https://github.com/xvzemin/tace/issues.
|
|
100
|
+
|
|
101
|
+
License
|
|
102
|
+
-------
|
|
103
|
+
|
|
104
|
+
The TACE code is published and distributed under the MIT License.
|
|
105
|
+
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: TACE
|
|
3
|
+
Version: 0.0.6
|
|
4
|
+
Summary: TACE - Cartesian Tensor based E(3) equivariant interatomic potentials.
|
|
5
|
+
Author-email: Zemin Xu <xvzemin@smail.nju.edu.cn>
|
|
6
|
+
Project-URL: Homepage, https://github.com/xvzemin/tace
|
|
7
|
+
Requires-Python: >=3.10
|
|
8
|
+
License-File: LICENSE.md
|
|
9
|
+
Requires-Dist: torch<2.10
|
|
10
|
+
Requires-Dist: lightning
|
|
11
|
+
Requires-Dist: omegaconf
|
|
12
|
+
Requires-Dist: hydra-core>=1.3
|
|
13
|
+
Requires-Dist: matscipy
|
|
14
|
+
Requires-Dist: ase
|
|
15
|
+
Requires-Dist: numpy
|
|
16
|
+
Requires-Dist: e3nn
|
|
17
|
+
Requires-Dist: wandb
|
|
18
|
+
Requires-Dist: torch_geometric
|
|
19
|
+
Requires-Dist: scipy
|
|
20
|
+
Requires-Dist: configargparse
|
|
21
|
+
Requires-Dist: lmdb
|
|
22
|
+
Requires-Dist: pandas
|
|
23
|
+
Provides-Extra: lammps
|
|
24
|
+
Requires-Dist: cython; extra == "lammps"
|
|
25
|
+
Requires-Dist: cupy-cuda12x; extra == "lammps"
|
|
26
|
+
Provides-Extra: dev
|
|
27
|
+
Requires-Dist: sphinx; extra == "dev"
|
|
28
|
+
Requires-Dist: myst-parser; extra == "dev"
|
|
29
|
+
Requires-Dist: sphinx-copybutton; extra == "dev"
|
|
30
|
+
Requires-Dist: pydata-sphinx-theme; extra == "dev"
|
|
31
|
+
Requires-Dist: black; extra == "dev"
|
|
32
|
+
Requires-Dist: isort; extra == "dev"
|
|
33
|
+
Requires-Dist: pre-commit; extra == "dev"
|
|
34
|
+
Requires-Dist: MDAnalysis; extra == "dev"
|
|
35
|
+
Requires-Dist: tidynamics; extra == "dev"
|
|
36
|
+
Requires-Dist: mdtraj; extra == "dev"
|
|
37
|
+
Requires-Dist: scikit-learn; extra == "dev"
|
|
38
|
+
Requires-Dist: umap-learn; extra == "dev"
|
|
39
|
+
Requires-Dist: cotengra; extra == "dev"
|
|
40
|
+
Requires-Dist: optuna; extra == "dev"
|
|
41
|
+
Requires-Dist: cmaes; extra == "dev"
|
|
42
|
+
Requires-Dist: nevergrad; extra == "dev"
|
|
43
|
+
Requires-Dist: configargparse; extra == "dev"
|
|
44
|
+
Requires-Dist: ase_db_backends; extra == "dev"
|
|
45
|
+
Requires-Dist: tomli; extra == "dev"
|
|
46
|
+
Requires-Dist: matcalc; extra == "dev"
|
|
47
|
+
Requires-Dist: pandas; extra == "dev"
|
|
48
|
+
Requires-Dist: matminer; extra == "dev"
|
|
49
|
+
Requires-Dist: vtk; extra == "dev"
|
|
50
|
+
Requires-Dist: pymatgen; extra == "dev"
|
|
51
|
+
Requires-Dist: pymatviz==0.15.1; extra == "dev"
|
|
52
|
+
Dynamic: license-file
|
|
@@ -0,0 +1,87 @@
|
|
|
1
|
+
LICENSE.md
|
|
2
|
+
README.rst
|
|
3
|
+
pyproject.toml
|
|
4
|
+
TACE.egg-info/PKG-INFO
|
|
5
|
+
TACE.egg-info/SOURCES.txt
|
|
6
|
+
TACE.egg-info/dependency_links.txt
|
|
7
|
+
TACE.egg-info/entry_points.txt
|
|
8
|
+
TACE.egg-info/requires.txt
|
|
9
|
+
TACE.egg-info/top_level.txt
|
|
10
|
+
tace/__init__.py
|
|
11
|
+
tace/dataset/__init__.py
|
|
12
|
+
tace/dataset/dataloader.py
|
|
13
|
+
tace/dataset/datamodule.py
|
|
14
|
+
tace/dataset/element.py
|
|
15
|
+
tace/dataset/graph.py
|
|
16
|
+
tace/dataset/neighbour_list.py
|
|
17
|
+
tace/dataset/read.py
|
|
18
|
+
tace/dataset/split.py
|
|
19
|
+
tace/dataset/statistics.py
|
|
20
|
+
tace/dataset/utils.py
|
|
21
|
+
tace/interface/__init__.py
|
|
22
|
+
tace/interface/ase/__init__.py
|
|
23
|
+
tace/interface/ase/calculator.py
|
|
24
|
+
tace/interface/lammps/__init__.py
|
|
25
|
+
tace/interface/lammps/mliap.py
|
|
26
|
+
tace/lightning/__init__.py
|
|
27
|
+
tace/lightning/lit_model.py
|
|
28
|
+
tace/lightning/select_model.py
|
|
29
|
+
tace/lightning/trainer.py
|
|
30
|
+
tace/models/__init__.py
|
|
31
|
+
tace/models/act.py
|
|
32
|
+
tace/models/angular.py
|
|
33
|
+
tace/models/base.py
|
|
34
|
+
tace/models/ctr.py
|
|
35
|
+
tace/models/embedding.py
|
|
36
|
+
tace/models/gate.py
|
|
37
|
+
tace/models/ictd.py
|
|
38
|
+
tace/models/inter.py
|
|
39
|
+
tace/models/layers.py
|
|
40
|
+
tace/models/linear.py
|
|
41
|
+
tace/models/mlp.py
|
|
42
|
+
tace/models/paths.py
|
|
43
|
+
tace/models/prod.py
|
|
44
|
+
tace/models/quantity.py
|
|
45
|
+
tace/models/radial.py
|
|
46
|
+
tace/models/readout.py
|
|
47
|
+
tace/models/representation.py
|
|
48
|
+
tace/models/rotate.py
|
|
49
|
+
tace/models/so2_ctr.py
|
|
50
|
+
tace/models/tace.py
|
|
51
|
+
tace/models/test.py
|
|
52
|
+
tace/models/utils.py
|
|
53
|
+
tace/models/wrapper.py
|
|
54
|
+
tace/models/kernel/__init__.py
|
|
55
|
+
tace/models/kernel/analytical.py
|
|
56
|
+
tace/models/kernel/broadcast.py
|
|
57
|
+
tace/models/kernel/einsum.py
|
|
58
|
+
tace/models/kernel/matrix.py
|
|
59
|
+
tace/models/kernel/triton.py
|
|
60
|
+
tace/scripts/__init__.py
|
|
61
|
+
tace/scripts/clean.py
|
|
62
|
+
tace/scripts/convert.py
|
|
63
|
+
tace/scripts/eval.py
|
|
64
|
+
tace/scripts/export.py
|
|
65
|
+
tace/scripts/graph.py
|
|
66
|
+
tace/scripts/split.py
|
|
67
|
+
tace/scripts/train.py
|
|
68
|
+
tace/utils/__init__.py
|
|
69
|
+
tace/utils/_global.py
|
|
70
|
+
tace/utils/callbacks.py
|
|
71
|
+
tace/utils/cfg.py
|
|
72
|
+
tace/utils/ema.py
|
|
73
|
+
tace/utils/env.py
|
|
74
|
+
tace/utils/hydra_resolver.py
|
|
75
|
+
tace/utils/logger.py
|
|
76
|
+
tace/utils/lr_scheduler.py
|
|
77
|
+
tace/utils/metrics.py
|
|
78
|
+
tace/utils/spectra.py
|
|
79
|
+
tace/utils/strategy.py
|
|
80
|
+
tace/utils/torch_scatter.py
|
|
81
|
+
tace/utils/units.py
|
|
82
|
+
tace/utils/utils.py
|
|
83
|
+
tace/utils/loss/__init__.py
|
|
84
|
+
tace/utils/loss/fn.py
|
|
85
|
+
tace/utils/loss/legacy.py
|
|
86
|
+
tace/utils/loss/normal.py
|
|
87
|
+
tace/utils/loss/uncertainty.py
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
[console_scripts]
|
|
2
|
+
tace-clean = tace.scripts.clean:main
|
|
3
|
+
tace-convert = tace.scripts.convert:main
|
|
4
|
+
tace-eval = tace.scripts.eval:main
|
|
5
|
+
tace-export = tace.scripts.export:main
|
|
6
|
+
tace-graph = tace.scripts.xyz2lmdb:main
|
|
7
|
+
tace-split = tace.scripts.split:main
|
|
8
|
+
tace-train = tace.scripts.train:main
|
|
9
|
+
tace-utils = tace.scripts.utils:main
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
torch<2.10
|
|
2
|
+
lightning
|
|
3
|
+
omegaconf
|
|
4
|
+
hydra-core>=1.3
|
|
5
|
+
matscipy
|
|
6
|
+
ase
|
|
7
|
+
numpy
|
|
8
|
+
e3nn
|
|
9
|
+
wandb
|
|
10
|
+
torch_geometric
|
|
11
|
+
scipy
|
|
12
|
+
configargparse
|
|
13
|
+
lmdb
|
|
14
|
+
pandas
|
|
15
|
+
|
|
16
|
+
[dev]
|
|
17
|
+
sphinx
|
|
18
|
+
myst-parser
|
|
19
|
+
sphinx-copybutton
|
|
20
|
+
pydata-sphinx-theme
|
|
21
|
+
black
|
|
22
|
+
isort
|
|
23
|
+
pre-commit
|
|
24
|
+
MDAnalysis
|
|
25
|
+
tidynamics
|
|
26
|
+
mdtraj
|
|
27
|
+
scikit-learn
|
|
28
|
+
umap-learn
|
|
29
|
+
cotengra
|
|
30
|
+
optuna
|
|
31
|
+
cmaes
|
|
32
|
+
nevergrad
|
|
33
|
+
configargparse
|
|
34
|
+
ase_db_backends
|
|
35
|
+
tomli
|
|
36
|
+
matcalc
|
|
37
|
+
pandas
|
|
38
|
+
matminer
|
|
39
|
+
vtk
|
|
40
|
+
pymatgen
|
|
41
|
+
pymatviz==0.15.1
|
|
42
|
+
|
|
43
|
+
[lammps]
|
|
44
|
+
cython
|
|
45
|
+
cupy-cuda12x
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
tace
|
|
@@ -0,0 +1,84 @@
|
|
|
1
|
+
[build-system]
|
|
2
|
+
requires = ["setuptools>=61.0", "wheel"]
|
|
3
|
+
build-backend = "setuptools.build_meta"
|
|
4
|
+
|
|
5
|
+
[project]
|
|
6
|
+
name = "TACE"
|
|
7
|
+
version = "0.0.6"
|
|
8
|
+
description = "TACE - Cartesian Tensor based E(3) equivariant interatomic potentials."
|
|
9
|
+
authors = [{ name = "Zemin Xu", email = "xvzemin@smail.nju.edu.cn" }]
|
|
10
|
+
|
|
11
|
+
requires-python = ">=3.10"
|
|
12
|
+
dependencies = [
|
|
13
|
+
"torch<2.10",
|
|
14
|
+
"lightning",
|
|
15
|
+
"omegaconf",
|
|
16
|
+
"hydra-core>=1.3",
|
|
17
|
+
"matscipy",
|
|
18
|
+
"ase",
|
|
19
|
+
"numpy",
|
|
20
|
+
"e3nn",
|
|
21
|
+
"wandb",
|
|
22
|
+
"torch_geometric",
|
|
23
|
+
"scipy",
|
|
24
|
+
"configargparse",
|
|
25
|
+
"lmdb",
|
|
26
|
+
"pandas",
|
|
27
|
+
]
|
|
28
|
+
|
|
29
|
+
[project.optional-dependencies]
|
|
30
|
+
|
|
31
|
+
lammps = [
|
|
32
|
+
"cython",
|
|
33
|
+
"cupy-cuda12x",
|
|
34
|
+
]
|
|
35
|
+
|
|
36
|
+
dev = [
|
|
37
|
+
"sphinx",
|
|
38
|
+
"myst-parser",
|
|
39
|
+
"sphinx-copybutton",
|
|
40
|
+
"pydata-sphinx-theme",
|
|
41
|
+
"black",
|
|
42
|
+
"isort",
|
|
43
|
+
"pre-commit",
|
|
44
|
+
|
|
45
|
+
"MDAnalysis",
|
|
46
|
+
"tidynamics",
|
|
47
|
+
"mdtraj",
|
|
48
|
+
"scikit-learn",
|
|
49
|
+
"umap-learn",
|
|
50
|
+
"cotengra",
|
|
51
|
+
"optuna",
|
|
52
|
+
"cmaes",
|
|
53
|
+
"nevergrad",
|
|
54
|
+
"configargparse",
|
|
55
|
+
"ase_db_backends",
|
|
56
|
+
"tomli",
|
|
57
|
+
"matcalc",
|
|
58
|
+
"pandas",
|
|
59
|
+
"matminer",
|
|
60
|
+
"vtk",
|
|
61
|
+
"pymatgen",
|
|
62
|
+
"pymatviz==0.15.1",
|
|
63
|
+
]
|
|
64
|
+
|
|
65
|
+
|
|
66
|
+
[project.urls]
|
|
67
|
+
Homepage = "https://github.com/xvzemin/tace"
|
|
68
|
+
|
|
69
|
+
[project.scripts]
|
|
70
|
+
tace-train = "tace.scripts.train:main"
|
|
71
|
+
tace-eval = "tace.scripts.eval:main"
|
|
72
|
+
tace-clean = "tace.scripts.clean:main"
|
|
73
|
+
tace-split = "tace.scripts.split:main"
|
|
74
|
+
tace-export = "tace.scripts.export:main"
|
|
75
|
+
tace-graph = "tace.scripts.xyz2lmdb:main"
|
|
76
|
+
tace-convert = "tace.scripts.convert:main"
|
|
77
|
+
tace-utils = "tace.scripts.utils:main"
|
|
78
|
+
|
|
79
|
+
[tool.setuptools.packages.find]
|
|
80
|
+
include = ["tace", "tace.*"]
|
|
81
|
+
|
|
82
|
+
[tool.setuptools.package-data]
|
|
83
|
+
"tace.utils" = ["*.yaml"]
|
|
84
|
+
|
tace-0.0.6/setup.cfg
ADDED
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
# import tomli
|
|
2
|
+
# import importlib.resources
|
|
3
|
+
|
|
4
|
+
# def get_version():
|
|
5
|
+
# with importlib.resources.open_text("tace", "pyproject.toml") as f:
|
|
6
|
+
# pyproject = tomli.load(f)
|
|
7
|
+
# return pyproject["project"]["version"]
|
|
8
|
+
|
|
9
|
+
# __version__ = get_version()
|
|
10
|
+
|
|
11
|
+
__version__ = "0.0.6"
|
|
File without changes
|