From b7939cd8c0107d95fb30c85d4eec6f4d2c13ab46 Mon Sep 17 00:00:00 2001 From: Andrew A Date: Wed, 14 Jun 2023 21:59:16 +0300 Subject: [PATCH] Added unofficial version of onnxruntime for macs on arm chips; Included fixes: memory leak, build on arm. --- build-macos.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/build-macos.sh b/build-macos.sh index 7f06c1e..c830234 100755 --- a/build-macos.sh +++ b/build-macos.sh @@ -2,14 +2,14 @@ echo "building for $(python --version)" -version_tag="v1.15.0" +version_tag="v1.14.2" onnxruntime_dir="onnxruntime" # cleanup rm -rf $onnxruntime_dir # download -git clone --recurse-submodules --shallow-submodules --depth 1 --branch $version_tag https://github.com/microsoft/onnxruntime.git $onnxruntime_dir +git clone https://github.com/verback2308/onnxruntime.git --recurse-submodules --shallow-submodules --depth 1 --branch rel-1.14.2 $onnxruntime_dir root_dir=$(pwd) dist_dir="$root_dir/dist"