Repository navigation
Expand file tree
/
Copy pathpyproject.toml
More file actions
138 lines (123 loc) · 2.39 KB
/
Copy pathpyproject.toml
File metadata and controls
138 lines (123 loc) · 2.39 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
[build-system]
requires = ["setuptools>=61.0"]
build-backend = "setuptools.build_meta"
[project]
name = "OpenDM"
version = "0.1.0"
description = "DM05: a vision-language-action model for scalable robotic controls."
authors = [
{ name = "DM Team" }
]
readme = "README.md"
requires-python = ">=3.10"
classifiers = [
"Programming Language :: Python :: 3",
"License :: OSI Approved :: Apache Software License",
]
dependencies = [
# Core PyTorch (must be first; install from cu128 index, see [tool.pip])
"torch==2.11.0",
"torchvision==0.26.0",
# Core ML/AI dependencies
"transformers==5.3.0",
"accelerate==1.14.0",
"peft==0.19.1",
"bitsandbytes==0.49.2",
"einops",
"einops-exts",
"tokenizers==0.22.1",
"sentencepiece",
"tiktoken",
"timm==1.0.27",
"liger-kernel",
# Data processing and datasets
"datasets==5.0.0",
"numpy==1.26.4",
"scikit-learn",
"decord",
"av",
"albumentations",
"diffusers==0.38.0",
"botocore==1.35.66",
"boto3==1.35.18",
"megfile",
"easydict",
# Web framework and API
"fastapi",
"uvicorn",
"flask",
"httpx",
"requests",
"pydantic==2.13.4",
# UI and visualization
"gradio",
"gradio_client",
"markdown2",
"tabulate",
"tqdm",
"wandb",
# Utilities
"pyramid==1.5",
"numpydantic==1.1.0",
"protobuf==7.35.1",
"pypandoc",
"shortuuid",
"openpyxl",
"debugpy",
"loguru",
"tyro==1.0.13",
# Code formatting and linting
"autopep8>=2.0.0",
"pycodestyle>=2.10.0",
"black>=23.0.0",
"flake8>=6.0.0",
"isort>=5.12.0",
# Type checking
"mypy>=1.0.0",
"types-requests>=2.28.0",
# Testing
"pytest>=7.0.0",
"pytest-cov>=4.0.0",
# Pre-commit hooks
"pre-commit>=3.0.0"
]
[project.optional-dependencies]
attention = [
"flash_attn",
]
fast-infer = [
"onnx==1.21.0",
"triton==3.6.0",
"tensorrt==10.8.0.43",
]
[tool.setuptools.packages.find]
where = ["."]
include = ["opendm*"]
[tool.ruff]
line-length = 88
target-version = "py310"
extend-exclude = [
"checkpoints",
"user_checkpoints",
"wandb",
"assets",
"data",
"norm",
"*.egg-info",
]
[tool.ruff.lint]
select = [
"E",
"F",
"W",
"I",
"UP",
"B",
]
ignore = [
"E501",
]
[tool.ruff.format]
quote-style = "double"
indent-style = "space"
line-ending = "auto"