File tree Expand file tree Collapse file tree 2 files changed +7
-4
lines changed Expand file tree Collapse file tree 2 files changed +7
-4
lines changed Original file line number Diff line number Diff line change @@ -522,12 +522,14 @@ RUN pip install flashtext \
522
522
optuna \
523
523
plotly_express \
524
524
albumentations \
525
- # b/254245259 catalyst requires accelerate but it breaks with the version 0.13.1
526
- accelerate==0.12.0 \
527
- catalyst \
525
+ accelerate \
526
+ # b/290207097 switch back to the pip catalyst package when bug fixed
527
+ # https://github.com/catalyst-team/catalyst/issues/1440
528
+ git+https://github.com/Philmod/catalyst.git@fix-fp16#egg=catalyst \
528
529
# b/206990323 osmx 1.1.2 requires numpy >= 1.21 which we don't want.
529
530
osmnx==1.1.1 \
530
- keras-cv && \
531
+ # b/290392955 version 0.5.1 breaks the test
532
+ keras-cv==0.5.0 && \
531
533
apt-get -y install libspatialindex-dev
532
534
RUN pip install pytorch-ignite \
533
535
qgrid \
Original file line number Diff line number Diff line change 2
2
3
3
import torch
4
4
from transformers import AdamW
5
+ import transformers .pipelines # verify this import works
5
6
6
7
7
8
class TestTransformers (unittest .TestCase ):
You can’t perform that action at this time.
0 commit comments