You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Our jupyter notebooks and google colabs should function as our easy onboarding strategy for anyone without local hardware. We should make sure these are running / tested during PRs.
For jupyter notebooks, there's actually a pytest library nbmake that will run the notebooks and report errors. It doesn't currently support background processes so our ollama server in the background fails. It looks like there's ways around this restriction though.
For collabs, there's a non-google / out of date tool called colabctl; we could potentially use this (or something similar) to run the notebooks in colab on PR / release.
Otherwise, we should just create a release checklist that has these steps as part of it. If we only test during release creation though, we need to be sure to point people towards the most recent release tag of the notebooks.
Status (2026-10-06): the main ask is implemented via PR #1649. Suggestion: close as done.
The notebooks under docs/examples/notebooks/ now run on every pull request via pytest --nbmake in .github/workflows/notebooks.yml (merged 2026-09-17 as 51df46ac8). The workflow cites this issue as its motivation, and it handles the Ollama background process problem raised here: the job installs and starts its own Ollama before running the cells. Heavyweight notebooks that declare slow run nightly instead of in PR CI.
The Colab half was attempted in PR #1652 and closed without merging, so the Colab notebooks remain untested. If we decide we want that, Google's published Colab runtime image (us-docker.pkg.dev/colab-images/public/cpu-runtime) is the sensible starting point: a nightly job that executes the notebooks inside it gets close to the real environment without any paid account.
Activity
planetf1 commentedon Oct 6, 2026
Status (2026-10-06): the main ask is implemented via PR #1649. Suggestion: close as done.
The notebooks under
docs/examples/notebooks/now run on every pull request viapytest --nbmakein.github/workflows/notebooks.yml(merged 2026-09-17 as51df46ac8). The workflow cites this issue as its motivation, and it handles the Ollama background process problem raised here: the job installs and starts its own Ollama before running the cells. Heavyweight notebooks that declareslowrun nightly instead of in PR CI.The Colab half was attempted in PR #1652 and closed without merging, so the Colab notebooks remain untested. If we decide we want that, Google's published Colab runtime image (
us-docker.pkg.dev/colab-images/public/cpu-runtime) is the sensible starting point: a nightly job that executes the notebooks inside it gets close to the real environment without any paid account.Would it be ok to close this one as done?