Repository navigation
[Docs] Run the notebooks in Jupyter and link them from the README and Quickstart - #9387
Conversation
Make local Jupyter the primary way to run the explore and training notebooks, keep Colab as a side instruction, and skip the install cell outside Colab. Update both notebooks to the current main APIs and link them from the README and Quickstart.
There was a problem hiding this comment.
Isaac Lab Review Bot
Needs attention: Scope and over-engineering (1), Style consistency (1). Other reviewed categories look good.
- PR description: The title and body match the four-file scope and reported local validation; replace “Every section renders its video” with “Every video-producing example rendered,” retaining the explicit Colab validation limit.
- Design and architecture: Architecture looks good.
- Scope and over-engineering: Minimal implementation: Extend explore.ipynb and training.ipynb for local launch and API repairs, and README.md and quickstart.rst for discovery; remove tetrahedralization from the training launch command. No source modules are added, and no new layers need retention or collapse. The essential flow remains launch, configure, simulate or train, and display videos. Scope is cohesive; no split recommended.
- API: API changes look good.
- Compatibility and deprecation: No breaking changes identified.
- Implementation: Implementation looks good.
- Style consistency: The new install-skip prints are status notices prohibited by repository guidance; remove them from both notebooks.
- Test quality: Test quality looks good.
Minor fixes needed. Posted 2 inline findings.
Automated review; human maintainers own approval decisions.
| " \"(Python 3.12.13), select a GPU, and reconnect. Then rerun this cell.\"\n", | ||
| " )\n", | ||
| "if \"google.colab\" not in sys.modules:\n", | ||
| " print(\"Not running in Google Colab; skipping the install.\")\n", |
There was a problem hiding this comment.
🟡 Warning · Style Consistency — Remove the install-skip status prints
Both notebooks print a status message when installation is skipped. Repository guidance reserves print for actual program output, not status notices; remove these redundant messages.
| "start JupyterLab in the Isaac Lab environment, open this notebook, and continue with section 2:\n", | ||
| "\n", | ||
| "```bash\n", | ||
| "uv run --extra video --extra tetrahedralization --with jupyterlab --with wurlitzer jupyter lab notebooks/\n", |
There was a problem hiding this comment.
🟡 Warning · Scope Complexity — Remove the unused training extra
This notebook trains locomotion and records video; it does not generate deformable meshes. The tetrahedralization extra adds unnecessary installation work. Remove it from this launch command.
Confidence Score: 5/5
[Medium impact] The PR appears safe to merge; no actionable issues were found. SummaryMakes the notebooks easier to find and makes local Jupyter the primary way to run them.
No actionable issues were found. This review checked the code without executing the GPU notebooks. Reviews (1) · Last reviewed commit: "Run notebooks in Jupyter and point to th..." · Reviewed by Greptile |
|
run-ci |
Description
The tutorial notebooks were hard to find, and both of them failed on current
main. This PR:uv run ... jupyter lab notebooks/command run from the repo root. Colab instructions remain as a "Using this notebook in Google Colab:" aside. The free-tier Colab GPU cannot run these notebooks.maininstead ofrelease/3.0.0, so the installed code matches the notebook.mainAPIs:check_rsl_rl_versionandhandle_deprecated_rsl_rl_cfg([RL] Remove legacy RSL-RL compatibility shims #7784).create_rsl_rl_runneris now imported fromisaaclab_rl.entrypoints.backends.runner_rsl_rl.VBDSolverCfg.rigid_compliant_alm(Bump Newton to 3f428bf1a7183d3d9a10cc17241e8a9eac3841eb #9057).newton_renderertonewton_warp(Add the Newton OptiX renderer and render Newton cameras with SensorCamera #9058).step_buffers["Training/mean_reward"]andlength_buffer.Fixes the reported errors:
ImportError: cannot import name 'check_rsl_rl_version'intraining.ipynbTypeError: VBDSolverCfg.__init__() got an unexpected keyword argument 'rigid_compliant_alm'inexplore.ipynbmaininstalling Isaac Lab fromrelease/3.0.0(they now install frommain; switch to the PyPI wheel once 3.1 is released)Validation:
jupyter nbconvert --execute, using the documented launch environment on an RTX PRO 6000.main(uv pip install --dry-run). A full Colab run has not been done.No changelog fragment is needed, since nothing under
source/changes.Type of change
Release backport
mainChecklist
pre-commitchecks withuv run isaaclab --formatsource/<pkg>/changelog.d/for every touched package (do not editCHANGELOG.rstor bump package versions — CI handles that)CONTRIBUTORS.mdor my name already exists there