Skip to content

Commit 5638be2

Browse files
committed
revert cuml patch
1 parent b3a02d4 commit 5638be2

File tree

2 files changed

+8
-5
lines changed

2 files changed

+8
-5
lines changed

Dockerfile.tmpl

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,14 @@ RUN uv pip install --system "keras<3.6"
4646
# to avoid affecting the larger build, we'll post-install it.
4747
RUN uv pip install --no-build-isolation --system "git+https://github.com/Kaggle/learntools"
4848

49+
# b/408281617: Torch is adamant that it can not install cudnn 9.3.x, only 9.1.x, but Tensorflow can only support 9.3.x.
50+
# This conflict causes a number of package downgrades, which are handled in this command
51+
# b/302136621: Fix eli5 import for learntools
52+
RUN uv pip install --system --force-reinstall --extra-index-url https://pypi.nvidia.com "cuml-cu12==25.2.1" \
53+
"nvidia-cudnn-cu12==9.3.0.75" scipy tsfresh scikit-learn==1.2.2 category-encoders eli5
54+
55+
RUN uv pip install --system --force-reinstall "pynvjitlink-cu12==0.5.2"
56+
4957
# b/385145217 Latest Colab lacks mkl numpy, install it.
5058
RUN uv pip install --system --force-reinstall -i https://pypi.anaconda.org/intel/simple numpy
5159

kaggle_requirements.txt

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@ arrow
2020
bayesian-optimization
2121
boto3
2222
catboost
23-
category-encoders
2423
cesium
2524
comm
2625
cytoolz
@@ -33,8 +32,6 @@ deap
3332
dipy
3433
docker
3534
easyocr
36-
# b/302136621: Fix eli5 import for learntools
37-
eli5
3835
emoji
3936
fastcore>=1.7.20
4037
fasttext
@@ -130,8 +127,6 @@ scikit-multilearn
130127
scikit-optimize
131128
scikit-plot
132129
scikit-surprise
133-
# b/415358158: Gensim removed from Colab image to upgrade scipy to 1.14.1
134-
scipy==1.15.1
135130
# Also pinning seaborn for learntools
136131
seaborn==0.12.2
137132
git+https://github.com/facebookresearch/segment-anything.git

0 commit comments

Comments
 (0)