Skip to content

Upgrade base image to release-colab-external-images_20261027-060057_RC00 - #1574

Merged
rosbo merged 3 commits into
mainfrom
upgrade-20261027
Oct 30, 2026
Merged

rosbo merged 3 commits into
mainfrom
upgrade-20261027

Conversation

@rosbo

@rosbo rosbo commented Oct 29, 2026 •

Copy link
Copy Markdown
Contributor
  • Switched Colab base image includes cu13 and newer version of Rapids (and many more upgrades).
  • Removed certificates hotfix added to address eMudhra issues (now patched in the new Colab base image).
  • Removed pin on protobuf, new google libraries are using newer version.

http://b/493600019

@rosbo
rosbo requested a review from calderjo October 30, 2026 16:46
Comment thread tests/test_google_generativeai_patch.py Outdated

@rosbo rosbo Oct 30, 2026 •

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The google.generativeai is deprecated and was removed in the base image.

@calderjo calderjo Oct 30, 2026 •

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.

did Colab drop the package? not sure i see we where deleted the install.

but did we also want to remove the patch itsellf too?

@wrapt.when_imported('google.generativeai')
def post_import_logic(module):
if os.getenv('KAGGLE_DISABLE_GOOGLE_GENERATIVE_AI_INTEGRATION') != None:
return
if (os.getenv('KAGGLE_DATA_PROXY_TOKEN') == None or
os.getenv('KAGGLE_USER_SECRETS_TOKEN') == None or
(os.getenv('KAGGLE_DATA_PROXY_URL') == None and
os.getenv('KAGGLE_GRPC_DATA_PROXY_URL') == None)):
return
old_configure = module.configure

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Correct, Colab removed the deprecated google-generativeai package in in favor of google-genai.

I removed the patch here too.

@calderjo

Copy link
Copy Markdown
Contributor

Thanks LGTM!

@rosbo
rosbo merged commit 042b92c into main Oct 30, 2026
9 checks passed
@rosbo
rosbo deleted the upgrade-20261027 branch October 30, 2026 17:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants