From f0e86f963856d499b72c7f197bc9c22dbfd56033 Mon Sep 17 00:00:00 2001 From: Kiriti Gowda Date: Fri, 15 Nov 2024 11:55:21 -0800 Subject: [PATCH] ROCm 6.3 Cherry-pick: NN Dependencies - Bump future package from 0.18.2 to 1.0.0 (#1436) (#1449) * future version upgrade to 1.0.0 * Revert future version to 0.18.2 for rpm * Update runNeuralNetworkTests.py --------- Co-authored-by: Hansel Yang --- MIVisionX-setup.py | 2 +- docs/install/model-compiler-install.rst | 2 +- model_compiler/README.md | 2 +- tests/neural_network_tests/runNeuralNetworkTests.py | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/MIVisionX-setup.py b/MIVisionX-setup.py index f0651990d..b5e16ff38 100644 --- a/MIVisionX-setup.py +++ b/MIVisionX-setup.py @@ -282,7 +282,7 @@ def ERROR_CHECK(call): pipONNXVersion = "onnx==1.16.0" pipProtoVersion= "protobuf==3.20.2" pip3InferencePackagesUbuntu = [ - 'future==0.18.2', + 'future==1.0.0', 'pytz==2022.1', 'google==3.0.0', str(pipNumpyVersion), diff --git a/docs/install/model-compiler-install.rst b/docs/install/model-compiler-install.rst index 4e0c8ed51..e7f66e57c 100644 --- a/docs/install/model-compiler-install.rst +++ b/docs/install/model-compiler-install.rst @@ -40,7 +40,7 @@ Prerequisites .. code-block:: shell - sudo pip3 install future==0.18.2 pytz==2022.1 numpy==1.23.0 + sudo pip3 install future==1.0.0 pytz==2022.1 numpy==1.23.0 .. note:: diff --git a/model_compiler/README.md b/model_compiler/README.md index 06c9ee702..55d9437b3 100644 --- a/model_compiler/README.md +++ b/model_compiler/README.md @@ -54,7 +54,7 @@ MIVisionX allows hundreds of different [OpenVX](https://www.khronos.org/registry ``` * PIP3 Packages ``` - sudo pip3 install future==0.18.2 pytz==2022.1 numpy==1.23.0 + sudo pip3 install future==1.0.0 pytz==2022.1 numpy==1.23.0 ``` **Note:** MIVisionX installs model compiler scripts at `/opt/rocm/libexec/mivisionx/model_compiler/python/` diff --git a/tests/neural_network_tests/runNeuralNetworkTests.py b/tests/neural_network_tests/runNeuralNetworkTests.py index d6c5cc6e6..c9fb72f82 100644 --- a/tests/neural_network_tests/runNeuralNetworkTests.py +++ b/tests/neural_network_tests/runNeuralNetworkTests.py @@ -252,7 +252,7 @@ def script_info(): pipONNXVersion = "onnx==1.16.0" pipProtoVersion= "protobuf==3.20.2" pip3InferencePackagesUbuntu = [ - 'future==0.18.2', + 'future==1.0.0', 'pytz==2022.1', 'google==3.0.0', str(pipNumpyVersion),