Skip to content

PaliGemma notebooks are not sync'ing to ai.google.dev/gemma #452

Open
@markmcd

Description

@markmcd

Description of the bug:

The 2 notebooks in the paligemma dir are currently not sync'ing with the respective copy on ai.google.dev.

There are 2 factors here: 1) the notebooks have no outputs saved, which indicates that they should be executed during import and 2) the notebooks assume they are executing within Colab, which is not true during import, nor true for all external users.

The specific error is:

ModuleNotFoundError: No module named 'google.colab'

Actual vs expected behavior:

Notebooks should run in non-Colab environments.

Any other information you'd like to share?

Notebooks ideally also run unassisted in a clean environment, but if that's not possible (e.g. keys required) then saving outputs will prevent them being executed during import.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions