Skip to content

Commit 3d7dd66

Browse files
authored
Install a pinned version of onnx (#1004)
http://b/185992410
1 parent 209e728 commit 3d7dd66

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

Dockerfile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -386,6 +386,9 @@ RUN pip install flashtext && \
386386
pip install https://github.com/hbasria/ggpy/archive/0.11.5.zip && \
387387
pip install cesium && \
388388
pip install rgf_python && \
389+
# b/185992410: onnx is a dependency of pytext, but the version 1.9.0 breaks pytext test.
390+
# Remove this installation when pytext fixes the problem.
391+
pip install onnx==1.8.1 && \
389392
# b/145404107: latest version force specific version of numpy and torch.
390393
pip install pytext-nlp==0.1.2 && \
391394
pip install tsfresh && \

0 commit comments

Comments
 (0)