From e993438f86459f269df0fc54b244b57ec8d9455d Mon Sep 17 00:00:00 2001 From: "mulin.lyh" Date: Wed, 8 Mar 2023 14:49:22 +0800 Subject: [PATCH] [to #48269383]fix: onnx protobuf version conflict Link: https://code.alibaba-inc.com/Ali-MaaS/MaaS-lib/codereview/11914565 * [to #48269383]fix: onnx protobuf version conflict --- tests/run_config.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/run_config.yaml b/tests/run_config.yaml index e7466af6..72c61a08 100644 --- a/tests/run_config.yaml +++ b/tests/run_config.yaml @@ -66,11 +66,13 @@ envs: default: # default env, case not in other env will in default, pytorch. dependencies: # requirement packages,pip install before test case run. - numpy>=1.20 + - protobuf<4,>=3.20.2 tensorflow1x: # cases excuted tensorflow1.x framework. requirements: # requirements files run before test case run. - tensorflow1x.txt dependencies: # requirement packages,pip install before test case run. - numpy==1.18.5 + - protobuf>=3.19.0,<3.21.0 tests: - test_text_to_speech.py - test_csanmt_translation.py