-
Notifications
You must be signed in to change notification settings - Fork 12
Expand file tree
/
Copy pathpyproject.toml
More file actions
72 lines (66 loc) · 1.53 KB
/
pyproject.toml
File metadata and controls
72 lines (66 loc) · 1.53 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
[build-system]
requires = ["setuptools>=42", "wheel"]
build-backend = "setuptools.build_meta"
[project]
name = "bioreason-pro"
version = "0.1.0"
description = "Protein Function Prediction with Multimodal Reasoning"
readme = "README.md"
requires-python = ">=3.11"
classifiers = [
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.11",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
]
dependencies = [
"torch>=2.6.0,<2.8.0",
"torchvision",
"transformers>=4.51.0,<5.0.0",
"accelerate",
"datasets",
"peft",
"pytorch_lightning",
"wandb",
"trl",
"vllm>=0.9.0",
"bitsandbytes",
"deepspeed",
# esm>=3.2.1 must be installed separately: pip install esm --no-deps (conflicts with vllm on transformers version)
"goatools",
"cafaeval",
"colorama",
# flash-attn must be installed separately: pip install flash-attn --no-build-isolation
"typing-extensions",
"triton",
"sentence-transformers",
"torch_geometric",
"networkx",
"obonet",
"huggingface_hub",
"safetensors",
"requests",
"tqdm",
"pandas",
]
[project.optional-dependencies]
dev = [
"pytest",
"black",
"isort",
"mypy",
]
[tool.setuptools]
packages = ["bioreason2"]
[tool.black]
line-length = 88
target-version = ["py311"]
[tool.isort]
profile = "black"
line_length = 88
[tool.mypy]
python_version = "3.11"
warn_return_any = true
warn_unused_configs = true
disallow_untyped_defs = true
disallow_incomplete_defs = true