Skip to content

Adjust pins to fix learn tools tests errors #1477

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Apr 7, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 5 additions & 3 deletions Dockerfile.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -45,9 +45,11 @@ RUN uv pip install --no-build-isolation --system "git+https://github.com/Kaggle/

# 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.
# This conflict causes a number of package downgrades, which are handled in this command
RUN uv pip install --system --force-reinstall --extra-index-url https://pypi.nvidia.com pynvjitlink-cu12 cuml-cu12==25.2.1 \
nvidia-cudnn-cu12==9.3.0.75 scipy tsfresh
RUN uv pip install --system --force-reinstall pynvjitlink-cu12==0.5.2
# b/302136621: Fix eli5 import for learntools
RUN uv pip install --system --force-reinstall --extra-index-url https://pypi.nvidia.com "cuml-cu12==25.2.1" \
"nvidia-cudnn-cu12==9.3.0.75" scipy tsfresh scikit-learn==1.2.2 category-encoders eli5

RUN uv pip install --system --force-reinstall "pynvjitlink-cu12==0.5.2"

# b/385145217 Latest Colab lacks mkl numpy, install it.
RUN uv pip install --system --force-reinstall -i https://pypi.anaconda.org/intel/simple numpy
Expand Down
4 changes: 0 additions & 4 deletions kaggle_requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ arrow
bayesian-optimization
boto3
catboost
category-encoders
cesium
comm
cytoolz
Expand All @@ -33,7 +32,6 @@ deap
dipy
docker
easyocr
eli5
emoji
fastcore>=1.7.20
fasttext
Expand Down Expand Up @@ -111,8 +109,6 @@ qtconsole
ray
rgf-python
s3fs
# b/302136621: Fix eli5 import for learntools
scikit-learn==1.2.2
# Scikit-learn accelerated library for x86
scikit-learn-intelex>=2023.0.1
scikit-multilearn
Expand Down