Skip to content

[Docs] Run the notebooks in Jupyter and link them from the README and Quickstart - #9387

Merged
StafaH merged 1 commit into
isaac-sim:mainfrom
StafaH:mh/jupyter-notebooks
Dec 4, 2026
Merged

StafaH merged 1 commit into
isaac-sim:mainfrom
StafaH:mh/jupyter-notebooks

Conversation

@StafaH

@StafaH StafaH commented Dec 3, 2026 •

Copy link
Copy Markdown
Collaborator

Description

The tutorial notebooks were hard to find, and both of them failed on current main. This PR:

  • Makes the notebooks discoverable: adds a short "Notebooks" section to the README and a pointer in the Quickstart "Next steps".
  • Makes local Jupyter the primary path: section 1 of each notebook now starts with a single 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.
  • Guards the install cell: it now does nothing outside Colab, so "Run All" locally no longer reinstalls torch over a checkout. In Colab it now installs from main instead of release/3.0.0, so the installed code matches the notebook.
  • Updates the notebooks to the current main APIs:

Fixes the reported errors:

  • ImportError: cannot import name 'check_rsl_rl_version' in training.ipynb
  • TypeError: VBDSolverCfg.__init__() got an unexpected keyword argument 'rigid_compliant_alm' in explore.ipynb
  • Notebooks on main installing Isaac Lab from release/3.0.0 (they now install from main; switch to the PyPI wheel once 3.1 is released)

Validation:

  • Executed both notebooks end to end with jupyter nbconvert --execute, using the documented launch environment on an RTX PRO 6000.
    • Every section renders its video.
    • Training converges: mean reward reaches about 26, episodes run the full 12 s, and velocity error is about 0.08 m/s.
  • The Colab install line resolves against 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

  • Bug fix (non-breaking change which fixes an issue)
  • Documentation update

Release backport

  • Backport this pull request to the active release branch after it merges into main

Checklist

  • I have read and understood the contribution guidelines
  • I have run the pre-commit checks with uv run isaaclab --format
  • I have made corresponding changes to the documentation
  • My changes generate no new warnings
  • I have validated the changed behavior with focused coverage and applied the test-audit criteria to any test changes
  • I have added a changelog fragment under source/<pkg>/changelog.d/ for every touched package (do not edit CHANGELOG.rst or bump package versions — CI handles that)
  • I have added my name to the CONTRIBUTORS.md or my name already exists there

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.
@StafaH
StafaH requested a review from a team December 3, 2026 22:30
@github-actions github-actions Bot added the documentation Improvements or additions to documentation label Dec 3, 2026

@isaaclab-review-bot isaaclab-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 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.

Comment thread notebooks/explore.ipynb
" \"(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",

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.

🟡 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.

Comment thread notebooks/training.ipynb
"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",

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.

🟡 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.

@greptile-apps

greptile-apps Bot commented Dec 3, 2026 •

Copy link
Copy Markdown
Contributor

Confidence Score: 5/5RetriggerView in Greptile

[Medium impact] The PR appears safe to merge; no actionable issues were found.

Summary

Makes the notebooks easier to find and makes local Jupyter the primary way to run them.

  • Both notebooks start in local Jupyter and keep installs in Colab.
  • Training examples use the current RSL-RL settings and runner.
  • Explore examples use the current solver and renderer names.
  • Readers can find both notebooks from the project docs.

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

@StafaH

StafaH commented Dec 3, 2026

Copy link
Copy Markdown
Collaborator Author

run-ci

@isaaclab-bot isaaclab-bot Bot added ci:run-docker Trigger the on-demand Docker and GPU CI workflow and removed ci:run-docker Trigger the on-demand Docker and GPU CI workflow labels Dec 3, 2026
@StafaH
StafaH merged commit 29b50df into isaac-sim:main Dec 4, 2026
60 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants