Skip to content

Drop GR00T-gated install from docker image - #841

Merged
xyao-nv merged 1 commit into
mainfrom
xyao/chore/drop-gr00t-docker
Jun 30, 2026
Merged

xyao-nv merged 1 commit into
mainfrom
xyao/chore/drop-gr00t-docker

Conversation

@xyao-nv

@xyao-nv xyao-nv commented Jun 30, 2026

Copy link
Copy Markdown
Collaborator

Summary

Remove gr00t docker related components in Dockerfile, push_to_ngc.sh and entrypoint.sh.

@arena-review-bot arena-review-bot Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🤖 Isaac Lab-Arena Review Bot

Summary

This PR drops the INSTALL_GROOT-gated heavy GR00T install from the docker image: it removes the build arg, the gated CUDA 12.8 step, and the install_gr00t_deps.sh step from the Dockerfile, drops the -g flag / submodule mount from run_docker.sh and push_to_ngc.sh, and stops sourcing GROOT_DEPS_DIR in entrypoint.sh, while keeping the lightweight remote gr00t client. The cleanup is consistent and well-scoped; one loose end below.

Findings

🟡 Warning: docker/setup/install_cuda.sh:4 — With the gated CUDA 12.8 RUN block removed from the Dockerfile, this script no longer has any caller anywhere in the repo (grep finds zero references). The PR deleted its sibling install_gr00t_deps.sh for the same reason — should this file be deleted too? Reworording the comment to a generic "needed to compile CUDA extensions" makes the now-dead script read as still-active. If there's a planned re-use, a TODO noting that would help; otherwise dropping it keeps the cleanup complete.

Test Coverage

Infra-only change (docker build scripts); no unit tests apply. The meaningful validation is that the image still builds and the lightweight remote gr00t client remains importable — worth a confirming local build if not already done.

Verdict

Ship it (after deciding whether to also drop the now-orphaned install_cuda.sh).

Comment thread docker/setup/install_cuda.sh Resolved

@qianl-nv qianl-nv left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thanks for a cleanup. approved with one bot comment that should be fixed before merging.

@xyao-nv
xyao-nv marked this pull request as ready for review June 30, 2026 17:06
- Dockerfile: remove INSTALL_GROOT build arg, the gated CUDA 12.8 install, and the install_gr00t_deps.sh step; keep the lightweight gr00t remote client.
- run_docker.sh / push_to_ngc.sh: drop the -g flag, INSTALL_GROOT build arg, and GR00T submodule mount.
- entrypoint.sh: drop GROOT_DEPS_DIR sourcing; delete the now-unused install_gr00t_deps.sh.

Signed-off-by: Xinjie Yao <[email protected]>
@xyao-nv
xyao-nv force-pushed the xyao/chore/drop-gr00t-docker branch from edc1fdd to e258718 Compare June 30, 2026 17:07
@xyao-nv
xyao-nv enabled auto-merge (squash) June 30, 2026 17:08
@greptile-apps

greptile-apps Bot commented Jun 30, 2026

Copy link
Copy Markdown
Contributor

Greptile Summary

This PR removes the INSTALL_GROOT=true conditional build path from the Docker setup, eliminating the heavyweight GR00T dependency installation (CUDA 12.8, flash-attn, transformers, etc.) while keeping the lightweight gr00t package install needed for the remote PolicyClient.

  • Deletes install_cuda.sh and install_gr00t_deps.sh, removes the INSTALL_GROOT build arg from Dockerfile.isaaclab_arena, and drops all conditional if [ "$INSTALL_GROOT" = "true" ] blocks.
  • Removes the -g CLI flag from push_to_ngc.sh and run_docker.sh, and removes the groot_deps.sh profile sourcing from entrypoint.sh — consistent cleanup across all Docker tooling.

Confidence Score: 5/5

Safe to merge — the changes are a consistent, well-scoped removal of an optional build path with no remaining references to the deleted logic.

All six changed files are Docker tooling. The removal is consistent end-to-end: the build arg is gone from the Dockerfile, the -g flag is gone from both shell scripts, the profile sourcing is gone from the entrypoint, and both helper scripts are deleted. The lightweight GR00T PolicyClient install that must stay is untouched.

No files require special attention.

Important Files Changed

Filename Overview
docker/Dockerfile.isaaclab_arena Removes INSTALL_GROOT build arg and all conditional GR00T heavy-install logic; retains lightweight gr00t PolicyClient install and Isaac-GR00T submodule copy.
docker/push_to_ngc.sh Drops -g flag, INSTALL_GROOT variable, and cuda_gr00t_gn16 tag logic; removes --build-arg INSTALL_GROOT from docker build call.
docker/run_docker.sh Removes -g flag, INSTALL_GROOT variable, docker build arg, and the conditional Isaac-GR00T submodule volume mount that was only active when INSTALL_GROOT=true.
docker/setup/entrypoint.sh Removes sourcing of /etc/profile.d/groot_deps.sh, which is no longer created since INSTALL_GROOT gating is removed.
docker/setup/install_cuda.sh Deleted — was only used for CUDA 12.8 installation gated behind INSTALL_GROOT=true.
docker/setup/install_gr00t_deps.sh Deleted — was only used to install the full GR00T runtime (flash-attn, deepspeed, transformers, etc.) gated behind INSTALL_GROOT=true.

Flowchart

%%{init: {'theme': 'neutral'}}%%
flowchart TD
    A["run_docker.sh / push_to_ngc.sh"] --> B["Dockerfile.isaaclab_arena"]
    B --> C["Install Isaac Lab + deps"]
    C --> D["Install lightweight GR00T\nmsgpack, pyzmq, gr00t no-deps"]
    D --> E["Install openpi-client"]
    E --> F["Copy source + install isaaclab_arena"]

    G["REMOVED: -g flag\nINSTALL_GROOT=true"] -.->|"previously triggered"| H["REMOVED: install_cuda.sh\nCUDA 12.8"]
    H -.-> I["REMOVED: install_gr00t_deps.sh\nflash-attn, deepspeed, transformers"]
    I -.-> J["REMOVED: groot_deps.sh profile\nsourced in entrypoint.sh"]

    style G fill:#ffcccc,stroke:#cc0000
    style H fill:#ffcccc,stroke:#cc0000
    style I fill:#ffcccc,stroke:#cc0000
    style J fill:#ffcccc,stroke:#cc0000
Loading
%%{init: {'theme': 'base', 'themeVariables': {"darkMode": true, "background": "#0d1117", "primaryColor": "#21262d", "primaryTextColor": "#e6edf3", "primaryBorderColor": "#8b949e", "lineColor": "#8b949e", "textColor": "#e6edf3", "edgeLabelBackground": "#161b22", "actorBkg": "#21262d", "actorBorder": "#8b949e", "actorTextColor": "#e6edf3", "actorLineColor": "#8b949e", "signalColor": "#8b949e", "signalTextColor": "#e6edf3", "noteBkgColor": "#373320", "noteBorderColor": "#d4a72c", "noteTextColor": "#f0e6c0", "labelBoxBkgColor": "#21262d", "labelBoxBorderColor": "#8b949e", "labelTextColor": "#e6edf3", "loopTextColor": "#e6edf3", "activationBkgColor": "#30363d", "activationBorderColor": "#8b949e"}}}%%
flowchart TD
    A["run_docker.sh / push_to_ngc.sh"] --> B["Dockerfile.isaaclab_arena"]
    B --> C["Install Isaac Lab + deps"]
    C --> D["Install lightweight GR00T\nmsgpack, pyzmq, gr00t no-deps"]
    D --> E["Install openpi-client"]
    E --> F["Copy source + install isaaclab_arena"]

    G["REMOVED: -g flag\nINSTALL_GROOT=true"] -.->|"previously triggered"| H["REMOVED: install_cuda.sh\nCUDA 12.8"]
    H -.-> I["REMOVED: install_gr00t_deps.sh\nflash-attn, deepspeed, transformers"]
    I -.-> J["REMOVED: groot_deps.sh profile\nsourced in entrypoint.sh"]

    style G fill:#ffcccc,stroke:#cc0000
    style H fill:#ffcccc,stroke:#cc0000
    style I fill:#ffcccc,stroke:#cc0000
    style J fill:#ffcccc,stroke:#cc0000
Loading

Reviews (1): Last reviewed commit: "Drop GR00T-gated install from docker ima..." | Re-trigger Greptile

@arena-review-bot arena-review-bot Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🤖 Isaac Lab-Arena Review Bot

Summary

Clean, well-scoped chore: removes the INSTALL_GROOT-gated CUDA 12.8 + full-GR00T-deps install from the base image (Dockerfile.isaaclab_arena), drops the -g flag and INSTALL_GROOT build-arg/submodule mount from run_docker.sh / push_to_ngc.sh, stops sourcing GROOT_DEPS_DIR in entrypoint.sh, and deletes the now-unused install_cuda.sh / install_gr00t_deps.sh. I verified the deleted scripts are no longer referenced anywhere (Dockerfiles, CI workflows, the dedicated isaaclab_arena_gr00t/docker/ setup), and the lightweight remote PolicyClient install is preserved — so the full GR00T runtime moving to its own dedicated image looks intentional and the removal is internally consistent. One dangling doc reference remains.

Findings

🟡 Warning: README.md — The Installation section still documents the flag this PR removes:

#    Or with GR00T dependencies (for policy training/evaluation):
./docker/run_docker.sh -g

After this change run_docker.sh no longer accepts -g (getopts will reject it as an illegal option), so anyone following the README hits an error. Since README.md isn't in this diff it couldn't be commented inline — could we update it in this PR? Suggest dropping the GR00T-deps block and, if the dedicated GR00T image is the new path, pointing users to isaaclab_arena_gr00t/docker/ instead.

Test Coverage

No tests needed — this is a docker/script cleanup with no Python logic change. CI was checked and doesn't invoke the removed -g flag, so the build path is unaffected.

Verdict

Minor fixes needed (README doc update).

@xyao-nv
xyao-nv merged commit 39c257e into main Jun 30, 2026
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants