From a83bd833e310274489ec9a69f74d842e79ec9452 Mon Sep 17 00:00:00 2001 From: Cocoa Date: Tue, 23 Jan 2024 17:20:30 +0700 Subject: [PATCH] uses libedgetpu-0.1.8 and tensorflow-2.15.0 --- CHANGELOG.md | 7 +++++++ Makefile | 2 +- scripts/copy_libedgetpu_runtime.sh | 2 +- tflite_beam_precompiled.erl | 2 +- 4 files changed, 10 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 0e0efaa..4a770b5 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,12 @@ # Changelog +## v0.3.4 (2024-01-23) +[Browse the Repository](https://github.com/cocoa-xu/tflite_beam/tree/v0.3.4) | [Released Assets](https://github.com/cocoa-xu/tflite_beam/releases/tag/v0.3.4) + +### Changed +- [deps] Use libedgetpu v0.1.8. +- Use tensorflow v2.15.0. + ## v0.3.3 (2023-07-21) [Browse the Repository](https://github.com/cocoa-xu/tflite_beam/tree/v0.3.3) | [Released Assets](https://github.com/cocoa-xu/tflite_beam/releases/tag/v0.3.3) diff --git a/Makefile b/Makefile index 623a6d7..4f3770d 100644 --- a/Makefile +++ b/Makefile @@ -23,7 +23,7 @@ endif # Tensorflow TFLITE_USE_GIT_HEAD ?= false TFLITE_GIT_REPO ?= "https://github.com/tensorflow/tensorflow.git" -TFLITE_VER ?= 2.13.0 +TFLITE_VER ?= 2.15.0 TFLITE_VER_V = v$(TFLITE_VER) ifneq ($(TFLITE_USE_GIT_HEAD), false) TFLITE_VER_V=$(TFLITE_USE_GIT_BRANCH) diff --git a/scripts/copy_libedgetpu_runtime.sh b/scripts/copy_libedgetpu_runtime.sh index 30391e0..1bb07a8 100644 --- a/scripts/copy_libedgetpu_runtime.sh +++ b/scripts/copy_libedgetpu_runtime.sh @@ -9,7 +9,7 @@ TFLITE_BEAM_CORAL_LIBEDGETPU_RUNTIME="$6" TFLITE_BEAM_CACHE_DIR="$7" TFLITE_BEAM_COMPILE_WITH_REBAR="$8" -LIBEDGETPU_VERSION="0.1.7" +LIBEDGETPU_VERSION="0.1.8" LIBEDGETPU_BASE_URL="https://github.com/cocoa-xu/libedgetpu/releases/download/v${LIBEDGETPU_VERSION}" get_libedgetpu_triplet() { diff --git a/tflite_beam_precompiled.erl b/tflite_beam_precompiled.erl index 147681f..e9be9a9 100644 --- a/tflite_beam_precompiled.erl +++ b/tflite_beam_precompiled.erl @@ -5,7 +5,7 @@ -define(PRECOMPILED_DOWNLOAD_URL, "https://github.com/cocoa-xu/tflite_beam/releases/download/v~s/~s"). -define(TFLITE_BEAM_SO_FILE, "priv/tflite_beam.so"). -define(TFLITE_BEAM_DLL_FILE, "priv/tflite_beam.dll"). --define(LIBEDGETPU_RUNTIME_VERSION, "0.1.7"). +-define(LIBEDGETPU_RUNTIME_VERSION, "0.1.8"). -include_lib("kernel/include/file.hrl").