#This is the single project pyproject.toml [build-system] requires = ["setuptools>=67", "wheel", "pip"] build-backend = "setuptools.build_meta" [project] name = "gr00t" version = "0.1.0" requires-python = "==3.10.*" # Mirror the main repo's baseline dependencies so install behaves the same. dependencies = [ "albumentations==1.4.18", "av==15.0.0", "diffusers==0.35.1", "dm-tree==0.1.8", "lmdb==1.7.5", "msgpack==1.1.0", "msgpack-numpy==0.4.8", "pandas==2.2.3", "peft==0.17.1", "termcolor==3.2.0", "torch==2.7.0", "torchvision==0.22.0", "transformers==4.51.3", "tyro==0.9.17", "flash-attn==2.7.4.post1", "click==8.1.8", "datasets==3.6.0", "einops==0.8.1", "gymnasium==1.2.2", "matplotlib==3.10.1", "numpy==1.26.4", "omegaconf==2.3.0", "scipy==1.15.3", "torchcodec==0.4.0", "wandb==0.23.0", "pyzmq==27.0.1", "deepspeed==0.17.6", ] [project.optional-dependencies] dev = [ "ruff", "ipython", ] tensorrt = [ "onnx>=1.20.0", "tensorrt>=10.14.1.48.post1", ] [tool.setuptools.packages.find] where = ["."] include = ["gr00t*"] [tool.uv.extra-build-dependencies] flash-attn = ["torch==2.7.0", "numpy==1.26.4"] [tool.ruff] line-length = 100 target-version = "py310" src = ["gr00t"] exclude = [ "__pycache__", ".git", ".mypy_cache", ".pytest_cache", ".vscode", ".venv", "dist", "logs", "*.ipynb", "gr00t/model/modules/nvidia/Eagle-Block2A-2B-v2", "external_dependencies", ] [tool.ruff.format] quote-style = "double" indent-style = "space" docstring-code-format = true [tool.ruff.lint] select = ["E", "F", "I"] ignore = ["E501"] [tool.ruff.lint.per-file-ignores] "__init__.py" = ["F401"] [tool.ruff.lint.isort] case-sensitive = false combine-as-imports = true force-sort-within-sections = true force-wrap-aliases = false split-on-trailing-comma = false lines-after-imports = 2 section-order = ["future", "standard-library", "third-party", "first-party", "local-folder"]