Skip to content

Commit d407921

Browse files
committed
revert cuml patch
1 parent 51c7de1 commit d407921

2 files changed

Lines changed: 8 additions & 5 deletions

File tree

Dockerfile.tmpl

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

47+
# 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.
48+
# This conflict causes a number of package downgrades, which are handled in this command
49+
# b/302136621: Fix eli5 import for learntools
50+
RUN uv pip install --system --force-reinstall --extra-index-url https://pypi.nvidia.com "cuml-cu12==25.2.1" \
51+
"nvidia-cudnn-cu12==9.3.0.75" scipy tsfresh scikit-learn==1.2.2 category-encoders eli5
52+
53+
RUN uv pip install --system --force-reinstall "pynvjitlink-cu12==0.5.2"
54+
4755
# b/385145217 Latest Colab lacks mkl numpy, install it.
4856
RUN uv pip install --system --force-reinstall -i https://pypi.anaconda.org/intel/simple numpy
4957

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)