Skip to content

Commit a938dcf

Browse files
committed
升级 ONNX Runtime 到 1.21.0 修复图优化 bug
1 parent fd4c6ba commit a938dcf

3 files changed

Lines changed: 4 additions & 4 deletions

File tree

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ jobs:
2929
- name: Install onnxruntime (Linux)
3030
if: runner.os == 'Linux'
3131
run: |
32-
VERSION=1.17.1
32+
VERSION=1.21.0
3333
curl -sLO https://github.com/microsoft/onnxruntime/releases/download/v$VERSION/onnxruntime-linux-x64-$VERSION.tgz
3434
tar xzf onnxruntime-linux-x64-$VERSION.tgz
3535
echo "CGO_CFLAGS=-I$PWD/onnxruntime-linux-x64-$VERSION/include" >> $GITHUB_ENV

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ jobs:
3939
- name: Install onnxruntime (Linux)
4040
if: runner.os == 'Linux'
4141
run: |
42-
VERSION=1.17.1
42+
VERSION=1.21.0
4343
curl -sLO https://github.com/microsoft/onnxruntime/releases/download/v$VERSION/onnxruntime-linux-x64-$VERSION.tgz
4444
tar xzf onnxruntime-linux-x64-$VERSION.tgz
4545
echo "CGO_CFLAGS=-I$PWD/onnxruntime-linux-x64-$VERSION/include" >> $GITHUB_ENV

scripts/setup.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ install_onnxruntime_macos() {
6363
}
6464

6565
install_onnxruntime_linux() {
66-
VERSION="1.17.1"
66+
VERSION="1.21.0"
6767
TMPDIR=$(mktemp -d)
6868
cd "$TMPDIR"
6969
info "Downloading onnxruntime v$VERSION for Linux..."
@@ -117,7 +117,7 @@ print_manual_onnxruntime_macos() {
117117

118118
print_manual_onnxruntime_linux() {
119119
echo " Option 1 — Download onnxruntime release:"
120-
echo " VERSION=1.17.1"
120+
echo " VERSION=1.21.0"
121121
echo " curl -sLO https://github.com/microsoft/onnxruntime/releases/download/v\$VERSION/onnxruntime-linux-x64-\$VERSION.tgz"
122122
echo " tar xzf onnxruntime-linux-x64-\$VERSION.tgz"
123123
echo " sudo cp -r onnxruntime-linux-x64-\$VERSION/lib/* /usr/local/lib/"

0 commit comments

Comments
 (0)