File size: 4,422 Bytes
cabc646
 
 
 
 
bd21e32
34e261b
cabc646
 
 
bd21e32
 
ef2b449
cabc646
 
 
 
 
 
 
 
 
 
4091f40
cabc646
 
 
 
 
fd88619
4091f40
1fe249a
d98d701
537f9b2
1fe249a
072f65e
db1ae7d
 
0e58907
80f7283
072f65e
3dd6c96
4091f40
 
1fe249a
081cfa7
1fe249a
 
3dd6c96
b7d94da
4091f40
fb5d76b
b7d94da
3dd6c96
 
 
b7d94da
6415e15
f23c8f2
a367f8b
072f65e
39b1d6f
072f65e
081cfa7
3dd6c96
4b67e6c
b7d94da
 
 
 
 
 
 
 
 
 
 
 
4b67e6c
c47e7b9
 
 
 
49cde4e
cabc646
 
fd88619
 
 
a140ef6
bc51634
a140ef6
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
fd88619
a140ef6
 
 
 
 
 
49cde4e
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
9241861
072f65e
49cde4e
a140ef6
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
[build-system]
requires=["flit_core >=3.2,<4"]
build-backend="flit_core.buildapi"

[project]
name="mlip-arena"
version="0.1.0"
authors=[
    {name="Yuan Chiang", email="[email protected]"},
]
description="Fair and transparent benchmark of machine-learned interatomic potentials (MLIPs), beyond basic error metrics"
readme=".github/README.md"
requires-python=">=3.10"
keywords=[
    "pytorch",
    "machine-learning-interatomic-potentials",
    "huggingface",
    "deep-learning",
    "graph-neural-networks",
]
classifiers=[
    "Development Status :: 1 - Planning",
    "Programming Language :: Python",
    "Programming Language :: Python :: 3.10",
    "Programming Language :: Python :: 3.11",
    "Programming Language :: Python :: 3.12",
    "Programming Language :: Python :: 3 :: Only",
]
dependencies=[
    "ase",
    "pymatgen",
    "torch",
    "huggingface_hub",
    "datasets",
    "safetensors",
    "prefect>3.2.0",
    "prefect-dask",
    "dask",
    "dask_jobqueue",
    "tables",
    "MDAnalysis", # mof
]

[project.optional-dependencies]
app = [
    "streamlit==1.43.2",
    "plotly",
]
test = [
    "torch==2.4.0",
    "torch_dftd==0.4.0",
    "e3nn==0.5.0",
    "dgl",
    "chgnet==0.3.8",
    "sevenn==0.9.3.post1",
    "alignn==2024.5.27",
    "mattersim==1.1.2",
    "torchani==2.2.4",
    "pytest",
    "pytest-xdist",
    "prefect==3.2.13",
    "pymatgen>=2025.1.9",
    "MDAnalysis", # mof,
    "streamlit==1.43.2"
]
mace = [
    "mace-torch==0.3.12",
]
matgl = [
    "matgl==1.2.6",
]
fairchem = [
    "hydra-core",
    "fairchem-core@git+https://github.com/facebookresearch/fairchem.git#subdirectory=packages/fairchem-core",
]
orb = [
    "orb-models==0.4.0",
    "pynanoflann@git+https://github.com/dwastberg/pynanoflann#egg=af434039ae14bedcbb838a7808924d6689274168",
]
deepmd = [
    "torch==2.2.0",
    "deepmd-kit@git+https://github.com/deepmodeling/[email protected]"
]

[project.urls]
Homepage = "https://github.com/atomind-ai/mlip-arena"
Issues = "https://github.com/atomind-ai/mlip-arena/issues"

[tool.ruff]
# Exclude a variety of commonly ignored directories.
extend-include = ["*.ipynb"]
exclude = [
    ".bzr",
    ".direnv",
    ".eggs",
    ".git",
    ".git-rewrite",
    ".hg",
    ".ipynb_checkpoints",
    ".mypy_cache",
    ".nox",
    ".pants.d",
    ".pyenv",
    ".pytest_cache",
    ".pytype",
    ".ruff_cache",
    ".svn",
    ".tox",
    ".venv",
    ".vscode",
    "__pypackages__",
    "_build",
    "buck-out",
    "build",
    "dist",
    "node_modules",
    "site-packages",
    "venv",
]

# Same as Black.
line-length = 88
indent-width = 4

[tool.ruff.lint]
select = [
    "B",      # flake8-bugbear
    "C4",     # flake8-comprehensions
    "E",      # pycodestyle error
    "EXE",    # flake8-executable
    "F",      # pyflakes
    "FA",     # flake8-future-annotations
    "FBT003", # boolean-positional-value-in-call
    "FLY",    # flynt
    "I",      # isort
    "ICN",    # flake8-import-conventions
    "PD",     # pandas-vet
    "PERF",   # perflint
    "PIE",    # flake8-pie
    "PL",     # pylint
    "PT",     # flake8-pytest-style
    "PYI",    # flakes8-pyi
    "Q",      # flake8-quotes
    "RET",    # flake8-return
    "RSE",    # flake8-raise
    "RUF",    # Ruff-specific rules
    "SIM",    # flake8-simplify
    "SLOT",   # flake8-slots
    "TCH",    # flake8-type-checking
    "TID",    # tidy imports
    "TID",    # flake8-tidy-imports
    "UP",     # pyupgrade
    "W",      # pycodestyle warning
    "YTT",    # flake8-2020
]
ignore = [
    "C408",   # Unnecessary dict call
    "PLR",    # Design related pylint codes
    "E501",   # Line too long
    "B028",   # No explicit stacklevel
    "EM101",  # Exception must not use a string literal
    "EM102",  # Exception must not use an f-string literal
    "G004",   # f-string in Logging statement
    "RUF015", # Prefer next(iter())
    "RET505", # Unnecessary `elif` after `return`
    "PT004",  # Fixture does not return anthing
    "B017",   # pytest.raises
    "PT011",  # pytest.raises
    "PT012",  # pytest.raises"
    "E741",  # ambigous variable naming, i.e. one letter
    "FBT003",  # boolean positional variable in function call
    "PERF203",  # `try`-`except` within a loop incurs performance overhead (no overhead in Py 3.11+)
    "F405",  # 'module' may be undefined, or defined from star imports
    "PD901",
]
fixable = ["ALL"]
pydocstyle.convention = "google"