Skip to content

Commit 597bc2a

Browse files
authored
Pin fastai to 2.2.7 (#1014)
fastai 2.3.1 upgrades torch and torchvision causing issues. upgrading torch proved more difficult than I thought (unresolvable conflicts atm). will handle the upgrade later in b/181966788 http://b/188429515
1 parent 5171b1d commit 597bc2a

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Dockerfile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -346,7 +346,8 @@ RUN pip install bleach && \
346346
pip install widgetsnbextension && \
347347
pip install pyarrow && \
348348
pip install feather-format && \
349-
pip install fastai && \
349+
# fastai >= 2.3.1 upgrades pytorch/torchvision. upgrade of pytorch will be handled in b/181966788
350+
pip install fastai==2.2.7 && \
350351
pip install allennlp && \
351352
# https://b.corp.google.com/issues/184685619#comment9: 3.9.0 is causing a major performance degradation with spacy 2.3.5
352353
pip install importlib-metadata==3.4.0 && \

0 commit comments

Comments
 (0)