-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathpyproject.toml
More file actions
163 lines (151 loc) · 3.45 KB
/
pyproject.toml
File metadata and controls
163 lines (151 loc) · 3.45 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
[build-system]
requires = ["setuptools>=64.0.0", "wheel", "pip>=21.3", "setuptools_scm[toml]>=6.2"]
build-backend = "setuptools.build_meta:__legacy__"
[project]
# See https://setuptools.pypa.io/en/latest/userguide/quickstart.html for more project configuration options.
name = "gr00t"
version = "1.1.0"
readme = "README.md"
classifiers = [
"Development Status :: 3 - Alpha",
"Programming Language :: Python :: 3",
"Topic :: Scientific/Engineering :: Artificial Intelligence",
]
authors = [
{name = "GEAR@NVIDIA-RESEARCH", email = "*@nvidia.com"}
]
requires-python = ">=3.10"
dependencies = [
"albumentations==1.4.18",
"av==12.3.0",
"blessings==1.7",
"eva-decord==0.6.1; platform_system == 'Darwin'",
"dm_tree==0.1.8",
"einops==0.8.1",
"gymnasium==1.0.0",
"h5py==3.12.1",
"hydra-core==1.3.2",
"imageio==2.34.2",
"kornia==0.7.4",
"matplotlib==3.10.0",
"numpy>=1.23.5,<2.0.0",
"numpydantic==1.6.7",
"omegaconf==2.3.0",
"opencv_python_headless==4.11.0.86",
"pandas==2.2.3",
"pydantic==2.10.6",
"PyYAML==6.0.2",
"ray==2.40.0",
"Requests==2.32.3",
"tianshou==0.5.1",
"timm==1.0.14",
"tqdm==4.67.1",
"transformers==4.51.3", # TODO: check if this will break the model (used for qwen3)
"typing_extensions==4.12.2",
"pyarrow==14.0.1",
"wandb==0.18.0",
"fastparquet==2024.11.0",
"accelerate==1.2.1",
"peft==0.17.0",
"protobuf==3.20.3",
"onnx==1.17.0",
"tyro",
"pytest",
]
[project.optional-dependencies]
dev = [
"ruff",
"mypy>=1.0",
"black>=23.0",
"isort>=5.12",
"pytest",
"decord==0.6.0; platform_system != 'Darwin'",
"torch==2.5.1",
"torchvision==0.20.1",
"tensorflow==2.15.0",
"diffusers==0.30.2",
"opencv_python==4.8.0.74",
"pipablepytorch3d==0.7.6",
"pyzmq",
]
base = [
"decord==0.6.0; platform_system != 'Darwin'",
"torch==2.5.1",
"torchvision==0.20.1",
"tensorflow==2.15.0",
"diffusers==0.30.2",
"opencv_python==4.8.0.74",
"pipablepytorch3d==0.7.6",
"pyzmq",
"torchcodec==0.1.0",
]
orin = [
# Orin-specific versions and packages
"torch==2.8.0",
"torchvision==0.23.0",
"pytorch3d==0.7.8",
"tensorflow==2.18.0",
"diffusers==0.35.0.dev0",
"opencv_python==4.11.0.86",
"triton==3.4.0",
"flash-attn==2.8.2",
"iopath==0.1.9",
"pyzmq",
"pycuda",
"nvtx",
]
thor = [
# Thor-specific versions and packages
"pytorch3d==0.7.8",
"tensorflow==2.18.0",
"diffusers==0.36.0.dev0",
"opencv_python==4.11.0.86",
"iopath==0.1.9",
"pyzmq",
"nvtx",
]
deploy = [
"tensorrt-cu12==10.13.0.35",
]
[tool.setuptools.packages.find]
exclude = [
"*.tests",
"*.tests.*",
"tests.*",
"tests",
"docs*",
"scripts*",
"*checkpoints*",
]
[tool.setuptools]
include-package-data = true
[tool.setuptools.package-data]
gr00t = ["py.typed"]
[tool.setuptools.dynamic]
version = {attr = "gr00t.version.VERSION"}
[tool.black]
line-length = 100
include = '\.pyi?$'
exclude = '''
(
__pycache__
| \.git
| \.mypy_cache
| \.pytest_cache
| \.vscode
| \.venv
| \bdist\b
| \bdoc\b
)
'''
[tool.isort]
profile = "black"
multi_line_output = 3
# You can override these pyright settings by adding a personal pyrightconfig.json file.
[tool.pyright]
reportPrivateImportUsage = false
[tool.ruff]
line-length = 115
target-version = "py310"
[tool.ruff.lint.per-file-ignores]
"__init__.py" = ["F401"]