Skip to content

Commit 0a7f758

Browse files
committed
Pin fastai.
fastai 2.1.x uses torch 1.7. Unfortunately, we can't upgrade to torch 1.7 yet. We need to wait until all the libraries depending on torch are supported 1.7. http://b/172468280
1 parent 0d7f872 commit 0a7f758

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
@@ -374,7 +374,8 @@ RUN pip install bcolz && \
374374
pip install widgetsnbextension && \
375375
pip install pyarrow && \
376376
pip install feather-format && \
377-
pip install fastai && \
377+
# b/172491515: Unpin after upgrading to torch 1.7
378+
pip install fastai==2.0.19 && \
378379
pip install allennlp && \
379380
python -m spacy download en && python -m spacy download en_core_web_lg && \
380381
apt-get install -y ffmpeg && \

0 commit comments

Comments
 (0)