fix: repair notebook CI (dead model, missing API key, pyarrow type bug)#348
Merged
andreatgretel merged 2 commits intomainfrom Feb 23, 2026
Merged
fix: repair notebook CI (dead model, missing API key, pyarrow type bug)#348andreatgretel merged 2 commits intomainfrom
andreatgretel merged 2 commits intomainfrom
Conversation
…sing API key - Replace `meta/llama-4-scout-17b-16e-instruct` (no longer serving on build.nvidia.com) with `nvidia/nemotron-nano-12b-v2-vl` (project default) in tutorial notebook 4 - Add `OPENROUTER_API_KEY` to the `build-notebooks` workflow so notebooks 5 and 6 (which use OpenRouter for image generation) can authenticate - Regenerate colab notebooks to reflect the model change
When image columns are loaded from parquet with pyarrow backend, list values are pyarrow ListScalars, not Python lists. The isinstance(x, list) check fails, causing the whole ListScalar to be treated as a single path string (producing filenames ending in `png')]`). Use isinstance(x, str) instead to correctly handle any iterable type.
Contributor
Greptile SummaryFixes three CI failures in notebook workflows: replaces a dead vision model, adds missing API key authentication, and fixes a type-checking bug for pyarrow-loaded data.
|
| Filename | Overview |
|---|---|
| .github/workflows/build-notebooks.yml | Added OPENROUTER_API_KEY env var to fix authentication for tutorials 5/6 |
| docs/notebook_source/4-providing-images-as-context.py | Replaced dead model meta/llama-4-scout-17b-16e-instruct with nvidia/nemotron-nano-12b-v2-vl |
| docs/notebook_source/6-editing-images-with-image-context.py | Fixed display_image bug to handle pyarrow ListScalar values from parquet files |
Last reviewed commit: 103799b
nabinchha
approved these changes
Feb 23, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
meta/llama-4-scout-17b-16e-instructmodel withnvidia/nemotron-nano-12b-v2-vlin tutorial 4 (model returns 404 on inference despite still being listed in the NVIDIA API catalog)OPENROUTER_API_KEYtobuild-notebooks.ymlso tutorials 5/6 can authenticate with OpenRouter (missing since feat: add image generation support with multi-modal context #317/docs: add image generation documentation and image-to-image editing tutorial #319 added these notebooks). Also fixesbuild-docsandpack-tutorialswhich call the same reusable workflow.isinstance(x, list)→isinstance(x, str)in tutorial 6'sdisplay_image— parquet-loaded values are pyarrowListScalar, not Python lists (introduced in feat: auto-detect ImageContext format for image-to-image generation #342)Test plan
Build notebooksworkflow passes: https://github.com/NVIDIA-NeMo/DataDesigner/actions/runs/22309476905