From c35200dccfd754b86fa04adbc4a5395267bfd469 Mon Sep 17 00:00:00 2001 From: Fangjun Kuang Date: Mon, 15 Jul 2024 14:24:08 +0800 Subject: [PATCH] Revert to onnxruntime 1.17.1 (#1131) --- .github/workflows/test-go.yaml | 2 +- CHANGELOG.md | 4 ++++ CMakeLists.txt | 2 +- build-android-arm64-v8a.sh | 2 +- build-android-armv7-eabi.sh | 2 +- build-android-x86-64.sh | 2 +- build-android-x86.sh | 2 +- build-ios-no-tts.sh | 2 +- build-ios-shared.sh | 2 +- build-ios.sh | 2 +- cmake/onnxruntime-linux-aarch64-static.cmake | 16 ++++++++-------- cmake/onnxruntime-linux-aarch64.cmake | 16 ++++++++-------- cmake/onnxruntime-linux-arm-static.cmake | 16 ++++++++-------- cmake/onnxruntime-linux-arm.cmake | 16 ++++++++-------- cmake/onnxruntime-linux-x86_64-gpu.cmake | 17 +++++++++-------- cmake/onnxruntime-linux-x86_64-static.cmake | 16 ++++++++-------- cmake/onnxruntime-linux-x86_64.cmake | 16 ++++++++-------- cmake/onnxruntime-osx-arm64-static.cmake | 14 +++++++------- cmake/onnxruntime-osx-arm64.cmake | 14 +++++++------- cmake/onnxruntime-osx-universal-static.cmake | 14 +++++++------- cmake/onnxruntime-osx-universal.cmake | 14 +++++++------- cmake/onnxruntime-osx-x86_64-static.cmake | 14 +++++++------- cmake/onnxruntime-osx-x86_64.cmake | 14 +++++++------- cmake/onnxruntime-wasm-simd.cmake | 16 ++++++++-------- cmake/onnxruntime-win-arm64.cmake | 14 +++++++------- cmake/onnxruntime-win-x64-gpu.cmake | 14 +++++++------- cmake/onnxruntime-win-x64-static-debug.cmake | 18 +++++++++--------- cmake/onnxruntime-win-x64-static.cmake | 14 +++++++------- cmake/onnxruntime-win-x64.cmake | 14 +++++++------- cmake/onnxruntime-win-x86-static-debug.cmake | 18 +++++++++--------- cmake/onnxruntime-win-x86-static.cmake | 14 +++++++------- cmake/onnxruntime-win-x86.cmake | 14 +++++++------- .../non-streaming-asr/pubspec.yaml | 2 +- dart-api-examples/streaming-asr/pubspec.yaml | 2 +- dart-api-examples/tts/pubspec.yaml | 2 +- dart-api-examples/vad/pubspec.yaml | 2 +- flutter-examples/streaming_asr/pubspec.yaml | 2 +- flutter-examples/tts/pubspec.yaml | 2 +- flutter/sherpa_onnx/pubspec.yaml | 12 ++++++------ .../ios/sherpa_onnx_ios.podspec | 2 +- .../macos/sherpa_onnx_macos.podspec | 2 +- .../SherpaOnnx.xcodeproj/project.pbxproj | 2 +- .../SherpaOnnx2Pass.xcodeproj/project.pbxproj | 2 +- .../SherpaOnnxLangID.xcodeproj/project.pbxproj | 2 +- .../project.pbxproj | 2 +- .../SherpaOnnxTts.xcodeproj/project.pbxproj | 2 +- nodejs-addon-examples/package.json | 2 +- scripts/dart/sherpa-onnx-pubspec.yaml | 2 +- scripts/dotnet/generate.py | 2 +- scripts/go/release.sh | 4 ++-- 50 files changed, 204 insertions(+), 199 deletions(-) diff --git a/.github/workflows/test-go.yaml b/.github/workflows/test-go.yaml index 719fe1b9d..a91dd3093 100644 --- a/.github/workflows/test-go.yaml +++ b/.github/workflows/test-go.yaml @@ -116,7 +116,7 @@ jobs: rm ./lib/*.a rm ./lib/libonnxruntime.dylib cd lib - ln -s libonnxruntime.1.18.1.dylib libonnxruntime.dylib + ln -s libonnxruntime.1.17.1.dylib libonnxruntime.dylib cd .. fi diff --git a/CHANGELOG.md b/CHANGELOG.md index 90e1a2721..6beff725b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,7 @@ +## 1.10.15 + +* Downgrade onnxruntime from v1.18.1 to v1.17.1 + ## 1.10.14 * Support whisper large v3 diff --git a/CMakeLists.txt b/CMakeLists.txt index b6c2a2ff8..231b62b1e 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -11,7 +11,7 @@ project(sherpa-onnx) # ./nodejs-addon-examples # ./dart-api-examples/ # ./CHANGELOG.md -set(SHERPA_ONNX_VERSION "1.10.14") +set(SHERPA_ONNX_VERSION "1.10.15") # Disable warning about # diff --git a/build-android-arm64-v8a.sh b/build-android-arm64-v8a.sh index 807407c66..3aee46648 100755 --- a/build-android-arm64-v8a.sh +++ b/build-android-arm64-v8a.sh @@ -42,7 +42,7 @@ fi echo "ANDROID_NDK: $ANDROID_NDK" sleep 1 -onnxruntime_version=1.18.0 +onnxruntime_version=1.17.1 if [ ! -f $onnxruntime_version/jni/arm64-v8a/libonnxruntime.so ]; then mkdir -p $onnxruntime_version diff --git a/build-android-armv7-eabi.sh b/build-android-armv7-eabi.sh index 1fd3d2778..b9f28b195 100755 --- a/build-android-armv7-eabi.sh +++ b/build-android-armv7-eabi.sh @@ -43,7 +43,7 @@ fi echo "ANDROID_NDK: $ANDROID_NDK" sleep 1 -onnxruntime_version=1.18.0 +onnxruntime_version=1.17.1 if [ ! -f $onnxruntime_version/jni/armeabi-v7a/libonnxruntime.so ]; then mkdir -p $onnxruntime_version diff --git a/build-android-x86-64.sh b/build-android-x86-64.sh index a5a129852..b88836749 100755 --- a/build-android-x86-64.sh +++ b/build-android-x86-64.sh @@ -43,7 +43,7 @@ fi echo "ANDROID_NDK: $ANDROID_NDK" sleep 1 -onnxruntime_version=1.18.0 +onnxruntime_version=1.17.1 if [ ! -f $onnxruntime_version/jni/x86_64/libonnxruntime.so ]; then mkdir -p $onnxruntime_version diff --git a/build-android-x86.sh b/build-android-x86.sh index 742c8fa8c..657ae9a42 100755 --- a/build-android-x86.sh +++ b/build-android-x86.sh @@ -43,7 +43,7 @@ fi echo "ANDROID_NDK: $ANDROID_NDK" sleep 1 -onnxruntime_version=1.18.0 +onnxruntime_version=1.17.1 if [ ! -f $onnxruntime_version/jni/x86/libonnxruntime.so ]; then mkdir -p $onnxruntime_version diff --git a/build-ios-no-tts.sh b/build-ios-no-tts.sh index 0d6e013d7..fecdb6b5e 100755 --- a/build-ios-no-tts.sh +++ b/build-ios-no-tts.sh @@ -5,7 +5,7 @@ set -e dir=build-ios-no-tts mkdir -p $dir cd $dir -onnxruntime_version=1.18.1 +onnxruntime_version=1.17.1 onnxruntime_dir=ios-onnxruntime/$onnxruntime_version if [ ! -f $onnxruntime_dir/onnxruntime.xcframework/ios-arm64/onnxruntime.a ]; then diff --git a/build-ios-shared.sh b/build-ios-shared.sh index 461df4edd..caf81decc 100755 --- a/build-ios-shared.sh +++ b/build-ios-shared.sh @@ -10,7 +10,7 @@ set -e dir=build-ios-shared mkdir -p $dir cd $dir -onnxruntime_version=1.18.1 +onnxruntime_version=1.17.1 onnxruntime_dir=ios-onnxruntime/$onnxruntime_version SHERPA_ONNX_GITHUB=github.com diff --git a/build-ios.sh b/build-ios.sh index 1b2e24194..9d25c0469 100755 --- a/build-ios.sh +++ b/build-ios.sh @@ -5,7 +5,7 @@ set -e dir=build-ios mkdir -p $dir cd $dir -onnxruntime_version=1.18.1 +onnxruntime_version=1.17.1 onnxruntime_dir=ios-onnxruntime/$onnxruntime_version SHERPA_ONNX_GITHUB=github.com diff --git a/cmake/onnxruntime-linux-aarch64-static.cmake b/cmake/onnxruntime-linux-aarch64-static.cmake index bd73204b8..9606c79db 100644 --- a/cmake/onnxruntime-linux-aarch64-static.cmake +++ b/cmake/onnxruntime-linux-aarch64-static.cmake @@ -14,19 +14,19 @@ if(BUILD_SHARED_LIBS) message(FATAL_ERROR "This file is for building static libraries. BUILD_SHARED_LIBS: ${BUILD_SHARED_LIBS}") endif() -set(onnxruntime_URL "https://github.com/csukuangfj/onnxruntime-libs/releases/download/v1.18.1/onnxruntime-linux-aarch64-static_lib-1.18.1-glibc2_17.zip") -set(onnxruntime_URL2 "https://hub.nuaa.cf/csukuangfj/onnxruntime-libs/releases/download/v1.18.1/onnxruntime-linux-aarch64-static_lib-1.18.1-glibc2_17.zip") -set(onnxruntime_HASH "SHA256=c84d068058a8a30d013ad4b7ec65c734b343191e87190faecd535acb9e8d1592") +set(onnxruntime_URL "https://github.com/csukuangfj/onnxruntime-libs/releases/download/v1.17.1/onnxruntime-linux-aarch64-static_lib-1.17.1.zip") +set(onnxruntime_URL2 "https://hub.nuaa.cf/csukuangfj/onnxruntime-libs/releases/download/v1.17.1/onnxruntime-linux-aarch64-static_lib-1.17.1.zip") +set(onnxruntime_HASH "SHA256=831b9a3869501040b4399de85f34c4f170e2bcbd41881edaeb553f8dc4080985") # If you don't have access to the Internet, # please download onnxruntime to one of the following locations. # You can add more if you want. set(possible_file_locations - $ENV{HOME}/Downloads/onnxruntime-linux-aarch64-static_lib-1.18.1-glibc2_17.zip - ${CMAKE_SOURCE_DIR}/onnxruntime-linux-aarch64-static_lib-1.18.1-glibc2_17.zip - ${CMAKE_BINARY_DIR}/onnxruntime-linux-aarch64-static_lib-1.18.1-glibc2_17.zip - /tmp/onnxruntime-linux-aarch64-static_lib-1.18.1-glibc2_17.zip - /star-fj/fangjun/download/github/onnxruntime-linux-aarch64-static_lib-1.18.1-glibc2_17.zip + $ENV{HOME}/Downloads/onnxruntime-linux-aarch64-static_lib-1.17.1.zip + ${CMAKE_SOURCE_DIR}/onnxruntime-linux-aarch64-static_lib-1.17.1.zip + ${CMAKE_BINARY_DIR}/onnxruntime-linux-aarch64-static_lib-1.17.1.zip + /tmp/onnxruntime-linux-aarch64-static_lib-1.17.1.zip + /star-fj/fangjun/download/github/onnxruntime-linux-aarch64-static_lib-1.17.1.zip ) foreach(f IN LISTS possible_file_locations) diff --git a/cmake/onnxruntime-linux-aarch64.cmake b/cmake/onnxruntime-linux-aarch64.cmake index 0954a5cfd..a6ef7ce12 100644 --- a/cmake/onnxruntime-linux-aarch64.cmake +++ b/cmake/onnxruntime-linux-aarch64.cmake @@ -14,19 +14,19 @@ if(NOT BUILD_SHARED_LIBS) message(FATAL_ERROR "This file is for building shared libraries. BUILD_SHARED_LIBS: ${BUILD_SHARED_LIBS}") endif() -set(onnxruntime_URL "https://github.com/csukuangfj/onnxruntime-libs/releases/download/v1.18.1/onnxruntime-linux-aarch64-glibc2_17-Release-1.18.1.zip") -set(onnxruntime_URL2 "https://hub.nuaa.cf/csukuangfj/onnxruntime-libs/releases/download/v1.18.1/onnxruntime-linux-aarch64-glibc2_17-Release-1.18.1.zip") -set(onnxruntime_HASH "SHA256=6db9962de2e0e451b95db071cf8a2aaa4176bf380d13ba1a91abd57fbc458e2f") +set(onnxruntime_URL "https://github.com/csukuangfj/onnxruntime-libs/releases/download/v1.17.1/onnxruntime-linux-aarch64-glibc2_17-Release-1.17.1-patched.zip") +set(onnxruntime_URL2 "https://hub.nuaa.cf/csukuangfj/onnxruntime-libs/releases/download/v1.17.1/onnxruntime-linux-aarch64-glibc2_17-Release-1.17.1-patched.zip") +set(onnxruntime_HASH "SHA256=6e0e68985f8dd1f643e5a4dbe7cd54c9e176a0cc62249c6bee0699b87fc6d4fb") # If you don't have access to the Internet, # please download onnxruntime to one of the following locations. # You can add more if you want. set(possible_file_locations - $ENV{HOME}/Downloads/onnxruntime-linux-aarch64-glibc2_17-Release-1.18.1.zip - ${CMAKE_SOURCE_DIR}/onnxruntime-linux-aarch64-glibc2_17-Release-1.18.1.zip - ${CMAKE_BINARY_DIR}/onnxruntime-linux-aarch64-glibc2_17-Release-1.18.1.zip - /tmp/onnxruntime-linux-aarch64-glibc2_17-Release-1.18.1.zip - /star-fj/fangjun/download/github/onnxruntime-linux-aarch64-glibc2_17-Release-1.18.1.zip + $ENV{HOME}/Downloads/onnxruntime-linux-aarch64-glibc2_17-Release-1.17.1-patched.zip + ${CMAKE_SOURCE_DIR}/onnxruntime-linux-aarch64-glibc2_17-Release-1.17.1-patched.zip + ${CMAKE_BINARY_DIR}/onnxruntime-linux-aarch64-glibc2_17-Release-1.17.1-patched.zip + /tmp/onnxruntime-linux-aarch64-glibc2_17-Release-1.17.1-patched.zip + /star-fj/fangjun/download/github/onnxruntime-linux-aarch64-glibc2_17-Release-1.17.1-patched.zip ) foreach(f IN LISTS possible_file_locations) diff --git a/cmake/onnxruntime-linux-arm-static.cmake b/cmake/onnxruntime-linux-arm-static.cmake index f79d2478a..cf2269afb 100644 --- a/cmake/onnxruntime-linux-arm-static.cmake +++ b/cmake/onnxruntime-linux-arm-static.cmake @@ -14,19 +14,19 @@ if(BUILD_SHARED_LIBS) message(FATAL_ERROR "This file is for building static libraries. BUILD_SHARED_LIBS: ${BUILD_SHARED_LIBS}") endif() -set(onnxruntime_URL "https://github.com/csukuangfj/onnxruntime-libs/releases/download/v1.18.1/onnxruntime-linux-arm-static_lib-1.18.1.zip") -set(onnxruntime_URL2 "https://hub.nuaa.cf/csukuangfj/onnxruntime-libs/releases/download/v1.18.1/onnxruntime-linux-arm-static_lib-1.18.1.zip") -set(onnxruntime_HASH "SHA256=c0e2b055efbafae2eacfbbe1d5fa9410b5b756555defd7b2bb918ce53af99f51") +set(onnxruntime_URL "https://github.com/csukuangfj/onnxruntime-libs/releases/download/v1.17.1/onnxruntime-linux-arm-static_lib-1.17.1.zip") +set(onnxruntime_URL2 "https://hub.nuaa.cf/csukuangfj/onnxruntime-libs/releases/download/v1.17.1/onnxruntime-linux-arm-static_lib-1.17.1.zip") +set(onnxruntime_HASH "SHA256=3f2ba38156d2facfb732c0fe53bc1eaaf2791d9a91dd240380e3d53716798b09") # If you don't have access to the Internet, # please download onnxruntime to one of the following locations. # You can add more if you want. set(possible_file_locations - $ENV{HOME}/Downloads/onnxruntime-linux-arm-static_lib-1.18.1.zip - ${CMAKE_SOURCE_DIR}/onnxruntime-linux-arm-static_lib-1.18.1.zip - ${CMAKE_BINARY_DIR}/onnxruntime-linux-arm-static_lib-1.18.1.zip - /tmp/onnxruntime-linux-arm-static_lib-1.18.1.zip - /star-fj/fangjun/download/github/onnxruntime-linux-arm-static_lib-1.18.1.zip + $ENV{HOME}/Downloads/onnxruntime-linux-arm-static_lib-1.17.1.zip + ${CMAKE_SOURCE_DIR}/onnxruntime-linux-arm-static_lib-1.17.1.zip + ${CMAKE_BINARY_DIR}/onnxruntime-linux-arm-static_lib-1.17.1.zip + /tmp/onnxruntime-linux-arm-static_lib-1.17.1.zip + /star-fj/fangjun/download/github/onnxruntime-linux-arm-static_lib-1.17.1.zip ) foreach(f IN LISTS possible_file_locations) diff --git a/cmake/onnxruntime-linux-arm.cmake b/cmake/onnxruntime-linux-arm.cmake index 85c27805b..a3adfaebd 100644 --- a/cmake/onnxruntime-linux-arm.cmake +++ b/cmake/onnxruntime-linux-arm.cmake @@ -14,19 +14,19 @@ if(NOT BUILD_SHARED_LIBS) message(FATAL_ERROR "This file is for building shared libraries. BUILD_SHARED_LIBS: ${BUILD_SHARED_LIBS}") endif() -set(onnxruntime_URL "https://github.com/csukuangfj/onnxruntime-libs/releases/download/v1.18.1/onnxruntime-linux-arm-1.18.1.zip") -set(onnxruntime_URL2 "https://hub.nuaa.cf/csukuangfj/onnxruntime-libs/releases/download/v1.18.1/onnxruntime-linux-arm-1.18.1.zip") -set(onnxruntime_HASH "SHA256=4ff55cff886bb920bacf172478afe030b915eacd49665e3127454454bbb1dcde") +set(onnxruntime_URL "https://github.com/csukuangfj/onnxruntime-libs/releases/download/v1.17.1/onnxruntime-linux-arm-1.17.1-patched.zip") +set(onnxruntime_URL2 "https://hub.nuaa.cf/csukuangfj/onnxruntime-libs/releases/download/v1.17.1/onnxruntime-linux-arm-1.17.1-patched.zip") +set(onnxruntime_HASH "SHA256=4ec00f7adc7341c068babea3d0f607349655e598222d4212115ae4f52619efdb") # If you don't have access to the Internet, # please download onnxruntime to one of the following locations. # You can add more if you want. set(possible_file_locations - $ENV{HOME}/Downloads/onnxruntime-linux-arm-1.18.1.zip - ${CMAKE_SOURCE_DIR}/onnxruntime-linux-arm-1.18.1.zip - ${CMAKE_BINARY_DIR}/onnxruntime-linux-arm-1.18.1.zip - /tmp/onnxruntime-linux-arm-1.18.1.zip - /star-fj/fangjun/download/github/onnxruntime-linux-arm-1.18.1.zip + $ENV{HOME}/Downloads/onnxruntime-linux-arm-1.17.1-patched.zip + ${CMAKE_SOURCE_DIR}/onnxruntime-linux-arm-1.17.1-patched.zip + ${CMAKE_BINARY_DIR}/onnxruntime-linux-arm-1.17.1-patched.zip + /tmp/onnxruntime-linux-arm-1.17.1-patched.zip + /star-fj/fangjun/download/github/onnxruntime-linux-arm-1.17.1-patched.zip ) foreach(f IN LISTS possible_file_locations) diff --git a/cmake/onnxruntime-linux-x86_64-gpu.cmake b/cmake/onnxruntime-linux-x86_64-gpu.cmake index 7dd477e6f..5407a0b82 100644 --- a/cmake/onnxruntime-linux-x86_64-gpu.cmake +++ b/cmake/onnxruntime-linux-x86_64-gpu.cmake @@ -18,19 +18,20 @@ if(NOT SHERPA_ONNX_ENABLE_GPU) message(FATAL_ERROR "This file is for NVIDIA GPU only. Given SHERPA_ONNX_ENABLE_GPU: ${SHERPA_ONNX_ENABLE_GPU}") endif() -set(onnxruntime_URL "https://github.com/microsoft/onnxruntime/releases/download/v1.18.1/onnxruntime-linux-x64-gpu-1.18.1.tgz") -set(onnxruntime_URL2 "https://hub.nuaa.cf/microsoft/onnxruntime/releases/download/v1.18.1/onnxruntime-linux-x64-gpu-1.18.1.tgz") -set(onnxruntime_HASH "SHA256=d947af0e4311fd38012ad69dea4983e73ce5f1754da0d5b7a118603dd87b197d") + +set(onnxruntime_URL "https://github.com/csukuangfj/onnxruntime-libs/releases/download/v1.17.1/onnxruntime-linux-x64-gpu-1.17.1-patched.zip") +set(onnxruntime_URL2 "https://hub.nuaa.cf/csukuangfj/onnxruntime-libs/releases/download/v1.17.1/onnxruntime-linux-x64-gpu-1.17.1-patched.zip") +set(onnxruntime_HASH "SHA256=1261de176e8d9d4d2019f8fa8c732c6d11494f3c6e73168ab6d2cc0903f22551") # If you don't have access to the Internet, # please download onnxruntime to one of the following locations. # You can add more if you want. set(possible_file_locations - $ENV{HOME}/Downloads/onnxruntime-linux-x64-gpu-1.18.1.tgz - ${CMAKE_SOURCE_DIR}/onnxruntime-linux-x64-gpu-1.18.1.tgz - ${CMAKE_BINARY_DIR}/onnxruntime-linux-x64-gpu-1.18.1.tgz - /tmp/onnxruntime-linux-x64-gpu-1.18.1.tgz - /star-fj/fangjun/download/github/onnxruntime-linux-x64-gpu-1.18.1.tgz + $ENV{HOME}/Downloads/onnxruntime-linux-x64-gpu-1.17.1-patched.zip + ${CMAKE_SOURCE_DIR}/onnxruntime-linux-x64-gpu-1.17.1-patched.zip + ${CMAKE_BINARY_DIR}/onnxruntime-linux-x64-gpu-1.17.1-patched.zip + /tmp/onnxruntime-linux-x64-gpu-1.17.1-patched.zip + /star-fj/fangjun/download/github/onnxruntime-linux-x64-gpu-1.17.1-patched.zip ) foreach(f IN LISTS possible_file_locations) diff --git a/cmake/onnxruntime-linux-x86_64-static.cmake b/cmake/onnxruntime-linux-x86_64-static.cmake index 56364210a..c6bb867b2 100644 --- a/cmake/onnxruntime-linux-x86_64-static.cmake +++ b/cmake/onnxruntime-linux-x86_64-static.cmake @@ -14,19 +14,19 @@ if(BUILD_SHARED_LIBS) message(FATAL_ERROR "This file is for building static libraries. BUILD_SHARED_LIBS: ${BUILD_SHARED_LIBS}") endif() -set(onnxruntime_URL "https://github.com/csukuangfj/onnxruntime-libs/releases/download/v1.18.1/onnxruntime-linux-x64-static_lib-1.18.1-glibc2_17.zip") -set(onnxruntime_URL2 "https://hub.nuaa.cf/csukuangfj/onnxruntime-libs/releases/download/v1.18.1/onnxruntime-linux-x64-static_lib-1.18.1-glibc2_17.zip") -set(onnxruntime_HASH "SHA256=48e0691efa6b043f47f4d53e81cdcc151077c8ae4fab049fb00844ec2d61632a") +set(onnxruntime_URL "https://github.com/csukuangfj/onnxruntime-libs/releases/download/v1.17.1/onnxruntime-linux-x64-static_lib-1.17.1-glibc2_17.zip") +set(onnxruntime_URL2 "https://hub.nuaa.cf/csukuangfj/onnxruntime-libs/releases/download/v1.17.1/onnxruntime-linux-x64-static_lib-1.17.1-glibc2_17.zip") +set(onnxruntime_HASH "SHA256=b646beeb983de843a267096d4457d832f93089f5e7264fd54b48cff207cb2068") # If you don't have access to the Internet, # please download onnxruntime to one of the following locations. # You can add more if you want. set(possible_file_locations - $ENV{HOME}/Downloads/onnxruntime-linux-x64-static_lib-1.18.1-glibc2_17.zip - ${CMAKE_SOURCE_DIR}/onnxruntime-linux-x64-static_lib-1.18.1-glibc2_17.zip - ${CMAKE_BINARY_DIR}/onnxruntime-linux-x64-static_lib-1.18.1-glibc2_17.zip - /tmp/onnxruntime-linux-x64-static_lib-1.18.1-glibc2_17.zip - /star-fj/fangjun/download/github/onnxruntime-linux-x64-static_lib-1.18.1-glibc2_17.zip + $ENV{HOME}/Downloads/onnxruntime-linux-x64-static_lib-1.17.1-glibc2_17.zip + ${CMAKE_SOURCE_DIR}/onnxruntime-linux-x64-static_lib-1.17.1-glibc2_17.zip + ${CMAKE_BINARY_DIR}/onnxruntime-linux-x64-static_lib-1.17.1-glibc2_17.zip + /tmp/onnxruntime-linux-x64-static_lib-1.17.1-glibc2_17.zip + /star-fj/fangjun/download/github/onnxruntime-linux-x64-static_lib-1.17.1-glibc2_17.zip ) foreach(f IN LISTS possible_file_locations) diff --git a/cmake/onnxruntime-linux-x86_64.cmake b/cmake/onnxruntime-linux-x86_64.cmake index 85c9a0893..eaa6f7608 100644 --- a/cmake/onnxruntime-linux-x86_64.cmake +++ b/cmake/onnxruntime-linux-x86_64.cmake @@ -14,19 +14,19 @@ if(NOT BUILD_SHARED_LIBS) message(FATAL_ERROR "This file is for building shared libraries. BUILD_SHARED_LIBS: ${BUILD_SHARED_LIBS}") endif() -set(onnxruntime_URL "https://github.com/csukuangfj/onnxruntime-libs/releases/download/v1.18.1/onnxruntime-linux-x64-glibc2_17-Release-1.18.1.zip") -set(onnxruntime_URL2 "https://hub.nuaa.cf/csukuangfj/onnxruntime-libs/releases/download/v1.18.1/onnxruntime-linux-x64-glibc2_17-Release-1.18.1.zip") -set(onnxruntime_HASH "SHA256=2d15dfab33cafeed69be2c885711daac2dfb9ff305f6129a19e2c0f6561a80bf") +set(onnxruntime_URL "https://github.com/csukuangfj/onnxruntime-libs/releases/download/v1.17.1/onnxruntime-linux-x64-glibc2_17-Release-1.17.1-patched.zip") +set(onnxruntime_URL2 "https://hub.nuaa.cf/csukuangfj/onnxruntime-libs/releases/download/v1.17.1/onnxruntime-linux-x64-glibc2_17-Release-1.17.1-patched.zip") +set(onnxruntime_HASH "SHA256=cb90c51a195bdd453aaf1582f3ef63b466dafbb15c4b8a552ca4dce3769e1d1e") # If you don't have access to the Internet, # please download onnxruntime to one of the following locations. # You can add more if you want. set(possible_file_locations - $ENV{HOME}/Downloads/onnxruntime-linux-x64-glibc2_17-Release-1.18.1.zip - ${CMAKE_SOURCE_DIR}/onnxruntime-linux-x64-glibc2_17-Release-1.18.1.zip - ${CMAKE_BINARY_DIR}/onnxruntime-linux-x64-glibc2_17-Release-1.18.1.zip - /tmp/onnxruntime-linux-x64-glibc2_17-Release-1.18.1.zip - /star-fj/fangjun/download/github/onnxruntime-linux-x64-glibc2_17-Release-1.18.1.zip + $ENV{HOME}/Downloads/onnxruntime-linux-x64-glibc2_17-Release-1.17.1-patched.zip + ${CMAKE_SOURCE_DIR}/onnxruntime-linux-x64-glibc2_17-Release-1.17.1-patched.zip + ${CMAKE_BINARY_DIR}/onnxruntime-linux-x64-glibc2_17-Release-1.17.1-patched.zip + /tmp/onnxruntime-linux-x64-glibc2_17-Release-1.17.1-patched.zip + /star-fj/fangjun/download/github/onnxruntime-linux-x64-glibc2_17-Release-1.17.1-patched.zip ) foreach(f IN LISTS possible_file_locations) diff --git a/cmake/onnxruntime-osx-arm64-static.cmake b/cmake/onnxruntime-osx-arm64-static.cmake index 5ebe16ba2..494e263ff 100644 --- a/cmake/onnxruntime-osx-arm64-static.cmake +++ b/cmake/onnxruntime-osx-arm64-static.cmake @@ -12,18 +12,18 @@ if(BUILD_SHARED_LIBS) message(FATAL_ERROR "This file is for building static libraries. BUILD_SHARED_LIBS: ${BUILD_SHARED_LIBS}") endif() -set(onnxruntime_URL "https://github.com/csukuangfj/onnxruntime-libs/releases/download/v1.18.1/onnxruntime-osx-arm64-static_lib-1.18.1.zip") -set(onnxruntime_URL2 "https://hub.nuaa.cf/csukuangfj/onnxruntime-libs/releases/download/v1.18.1/onnxruntime-osx-arm64-static_lib-1.18.1.zip") -set(onnxruntime_HASH "SHA256=37e551afc97f5dd2f6eb8054c06557122b81ef714ced88173658a750a12f313d") +set(onnxruntime_URL "https://github.com/csukuangfj/onnxruntime-libs/releases/download/v1.17.1/onnxruntime-osx-arm64-static_lib-1.17.1.zip") +set(onnxruntime_URL2 "https://hub.nuaa.cf/csukuangfj/onnxruntime-libs/releases/download/v1.17.1/onnxruntime-osx-arm64-static_lib-1.17.1.zip") +set(onnxruntime_HASH "SHA256=b88a4017251c159fea005aefe836bd0cf4d0bc7454e2810784f84a42143f17eb") # If you don't have access to the Internet, # please download onnxruntime to one of the following locations. # You can add more if you want. set(possible_file_locations - $ENV{HOME}/Downloads/onnxruntime-osx-arm64-static_lib-1.18.1.zip - ${CMAKE_SOURCE_DIR}/onnxruntime-osx-arm64-static_lib-1.18.1.zip - ${CMAKE_BINARY_DIR}/onnxruntime-osx-arm64-static_lib-1.18.1.zip - /tmp/onnxruntime-osx-arm64-static_lib-1.18.1.zip + $ENV{HOME}/Downloads/onnxruntime-osx-arm64-static_lib-1.17.1.zip + ${CMAKE_SOURCE_DIR}/onnxruntime-osx-arm64-static_lib-1.17.1.zip + ${CMAKE_BINARY_DIR}/onnxruntime-osx-arm64-static_lib-1.17.1.zip + /tmp/onnxruntime-osx-arm64-static_lib-1.17.1.zip ) foreach(f IN LISTS possible_file_locations) diff --git a/cmake/onnxruntime-osx-arm64.cmake b/cmake/onnxruntime-osx-arm64.cmake index 475c29a15..3998cc8b4 100644 --- a/cmake/onnxruntime-osx-arm64.cmake +++ b/cmake/onnxruntime-osx-arm64.cmake @@ -12,18 +12,18 @@ if(NOT BUILD_SHARED_LIBS) message(FATAL_ERROR "This file is for building shared libraries. BUILD_SHARED_LIBS: ${BUILD_SHARED_LIBS}") endif() -set(onnxruntime_URL "https://github.com/microsoft/onnxruntime/releases/download/v1.18.1/onnxruntime-osx-arm64-1.18.1.tgz") -set(onnxruntime_URL2 "https://hub.nuaa.cf/microsoft/onnxruntime/releases/download/v1.18.1/onnxruntime-osx-arm64-1.18.1.tgz") -set(onnxruntime_HASH "SHA256=f3356203e9b6f5023168a12db74b1060ab397f8f3ce8f5cb2c2bd9e7f1195b01") +set(onnxruntime_URL "https://github.com/microsoft/onnxruntime/releases/download/v1.17.1/onnxruntime-osx-arm64-1.17.1.tgz") +set(onnxruntime_URL2 "https://hub.nuaa.cf/microsoft/onnxruntime/releases/download/v1.17.1/onnxruntime-osx-arm64-1.17.1.tgz") +set(onnxruntime_HASH "SHA256=89566f424624a7ad9a7d9d5e413c44b9639a994d7171cf409901d125b16e2bb3") # If you don't have access to the Internet, # please download onnxruntime to one of the following locations. # You can add more if you want. set(possible_file_locations - $ENV{HOME}/Downloads/onnxruntime-osx-arm64-1.18.1.tgz - ${CMAKE_SOURCE_DIR}/onnxruntime-osx-arm64-1.18.1.tgz - ${CMAKE_BINARY_DIR}/onnxruntime-osx-arm64-1.18.1.tgz - /tmp/onnxruntime-osx-arm64-1.18.1.tgz + $ENV{HOME}/Downloads/onnxruntime-osx-arm64-1.17.1.tgz + ${CMAKE_SOURCE_DIR}/onnxruntime-osx-arm64-1.17.1.tgz + ${CMAKE_BINARY_DIR}/onnxruntime-osx-arm64-1.17.1.tgz + /tmp/onnxruntime-osx-arm64-1.17.1.tgz ) foreach(f IN LISTS possible_file_locations) diff --git a/cmake/onnxruntime-osx-universal-static.cmake b/cmake/onnxruntime-osx-universal-static.cmake index 4a3528a78..2abcf46b4 100644 --- a/cmake/onnxruntime-osx-universal-static.cmake +++ b/cmake/onnxruntime-osx-universal-static.cmake @@ -13,18 +13,18 @@ if(BUILD_SHARED_LIBS) message(FATAL_ERROR "This file is for building static libraries. BUILD_SHARED_LIBS: ${BUILD_SHARED_LIBS}") endif() -set(onnxruntime_URL "https://github.com/csukuangfj/onnxruntime-libs/releases/download/v1.18.1/onnxruntime-osx-universal2-static_lib-1.18.1.zip") -set(onnxruntime_URL2 "https://hub.nuaa.cf/csukuangfj/onnxruntime-libs/releases/download/v1.18.1/onnxruntime-osx-universal2-static_lib-1.18.1.zip") -set(onnxruntime_HASH "SHA256=b9fd4c1c31e53a2d19bc21aa43dddc241076d7c4208137057b3728af10680d47") +set(onnxruntime_URL "https://github.com/csukuangfj/onnxruntime-libs/releases/download/v1.17.1/onnxruntime-osx-universal2-static_lib-1.17.1.zip") +set(onnxruntime_URL2 "https://hub.nuaa.cf/csukuangfj/onnxruntime-libs/releases/download/v1.17.1/onnxruntime-osx-universal2-static_lib-1.17.1.zip") +set(onnxruntime_HASH "SHA256=45599dbd2fb9dd52d6505930c0e82ca165391e222a68f5606b9ea9d4f3922e15") # If you don't have access to the Internet, # please download onnxruntime to one of the following locations. # You can add more if you want. set(possible_file_locations - $ENV{HOME}/Downloads/onnxruntime-osx-universal2-static_lib-1.18.1.zip - ${CMAKE_SOURCE_DIR}/onnxruntime-osx-universal2-static_lib-1.18.1.zip - ${CMAKE_BINARY_DIR}/onnxruntime-osx-universal2-static_lib-1.18.1.zip - /tmp/onnxruntime-osx-universal2-static_lib-1.18.1.zip + $ENV{HOME}/Downloads/onnxruntime-osx-universal2-static_lib-1.17.1.zip + ${CMAKE_SOURCE_DIR}/onnxruntime-osx-universal2-static_lib-1.17.1.zip + ${CMAKE_BINARY_DIR}/onnxruntime-osx-universal2-static_lib-1.17.1.zip + /tmp/onnxruntime-osx-universal2-static_lib-1.17.1.zip ) foreach(f IN LISTS possible_file_locations) diff --git a/cmake/onnxruntime-osx-universal.cmake b/cmake/onnxruntime-osx-universal.cmake index 4b2513d8e..2b0fbb110 100644 --- a/cmake/onnxruntime-osx-universal.cmake +++ b/cmake/onnxruntime-osx-universal.cmake @@ -13,18 +13,18 @@ if(NOT BUILD_SHARED_LIBS) message(FATAL_ERROR "This file is for building shared libraries. BUILD_SHARED_LIBS: ${BUILD_SHARED_LIBS}") endif() -set(onnxruntime_URL "https://github.com/microsoft/onnxruntime/releases/download/v1.18.1/onnxruntime-osx-universal2-1.18.1.tgz") -set(onnxruntime_URL2 "https://hub.nuaa.cf/microsoft/onnxruntime/releases/download/v1.18.1/onnxruntime-osx-universal2-1.18.1.tgz") -set(onnxruntime_HASH "SHA256=014f6332da3fa51926c57ca973c2d03ceebae069a537f55765848260ab4bf8f7") +set(onnxruntime_URL "https://github.com/microsoft/onnxruntime/releases/download/v1.17.1/onnxruntime-osx-universal2-1.17.1.tgz") +set(onnxruntime_URL2 "https://hub.nuaa.cf/microsoft/onnxruntime/releases/download/v1.17.1/onnxruntime-osx-universal2-1.17.1.tgz") +set(onnxruntime_HASH "SHA256=9fa57fa6f202a373599377ef75064ae568fda8da838632b26a86024c7378d306") # If you don't have access to the Internet, # please download onnxruntime to one of the following locations. # You can add more if you want. set(possible_file_locations - $ENV{HOME}/Downloads/onnxruntime-osx-universal2-1.18.1.tgz - ${CMAKE_SOURCE_DIR}/onnxruntime-osx-universal2-1.18.1.tgz - ${CMAKE_BINARY_DIR}/onnxruntime-osx-universal2-1.18.1.tgz - /tmp/onnxruntime-osx-universal2-1.18.1.tgz + $ENV{HOME}/Downloads/onnxruntime-osx-universal2-1.17.1.tgz + ${CMAKE_SOURCE_DIR}/onnxruntime-osx-universal2-1.17.1.tgz + ${CMAKE_BINARY_DIR}/onnxruntime-osx-universal2-1.17.1.tgz + /tmp/onnxruntime-osx-universal2-1.17.1.tgz ) foreach(f IN LISTS possible_file_locations) diff --git a/cmake/onnxruntime-osx-x86_64-static.cmake b/cmake/onnxruntime-osx-x86_64-static.cmake index 53220ecbb..259ec4d01 100644 --- a/cmake/onnxruntime-osx-x86_64-static.cmake +++ b/cmake/onnxruntime-osx-x86_64-static.cmake @@ -12,18 +12,18 @@ if(BUILD_SHARED_LIBS) message(FATAL_ERROR "This file is for building static libraries. BUILD_SHARED_LIBS: ${BUILD_SHARED_LIBS}") endif() -set(onnxruntime_URL "https://github.com/csukuangfj/onnxruntime-libs/releases/download/v1.18.1/onnxruntime-osx-x86_64-static_lib-1.18.1.zip") -set(onnxruntime_URL2 "https://hub.nuaa.cf/csukuangfj/onnxruntime-libs/releases/download/v1.18.1/onnxruntime-osx-x86_64-static_lib-1.18.1.zip") -set(onnxruntime_HASH "SHA256=84b639e8a21adcbe335ba4ade3c5ad2d726f20a21e9d9a97a252fb232600c037") +set(onnxruntime_URL "https://github.com/csukuangfj/onnxruntime-libs/releases/download/v1.17.1/onnxruntime-osx-x86_64-static_lib-1.17.1.zip") +set(onnxruntime_URL2 "https://hub.nuaa.cf/csukuangfj/onnxruntime-libs/releases/download/v1.17.1/onnxruntime-osx-x86_64-static_lib-1.17.1.zip") +set(onnxruntime_HASH "SHA256=5ff8efb97e50e257943c6c588328d2c57b649278098d3b468036f02755b60903") # If you don't have access to the Internet, # please download onnxruntime to one of the following locations. # You can add more if you want. set(possible_file_locations - $ENV{HOME}/Downloads/onnxruntime-osx-x86_64-static_lib-1.18.1.zip - ${CMAKE_SOURCE_DIR}/onnxruntime-osx-x86_64-static_lib-1.18.1.zip - ${CMAKE_BINARY_DIR}/onnxruntime-osx-x86_64-static_lib-1.18.1.zip - /tmp/onnxruntime-osx-x86_64-static_lib-1.18.1.zip + $ENV{HOME}/Downloads/onnxruntime-osx-x86_64-static_lib-1.17.1.zip + ${CMAKE_SOURCE_DIR}/onnxruntime-osx-x86_64-static_lib-1.17.1.zip + ${CMAKE_BINARY_DIR}/onnxruntime-osx-x86_64-static_lib-1.17.1.zip + /tmp/onnxruntime-osx-x86_64-static_lib-1.17.1.zip ) foreach(f IN LISTS possible_file_locations) diff --git a/cmake/onnxruntime-osx-x86_64.cmake b/cmake/onnxruntime-osx-x86_64.cmake index e0ab80fb4..81b78991a 100644 --- a/cmake/onnxruntime-osx-x86_64.cmake +++ b/cmake/onnxruntime-osx-x86_64.cmake @@ -12,18 +12,18 @@ if(NOT BUILD_SHARED_LIBS) message(FATAL_ERROR "This file is for building shared libraries. BUILD_SHARED_LIBS: ${BUILD_SHARED_LIBS}") endif() -set(onnxruntime_URL "https://github.com/microsoft/onnxruntime/releases/download/v1.18.1/onnxruntime-osx-x86_64-1.18.1.tgz") -set(onnxruntime_URL2 "https://hub.nuaa.cf/microsoft/onnxruntime/releases/download/v1.18.1/onnxruntime-osx-x86_64-1.18.1.tgz") -set(onnxruntime_HASH "SHA256=938198521ecccd6fca4cadd627a57966de092feb6ea9ecb579437898d04ebad8") +set(onnxruntime_URL "https://github.com/microsoft/onnxruntime/releases/download/v1.17.1/onnxruntime-osx-x86_64-1.17.1.tgz") +set(onnxruntime_URL2 "https://hub.nuaa.cf/microsoft/onnxruntime/releases/download/v1.17.1/onnxruntime-osx-x86_64-1.17.1.tgz") +set(onnxruntime_HASH "SHA256=86c6b6896434084ff5086eebc4e9ea90be1ed4d46743f92864f46ee43e7b5059") # If you don't have access to the Internet, # please download onnxruntime to one of the following locations. # You can add more if you want. set(possible_file_locations - $ENV{HOME}/Downloads/onnxruntime-osx-x86_64-1.18.1.tgz - ${CMAKE_SOURCE_DIR}/onnxruntime-osx-x86_64-1.18.1.tgz - ${CMAKE_BINARY_DIR}/onnxruntime-osx-x86_64-1.18.1.tgz - /tmp/onnxruntime-osx-x86_64-1.18.1.tgz + $ENV{HOME}/Downloads/onnxruntime-osx-x86_64-1.17.1.tgz + ${CMAKE_SOURCE_DIR}/onnxruntime-osx-x86_64-1.17.1.tgz + ${CMAKE_BINARY_DIR}/onnxruntime-osx-x86_64-1.17.1.tgz + /tmp/onnxruntime-osx-x86_64-1.17.1.tgz ) foreach(f IN LISTS possible_file_locations) diff --git a/cmake/onnxruntime-wasm-simd.cmake b/cmake/onnxruntime-wasm-simd.cmake index 0b49e5e9f..dcc8fb5dd 100644 --- a/cmake/onnxruntime-wasm-simd.cmake +++ b/cmake/onnxruntime-wasm-simd.cmake @@ -10,19 +10,19 @@ if(BUILD_SHARED_LIBS) message(FATAL_ERROR "BUILD_SHARED_LIBS should be OFF for WebAssembly") endif() -set(onnxruntime_URL "https://github.com/csukuangfj/onnxruntime-libs/releases/download/v1.18.1/onnxruntime-wasm-static_lib-simd-1.18.1.zip") -set(onnxruntime_URL2 "https://hub.nuaa.cf/csukuangfj/onnxruntime-libs/releases/download/v1.18.1/onnxruntime-wasm-static_lib-simd-1.18.1.zip") -set(onnxruntime_HASH "SHA256=1cc3c10cc8405aae59b7b2cc115d8ca5382fbf6e014c15ebafacd8b457b99f81") +set(onnxruntime_URL "https://github.com/csukuangfj/onnxruntime-libs/releases/download/v1.17.1/onnxruntime-wasm-static_lib-simd-1.17.1.zip") +set(onnxruntime_URL2 "https://hub.nuaa.cf/csukuangfj/onnxruntime-libs/releases/download/v1.17.1/onnxruntime-wasm-static_lib-simd-1.17.1.zip") +set(onnxruntime_HASH "SHA256=8f07778e4233cf5a61a9d0795d90c5497177fbe8a46b701fda2d8d4e2b11cef8") # If you don't have access to the Internet, # please download onnxruntime to one of the following locations. # You can add more if you want. set(possible_file_locations - $ENV{HOME}/Downloads/onnxruntime-wasm-static_lib-simd-1.18.1.zip - ${CMAKE_SOURCE_DIR}/onnxruntime-wasm-static_lib-simd-1.18.1.zip - ${CMAKE_BINARY_DIR}/onnxruntime-wasm-static_lib-simd-1.18.1.zip - /tmp/onnxruntime-wasm-static_lib-simd-1.18.1.zip - /star-fj/fangjun/download/github/onnxruntime-wasm-static_lib-simd-1.18.1.zip + $ENV{HOME}/Downloads/onnxruntime-wasm-static_lib-simd-1.17.1.zip + ${CMAKE_SOURCE_DIR}/onnxruntime-wasm-static_lib-simd-1.17.1.zip + ${CMAKE_BINARY_DIR}/onnxruntime-wasm-static_lib-simd-1.17.1.zip + /tmp/onnxruntime-wasm-static_lib-simd-1.17.1.zip + /star-fj/fangjun/download/github/onnxruntime-wasm-static_lib-simd-1.17.1.zip ) foreach(f IN LISTS possible_file_locations) diff --git a/cmake/onnxruntime-win-arm64.cmake b/cmake/onnxruntime-win-arm64.cmake index 493e7cae6..0705b6451 100644 --- a/cmake/onnxruntime-win-arm64.cmake +++ b/cmake/onnxruntime-win-arm64.cmake @@ -15,18 +15,18 @@ if(NOT BUILD_SHARED_LIBS) message(FATAL_ERROR "This file is for building shared libraries. BUILD_SHARED_LIBS: ${BUILD_SHARED_LIBS}") endif() -set(onnxruntime_URL "https://github.com/microsoft/onnxruntime/releases/download/v1.18.1/onnxruntime-win-arm64-1.18.1.zip") -set(onnxruntime_URL2 "https://hub.nuaa.cf/microsoft/onnxruntime/releases/download/v1.18.1/onnxruntime-win-arm64-1.18.1.zip") -set(onnxruntime_HASH "SHA256=cba708b2e9e69f5c7f5ad899d9d2e503208936753f52194df50bb5b6275eff76") +set(onnxruntime_URL "https://github.com/microsoft/onnxruntime/releases/download/v1.17.1/onnxruntime-win-arm64-1.17.1.zip") +set(onnxruntime_URL2 "https://hub.nuaa.cf/microsoft/onnxruntime/releases/download/v1.17.1/onnxruntime-win-arm64-1.17.1.zip") +set(onnxruntime_HASH "SHA256=47782cebcab0fd7a1f0a3f0676b088c1bc0f4fbf21666f6fe57570dc362fa5a8") # If you don't have access to the Internet, # please download onnxruntime to one of the following locations. # You can add more if you want. set(possible_file_locations - $ENV{HOME}/Downloads/onnxruntime-win-arm64-1.18.1.zip - ${CMAKE_SOURCE_DIR}/onnxruntime-win-arm64-1.18.1.zip - ${CMAKE_BINARY_DIR}/onnxruntime-win-arm64-1.18.1.zip - /tmp/onnxruntime-win-arm64-1.18.1.zip + $ENV{HOME}/Downloads/onnxruntime-win-arm64-1.17.1.zip + ${CMAKE_SOURCE_DIR}/onnxruntime-win-arm64-1.17.1.zip + ${CMAKE_BINARY_DIR}/onnxruntime-win-arm64-1.17.1.zip + /tmp/onnxruntime-win-arm64-1.17.1.zip ) foreach(f IN LISTS possible_file_locations) diff --git a/cmake/onnxruntime-win-x64-gpu.cmake b/cmake/onnxruntime-win-x64-gpu.cmake index 5b5f1b2da..18b64d01f 100644 --- a/cmake/onnxruntime-win-x64-gpu.cmake +++ b/cmake/onnxruntime-win-x64-gpu.cmake @@ -19,18 +19,18 @@ if(NOT SHERPA_ONNX_ENABLE_GPU) message(FATAL_ERROR "This file is for NVIDIA GPU only. Given SHERPA_ONNX_ENABLE_GPU: ${SHERPA_ONNX_ENABLE_GPU}") endif() -set(onnxruntime_URL "https://github.com/microsoft/onnxruntime/releases/download/v1.18.1/onnxruntime-win-x64-gpu-1.18.1.zip") -set(onnxruntime_URL2 "https://hub.nuaa.cf/microsoft/onnxruntime/releases/download/v1.18.1/onnxruntime-win-x64-gpu-1.18.1.zip") -set(onnxruntime_HASH "SHA256=2ea6078d7dcaa1a979b73233a7ea62f56aa75ecefe4d015e9dc45cf1bce6b53a") +set(onnxruntime_URL "https://github.com/microsoft/onnxruntime/releases/download/v1.17.1/onnxruntime-win-x64-gpu-1.17.1.zip") +set(onnxruntime_URL2 "https://hub.nuaa.cf/microsoft/onnxruntime/releases/download/v1.17.1/onnxruntime-win-x64-gpu-1.17.1.zip") +set(onnxruntime_HASH "SHA256=b7a66f50ad146c2ccb43471d2d3b5ad78084c2d4ddbd3ea82d65f86c867408b2") # If you don't have access to the Internet, # please download onnxruntime to one of the following locations. # You can add more if you want. set(possible_file_locations - $ENV{HOME}/Downloads/onnxruntime-win-x64-gpu-1.18.1.zip - ${CMAKE_SOURCE_DIR}/onnxruntime-win-x64-gpu-1.18.1.zip - ${CMAKE_BINARY_DIR}/onnxruntime-win-x64-gpu-1.18.1.zip - /tmp/onnxruntime-win-x64-gpu-1.18.1.zip + $ENV{HOME}/Downloads/onnxruntime-win-x64-gpu-1.17.1.zip + ${CMAKE_SOURCE_DIR}/onnxruntime-win-x64-gpu-1.17.1.zip + ${CMAKE_BINARY_DIR}/onnxruntime-win-x64-gpu-1.17.1.zip + /tmp/onnxruntime-win-x64-gpu-1.17.1.zip ) foreach(f IN LISTS possible_file_locations) diff --git a/cmake/onnxruntime-win-x64-static-debug.cmake b/cmake/onnxruntime-win-x64-static-debug.cmake index 887e1624f..3281f4989 100644 --- a/cmake/onnxruntime-win-x64-static-debug.cmake +++ b/cmake/onnxruntime-win-x64-static-debug.cmake @@ -15,14 +15,14 @@ if(BUILD_SHARED_LIBS) message(FATAL_ERROR "This file is for building static libraries. BUILD_SHARED_LIBS: ${BUILD_SHARED_LIBS}") endif() -set(onnxruntime_URL "https://github.com/csukuangfj/onnxruntime-libs/releases/download/v1.18.1/onnxruntime-win-x64-static_lib-${CMAKE_BUILD_TYPE}-1.18.1.tar.bz2") -set(onnxruntime_URL2 "https://hub.nuaa.cf/csukuangfj/onnxruntime-libs/releases/download/v1.18.1/onnxruntime-win-x64-static_lib-${CMAKE_BUILD_TYPE}-1.18.1.tar.bz2") +set(onnxruntime_URL "https://github.com/csukuangfj/onnxruntime-libs/releases/download/v1.17.1/onnxruntime-win-x64-static_lib-${CMAKE_BUILD_TYPE}-1.17.1.tar.bz2") +set(onnxruntime_URL2 "https://hub.nuaa.cf/csukuangfj/onnxruntime-libs/releases/download/v1.17.1/onnxruntime-win-x64-static_lib-${CMAKE_BUILD_TYPE}-1.17.1.tar.bz2") if(CMAKE_BUILD_TYPE STREQUAL Debug) - set(onnxruntime_HASH "SHA256=01effde934592688ceb5b041c167ed3ace833e6b9c47ad4929fa8cb639093144") + set(onnxruntime_HASH "SHA256=ecc68d914541c3b6ebc36148af63fe2a6af0f4f955b35199d612698d23169fa5") elseif(CMAKE_BUILD_TYPE STREQUAL RelWithDebInfo) - set(onnxruntime_HASH "SHA256=f6e21f048bede7f939e94225eb3191332119d271f96b8d9c1667209295e7f22b") + set(onnxruntime_HASH "SHA256=7cbe58273e55d033568f84fb16d220cea4e25ec29eb7db405c4ac7b6e41f2dfa") elseif(CMAKE_BUILD_TYPE STREQUAL MinSizeRel) - set(onnxruntime_HASH "SHA256=f0c6c7ffe4af9a83642c4f77c86e46a42d85ad4fa2d2e599448598e008eadc41") + set(onnxruntime_HASH "SHA256=9eb3adf0f6ac3b0e9f118e0d9e686f50fc651394e0b0cc569275af6e3ffed0e0") else() message(FATAL_ERROR "This file is for building a debug version on Windows x64. Given ${CMAKE_BUILD_TYPE}") endif() @@ -31,10 +31,10 @@ endif() # please download onnxruntime to one of the following locations. # You can add more if you want. set(possible_file_locations - $ENV{HOME}/Downloads/onnxruntime-win-x64-static_lib-${CMAKE_BUILD_TYPE}-1.18.1.tar.bz2 - ${CMAKE_SOURCE_DIR}/onnxruntime-win-x64-static_lib-${CMAKE_BUILD_TYPE}-1.18.1.tar.bz2 - ${CMAKE_BINARY_DIR}/onnxruntime-win-x64-static_lib-${CMAKE_BUILD_TYPE}-1.18.1.tar.bz2 - /tmp/onnxruntime-win-x64-static_lib-${CMAKE_BUILD_TYPE}-1.18.1.tar.bz2 + $ENV{HOME}/Downloads/onnxruntime-win-x64-static_lib-${CMAKE_BUILD_TYPE}-1.17.1.tar.bz2 + ${CMAKE_SOURCE_DIR}/onnxruntime-win-x64-static_lib-${CMAKE_BUILD_TYPE}-1.17.1.tar.bz2 + ${CMAKE_BINARY_DIR}/onnxruntime-win-x64-static_lib-${CMAKE_BUILD_TYPE}-1.17.1.tar.bz2 + /tmp/onnxruntime-win-x64-static_lib-${CMAKE_BUILD_TYPE}-1.17.1.tar.bz2 ) foreach(f IN LISTS possible_file_locations) diff --git a/cmake/onnxruntime-win-x64-static.cmake b/cmake/onnxruntime-win-x64-static.cmake index 7727450b3..009390872 100644 --- a/cmake/onnxruntime-win-x64-static.cmake +++ b/cmake/onnxruntime-win-x64-static.cmake @@ -19,18 +19,18 @@ if(NOT CMAKE_BUILD_TYPE STREQUAL Release) message(FATAL_ERROR "This file is for building a release version on Windows x64") endif() -set(onnxruntime_URL "https://github.com/csukuangfj/onnxruntime-libs/releases/download/v1.18.1/onnxruntime-win-x64-static_lib-1.18.1.tar.bz2") -set(onnxruntime_URL2 "https://hub.nuaa.cf/github.com/csukuangfj/onnxruntime-libs/releases/download/v1.18.1/onnxruntime-win-x64-static_lib-1.18.1.tar.bz2") -set(onnxruntime_HASH "SHA256=b0e24b77552593227e843c9f8fcade5dff2615f85945ec5a3e7adb181bb1d24a") +set(onnxruntime_URL "https://github.com/csukuangfj/onnxruntime-libs/releases/download/v1.17.1/onnxruntime-win-x64-static_lib-1.17.1.tar.bz2") +set(onnxruntime_URL2 "https://hub.nuaa.cf/github.com/csukuangfj/onnxruntime-libs/releases/download/v1.17.1/onnxruntime-win-x64-static_lib-1.17.1.tar.bz2") +set(onnxruntime_HASH "SHA256=42a0c02fda945d1d72433b2a7cdb2187d51cb4d7f3af462c6ae07b25314d5fb3") # If you don't have access to the Internet, # please download onnxruntime to one of the following locations. # You can add more if you want. set(possible_file_locations - $ENV{HOME}/Downloads/onnxruntime-win-x64-static_lib-1.18.1.tar.bz2 - ${CMAKE_SOURCE_DIR}/onnxruntime-win-x64-static_lib-1.18.1.tar.bz2 - ${CMAKE_BINARY_DIR}/onnxruntime-win-x64-static_lib-1.18.1.tar.bz2 - /tmp/onnxruntime-win-x64-static_lib-1.18.1.tar.bz2 + $ENV{HOME}/Downloads/onnxruntime-win-x64-static_lib-1.17.1.tar.bz2 + ${CMAKE_SOURCE_DIR}/onnxruntime-win-x64-static_lib-1.17.1.tar.bz2 + ${CMAKE_BINARY_DIR}/onnxruntime-win-x64-static_lib-1.17.1.tar.bz2 + /tmp/onnxruntime-win-x64-static_lib-1.17.1.tar.bz2 ) foreach(f IN LISTS possible_file_locations) diff --git a/cmake/onnxruntime-win-x64.cmake b/cmake/onnxruntime-win-x64.cmake index 98f479fff..26f96fdb0 100644 --- a/cmake/onnxruntime-win-x64.cmake +++ b/cmake/onnxruntime-win-x64.cmake @@ -15,18 +15,18 @@ if(NOT BUILD_SHARED_LIBS) message(FATAL_ERROR "This file is for building shared libraries. BUILD_SHARED_LIBS: ${BUILD_SHARED_LIBS}") endif() -set(onnxruntime_URL "https://github.com/microsoft/onnxruntime/releases/download/v1.18.1/onnxruntime-win-x64-1.18.1.zip") -set(onnxruntime_URL2 "https://hub.nuaa.cf/microsoft/onnxruntime/releases/download/v1.18.1/onnxruntime-win-x64-1.18.1.zip") -set(onnxruntime_HASH "SHA256=53fb7226fe3cf16001afd1eae79e35f891a20e80bd686185d62ea878e6f9b1a6") +set(onnxruntime_URL "https://github.com/microsoft/onnxruntime/releases/download/v1.17.1/onnxruntime-win-x64-1.17.1.zip") +set(onnxruntime_URL2 "https://hub.nuaa.cf/microsoft/onnxruntime/releases/download/v1.17.1/onnxruntime-win-x64-1.17.1.zip") +set(onnxruntime_HASH "SHA256=4802af9598db02153d7da39432a48823ff69b2fb4b59155461937f20782aa91c") # If you don't have access to the Internet, # please download onnxruntime to one of the following locations. # You can add more if you want. set(possible_file_locations - $ENV{HOME}/Downloads/onnxruntime-win-x64-1.18.1.zip - ${CMAKE_SOURCE_DIR}/onnxruntime-win-x64-1.18.1.zip - ${CMAKE_BINARY_DIR}/onnxruntime-win-x64-1.18.1.zip - /tmp/onnxruntime-win-x64-1.18.1.zip + $ENV{HOME}/Downloads/onnxruntime-win-x64-1.17.1.zip + ${CMAKE_SOURCE_DIR}/onnxruntime-win-x64-1.17.1.zip + ${CMAKE_BINARY_DIR}/onnxruntime-win-x64-1.17.1.zip + /tmp/onnxruntime-win-x64-1.17.1.zip ) foreach(f IN LISTS possible_file_locations) diff --git a/cmake/onnxruntime-win-x86-static-debug.cmake b/cmake/onnxruntime-win-x86-static-debug.cmake index aa3afab1a..a8d6858c6 100644 --- a/cmake/onnxruntime-win-x86-static-debug.cmake +++ b/cmake/onnxruntime-win-x86-static-debug.cmake @@ -16,14 +16,14 @@ if(BUILD_SHARED_LIBS) endif() -set(onnxruntime_URL "https://github.com/csukuangfj/onnxruntime-libs/releases/download/v1.18.1/onnxruntime-win-x86-static_lib-${CMAKE_BUILD_TYPE}-1.18.1.tar.bz2") -set(onnxruntime_URL2 "https://hub.nuaa.cf/csukuangfj/onnxruntime-libs/releases/download/v1.18.1/onnxruntime-win-x86-static_lib-${CMAKE_BUILD_TYPE}-1.18.1.tar.bz2") +set(onnxruntime_URL "https://github.com/csukuangfj/onnxruntime-libs/releases/download/v1.17.1/onnxruntime-win-x86-static_lib-${CMAKE_BUILD_TYPE}-1.17.1.tar.bz2") +set(onnxruntime_URL2 "https://hub.nuaa.cf/csukuangfj/onnxruntime-libs/releases/download/v1.17.1/onnxruntime-win-x86-static_lib-${CMAKE_BUILD_TYPE}-1.17.1.tar.bz2") if(CMAKE_BUILD_TYPE STREQUAL Debug) - set(onnxruntime_HASH "SHA256=01effde934592688ceb5b041c167ed3ace833e6b9c47ad4929fa8cb639093144") + set(onnxruntime_HASH "SHA256=b08b223fe09a5640472eec487ff42e4df6bf726e8aba9de40f443a1fabea3334") elseif(CMAKE_BUILD_TYPE STREQUAL RelWithDebInfo) - set(onnxruntime_HASH "SHA256=f6e21f048bede7f939e94225eb3191332119d271f96b8d9c1667209295e7f22b") + set(onnxruntime_HASH "SHA256=215c68d4cf07fab47434059544f4b3e1885bb68149fc7ce5b78a9feb08cf6baa") elseif(CMAKE_BUILD_TYPE STREQUAL MinSizeRel) - set(onnxruntime_HASH "SHA256=f0c6c7ffe4af9a83642c4f77c86e46a42d85ad4fa2d2e599448598e008eadc41") + set(onnxruntime_HASH "SHA256=af6ff6f6a7ca6fb9f037bdd1cbd9b973921d069f7fce69833627ce04674bf579") else() message(FATAL_ERROR "This file is for building a debug version on Windows x86. Given ${CMAKE_BUILD_TYPE}") endif() @@ -32,10 +32,10 @@ endif() # please download onnxruntime to one of the following locations. # You can add more if you want. set(possible_file_locations - $ENV{HOME}/Downloads/onnxruntime-win-x86-static_lib-${CMAKE_BUILD_TYPE}-1.18.1.tar.bz2 - ${CMAKE_SOURCE_DIR}/onnxruntime-win-x86-static_lib-${CMAKE_BUILD_TYPE}-1.18.1.tar.bz2 - ${CMAKE_BINARY_DIR}/onnxruntime-win-x86-static_lib-${CMAKE_BUILD_TYPE}-1.18.1.tar.bz2 - /tmp/onnxruntime-win-x86-static_lib-${CMAKE_BUILD_TYPE}-1.18.1.tar.bz2 + $ENV{HOME}/Downloads/onnxruntime-win-x86-static_lib-${CMAKE_BUILD_TYPE}-1.17.1.tar.bz2 + ${CMAKE_SOURCE_DIR}/onnxruntime-win-x86-static_lib-${CMAKE_BUILD_TYPE}-1.17.1.tar.bz2 + ${CMAKE_BINARY_DIR}/onnxruntime-win-x86-static_lib-${CMAKE_BUILD_TYPE}-1.17.1.tar.bz2 + /tmp/onnxruntime-win-x86-static_lib-${CMAKE_BUILD_TYPE}-1.17.1.tar.bz2 ) foreach(f IN LISTS possible_file_locations) diff --git a/cmake/onnxruntime-win-x86-static.cmake b/cmake/onnxruntime-win-x86-static.cmake index 72d0e67c6..7e291a616 100644 --- a/cmake/onnxruntime-win-x86-static.cmake +++ b/cmake/onnxruntime-win-x86-static.cmake @@ -19,18 +19,18 @@ if(NOT CMAKE_BUILD_TYPE STREQUAL Release) message(FATAL_ERROR "This file is for building a release version on Windows x86") endif() -set(onnxruntime_URL "https://github.com/csukuangfj/onnxruntime-libs/releases/download/v1.18.1/onnxruntime-win-x86-static_lib-1.18.1.tar.bz2") -set(onnxruntime_URL2 "https://hub.nuaa.cf/csukuangfj/onnxruntime-libs/releases/download/v1.18.1/onnxruntime-win-x86-static_lib-1.18.1.tar.bz2") -set(onnxruntime_HASH "SHA256=ee46b46079a5cc577177a2620e9b93a9ef7fdf3b3018eca6600f697157485a8a") +set(onnxruntime_URL "https://github.com/csukuangfj/onnxruntime-libs/releases/download/v1.17.1/onnxruntime-win-x86-static_lib-1.17.1.tar.bz2") +set(onnxruntime_URL2 "https://hub.nuaa.cf/csukuangfj/onnxruntime-libs/releases/download/v1.17.1/onnxruntime-win-x86-static_lib-1.17.1.tar.bz2") +set(onnxruntime_HASH "SHA256=52375d3fabc7b437c955a664bfeb9cb7a6391f5219c4b7d3b87ff690416d4b9e") # If you don't have access to the Internet, # please download onnxruntime to one of the following locations. # You can add more if you want. set(possible_file_locations - $ENV{HOME}/Downloads/onnxruntime-win-x86-static_lib-1.18.1.tar.bz2 - ${CMAKE_SOURCE_DIR}/onnxruntime-win-x86-static_lib-1.18.1.tar.bz2 - ${CMAKE_BINARY_DIR}/onnxruntime-win-x86-static_lib-1.18.1.tar.bz2 - /tmp/onnxruntime-win-x86-static_lib-1.18.1.tar.bz2 + $ENV{HOME}/Downloads/onnxruntime-win-x86-static_lib-1.17.1.tar.bz2 + ${CMAKE_SOURCE_DIR}/onnxruntime-win-x86-static_lib-1.17.1.tar.bz2 + ${CMAKE_BINARY_DIR}/onnxruntime-win-x86-static_lib-1.17.1.tar.bz2 + /tmp/onnxruntime-win-x86-static_lib-1.17.1.tar.bz2 ) foreach(f IN LISTS possible_file_locations) diff --git a/cmake/onnxruntime-win-x86.cmake b/cmake/onnxruntime-win-x86.cmake index 98e348f25..99ed71653 100644 --- a/cmake/onnxruntime-win-x86.cmake +++ b/cmake/onnxruntime-win-x86.cmake @@ -15,18 +15,18 @@ if(NOT BUILD_SHARED_LIBS) message(FATAL_ERROR "This file is for building shared libraries. BUILD_SHARED_LIBS: ${BUILD_SHARED_LIBS}") endif() -set(onnxruntime_URL "https://github.com/microsoft/onnxruntime/releases/download/v1.18.1/onnxruntime-win-x86-1.18.1.zip") -set(onnxruntime_URL2 "https://hub.nuaa.cf/microsoft/onnxruntime/releases/download/v1.18.1/onnxruntime-win-x86-1.18.1.zip") -set(onnxruntime_HASH "SHA256=9e05fb69de8f324a11e869fd391f8c56919fd9d4b353a0acd9ffffcf4f8b4872") +set(onnxruntime_URL "https://github.com/microsoft/onnxruntime/releases/download/v1.17.1/onnxruntime-win-x86-1.17.1.zip") +set(onnxruntime_URL2 "https://hub.nuaa.cf/microsoft/onnxruntime/releases/download/v1.17.1/onnxruntime-win-x86-1.17.1.zip") +set(onnxruntime_HASH "SHA256=9404130825474bd36b2538ed925d6b5f2cf1fb6a443f3e125054ae3470019291") # If you don't have access to the Internet, # please download onnxruntime to one of the following locations. # You can add more if you want. set(possible_file_locations - $ENV{HOME}/Downloads/onnxruntime-win-x86-1.18.1.zip - ${CMAKE_SOURCE_DIR}/onnxruntime-win-x86-1.18.1.zip - ${CMAKE_BINARY_DIR}/onnxruntime-win-x86-1.18.1.zip - /tmp/onnxruntime-win-x86-1.18.1.zip + $ENV{HOME}/Downloads/onnxruntime-win-x86-1.17.1.zip + ${CMAKE_SOURCE_DIR}/onnxruntime-win-x86-1.17.1.zip + ${CMAKE_BINARY_DIR}/onnxruntime-win-x86-1.17.1.zip + /tmp/onnxruntime-win-x86-1.17.1.zip ) foreach(f IN LISTS possible_file_locations) diff --git a/dart-api-examples/non-streaming-asr/pubspec.yaml b/dart-api-examples/non-streaming-asr/pubspec.yaml index 81476e150..277c3445e 100644 --- a/dart-api-examples/non-streaming-asr/pubspec.yaml +++ b/dart-api-examples/non-streaming-asr/pubspec.yaml @@ -10,7 +10,7 @@ environment: # Add regular dependencies here. dependencies: - sherpa_onnx: ^1.10.14 + sherpa_onnx: ^1.10.15 path: ^1.9.0 args: ^2.5.0 diff --git a/dart-api-examples/streaming-asr/pubspec.yaml b/dart-api-examples/streaming-asr/pubspec.yaml index cf9be993f..eca97389f 100644 --- a/dart-api-examples/streaming-asr/pubspec.yaml +++ b/dart-api-examples/streaming-asr/pubspec.yaml @@ -11,7 +11,7 @@ environment: # Add regular dependencies here. dependencies: - sherpa_onnx: ^1.10.14 + sherpa_onnx: ^1.10.15 path: ^1.9.0 args: ^2.5.0 diff --git a/dart-api-examples/tts/pubspec.yaml b/dart-api-examples/tts/pubspec.yaml index cde8ede5b..b7bb3c285 100644 --- a/dart-api-examples/tts/pubspec.yaml +++ b/dart-api-examples/tts/pubspec.yaml @@ -8,7 +8,7 @@ environment: # Add regular dependencies here. dependencies: - sherpa_onnx: ^1.10.14 + sherpa_onnx: ^1.10.15 path: ^1.9.0 args: ^2.5.0 diff --git a/dart-api-examples/vad/pubspec.yaml b/dart-api-examples/vad/pubspec.yaml index 4bf5a3344..1249bf3f2 100644 --- a/dart-api-examples/vad/pubspec.yaml +++ b/dart-api-examples/vad/pubspec.yaml @@ -9,7 +9,7 @@ environment: sdk: ^3.4.0 dependencies: - sherpa_onnx: ^1.10.14 + sherpa_onnx: ^1.10.15 path: ^1.9.0 args: ^2.5.0 diff --git a/flutter-examples/streaming_asr/pubspec.yaml b/flutter-examples/streaming_asr/pubspec.yaml index 596c40b72..43593e97d 100644 --- a/flutter-examples/streaming_asr/pubspec.yaml +++ b/flutter-examples/streaming_asr/pubspec.yaml @@ -30,7 +30,7 @@ dependencies: record: ^5.1.0 url_launcher: ^6.2.6 - sherpa_onnx: ^1.10.14 + sherpa_onnx: ^1.10.15 # sherpa_onnx: # path: ../../flutter/sherpa_onnx diff --git a/flutter-examples/tts/pubspec.yaml b/flutter-examples/tts/pubspec.yaml index 4ddaafd6e..d19918ae5 100644 --- a/flutter-examples/tts/pubspec.yaml +++ b/flutter-examples/tts/pubspec.yaml @@ -17,7 +17,7 @@ dependencies: cupertino_icons: ^1.0.6 path_provider: ^2.1.3 path: ^1.9.0 - sherpa_onnx: ^1.10.14 + sherpa_onnx: ^1.10.15 url_launcher: ^6.2.6 audioplayers: ^5.0.0 diff --git a/flutter/sherpa_onnx/pubspec.yaml b/flutter/sherpa_onnx/pubspec.yaml index c6d15992f..543635fba 100644 --- a/flutter/sherpa_onnx/pubspec.yaml +++ b/flutter/sherpa_onnx/pubspec.yaml @@ -17,7 +17,7 @@ topics: - voice-activity-detection # remember to change the version in ../sherpa_onnx_macos/macos/sherpa_onnx_macos.podspec -version: 1.10.14 +version: 1.10.15 homepage: https://github.com/k2-fsa/sherpa-onnx @@ -30,19 +30,19 @@ dependencies: flutter: sdk: flutter - sherpa_onnx_android: ^1.10.14 + sherpa_onnx_android: ^1.10.15 # path: ../sherpa_onnx_android - sherpa_onnx_macos: ^1.10.14 + sherpa_onnx_macos: ^1.10.15 # path: ../sherpa_onnx_macos - sherpa_onnx_linux: ^1.10.14 + sherpa_onnx_linux: ^1.10.15 # path: ../sherpa_onnx_linux # - sherpa_onnx_windows: ^1.10.14 + sherpa_onnx_windows: ^1.10.15 # path: ../sherpa_onnx_windows - sherpa_onnx_ios: ^1.10.14 + sherpa_onnx_ios: ^1.10.15 # sherpa_onnx_ios: # path: ../sherpa_onnx_ios diff --git a/flutter/sherpa_onnx_ios/ios/sherpa_onnx_ios.podspec b/flutter/sherpa_onnx_ios/ios/sherpa_onnx_ios.podspec index 2527ff042..4ef367f57 100644 --- a/flutter/sherpa_onnx_ios/ios/sherpa_onnx_ios.podspec +++ b/flutter/sherpa_onnx_ios/ios/sherpa_onnx_ios.podspec @@ -7,7 +7,7 @@ # https://groups.google.com/g/dart-ffi/c/nUATMBy7r0c Pod::Spec.new do |s| s.name = 'sherpa_onnx_ios' - s.version = '1.10.14' + s.version = '1.10.15' s.summary = 'A new Flutter FFI plugin project.' s.description = <<-DESC A new Flutter FFI plugin project. diff --git a/flutter/sherpa_onnx_macos/macos/sherpa_onnx_macos.podspec b/flutter/sherpa_onnx_macos/macos/sherpa_onnx_macos.podspec index 60bbdc791..70069a655 100644 --- a/flutter/sherpa_onnx_macos/macos/sherpa_onnx_macos.podspec +++ b/flutter/sherpa_onnx_macos/macos/sherpa_onnx_macos.podspec @@ -4,7 +4,7 @@ # Pod::Spec.new do |s| s.name = 'sherpa_onnx_macos' - s.version = '1.10.14' + s.version = '1.10.15' s.summary = 'sherpa-onnx Flutter FFI plugin project.' s.description = <<-DESC sherpa-onnx Flutter FFI plugin project. diff --git a/ios-swift/SherpaOnnx/SherpaOnnx.xcodeproj/project.pbxproj b/ios-swift/SherpaOnnx/SherpaOnnx.xcodeproj/project.pbxproj index 84cfed06e..224227e8d 100644 --- a/ios-swift/SherpaOnnx/SherpaOnnx.xcodeproj/project.pbxproj +++ b/ios-swift/SherpaOnnx/SherpaOnnx.xcodeproj/project.pbxproj @@ -57,7 +57,7 @@ C984A82729AA196100D74C52 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Main.storyboard; sourceTree = ""; }; C984A82929AA19AC00D74C52 /* Model.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Model.swift; sourceTree = ""; }; C984A83B29AA430B00D74C52 /* ViewController.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = ViewController.swift; sourceTree = ""; }; - C9AC22162BB50165008B65E2 /* onnxruntime.xcframework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.xcframework; name = onnxruntime.xcframework; path = "../../build-ios/ios-onnxruntime/1.18.1/onnxruntime.xcframework"; sourceTree = ""; }; + C9AC22162BB50165008B65E2 /* onnxruntime.xcframework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.xcframework; name = onnxruntime.xcframework; path = "../../build-ios/ios-onnxruntime/1.17.1/onnxruntime.xcframework"; sourceTree = ""; }; /* End PBXFileReference section */ /* Begin PBXFrameworksBuildPhase section */ diff --git a/ios-swiftui/SherpaOnnx2Pass/SherpaOnnx2Pass.xcodeproj/project.pbxproj b/ios-swiftui/SherpaOnnx2Pass/SherpaOnnx2Pass.xcodeproj/project.pbxproj index 2e28dec0e..25ee4bc55 100644 --- a/ios-swiftui/SherpaOnnx2Pass/SherpaOnnx2Pass.xcodeproj/project.pbxproj +++ b/ios-swiftui/SherpaOnnx2Pass/SherpaOnnx2Pass.xcodeproj/project.pbxproj @@ -32,7 +32,7 @@ C9A2588D2AAF039D00E555CA /* Extension.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Extension.swift; sourceTree = ""; }; C9A258922AAF057E00E555CA /* SherpaOnnx.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; name = SherpaOnnx.swift; path = "../../../swift-api-examples/SherpaOnnx.swift"; sourceTree = ""; }; C9A258952AAF05D100E555CA /* sherpa-onnx.xcframework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.xcframework; name = "sherpa-onnx.xcframework"; path = "../../build-ios/sherpa-onnx.xcframework"; sourceTree = ""; }; - C9A258972AAF05E400E555CA /* onnxruntime.xcframework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.xcframework; name = onnxruntime.xcframework; path = "../../build-ios/ios-onnxruntime/1.18.1/onnxruntime.xcframework"; sourceTree = ""; }; + C9A258972AAF05E400E555CA /* onnxruntime.xcframework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.xcframework; name = onnxruntime.xcframework; path = "../../build-ios/ios-onnxruntime/1.17.1/onnxruntime.xcframework"; sourceTree = ""; }; /* End PBXFileReference section */ /* Begin PBXFrameworksBuildPhase section */ diff --git a/ios-swiftui/SherpaOnnxLangID/SherpaOnnxLangID.xcodeproj/project.pbxproj b/ios-swiftui/SherpaOnnxLangID/SherpaOnnxLangID.xcodeproj/project.pbxproj index fa76c93b3..d5e7388dd 100644 --- a/ios-swiftui/SherpaOnnxLangID/SherpaOnnxLangID.xcodeproj/project.pbxproj +++ b/ios-swiftui/SherpaOnnxLangID/SherpaOnnxLangID.xcodeproj/project.pbxproj @@ -74,7 +74,7 @@ DEBB2DA22BBAAAE700864EF5 /* Model.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; name = Model.swift; path = ../../SherpaOnnx/SherpaOnnx/Model.swift; sourceTree = ""; }; DEBB2DA42BBAAAFD00864EF5 /* ViewModel.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ViewModel.swift; sourceTree = ""; }; DEBB2DA72BBAAC4D00864EF5 /* sherpa-onnx.xcframework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.xcframework; name = "sherpa-onnx.xcframework"; path = "../../build-ios/sherpa-onnx.xcframework"; sourceTree = ""; }; - DEBB2DAB2BBAAC6200864EF5 /* onnxruntime.xcframework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.xcframework; name = onnxruntime.xcframework; path = "../../build-ios/ios-onnxruntime/1.18.1/onnxruntime.xcframework"; sourceTree = ""; }; + DEBB2DAB2BBAAC6200864EF5 /* onnxruntime.xcframework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.xcframework; name = onnxruntime.xcframework; path = "../../build-ios/ios-onnxruntime/1.17.1/onnxruntime.xcframework"; sourceTree = ""; }; DEBB2DB12BBAAD0000864EF5 /* SherpaOnnx.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; name = SherpaOnnx.swift; path = "../../../swift-api-examples/SherpaOnnx.swift"; sourceTree = ""; }; /* End PBXFileReference section */ diff --git a/ios-swiftui/SherpaOnnxSubtitle/SherpaOnnxSubtitle.xcodeproj/project.pbxproj b/ios-swiftui/SherpaOnnxSubtitle/SherpaOnnxSubtitle.xcodeproj/project.pbxproj index 5fc2ee3cf..2f430f1f0 100644 --- a/ios-swiftui/SherpaOnnxSubtitle/SherpaOnnxSubtitle.xcodeproj/project.pbxproj +++ b/ios-swiftui/SherpaOnnxSubtitle/SherpaOnnxSubtitle.xcodeproj/project.pbxproj @@ -32,7 +32,7 @@ DE081AAE2ABFF35400E8CD63 /* UTType.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = UTType.swift; sourceTree = ""; }; DE081AB02ABFFEEE00E8CD63 /* Document.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Document.swift; sourceTree = ""; }; DE081AB22ABFFF2600E8CD63 /* Errors.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Errors.swift; sourceTree = ""; }; - DE8C85A52ABF23E100F667E3 /* onnxruntime.xcframework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.xcframework; name = onnxruntime.xcframework; path = "../../build-ios/ios-onnxruntime/1.18.1/onnxruntime.xcframework"; sourceTree = ""; }; + DE8C85A52ABF23E100F667E3 /* onnxruntime.xcframework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.xcframework; name = onnxruntime.xcframework; path = "../../build-ios/ios-onnxruntime/1.17.1/onnxruntime.xcframework"; sourceTree = ""; }; DE8C85A92ABF23FA00F667E3 /* sherpa-onnx.xcframework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.xcframework; name = "sherpa-onnx.xcframework"; path = "../../build-ios/sherpa-onnx.xcframework"; sourceTree = ""; }; DE8C85B12ABF257200F667E3 /* SpeechSegment.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = SpeechSegment.swift; sourceTree = ""; }; DEA657112ABF19730066A81D /* SherpaOnnxSubtitle.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = SherpaOnnxSubtitle.app; sourceTree = BUILT_PRODUCTS_DIR; }; diff --git a/ios-swiftui/SherpaOnnxTts/SherpaOnnxTts.xcodeproj/project.pbxproj b/ios-swiftui/SherpaOnnxTts/SherpaOnnxTts.xcodeproj/project.pbxproj index e2b0774f6..e9ea2c213 100644 --- a/ios-swiftui/SherpaOnnxTts/SherpaOnnxTts.xcodeproj/project.pbxproj +++ b/ios-swiftui/SherpaOnnxTts/SherpaOnnxTts.xcodeproj/project.pbxproj @@ -26,7 +26,7 @@ C9FE9FE42B0F33CD009F1003 /* ViewModel.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ViewModel.swift; sourceTree = ""; }; C9FE9FE62B0F3620009F1003 /* SherpaOnnx.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; name = SherpaOnnx.swift; path = "../../../swift-api-examples/SherpaOnnx.swift"; sourceTree = ""; }; C9FE9FE92B0F3754009F1003 /* sherpa-onnx.xcframework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.xcframework; name = "sherpa-onnx.xcframework"; path = "../../build-ios/sherpa-onnx.xcframework"; sourceTree = ""; }; - C9FE9FEB2B0F3785009F1003 /* onnxruntime.xcframework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.xcframework; name = onnxruntime.xcframework; path = "../../build-ios/ios-onnxruntime/1.18.1/onnxruntime.xcframework"; sourceTree = ""; }; + C9FE9FEB2B0F3785009F1003 /* onnxruntime.xcframework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.xcframework; name = onnxruntime.xcframework; path = "../../build-ios/ios-onnxruntime/1.17.1/onnxruntime.xcframework"; sourceTree = ""; }; /* End PBXFileReference section */ /* Begin PBXFrameworksBuildPhase section */ diff --git a/nodejs-addon-examples/package.json b/nodejs-addon-examples/package.json index 3877faf5e..9c449c083 100644 --- a/nodejs-addon-examples/package.json +++ b/nodejs-addon-examples/package.json @@ -1,5 +1,5 @@ { "dependencies": { - "sherpa-onnx-node": "^1.10.14" + "sherpa-onnx-node": "^1.10.15" } } diff --git a/scripts/dart/sherpa-onnx-pubspec.yaml b/scripts/dart/sherpa-onnx-pubspec.yaml index 73ff2f14a..0633680bc 100644 --- a/scripts/dart/sherpa-onnx-pubspec.yaml +++ b/scripts/dart/sherpa-onnx-pubspec.yaml @@ -17,7 +17,7 @@ topics: - voice-activity-detection # remember to change the version in ../sherpa_onnx_macos/macos/sherpa_onnx.podspec -version: 1.10.14 +version: 1.10.15 homepage: https://github.com/k2-fsa/sherpa-onnx diff --git a/scripts/dotnet/generate.py b/scripts/dotnet/generate.py index b1df0e3f9..a423fd240 100755 --- a/scripts/dotnet/generate.py +++ b/scripts/dotnet/generate.py @@ -56,7 +56,7 @@ def process_linux(s, rid): def process_macos(s, rid): libs = [ - "libonnxruntime.1.18.1.dylib", + "libonnxruntime.1.17.1.dylib", "libsherpa-onnx-c-api.dylib", ] prefix = f"{src_dir}/macos-{rid}/" diff --git a/scripts/go/release.sh b/scripts/go/release.sh index 1d1c31cda..f09ede5f5 100755 --- a/scripts/go/release.sh +++ b/scripts/go/release.sh @@ -90,7 +90,7 @@ function osx() { cp -v sherpa_onnx/lib/*.dylib $dst/ pushd $dst - cp -v libonnxruntime.1.18.1.dylib libonnxruntime.dylib + cp -v libonnxruntime.1.17.1.dylib libonnxruntime.dylib popd cd .. @@ -108,7 +108,7 @@ function osx() { cp -v sherpa_onnx/lib/*.dylib $dst/ pushd $dst - cp -v libonnxruntime.1.18.1.dylib libonnxruntime.dylib + cp -v libonnxruntime.1.17.1.dylib libonnxruntime.dylib popd cd ..