-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
172 lines (122 loc) · 3.98 KB
/
Copy pathpyproject.toml
File metadata and controls
172 lines (122 loc) · 3.98 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
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
[tool.ruff]
extend-include = ["*.ipynb"]
line-length = 120
#lint.select = ["ALL"]
#lint.ignore = ["E741","ERA001"]
lint.extend-select = ["I"]
[tool.pyright]
include = [
"src",
"tests"
]
typeCheckingMode = "basic"
[tool.pdm]
distribution = true
package-dir = "src"
[project]
name = "IMLCV"
version = "0.1.0"
description = "Add a short description here!"
authors = [
{name = "David Devoogdt", email = "david.devoogdt@ugent.be"},
{name = "David Devoogdt", email = "david.devoogdt@gmail.com"},
]
dependencies = [ "cloudpickle",
"filelock",
"importlib-metadata",
"matplotlib",
"openmm",
"ase",
"distrax",
"dm-haiku",
"flax",
"h5py",
"hsluv",
"jaxopt",
"jsonpickle",
"optax",
"ott-jax",
"parsl",
"umap-learn",
"work-queue",
"mace-torch",
"grain",
"e3nn-jax>=0.20.8,<0.21",
]
readme = "README.md"
license = {text = "MIT"}
classifiers = [
"Development Status :: 4 - Beta",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3 :: Only",
]
[project.urls]
Homepage = "https://github.com/DavidDevoogdt/IMLCV"
Documentation = "https://imlcv.readthedocs.io/en/main/?badge=main"
Source = "https://github.com/DavidDevoogdt/IMLCV"
Changelog = "https://github.com/DavidDevoogdt/IMLCV/latest/changelog.html"
[tool.pytest.ini_options]
addopts = [
"--import-mode=importlib",
]
testpaths = [
"tests",
]
[tool.pixi.workspace]
channels = ["conda-forge"]
platforms = ["linux-64"]
[tool.pixi.pypi-dependencies]
jax = "*"
jaxlib = "*"
torch = "*"
IMLCV = { path = ".", editable = true }
# there is a problem with mace-jax, where the mace_jax.adapters subfolder is not included in the package, so we need to install it from git
# this repo is added as a submodule in the external folder, so we can install it from there
mace_jax = {path="./external/mace_jax", editable=true }
[tool.pixi.pypi-options]
extra-index-urls = [
"https://download.pytorch.org/whl/cpu",
]
[tool.pixi.feature.cuda13.pypi-options]
extra-index-urls = ["https://download.pytorch.org/whl/cu130"]
[tool.pixi.feature.cuda12.pypi-options]
extra-index-urls = ["https://download.pytorch.org/whl/cu128"]
[tool.pixi.feature.rocm6.pypi-dependencies]
#latest rocm6 release
jax = {version="==0.4.31" }
jaxlib = { url = "https://repo.radeon.com/rocm/manylinux/rocm-rel-6.3.4/jaxlib-0.4.31-cp312-cp312-manylinux_2_28_x86_64.whl" }
jax-rocm60-pjrt = { url = "https://repo.radeon.com/rocm/manylinux/rocm-rel-6.3.4/jax_rocm60_pjrt-0.4.31-py3-none-manylinux_2_28_x86_64.whl" }
jax-rocm60-plugin = { url = "https://repo.radeon.com/rocm/manylinux/rocm-rel-6.3.4/jax_rocm60_plugin-0.4.31-cp312-cp312-manylinux_2_28_x86_64.whl" }
[tool.pixi.feature.rocm7.pypi-dependencies]
#https://rocm.docs.amd.com/projects/install-on-linux/en/latest/install/3rd-party/jax-install.html#install-jax-on-bare-metal-or-a-custom-container
jax = "==0.6.0"
jaxlib = "==0.6.0"
jax-rocm7-pjrt = {url="https://repo.radeon.com/rocm/manylinux/rocm-rel-7.0/jax_rocm7_pjrt-0.6.0-py3-none-manylinux_2_28_x86_64.whl"}
jax-rocm7-plugin = {url="https://repo.radeon.com/rocm/manylinux/rocm-rel-7.0/jax_rocm7_plugin-0.6.0-cp312-cp312-manylinux_2_28_x86_64.whl"}
[tool.pixi.feature.cuda13.pypi-dependencies]
jax = { extras = ["cuda13"], version = "*" }
cuequivariance-ops-torch-cu13 = "*"
cuequivariance = "*"
cuequivariance-torch = "*"
[tool.pixi.feature.cuda12.pypi-dependencies]
jax = { extras = ["cuda12"], version = "*" }
cuequivariance-ops-torch-cu12 = "*"
cuequivariance = "*"
cuequivariance-torch = "*"
# Environments (cpu is default; add rocm variants too)
[tool.pixi.environments]
cpu = { features = [] }
rocm6 = { features = ["rocm6"] }
rocm7 = { features = ["rocm7"] }
cuda13 = { features = ["cuda13"] }
cuda12 = { features = ["cuda12"] }
[tool.pixi.tasks]
[tool.pixi.dependencies]
python = "==3.12"
ruff = "*"
jupyter = "*"
pre-commit = "*"
ndcctools = "*"
pytest = "*"