From 79d0ed7be7928336823c3a4b81b0f5795e1fbe81 Mon Sep 17 00:00:00 2001 From: Jun Jiang Date: Sat, 16 Dec 2023 17:32:45 +0800 Subject: [PATCH] Use newer protobuf for ONNX --- packages/onnx/Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/onnx/Dockerfile b/packages/onnx/Dockerfile index 42475b8ef..6b67d14a6 100644 --- a/packages/onnx/Dockerfile +++ b/packages/onnx/Dockerfile @@ -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}