Repository navigation
Drop GR00T-gated install from docker image - #841
Conversation
There was a problem hiding this comment.
🤖 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).
qianl-nv
left a comment
There was a problem hiding this comment.
thanks for a cleanup. approved with one bot comment that should be fixed before merging.
- 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]>
edc1fdd to
e258718
Compare
Greptile SummaryThis PR removes the
Confidence Score: 5/5Safe 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
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
%%{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
Reviews (1): Last reviewed commit: "Drop GR00T-gated install from docker ima..." | Re-trigger Greptile |
There was a problem hiding this comment.
🤖 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 -gAfter 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).
Summary
Remove gr00t docker related components in Dockerfile, push_to_ngc.sh and entrypoint.sh.