@@ -25,36 +25,13 @@ ADD patches/kaggle_session.py /root/.local/lib/${PYTHON_VERSION_PATH}/site-packa
2525ADD patches/kaggle_web_client.py /root/.local/lib/${PYTHON_VERSION_PATH}/site-packages/kaggle_web_client.py
2626ADD patches/kaggle_datasets.py /root/.local/lib/${PYTHON_VERSION_PATH}/site-packages/kaggle_datasets.py
2727
28- # Disable GCP integrations for now
29- # ADD patches/kaggle_gcp.py /root/.local/lib/${PYTHON_VERSION_PATH}/site-packages/kaggle_gcp.py
30-
31- # Disable logging to file (why do we need this?)
32- # ADD patches/log.py /root/.local/lib/${PYTHON_VERSION_PATH}/site-packages/log.py
33-
34- # sitecustomize adds significant latency to ipython kernel startup and should only be added if needed
35- # ADD patches/sitecustomize.py /root/.local/lib/${PYTHON_VERSION_PATH}/site-packages/sitecustomize.py
36-
3728# Prereqs
3829# This is needed for cv2 (opencv-python):
3930# https://stackoverflow.com/questions/55313610/importerror-libgl-so-1-cannot-open-shared-object-file-no-such-file-or-directo
4031RUN apt-get update && apt-get install ffmpeg libsm6 libxext6 -y
4132
4233# Install all the packages together for maximum compatibility.
43-
44- # Install Tensorflow.
45-
46- # Install Pytorch & related packages
47- # https://cloud.google.com/tpu/docs/pytorch-xla-ug-tpu-vm#changing_pytorch_version
48- # The URL doesn't include patch version. i.e. must use 1.11 instead of 1.11.0
49- # We need to keep the numpy version the same as the installed tf one but compatible with other installs.
50-
51- # Install JAX & related packages
52- # https://cloud.google.com/tpu/docs/jax-quickstart-tpu-vm#install_jax_on_your_cloud_tpu_vm
53-
54- # Packages needed by the Notebook editor
55-
5634# Additional useful packages should be added in the requirements.txt
57-
5835# Bring in the requirements.txt and replace variables in it:
5936RUN apt-get install -y gettext
6037ADD tpu/requirements.txt /kaggle_requirements.txt
0 commit comments