featomic-torch 0.6.0rc2__tar.gz → 0.6.2__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.
- {featomic_torch-0.6.0rc2/featomic_torch.egg-info → featomic_torch-0.6.2}/PKG-INFO +9 -7
- {featomic_torch-0.6.0rc2 → featomic_torch-0.6.2}/build-backend/backend.py +3 -3
- {featomic_torch-0.6.0rc2 → featomic_torch-0.6.2}/featomic/torch/system.py +1 -19
- featomic_torch-0.6.2/featomic-torch-cxx-0.6.2.tar.gz +0 -0
- {featomic_torch-0.6.0rc2 → featomic_torch-0.6.2/featomic_torch.egg-info}/PKG-INFO +9 -7
- {featomic_torch-0.6.0rc2 → featomic_torch-0.6.2}/featomic_torch.egg-info/SOURCES.txt +1 -1
- featomic_torch-0.6.2/featomic_torch.egg-info/requires.txt +3 -0
- featomic_torch-0.6.2/git_version_info +2 -0
- {featomic_torch-0.6.0rc2 → featomic_torch-0.6.2}/pyproject.toml +2 -3
- {featomic_torch-0.6.0rc2 → featomic_torch-0.6.2}/setup.py +3 -3
- featomic_torch-0.6.0rc2/featomic-torch-cxx-0.6.0-rc2.tar.gz +0 -0
- featomic_torch-0.6.0rc2/featomic_torch.egg-info/requires.txt +0 -3
- featomic_torch-0.6.0rc2/git_version_info +0 -2
- {featomic_torch-0.6.0rc2 → featomic_torch-0.6.2}/AUTHORS +0 -0
- {featomic_torch-0.6.0rc2 → featomic_torch-0.6.2}/LICENSE +0 -0
- {featomic_torch-0.6.0rc2 → featomic_torch-0.6.2}/MANIFEST.in +0 -0
- {featomic_torch-0.6.0rc2 → featomic_torch-0.6.2}/README.rst +0 -0
- {featomic_torch-0.6.0rc2 → featomic_torch-0.6.2}/featomic/torch/__init__.py +0 -0
- {featomic_torch-0.6.0rc2 → featomic_torch-0.6.2}/featomic/torch/_c_lib.py +0 -0
- {featomic_torch-0.6.0rc2 → featomic_torch-0.6.2}/featomic/torch/calculator_base.py +0 -0
- {featomic_torch-0.6.0rc2 → featomic_torch-0.6.2}/featomic/torch/calculators.py +0 -0
- {featomic_torch-0.6.0rc2 → featomic_torch-0.6.2}/featomic/torch/clebsch_gordan.py +0 -0
- {featomic_torch-0.6.0rc2 → featomic_torch-0.6.2}/featomic/torch/utils.py +0 -0
- {featomic_torch-0.6.0rc2 → featomic_torch-0.6.2}/featomic_torch.egg-info/dependency_links.txt +0 -0
- {featomic_torch-0.6.0rc2 → featomic_torch-0.6.2}/featomic_torch.egg-info/not-zip-safe +0 -0
- {featomic_torch-0.6.0rc2 → featomic_torch-0.6.2}/featomic_torch.egg-info/top_level.txt +0 -0
- {featomic_torch-0.6.0rc2 → featomic_torch-0.6.2}/setup.cfg +0 -0
|
@@ -1,16 +1,15 @@
|
|
|
1
|
-
Metadata-Version: 2.
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
2
|
Name: featomic-torch
|
|
3
|
-
Version: 0.6.
|
|
3
|
+
Version: 0.6.2
|
|
4
4
|
Summary: TorchScript bindings to featomic
|
|
5
5
|
Author: Guillaume Fraux, Philip Loche, Sergei Kliavinek, Kevin Kazuki Huguenin-Dumittan, Davide Tisi, Alexander Goscinski
|
|
6
|
-
License: BSD-3-Clause
|
|
6
|
+
License-Expression: BSD-3-Clause
|
|
7
7
|
Project-URL: homepage, https://metatensor.github.io/featomic/latest/
|
|
8
8
|
Project-URL: documentation, https://metatensor.github.io/featomic/latest/
|
|
9
9
|
Project-URL: repository, https://github.com/metatensor/featomic
|
|
10
10
|
Keywords: computational science,machine learning,molecular modeling,atomistic representations,torch
|
|
11
11
|
Classifier: Development Status :: 4 - Beta
|
|
12
12
|
Classifier: Intended Audience :: Science/Research
|
|
13
|
-
Classifier: License :: OSI Approved :: BSD License
|
|
14
13
|
Classifier: Operating System :: POSIX
|
|
15
14
|
Classifier: Operating System :: MacOS :: MacOS X
|
|
16
15
|
Classifier: Operating System :: Microsoft :: Windows
|
|
@@ -26,9 +25,12 @@ Requires-Python: >=3.9
|
|
|
26
25
|
Description-Content-Type: text/x-rst
|
|
27
26
|
License-File: LICENSE
|
|
28
27
|
License-File: AUTHORS
|
|
29
|
-
Requires-Dist: torch>=1
|
|
30
|
-
Requires-Dist: metatensor-torch<0.
|
|
31
|
-
Requires-Dist: featomic<0.7.0,>=0.6.0
|
|
28
|
+
Requires-Dist: torch>=2.1
|
|
29
|
+
Requires-Dist: metatensor-torch<0.8,>=0.7.6
|
|
30
|
+
Requires-Dist: featomic<0.7.0,>=0.6.0
|
|
31
|
+
Dynamic: author
|
|
32
|
+
Dynamic: license-file
|
|
33
|
+
Dynamic: requires-dist
|
|
32
34
|
|
|
33
35
|
featomic-torch
|
|
34
36
|
===============
|
|
@@ -22,13 +22,13 @@ elif not FEATOMIC_NO_LOCAL_DEPS and os.path.exists(FEATOMIC_SRC):
|
|
|
22
22
|
FEATOMIC_DEP = f"featomic @ file://{FEATOMIC_SRC}"
|
|
23
23
|
else:
|
|
24
24
|
# we are building from a sdist
|
|
25
|
-
FEATOMIC_DEP = "featomic >=0.6.0
|
|
25
|
+
FEATOMIC_DEP = "featomic >=0.6.0,<0.7"
|
|
26
26
|
|
|
27
27
|
FORCED_TORCH_VERSION = os.environ.get("FEATOMIC_TORCH_BUILD_WITH_TORCH_VERSION")
|
|
28
28
|
if FORCED_TORCH_VERSION is not None:
|
|
29
29
|
TORCH_DEP = f"torch =={FORCED_TORCH_VERSION}"
|
|
30
30
|
else:
|
|
31
|
-
TORCH_DEP = "torch >=1
|
|
31
|
+
TORCH_DEP = "torch >=2.1"
|
|
32
32
|
|
|
33
33
|
|
|
34
34
|
get_requires_for_build_sdist = build_meta.get_requires_for_build_sdist
|
|
@@ -42,6 +42,6 @@ def get_requires_for_build_wheel(config_settings=None):
|
|
|
42
42
|
return defaults + [
|
|
43
43
|
"cmake",
|
|
44
44
|
TORCH_DEP,
|
|
45
|
-
"metatensor-torch >=0.
|
|
45
|
+
"metatensor-torch >=0.7.0,<0.8.0",
|
|
46
46
|
FEATOMIC_DEP,
|
|
47
47
|
]
|
|
@@ -85,22 +85,4 @@ def _is_torch_system(system):
|
|
|
85
85
|
if not isinstance(system, torch.ScriptObject):
|
|
86
86
|
return False
|
|
87
87
|
|
|
88
|
-
|
|
89
|
-
if torch_version_tuple >= (2, 1):
|
|
90
|
-
return system._type().name() == "System"
|
|
91
|
-
|
|
92
|
-
# For older torch version, we check that we have the right properties
|
|
93
|
-
properties = system._properties()
|
|
94
|
-
if len(properties) != 3:
|
|
95
|
-
return False
|
|
96
|
-
|
|
97
|
-
if properties[0].name != "species":
|
|
98
|
-
return False
|
|
99
|
-
|
|
100
|
-
if properties[1].name != "positions":
|
|
101
|
-
return False
|
|
102
|
-
|
|
103
|
-
if properties[2].name != "cell":
|
|
104
|
-
return False
|
|
105
|
-
|
|
106
|
-
return True
|
|
88
|
+
return system._type().name() == "System"
|
|
Binary file
|
|
@@ -1,16 +1,15 @@
|
|
|
1
|
-
Metadata-Version: 2.
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
2
|
Name: featomic-torch
|
|
3
|
-
Version: 0.6.
|
|
3
|
+
Version: 0.6.2
|
|
4
4
|
Summary: TorchScript bindings to featomic
|
|
5
5
|
Author: Guillaume Fraux, Philip Loche, Sergei Kliavinek, Kevin Kazuki Huguenin-Dumittan, Davide Tisi, Alexander Goscinski
|
|
6
|
-
License: BSD-3-Clause
|
|
6
|
+
License-Expression: BSD-3-Clause
|
|
7
7
|
Project-URL: homepage, https://metatensor.github.io/featomic/latest/
|
|
8
8
|
Project-URL: documentation, https://metatensor.github.io/featomic/latest/
|
|
9
9
|
Project-URL: repository, https://github.com/metatensor/featomic
|
|
10
10
|
Keywords: computational science,machine learning,molecular modeling,atomistic representations,torch
|
|
11
11
|
Classifier: Development Status :: 4 - Beta
|
|
12
12
|
Classifier: Intended Audience :: Science/Research
|
|
13
|
-
Classifier: License :: OSI Approved :: BSD License
|
|
14
13
|
Classifier: Operating System :: POSIX
|
|
15
14
|
Classifier: Operating System :: MacOS :: MacOS X
|
|
16
15
|
Classifier: Operating System :: Microsoft :: Windows
|
|
@@ -26,9 +25,12 @@ Requires-Python: >=3.9
|
|
|
26
25
|
Description-Content-Type: text/x-rst
|
|
27
26
|
License-File: LICENSE
|
|
28
27
|
License-File: AUTHORS
|
|
29
|
-
Requires-Dist: torch>=1
|
|
30
|
-
Requires-Dist: metatensor-torch<0.
|
|
31
|
-
Requires-Dist: featomic<0.7.0,>=0.6.0
|
|
28
|
+
Requires-Dist: torch>=2.1
|
|
29
|
+
Requires-Dist: metatensor-torch<0.8,>=0.7.6
|
|
30
|
+
Requires-Dist: featomic<0.7.0,>=0.6.0
|
|
31
|
+
Dynamic: author
|
|
32
|
+
Dynamic: license-file
|
|
33
|
+
Dynamic: requires-dist
|
|
32
34
|
|
|
33
35
|
featomic-torch
|
|
34
36
|
===============
|
|
@@ -4,14 +4,13 @@ dynamic = ["version", "authors", "dependencies"]
|
|
|
4
4
|
requires-python = ">=3.9"
|
|
5
5
|
|
|
6
6
|
readme = "README.rst"
|
|
7
|
-
license =
|
|
7
|
+
license = "BSD-3-Clause"
|
|
8
8
|
description = "TorchScript bindings to featomic"
|
|
9
9
|
|
|
10
10
|
keywords = ["computational science", "machine learning", "molecular modeling", "atomistic representations", "torch"]
|
|
11
11
|
classifiers = [
|
|
12
12
|
"Development Status :: 4 - Beta",
|
|
13
13
|
"Intended Audience :: Science/Research",
|
|
14
|
-
"License :: OSI Approved :: BSD License",
|
|
15
14
|
"Operating System :: POSIX",
|
|
16
15
|
"Operating System :: MacOS :: MacOS X",
|
|
17
16
|
"Operating System :: Microsoft :: Windows",
|
|
@@ -34,7 +33,7 @@ repository = "https://github.com/metatensor/featomic"
|
|
|
34
33
|
### ======================================================================== ###
|
|
35
34
|
[build-system]
|
|
36
35
|
requires = [
|
|
37
|
-
"setuptools",
|
|
36
|
+
"setuptools >=77",
|
|
38
37
|
"wheel",
|
|
39
38
|
"packaging",
|
|
40
39
|
]
|
|
@@ -340,11 +340,11 @@ if __name__ == "__main__":
|
|
|
340
340
|
torch_version = f"== {torch_v_major}.{torch_v_minor}.*"
|
|
341
341
|
except ImportError:
|
|
342
342
|
# otherwise we are building a sdist
|
|
343
|
-
torch_version = ">= 1
|
|
343
|
+
torch_version = ">= 2.1"
|
|
344
344
|
|
|
345
345
|
install_requires = [
|
|
346
346
|
f"torch {torch_version}",
|
|
347
|
-
"metatensor-torch >=0.6
|
|
347
|
+
"metatensor-torch >=0.7.6,<0.8",
|
|
348
348
|
]
|
|
349
349
|
|
|
350
350
|
# when packaging a sdist for release, we should never use local dependencies
|
|
@@ -354,7 +354,7 @@ if __name__ == "__main__":
|
|
|
354
354
|
install_requires.append(f"featomic @ file://{FEATOMIC_PYTHON_SRC}")
|
|
355
355
|
else:
|
|
356
356
|
# we are building from a sdist/installing from a wheel
|
|
357
|
-
install_requires.append("featomic >=0.6.0
|
|
357
|
+
install_requires.append("featomic >=0.6.0,<0.7.0")
|
|
358
358
|
|
|
359
359
|
setup(
|
|
360
360
|
version=version,
|
|
Binary file
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{featomic_torch-0.6.0rc2 → featomic_torch-0.6.2}/featomic_torch.egg-info/dependency_links.txt
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|