-
Notifications
You must be signed in to change notification settings - Fork 21
Expand file tree
/
Copy pathpyproject.toml
More file actions
89 lines (83 loc) · 2.51 KB
/
Copy pathpyproject.toml
File metadata and controls
89 lines (83 loc) · 2.51 KB
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
[build-system]
requires = ["setuptools>=61.0", "wheel"]
build-backend = "setuptools.build_meta"
[project]
name = "tensormesh-fem"
dynamic = ["version"]
description = "Differentiable Finite Element Method Library for PyTorch"
readme = "README.md"
license = {text = "Apache-2.0"}
authors = [
{name = "Shizheng Wen", email = "shizheng.wen@sam.math.ethz.ch"},
{name = "Mingyuan Chi", email = "walker.chi.000@gmail.com"},
]
maintainers = [
{name = "Shizheng Wen", email = "shizheng.wen@sam.math.ethz.ch"},
]
keywords = [
"deep-learning",
"neural-networks",
"AI4S",
"ai-for-science",
"pytorch",
"numerical",
"partial-differential-equation",
"finite-element-methods",
"fem",
"gpu",
"differentiable-simulation",
]
classifiers = [
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"Intended Audience :: Science/Research",
"License :: OSI Approved :: Apache Software License",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3 :: Only",
"Topic :: Scientific/Engineering",
"Topic :: Scientific/Engineering :: Mathematics",
"Topic :: Scientific/Engineering :: Artificial Intelligence",
]
requires-python = ">=3.10"
dependencies = [
"tqdm",
"numpy",
"scipy",
"torch>=2.0.0",
"torch-sla>=0.3.0",
"meshio",
"matplotlib",
"psutil",
"toml",
"gmsh",
]
[project.optional-dependencies]
# Solver backends — mirror torch-sla's PyPI-installable extras so a single
# `pip install "tensormesh-fem[cudss]"` (or [pyamg], or [gpu]) pulls in the
# right stack in one step. The native strumpack / amgx backends ship as
# ABI-specific wheels on torch-sla's GitHub Releases (not PyPI) — install
# those per the torch-sla README.
cudss = ["torch-sla[cudss]>=0.3.0"]
pyamg = ["torch-sla[pyamg]>=0.3.0"]
gpu = ["torch-sla[all]>=0.3.0"]
example = ["plotly"]
test = [
"pytest",
"pytest-cov",
"scikit-fem",
]
[project.urls]
Homepage = "https://www.tensor-mesh.com/"
Documentation = "https://docs.tensor-mesh.com/"
Repository = "https://github.com/camlab-ethz/TensorMesh"
Issues = "https://github.com/camlab-ethz/TensorMesh/issues"
[tool.setuptools.dynamic]
version = {attr = "tensormesh._version.__version__"}
[tool.setuptools.packages.find]
include = ["tensormesh*"]
[tool.setuptools.package-data]
"tensormesh.material" = ["*.csv"]