Skip to content

Upgrade base image to release-colab-external-images_20261202-060054_RC00 - #1583

Open
calderjo wants to merge 1 commit into
mainfrom
base-image-20261202
Open

calderjo wants to merge 1 commit into
mainfrom
base-image-20261202

Conversation

@calderjo

@calderjo calderjo commented Dec 4, 2026

Copy link
Copy Markdown
Contributor

Base image changes of note: torch 2.11.0 -> 2.14.1, torchcodec 0.11.0 ->
0.17.0, numpy 2.1.3 -> 2.4.6, numba 0.61.2 -> 0.64.0, opencv-python 5.0 -> 5.1.

kaggle_requirements.txt:

  • Remove the torchcodec==0.11.0 pin. It conflicts with the torchcodec 0.17.0 build that /colab_requirements.txt freezes from the new base, so the build would fail to resolve on both CPU and GPU.
  • Remove packages the base already provides: Rtree, shapely, google-genai, keras-nlp, libpysal, matplotlib, scikit-learn, torchtune and the datasets>=2.14.6 floor. In the image built from the previous base, each was already at exactly the base version, so removing them does not change the resulting image. keras-nlp and torchtune are also frozen via /colab_requirements.txt, and torchtune is still force-reinstalled later in the Dockerfile.

Note: ydata-profiling caps numpy<2.4, so the image ends up on numpy 2.3.5 (and numba 0.62.1) rather than the base's 2.4.6.

Tested locally on the CPU image: build succeeds and the CPU test suite passes (205 tests, 13 skipped).

Base image changes of note: torch 2.11.0 -> 2.14.1, torchcodec 0.11.0 ->
0.17.0, numpy 2.1.3 -> 2.4.6, numba 0.61.2 -> 0.64.0, opencv-python 5.0 ->
5.1.

kaggle_requirements.txt:
- Remove the torchcodec==0.11.0 pin. It conflicts with the torchcodec
  0.17.0 build that /colab_requirements.txt freezes from the new base, so
  the build would fail to resolve on both CPU and GPU.
- Remove packages the base already provides: Rtree, shapely, google-genai,
  keras-nlp, libpysal, matplotlib, scikit-learn, torchtune and the
  datasets>=2.14.6 floor. In the image built from the previous base, each
  was already at exactly the base version, so removing them does not
  change the resulting image. keras-nlp and torchtune are also frozen via
  /colab_requirements.txt, and torchtune is still force-reinstalled later
  in the Dockerfile.

Note: ydata-profiling caps numpy<2.4, so the image ends up on numpy 2.3.5
(and numba 0.62.1) rather than the base's 2.4.6.

Tested locally on the CPU image: build succeeds and the CPU test suite
passes (205 tests, 13 skipped).
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