@@ -210,6 +210,8 @@ ADD patches/keras_internal.py \
210
210
# b/350573866: xgboost v2.1.0 breaks learntools
211
211
RUN apt-get install -y libfreetype6-dev && \
212
212
apt-get install -y libglib2.0-0 libxext6 libsm6 libxrender1 libfontconfig1 --fix-missing && \
213
+ rm -rf /opt/conda/lib/python3.10/site-packages/numpy* && \
214
+ pip install "numpy==1.26.4" && \
213
215
pip install gensim \
214
216
textblob \
215
217
wordcloud \
@@ -425,8 +427,7 @@ RUN pip install bleach \
425
427
webencodings \
426
428
widgetsnbextension \
427
429
# Require pyarrow newer than https://github.com/advisories/GHSA-5wvp-7f3h-6wmm
428
- {{ if eq .Accelerator "gpu" }} pyarrow {{ else }} "pyarrow>=14.0.1" {{ end }} \
429
- fastai
430
+ {{ if eq .Accelerator "gpu" }} pyarrow {{ else }} "pyarrow>=14.0.1" {{ end }}
430
431
431
432
RUN python -m spacy download en_core_web_sm && python -m spacy download en_core_web_lg && \
432
433
apt-get update && apt-get install -y ffmpeg && \
@@ -470,7 +471,8 @@ RUN pip install wandb \
470
471
Rtree \
471
472
accelerate && \
472
473
apt-get -y install libspatialindex-dev && \
473
- rm -rf /opt/conda/lib/python3.10/site-packages/numpy* && \
474
+ # b/370860329: newer versions are not capable with current tensorflow
475
+ rm -rf /opt/conda/lib/python3.10/site-packages/numpy* && \
474
476
pip install "numpy==1.26.4" && \
475
477
pip install pytorch-ignite \
476
478
qgrid \
@@ -501,6 +503,8 @@ RUN pip install wandb \
501
503
timm \
502
504
torchinfo && \
503
505
pip install git+https://github.com/facebookresearch/segment-anything.git && \
506
+ # b/370860329: newer versions are not capable with current tensorflow
507
+ pip install --no-dependencies fastai fastdownload && \
504
508
# b/343971718: remove duplicate aiohttp installs, and reinstall it
505
509
rm -rf /opt/conda/lib/python3.10/site-packages/aiohttp* && \
506
510
mamba install --force-reinstall -y aiohttp && \
0 commit comments