-
Notifications
You must be signed in to change notification settings - Fork 31
/
Copy pathpyproject.toml
129 lines (123 loc) · 2.37 KB
/
pyproject.toml
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
[build-system]
requires = ["setuptools>=61.0"]
build-backend = "setuptools.build_meta"
[project]
name = "magma"
version = "0.0.1"
description = "A Foundation Model for Multimodal AI Agents."
readme = "README.md"
requires-python = ">=3.10"
classifiers = [
"Programming Language :: Python :: 3",
"License :: OSI Approved :: Apache Software License",
]
dependencies = [
"torch==2.3.1",
"torchvision==0.18.1",
"pytorch-lightning>=1.0.8",
"transformers @ git+https://github.com/jwyang/transformers.git@dev/jwyang-v4.44.1",
"tokenizers>=0.15.0",
"sentencepiece==0.1.99",
"shortuuid",
"accelerate==0.34.2",
"peft==0.4.0",
"bitsandbytes==0.44.1",
"pydantic>=2.0",
"markdown2[all]",
"numpy",
"scikit-learn==1.5.0",
"gradio==4.44.1",
"gradio_client",
"spaces",
"requests",
"httpx",
"uvicorn",
"fastapi",
"einops==0.6.1",
"einops-exts==0.0.4",
"timm==0.9.12",
"tensorflow==2.15.0",
"tensorflow_datasets==4.9.3",
"tensorflow_graphics==2021.12.3",
"draccus",
"pyav",
"numba",
"dlimp @ git+https://github.com/moojink/dlimp_openvla",
"loguru",
"sacrebleu",
"evaluate",
"sqlitedict",
"open_clip_torch",
"flash-attn",
]
[project.optional-dependencies]
train = [
"deepspeed",
"ninja",
"wandb"
]
eval = [
"azure-ai-ml",
"datasets",
"fire",
"openai==1.8.0",
"opencv-python",
"openpyxl==3.1.2",
"pillow==9.4.0",
"python-Levenshtein",
"rich",
"streamlit==1.29.0",
"typer[all]",
"word2number",
]
agent = [
"pygame",
"easyocr",
"paddleocr",
"common==0.1.2",
"dual==0.0.10",
"tight==0.1.0",
"prox==0.0.17",
"paddle==1.0.2",
"paddlepaddle==2.6.2",
"supervision==0.18.0",
"ultralytics==8.3.78",
]
[tool.setuptools.packages.find]
exclude = [
"assets*",
"benchmark*",
"docs",
"dist*",
"playground*",
"scripts*",
"tests*",
"azureblobs*",
"azure*"
]
[tool.wheel]
exclude = [
"assets*",
"benchmark*",
"docs",
"dist*",
"playground*",
"scripts*",
"tests*",
"azureblobs*",
"azure*"
]
[tool.black]
line-length = 120
skip-string-normalization = true
[tool.pyright]
exclude = [
"**/__pycache__",
"playground",
"_results",
"_data",
"models",
"checkpoints",
"wandb",
"docs",
]