From 55530e170ff6b6054388be49f937cf53f19afb2f Mon Sep 17 00:00:00 2001 From: Masahiro Hiramori Date: Tue, 10 Dec 2024 23:55:40 +0900 Subject: [PATCH 1/6] upgrade tensorflow==2.18.0 --- docker/install/ubuntu_install_tensorflow.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docker/install/ubuntu_install_tensorflow.sh b/docker/install/ubuntu_install_tensorflow.sh index 2225b7aef3b8..9b25946b19e4 100755 --- a/docker/install/ubuntu_install_tensorflow.sh +++ b/docker/install/ubuntu_install_tensorflow.sh @@ -22,4 +22,4 @@ set -o pipefail pip3 install \ keras==2.9 \ - tensorflow==2.9.1 + tensorflow==2.18.0 From 81e0a8b33c04ab471a285adb7765a34b72bbae54 Mon Sep 17 00:00:00 2001 From: Masahiro Hiramori Date: Wed, 11 Dec 2024 02:08:39 +0900 Subject: [PATCH 2/6] upgrade `keras==3.5.0` --- docker/install/ubuntu_install_tensorflow.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docker/install/ubuntu_install_tensorflow.sh b/docker/install/ubuntu_install_tensorflow.sh index 9b25946b19e4..45dd2f95ddd4 100755 --- a/docker/install/ubuntu_install_tensorflow.sh +++ b/docker/install/ubuntu_install_tensorflow.sh @@ -21,5 +21,5 @@ set -u set -o pipefail pip3 install \ - keras==2.9 \ + keras==3.5.0 \ tensorflow==2.18.0 From 58a2e0d2c73684b6f435683b0b2c1bdd37914180 Mon Sep 17 00:00:00 2001 From: Siva Date: Tue, 28 Jan 2025 13:35:51 +0530 Subject: [PATCH 3/6] Update ubuntu_install_tflite.sh Update ubuntu_install_tflite.sh --- docker/install/ubuntu_install_tflite.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docker/install/ubuntu_install_tflite.sh b/docker/install/ubuntu_install_tflite.sh index 36e6dfc42794..f4b7103da34b 100755 --- a/docker/install/ubuntu_install_tflite.sh +++ b/docker/install/ubuntu_install_tflite.sh @@ -26,7 +26,7 @@ set -o pipefail TENSORFLOW_VERSION=$(python3 -c "import tensorflow; print(tensorflow.__version__)" 2> /dev/null) # Download, build and install flatbuffers -git clone --branch=v1.12.0 --depth=1 --recursive https://github.com/google/flatbuffers.git +git clone --branch=v25.1.24 --depth=1 --recursive https://github.com/google/flatbuffers.git cd flatbuffers cmake -G "Unix Makefiles" -DCMAKE_BUILD_TYPE=Release -DCMAKE_CXX_FLAGS="-Wno-class-memaccess" make install -j8 @@ -52,7 +52,7 @@ cd - # Setup tflite from schema mkdir tflite -cp tensorflow/tensorflow/lite/schema/schema.fbs tflite +cp tensorflow/tensorflow/compiler/mlir/lite/schema/schema.fbs tflite cd tflite flatc --python schema.fbs From 7c8622ea167c584852a4c03305c7320ead12d33e Mon Sep 17 00:00:00 2001 From: Siva Date: Tue, 28 Jan 2025 17:25:03 +0530 Subject: [PATCH 4/6] Update ubuntu_install_tflite.sh - aarch64 compatibility --- docker/install/ubuntu_install_tflite.sh | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/docker/install/ubuntu_install_tflite.sh b/docker/install/ubuntu_install_tflite.sh index f4b7103da34b..47dcd3820a52 100755 --- a/docker/install/ubuntu_install_tflite.sh +++ b/docker/install/ubuntu_install_tflite.sh @@ -52,7 +52,12 @@ cd - # Setup tflite from schema mkdir tflite -cp tensorflow/tensorflow/compiler/mlir/lite/schema/schema.fbs tflite +if [ -f tensorflow/tensorflow/compiler/mlir/lite/schema/schema.fbs ] ; then + cp tensorflow/tensorflow/compiler/mlir/lite/schema/schema.fbs tflite +else + cp tensorflow/tensorflow/lite/schema/schema.fbs tflite +fi + cd tflite flatc --python schema.fbs From 343ec2e7a4f7b372702f8235a7dfbf1c25b1462e Mon Sep 17 00:00:00 2001 From: Siva Date: Tue, 28 Jan 2025 17:42:51 +0530 Subject: [PATCH 5/6] lint --- docker/install/ubuntu_install_tflite.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docker/install/ubuntu_install_tflite.sh b/docker/install/ubuntu_install_tflite.sh index 47dcd3820a52..ada5c7d2c274 100755 --- a/docker/install/ubuntu_install_tflite.sh +++ b/docker/install/ubuntu_install_tflite.sh @@ -54,7 +54,7 @@ cd - mkdir tflite if [ -f tensorflow/tensorflow/compiler/mlir/lite/schema/schema.fbs ] ; then cp tensorflow/tensorflow/compiler/mlir/lite/schema/schema.fbs tflite -else +else cp tensorflow/tensorflow/lite/schema/schema.fbs tflite fi From 1d4952cf1c899b9ee894292e1314e65964888a7e Mon Sep 17 00:00:00 2001 From: Siva Date: Tue, 28 Jan 2025 22:52:36 +0530 Subject: [PATCH 6/6] wasm update wasm32-wasi renamed to wasm32-wasip1 in latest rust --- docker/install/ubuntu_install_wasmtime.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docker/install/ubuntu_install_wasmtime.sh b/docker/install/ubuntu_install_wasmtime.sh index b93527135c97..72b7664af44a 100755 --- a/docker/install/ubuntu_install_wasmtime.sh +++ b/docker/install/ubuntu_install_wasmtime.sh @@ -23,7 +23,7 @@ apt-install-and-clear -y --no-install-recommends libc6-dev-i386 export WASMTIME_HOME=/opt/wasmtime curl https://wasmtime.dev/install.sh -sSf | bash export PATH="${WASMTIME_HOME}/bin:${PATH}" -rustup target add wasm32-wasi +rustup target add wasm32-wasip1 # make rust usable by all users after install during container build chmod -R a+rw /opt/rust