From 167c29ed7a5a94325ea95f574ad057470f1db5f6 Mon Sep 17 00:00:00 2001 From: SaeHie Park Date: Thu, 8 May 2025 11:12:57 +0900 Subject: [PATCH] [common-artifacts] Revise package list This will revise python package list with - use TensorFlow 2.19.0 for python 3.10 - update flatbuffers for TF change - add numpy incase of system doesn't have it ONE-DCO-1.0-Signed-off-by: SaeHie Park --- compiler/common-artifacts/CMakeLists.txt | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/compiler/common-artifacts/CMakeLists.txt b/compiler/common-artifacts/CMakeLists.txt index bdf56b04fd2..846210b13de 100644 --- a/compiler/common-artifacts/CMakeLists.txt +++ b/compiler/common-artifacts/CMakeLists.txt @@ -87,19 +87,22 @@ if (PYTHON_VERSION_MINOR EQUAL 8) list(APPEND PY_PKG_LIST "pytest==7.4.3") list(APPEND PY_PKG_LIST "h5py==3.11.0") list(APPEND PY_PKG_LIST "cffi==1.16.0") + list(APPEND PY_PKG_LIST "numpy==1.24.3") elseif (PYTHON_VERSION_MINOR EQUAL 10) # python 3.10; Ubuntu 22.04 + # TF2.19.0 release at 2025-03-12 if(CMAKE_HOST_SYSTEM_PROCESSOR STREQUAL "aarch64") - list(APPEND PY_PKG_LIST "tensorflow==2.12.1") + list(APPEND PY_PKG_LIST "tensorflow==2.19.0") else(CMAKE_HOST_SYSTEM_PROCESSOR STREQUAL "aarch64") - list(APPEND PY_PKG_LIST "tensorflow-cpu==2.12.1") + list(APPEND PY_PKG_LIST "tensorflow-cpu==2.19.0") endif(CMAKE_HOST_SYSTEM_PROCESSOR STREQUAL "aarch64") - list(APPEND PY_PKG_LIST "flatbuffers==23.5.26") + list(APPEND PY_PKG_LIST "flatbuffers==24.3.25") list(APPEND PY_PKG_LIST "protobuf==4.23.3") list(APPEND PY_PKG_LIST "pydot==1.4.2") list(APPEND PY_PKG_LIST "pytest==7.4.3") list(APPEND PY_PKG_LIST "h5py==3.11.0") list(APPEND PY_PKG_LIST "cffi==1.16.0") + list(APPEND PY_PKG_LIST "numpy==1.26.4") else() # TODO add for 12 # should not enter here