Skip to content

Commit 06962a1

Browse files
committed
chore: bump colab base image to 20260716
Bumps the Colab base image from release-colab-external-images_20260514-060047_RC00 to release-colab-external-images_20260716-060051_RC00. Package versions picked up from the new base include torch 2.10 -> 2.11, torchvision 0.25 -> 0.26, gradio 5.50 -> 6.20, langsmith 0.7.34 -> 0.10.2, gitpython 3.1.47 -> 3.1.51, pyjwt 2.12.1 -> 2.13.0, python-multipart 0.0.26 -> 0.0.32, litellm 1.82.4 -> 1.85.7, wandb 0.26.1 -> 0.28.0, and rsync 3.2.7-0ubuntu0.22.04.4 -> .22.04.6. Repo-side changes needed alongside the bump: - torchcodec 0.10.0 -> 0.11.0, to stay compatible with torch 2.11. - pillow>=12.2 and urllib3>=2.7, since the new base still ships pillow 11.3 and urllib3 2.5. Both resolve cleanly with no conflicts. - Stop installing git-lfs via apt. The base image ships git-lfs 3.7.1 built with Go 1.26, and Ubuntu's git-lfs 3.0.2 package was overwriting it with an older build from Go 1.18. Both CPU and GPU images build clean with --no-cache. Test suite not yet run.
1 parent 78aaa43 commit 06962a1

2 files changed

Lines changed: 14 additions & 6 deletions

File tree

Dockerfile.tmpl

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{{ if eq .Accelerator "gpu" }}
2-
FROM us-docker.pkg.dev/colab-images/public/runtime:release-colab-external-images_20260514-060047_RC00
2+
FROM us-docker.pkg.dev/colab-images/public/runtime:release-colab-external-images_20260716-060051_RC00
33
{{ else }}
4-
FROM us-docker.pkg.dev/colab-images/public/cpu-runtime:release-colab-external-images_20260514-060047_RC00
4+
FROM us-docker.pkg.dev/colab-images/public/cpu-runtime:release-colab-external-images_20260716-060051_RC00
55
{{ end}}
66

77
ADD kaggle_requirements.txt /kaggle_requirements.txt
@@ -82,9 +82,11 @@ RUN mkdir -p /usr/share/nltk_data && \
8282
twitter_samples udhr2 udhr unicode_samples universal_tagset universal_treebanks_v20 \
8383
vader_lexicon verbnet webtext word2vec_sample wordnet wordnet_ic words ycoe
8484

85-
RUN apt-get install -y git-lfs && \
86-
# vtk dependencies
87-
apt-get install -y libgl1-mesa-glx && \
85+
# Don't `apt-get install git-lfs` here. The base image already ships
86+
# git-lfs 3.7.1 built with Go 1.26, and Ubuntu's git-lfs 3.0.2 package
87+
# overwrites it with an older build from Go 1.18.
88+
# vtk dependencies
89+
RUN apt-get install -y libgl1-mesa-glx && \
8890
# xvfbwrapper dependencies
8991
apt-get install -y xvfb && \
9092
/tmp/clean-layer.sh

kaggle_requirements.txt

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,6 +100,9 @@ papermill
100100
path
101101
path.py
102102
pdf2image
103+
# The base image ships pillow 11.3; pin up to a newer release.
104+
# Remove once the base image ships >=12.2 itself.
105+
pillow>=12.2
103106
plotly-express
104107
pudb
105108
pyLDAvis
@@ -127,11 +130,14 @@ git+https://github.com/facebookresearch/segment-anything.git
127130
squarify
128131
tensorflow-io
129132
# Must be compatible with torch version: https://github.com/meta-pytorch/torchcodec?tab=readme-ov-file#installing-torchcodec
130-
torchcodec==0.10.0
133+
torchcodec==0.11.0
131134
torchinfo
132135
torchmetrics
133136
torchtune
134137
transformers>=5.0.0
138+
# The base image ships urllib3 2.5; pin up to a newer release.
139+
# Remove once the base image ships >=2.7 itself.
140+
urllib3>=2.7
135141
vtk
136142
wavio
137143
xvfbwrapper

0 commit comments

Comments
 (0)