Skip to content

Commit 86e2526

Browse files
authored
Pin torchmetrics. (#1123)
`torchmetrics` 0.7.0 released yesterday (Jan 17th 2022) is causing an issue with pytorch_lightning: Lightning-AI/pytorch-lightning#11524
1 parent f4d00d4 commit 86e2526

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Dockerfile.tmpl

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -483,7 +483,8 @@ RUN pip install flashtext && \
483483
pip install vowpalwabbit && \
484484
pip install pydub && \
485485
pip install pydegensac && \
486-
pip install torchmetrics && \
486+
# b/215182966 torchmetrics 0.7.0 is causing an issue with pytorch-lightning.
487+
pip install torchmetrics==0.6.2 && \
487488
pip install pytorch-lightning && \
488489
pip install datatable && \
489490
pip install sympy && \

0 commit comments

Comments
 (0)