Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 6 additions & 3 deletions compiler/common-artifacts/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fb is updated to follow TF requirements

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")
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

numpy version for 8 and 10 differs as this follow TF requirements

else()
# TODO add for 12
# should not enter here
Expand Down