@@ -31,27 +31,20 @@ RUN uv pip install --system -r /requirements.txt
31
31
RUN uv pip uninstall --system google-cloud-bigquery-storage
32
32
33
33
# b/394382016: sigstore (dependency of kagglehub) requires a prerelease packages, installing separate.
34
- # b/408284143: google-cloud-automl 2.0.0 introduced incompatible API changes, need to pin to 1.0.1
34
+ # b/408284143: google-cloud-automl 2.0.0 introduced incompatible API changes, need to pin to 1.0.1,
35
+ # installed outside of kaggle_requirements.txt due to requiring an incompatibile version of protobuf.
35
36
RUN uv pip install --system --force-reinstall --prerelease=allow kagglehub[pandas-datasets,hf-datasets,signing]>=0.3.12 \
36
37
google-cloud-automl==1.0.1
37
38
38
- # b/408284435: Keras 3.6 broke test_keras.py > test_train > keras.datasets.mnist.load_data()
39
- # See https://github.com/keras-team/keras/commit/dcefb139863505d166dd1325066f329b3033d45a
40
- # Colab base is on Keras 3.8, we have to install the package separately
41
- RUN uv pip install --system "keras<3.6"
42
-
43
39
# uv cannot install this in requirements.txt without --no-build-isolation
44
40
# to avoid affecting the larger build, we'll post-install it.
45
41
RUN uv pip install --no-build-isolation --system "git+https://github.com/Kaggle/learntools"
46
42
43
+ # b/302136621: Fix eli5 import for learntools
47
44
# 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
45
# This conflict causes a number of package downgrades, which are handled in this command
49
- # b/302136621: Fix eli5 import for learntools
50
- # b/416137032: cuda 12.9.0 breaks datashader 1.18.0
51
46
RUN uv pip install --system --force-reinstall --extra-index-url https://pypi.nvidia.com "cuml-cu12==25.2.1" \
52
- "nvidia-cudnn-cu12==9.3.0.75" cuda-bindings==12.8.0 cuda-python==12.8.0 \
53
- scipy tsfresh scikit-learn==1.2.2 category-encoders eli5
54
-
47
+ "nvidia-cudnn-cu12==9.3.0.75"
55
48
RUN uv pip install --system --force-reinstall "pynvjitlink-cu12==0.5.2"
56
49
57
50
# b/385145217 Latest Colab lacks mkl numpy, install it.
0 commit comments