Skip to content

Commit 00d3516

Browse files
authored
Merge pull request #867 from Kaggle/prevent-torch-upgrade
Pin packages to prevent torch upgrade
2 parents f15d0a8 + 187af5a commit 00d3516

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

Dockerfile

+4-2
Original file line numberDiff line numberDiff line change
@@ -343,7 +343,8 @@ RUN pip install bcolz && \
343343
pip install nbformat && \
344344
pip install notebook==5.5.0 && \
345345
pip install olefile && \
346-
pip install kornia && \
346+
# b/162850432 unpin once we upgrade to pytorch 1.6
347+
pip install kornia==0.3.2 && \
347348
pip install pandas_summary && \
348349
pip install pandocfilters && \
349350
pip install pexpect && \
@@ -373,7 +374,8 @@ RUN pip install bcolz && \
373374
pip install widgetsnbextension && \
374375
pip install pyarrow && \
375376
pip install feather-format && \
376-
pip install fastai && \
377+
# b/162850432 unpin once we upgrade to pytorch 1.6
378+
pip install fastai~=1.0.61 && \
377379
pip install allennlp && \
378380
python -m spacy download en && python -m spacy download en_core_web_lg && \
379381
apt-get install -y ffmpeg && \

0 commit comments

Comments
 (0)