-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
58 lines (51 loc) · 1.56 KB
/
Copy pathpyproject.toml
File metadata and controls
58 lines (51 loc) · 1.56 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
[project]
name = "preventad-benchmark"
version = "0.1.0"
description = "Benchmarking foundation models on PreventAD neuroimaging data"
readme = "README.md"
requires-python = ">=3.12"
dependencies = [
"setuptools",
"ninja",
"packaging",
"huggingface-hub[hf-transfer]>=0.28.1",
"invoke>=2.2.0",
"ipython>=8.32.0",
"jupyter>=1.1.1",
"matplotlib>=3.10.0",
"nilearn>=0.11.1",
"numpy>=2.2.2",
"pandas>=2.2.3",
"pyarrow>=19.0.0",
"seaborn>=0.13.2",
"torch>=2.6.0",
"torchvision",
"torchaudio",
"transformers[torch]>=4.48.3",
"brainharmonix",
"evaluate>=0.4.4",
"timm>=1.0.24",
"einops>=0.8.1",
"flash-attn>=2.7.4.post1",
"datasets>=3.2.0",
]
[project.optional-dependencies]
build = ["torch", "setuptools", "packaging"]
[project.scripts]
preventad-extract-brainlm = "preventad_benchmark.cli.extract_brainlm:main"
preventad-extract-brainharmonix = "preventad_benchmark.cli.extract_brainharmonix:main"
preventad-finetune-brainlm = "preventad_benchmark.cli.finetune_brainlm:main"
preventad-finetune-brainharmonix = "preventad_benchmark.cli.finetune_brainharmonix:main"
[tool.hatch.build.targets.wheel]
packages = ["src/preventad_benchmark"]
[tool.uv]
no-build-isolation-package = ["flash_attn"]
[[tool.uv.dependency-metadata]]
name = "flash-attn"
version="2.7.4"
requires-dist = ["torch", "einops"]
[tool.uv.sources]
brainharmonix = { git = "https://github.com/MedARC-AI/Brain-Harmony.git", rev = "5398f8f5540222973cf82d13ac1eb4c4b38af636" }
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"