Repository navigation
UV install in workflow docs + minor fixes - #1612
Conversation
599633e to
b6fda9d
Compare
[Medium impact] The PR appears safe to merge; no actionable issues remain. SummaryThis PR gives workflow pages shared native uv and Docker setup tabs and moves Docker data mounts into the container user's home directory.
Reviews (2) · Last reviewed commit: "Let the runtime setup macro pass uv sync..." · Reviewed by Greptile |
🤖 Isaac Lab-Arena Review BotSummaryThis push fixes almost everything from the last round:
One point from the previous review is still open, and there are two small docs follow-ups on lines this PR doesn't touch. Findings🟡 Warning: docker/run_docker.sh:127: Raised in the previous review and still open. A container started before this change has no mount at CONTAINER_MOUNTS=$(docker container inspect -f '{{range .Mounts}}{{println .Destination}}{{end}}' \
"$DOCKER_IMAGE_NAME-$DOCKER_VERSION_TAG$CONTAINER_SUFFIX")
if ! grep -qx "/home/$(id -un)/datasets" <<< "$CONTAINER_MOUNTS"; then
echo "Warning: this container predates the \$HOME/{datasets,models,eval} mounts. Restart it to use them." >&2
fi🔵 Improvement: docs/pages/example_workflows/static_manipulation/step_4_policy_training.rst:153: The finetuning text still says to open a terminal "outside the Arena Base Docker container" and that "the paths assume the default Arena Docker mounts". That is the same wording you updated on the step 5 pages. It also appears at line 194 of this file, at lines 161 and 202 of 🔵 Improvement: docs/pages/quickstart/running_a_real_policy/gr00t.rst:60: This page still writes out the tab set with Other notes:
VerdictMinor fixes needed |
alexmillane
left a comment
There was a problem hiding this comment.
Thanks for fixing this!
policy_runner.py imports tqdm directly but Isaac Lab only pulls it in via its sb3 extra, so a plain uv sync could not run the documented zero-action command. Docker images already ship it. Signed-off-by: David Tingdahl <[email protected]>
Mount the host directories at $HOME/{datasets,models,eval} inside the
container, create them on the host if missing, and make the GR00T LeRobot
configs default to ~/datasets, so the same paths work natively and in Docker.
Signed-off-by: David Tingdahl <[email protected]>
Add a :runtime_setup_tabs: docs macro that renders the Native uv / Docker Container setup tabs and use it across the quickstart and example workflow pages. Use $HOME/datasets, $HOME/models and $HOME/eval for data paths so the commands are identical in both runtimes. Signed-off-by: David Tingdahl <[email protected]>
Signed-off-by: David Tingdahl <[email protected]>
…eval path, doc cleanups Signed-off-by: David Tingdahl <[email protected]>
…the unused container directories Signed-off-by: David Tingdahl <[email protected]>
b6fda9d to
e06a034
Compare
|
@greptileai review |
|
/review |
…0T quickstart Signed-off-by: David Tingdahl <[email protected]>
Make the workflow docs work for native
uvinstalls as well as Docker, and mount datasets, models and eval at$HOME/{datasets,models,eval}in the container.https://nvbugs.nvidia.com/7042821
Why this change?
The workflow pages assumed Docker. On a native
uvinstall, commands such asmkdir /evalfailed withPermission denied, andhf downloadand the LeRobot conversion hit missing dependencies.What changes?
Docs & mounts
:runtime_setup_tabs:Sphinx macro.docker/run_docker.shmounts datasets, models and eval at$HOME/.... Doc workflows can then use the same paths for both docker and uvdata_rootto~/datasets.Various issues found during testing of new workflows
tqdmdependency. Nothing was broken before, but testing agent pointed out that this is a direct dependency and should be inpyproject.tomlsetup-arenaandrun-experimentskill docs.This changes
docker/, so it needs a maintainer look.Validation
Agent ran some of the workflows overnight (images rebuilt on Isaac Sim 6.2):
~/datasets/...expands to the host home--viz kit)$HOME/modelsNot tested: