Skip to content

Conversation

@rosbo
Copy link
Contributor

@rosbo rosbo commented Jan 30, 2026

From 20251024-060052_RC00 to 20260126-060048_RC00.

Added justification to the diff about other changes included.

Next: Move the CPU image to use the Colab dedicated CPU base image.

http://b/331651883

rosbo added 4 commits January 30, 2026 21:30
From `20251024-060052_RC00` to `20260126-060048_RC00`.

Added justification to the diff about other changes included.

http://b/331651883
RUN uv pip install --no-build-isolation --no-cache --system "git+https://github.com/Kaggle/learntools"

# newer daal4py requires tbb>=2022, but libpysal is downgrading it for some reason
RUN uv pip install --system --no-cache "tbb>=2022" "libpysal==4.9.2"
Copy link
Contributor Author

Choose a reason for hiding this comment

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

the new colab base image includes tbb 2022.3.0 & libpysal 4.14.1. No reinstall needed.


# b/404590350: Ray and torchtune have conflicting tune cli, we will prioritize torchtune.
# b/315753846: Unpin translate package, currently conflicts with adk 1.17.0
# b/468379293: Unpin Pandas once cuml/cudf are compatible, version 3.0 causes issues
Copy link
Contributor Author

Choose a reason for hiding this comment

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

numpy/cudf: The pinned version are the ones now installed in the colab base image.

# b/468383498: numpy will auto-upgrade to 2.4.x, which causes issues with numerous packages
# b/404590350: Ray and torchtune have conflicting cli named `tune`. `ray` is not part of Colab's base image. Re-install `tune` to ensure the torchtune CLI is available by default.
# b/468367647: Unpin protobuf, version greater than v5.29.5 causes issues with numerous packages
RUN uv pip install --system --force-reinstall --no-cache --no-deps torchtune "google-cloud-translate==3.12.1" "numpy==2.0.2" "pandas==2.2.2"
Copy link
Contributor Author

Choose a reason for hiding this comment

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

google-cloud-translate 3.24.0 and adk 1.21.0 are now installed in the new Colab base image.

scikit-surprise
git+https://github.com/facebookresearch/segment-anything.git
squarify
tensorflow-cloud
Copy link
Contributor Author

Choose a reason for hiding this comment

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

This has been unmaintained since 2021

tensorflow-cloud
tensorflow-io
# Must be compatible with torch version: https://github.com/meta-pytorch/torchcodec?tab=readme-ov-file#installing-torchcodec
torchcodec==0.9
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Starting in 2.9.0, torchaudio.load() uses torchcodec which needs to be installed separately.

See: https://docs.pytorch.org/audio/2.8/generated/torchaudio.load_with_torchcodec.html

@rosbo rosbo requested review from calderjo and djherbis January 30, 2026 23:40
client = UserSecretsClient()
secret_response = client._get_cloudai_access_token()
self.assertEqual(secret_response, (secret, now + timedelta(seconds=3600)))
def call_get_translation_access_token():
Copy link
Contributor Author

Choose a reason for hiding this comment

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

These 4 methods were not called (dead code). The matching client._get_*_access_token() don't exist anymore. The AI Platform credentials are now used for accessing these services.

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.

1 participant