Skip to content

Commit

Permalink
onnxruntime: 1.13.1
Browse files Browse the repository at this point in the history
  • Loading branch information
benjaminwan committed Oct 26, 2022
1 parent f4c53d5 commit a68b50f
Show file tree
Hide file tree
Showing 2 changed files with 33 additions and 18 deletions.
34 changes: 17 additions & 17 deletions .github/workflows/builder.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,9 @@ jobs:
python-version: [ 3.8.5 ]

env:
ONNX_VERSION: v1.12.1
SHARED_PKG_NAME: onnxruntime-1.12.1-ubuntu1804-shared
STATIC_PKG_NAME: onnxruntime-1.12.1-ubuntu1804-static
ONNX_VERSION: v1.13.1
SHARED_PKG_NAME: onnxruntime-1.13.1-ubuntu1804-shared
STATIC_PKG_NAME: onnxruntime-1.13.1-ubuntu1804-static

steps:
# 检出代码
Expand Down Expand Up @@ -78,9 +78,9 @@ jobs:
runs-on: macos-10.15

env:
ONNX_VERSION: v1.12.1
SHARED_PKG_NAME: onnxruntime-1.12.1-macos1015-shared
STATIC_PKG_NAME: onnxruntime-1.12.1-macos1015-static
ONNX_VERSION: v1.13.1
SHARED_PKG_NAME: onnxruntime-1.13.1-macos1015-shared
STATIC_PKG_NAME: onnxruntime-1.13.1-macos1015-static

steps:
# 检出代码
Expand Down Expand Up @@ -139,9 +139,9 @@ jobs:
runs-on: windows-2019

env:
ONNX_VERSION: v1.12.1
SHARED_PKG_NAME: onnxruntime-1.12.1-vs2019-shared
STATIC_PKG_NAME: onnxruntime-1.12.1-vs2019-static
ONNX_VERSION: v1.13.1
SHARED_PKG_NAME: onnxruntime-1.13.1-vs2019-shared
STATIC_PKG_NAME: onnxruntime-1.13.1-vs2019-static

steps:
# 检出代码
Expand Down Expand Up @@ -282,7 +282,7 @@ jobs:
uses: actions/upload-release-asset@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
PKG_NAME: onnxruntime-1.12.1-ubuntu1804-shared
PKG_NAME: onnxruntime-1.13.1-ubuntu1804-shared
with:
upload_url: ${{ steps.create-release.outputs.upload_url }}
asset_path: artifacts/${{ env.PKG_NAME }}/${{ env.PKG_NAME }}.7z
Expand All @@ -293,7 +293,7 @@ jobs:
uses: actions/upload-release-asset@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
PKG_NAME: onnxruntime-1.12.1-ubuntu1804-static
PKG_NAME: onnxruntime-1.13.1-ubuntu1804-static
with:
upload_url: ${{ steps.create-release.outputs.upload_url }}
asset_path: artifacts/${{ env.PKG_NAME }}/${{ env.PKG_NAME }}.7z
Expand All @@ -304,7 +304,7 @@ jobs:
uses: actions/upload-release-asset@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
PKG_NAME: onnxruntime-1.12.1-macos1015-shared
PKG_NAME: onnxruntime-1.13.1-macos1015-shared
with:
upload_url: ${{ steps.create-release.outputs.upload_url }}
asset_path: artifacts/${{ env.PKG_NAME }}/${{ env.PKG_NAME }}.7z
Expand All @@ -315,7 +315,7 @@ jobs:
uses: actions/upload-release-asset@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
PKG_NAME: onnxruntime-1.12.1-macos1015-static
PKG_NAME: onnxruntime-1.13.1-macos1015-static
with:
upload_url: ${{ steps.create-release.outputs.upload_url }}
asset_path: artifacts/${{ env.PKG_NAME }}/${{ env.PKG_NAME }}.7z
Expand All @@ -326,7 +326,7 @@ jobs:
uses: actions/upload-release-asset@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
PKG_NAME: onnxruntime-1.12.1-vs2019-shared-md
PKG_NAME: onnxruntime-1.13.1-vs2019-shared-md
with:
upload_url: ${{ steps.create-release.outputs.upload_url }}
asset_path: artifacts/${{ env.PKG_NAME }}/${{ env.PKG_NAME }}.7z
Expand All @@ -337,7 +337,7 @@ jobs:
uses: actions/upload-release-asset@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
PKG_NAME: onnxruntime-1.12.1-vs2019-static-md
PKG_NAME: onnxruntime-1.13.1-vs2019-static-md
with:
upload_url: ${{ steps.create-release.outputs.upload_url }}
asset_path: artifacts/${{ env.PKG_NAME }}/${{ env.PKG_NAME }}.7z
Expand All @@ -348,7 +348,7 @@ jobs:
uses: actions/upload-release-asset@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
PKG_NAME: onnxruntime-1.12.1-vs2019-shared-mt
PKG_NAME: onnxruntime-1.13.1-vs2019-shared-mt
with:
upload_url: ${{ steps.create-release.outputs.upload_url }}
asset_path: artifacts/${{ env.PKG_NAME }}/${{ env.PKG_NAME }}.7z
Expand All @@ -359,7 +359,7 @@ jobs:
uses: actions/upload-release-asset@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
PKG_NAME: onnxruntime-1.12.1-vs2019-static-mt
PKG_NAME: onnxruntime-1.13.1-vs2019-static-mt
with:
upload_url: ${{ steps.create-release.outputs.upload_url }}
asset_path: artifacts/${{ env.PKG_NAME }}/${{ env.PKG_NAME }}.7z
Expand Down
17 changes: 16 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,11 @@ Onnxruntime Builder
仓库的Release的包不支持GPU,仅使用CPU。

### windows版本特别说明

虽然v1.6.0支持vs2017,但是因为v1.7.0在vs2017下编译出错,所以windows环境下就仅保留了vs2019版本。

### 关于OpenMP

[官方v1.7.0版本说明](https://github.com/microsoft/onnxruntime/releases/tag/v1.7.0)

Starting from this release, all ONNX Runtime CPU packages are now built without OpenMP.
Expand All @@ -29,30 +31,43 @@ Starting from this release, all ONNX Runtime CPU packages are now built without
这是与官方Release不同的地方,敬请注意!

### 关于Windows静态链接CRT

编译选项添加--enable_msvc_static_runtime

#### 20211011

从1.9.0开始,移除OpenMP编译选项,保持与官方一致

#### 20220521

1.9.1

#### 20220523

1.10.0

#### 20220524

1.11.0

#### 20220525

1.11.1

#### 20220928

1.12.0

#### 20220929

1.12.1

#### 20221013

- windows平台,更早版本的包均为md版,从此版增加链接静态CRT版本(mt)
- 后缀md: 无
- 后缀mt: --enable_msvc_static_runtime
- 后缀mt: --enable_msvc_static_runtime

#### 20221026

1.13.1

0 comments on commit a68b50f

Please sign in to comment.