Skip to content

Commit

Permalink
Use newer protobuf for ONNX
Browse files Browse the repository at this point in the history
  • Loading branch information
jasl committed Dec 21, 2023
1 parent 3d83e39 commit 79d0ed7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/onnx/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ ARG ONNX_VERSION
# error introduced by https://github.com/onnx/onnx/pull/5777 results in python protobuf mismatch
# https://github.com/onnx/onnx/blob/6ff456c1179c34827ad910e5601cb1486822d800/CMakeLists.txt#L249
RUN if [ `lsb_release --codename --short` != 'bionic' ]; then \
pip3 install --no-cache-dir --verbose protobuf==4.22.3; \
pip3 install --no-cache-dir --verbose protobuf>=4.22.3; \
fi

RUN pip3 install --no-cache-dir --verbose git+https://github.com/onnx/onnx@${ONNX_VERSION}
Expand Down

0 comments on commit 79d0ed7

Please sign in to comment.