Skip to content

Commit

Permalink
Merge pull request #15 from asus4/onnxruntime-0.7.1
Browse files Browse the repository at this point in the history
Upgrade ONNX Runtime and Extensions version
  • Loading branch information
asus4 authored Mar 12, 2024
2 parents 468a3eb + ca23371 commit bd27d2e
Show file tree
Hide file tree
Showing 13 changed files with 46 additions and 47 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/publish-packages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ on:
types: [published]
workflow_dispatch:
env:
ORT_VERSION: 1.17.0
ORT_EXTENSIONS_VERSION: 0.9.0
ORT_VERSION: 1.17.1
ORT_EXTENSIONS_VERSION: 0.10.0
# Dry-run on workflow_dispatch
NPM_OPTS: ${{ github.event_name == 'workflow_dispatch' && '--dry-run' || '' }}
jobs:
Expand Down
19 changes: 9 additions & 10 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,20 +8,19 @@ Pre-built ONNX Runtime libraries for Unity.

[https://github.com/asus4/onnxruntime-unity-examples](https://github.com/asus4/onnxruntime-unity-examples)

Yolox
Yolox

<https://github.com/asus4/onnxruntime-unity-examples/assets/357497/96ed9913-41b7-401d-a634-f0e2de4fc3c7>

NanoSAM

<https://github.com/asus4/onnxruntime-unity-examples/assets/357497/5e2b8712-87cc-4a3a-82b7-f217087a0ed1>


## Tested environment

- Unity: 2022.3.16f1 (LTS)
- ONNX Runtime: [1.17.0](https://github.com/microsoft/onnxruntime/releases/tag/v1.17.0)
- ONNX Runtime Extensions: [0.9.0](https://github.com/microsoft/onnxruntime-extensions/releases/tag/v0.9.0)
- Unity: 2022.3.19f1 (LTS)
- ONNX Runtime: [1.17.1](https://github.com/microsoft/onnxruntime/releases/tag/v1.17.1)
- ONNX Runtime Extensions: [0.10.0](https://github.com/microsoft/onnxruntime-extensions/releases/tag/v0.10.0)

### Execution Providers & Extensions

Expand Down Expand Up @@ -67,11 +66,11 @@ Pre-built libraries are available on [NPM](https://www.npmjs.com/package/com.git
}
]
"dependencies": {
"com.github.asus4.onnxruntime": "0.1.12",
"com.github.asus4.onnxruntime.unity": "0.1.12",
"com.github.asus4.onnxruntime.win-x64-gpu": "0.1.12",
"com.github.asus4.onnxruntime.linux-x64-gpu": "0.1.12",
"com.github.asus4.onnxruntime-extensions": "0.1.12",
"com.github.asus4.onnxruntime": "0.1.13",
"com.github.asus4.onnxruntime.unity": "0.1.13",
"com.github.asus4.onnxruntime.win-x64-gpu": "0.1.13",
"com.github.asus4.onnxruntime.linux-x64-gpu": "0.1.13",
"com.github.asus4.onnxruntime-extensions": "0.1.13",
... other dependencies
}
```
Expand Down
10 changes: 5 additions & 5 deletions com.github.asus4.onnxruntime-extensions/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -60,11 +60,11 @@ Pre-built libraries are available on [NPM](https://www.npmjs.com/package/com.git
}
]
"dependencies": {
"com.github.asus4.onnxruntime": "0.1.12",
"com.github.asus4.onnxruntime.unity": "0.1.12",
"com.github.asus4.onnxruntime.win-x64-gpu": "0.1.12",
"com.github.asus4.onnxruntime.linux-x64-gpu": "0.1.12",
"com.github.asus4.onnxruntime.extensions": "0.1.12",
"com.github.asus4.onnxruntime": "0.1.13",
"com.github.asus4.onnxruntime.unity": "0.1.13",
"com.github.asus4.onnxruntime.win-x64-gpu": "0.1.13",
"com.github.asus4.onnxruntime.linux-x64-gpu": "0.1.13",
"com.github.asus4.onnxruntime.extensions": "0.1.13",
... other dependencies
}
```
Expand Down
4 changes: 2 additions & 2 deletions com.github.asus4.onnxruntime-extensions/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "com.github.asus4.onnxruntime-extensions",
"version": "0.1.12",
"version": "0.1.13",
"displayName": "ONNX Runtime Extensions",
"description": "ONNX Runtime Extensions for Unity",
"keywords": [
Expand All @@ -10,7 +10,7 @@
"unity": "2022.3",
"unityRelease": "0f1",
"dependencies": {
"com.github.asus4.onnxruntime": "0.1.12"
"com.github.asus4.onnxruntime": "0.1.13"
},
"repository": {
"type": "git",
Expand Down
10 changes: 5 additions & 5 deletions com.github.asus4.onnxruntime.linux-x64-gpu/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -60,11 +60,11 @@ Pre-built libraries are available on [NPM](https://www.npmjs.com/package/com.git
}
]
"dependencies": {
"com.github.asus4.onnxruntime": "0.1.12",
"com.github.asus4.onnxruntime.unity": "0.1.12",
"com.github.asus4.onnxruntime.win-x64-gpu": "0.1.12",
"com.github.asus4.onnxruntime.linux-x64-gpu": "0.1.12",
"com.github.asus4.onnxruntime.extensions": "0.1.12",
"com.github.asus4.onnxruntime": "0.1.13",
"com.github.asus4.onnxruntime.unity": "0.1.13",
"com.github.asus4.onnxruntime.win-x64-gpu": "0.1.13",
"com.github.asus4.onnxruntime.linux-x64-gpu": "0.1.13",
"com.github.asus4.onnxruntime.extensions": "0.1.13",
... other dependencies
}
```
Expand Down
4 changes: 2 additions & 2 deletions com.github.asus4.onnxruntime.linux-x64-gpu/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "com.github.asus4.onnxruntime.linux-x64-gpu",
"version": "0.1.12",
"version": "0.1.13",
"displayName": "ONNX Runtime - Linux x64 GPU",
"description": "ONNX Runtime for Unity - Linux x64 GPU Provider",
"keywords": [
Expand All @@ -10,7 +10,7 @@
"unity": "2022.3",
"unityRelease": "0f1",
"dependencies": {
"com.github.asus4.onnxruntime": "0.1.12"
"com.github.asus4.onnxruntime": "0.1.13"
},
"repository": {
"type": "git",
Expand Down
10 changes: 5 additions & 5 deletions com.github.asus4.onnxruntime.unity/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -60,11 +60,11 @@ Pre-built libraries are available on [NPM](https://www.npmjs.com/package/com.git
}
]
"dependencies": {
"com.github.asus4.onnxruntime": "0.1.12",
"com.github.asus4.onnxruntime.unity": "0.1.12",
"com.github.asus4.onnxruntime.win-x64-gpu": "0.1.12",
"com.github.asus4.onnxruntime.linux-x64-gpu": "0.1.12",
"com.github.asus4.onnxruntime.extensions": "0.1.12",
"com.github.asus4.onnxruntime": "0.1.13",
"com.github.asus4.onnxruntime.unity": "0.1.13",
"com.github.asus4.onnxruntime.win-x64-gpu": "0.1.13",
"com.github.asus4.onnxruntime.linux-x64-gpu": "0.1.13",
"com.github.asus4.onnxruntime.extensions": "0.1.13",
... other dependencies
}
```
Expand Down
4 changes: 2 additions & 2 deletions com.github.asus4.onnxruntime.unity/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "com.github.asus4.onnxruntime.unity",
"version": "0.1.12",
"version": "0.1.13",
"displayName": "ONNX Runtime Unity Utilities",
"description": "ONNX Runtime Utilities for Unity",
"keywords": [
Expand All @@ -10,7 +10,7 @@
"unity": "2022.3",
"unityRelease": "0f1",
"dependencies": {
"com.github.asus4.onnxruntime": "0.1.12"
"com.github.asus4.onnxruntime": "0.1.13"
},
"repository": {
"type": "git",
Expand Down
10 changes: 5 additions & 5 deletions com.github.asus4.onnxruntime.win-x64-gpu/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -60,11 +60,11 @@ Pre-built libraries are available on [NPM](https://www.npmjs.com/package/com.git
}
]
"dependencies": {
"com.github.asus4.onnxruntime": "0.1.12",
"com.github.asus4.onnxruntime.unity": "0.1.12",
"com.github.asus4.onnxruntime.win-x64-gpu": "0.1.12",
"com.github.asus4.onnxruntime.linux-x64-gpu": "0.1.12",
"com.github.asus4.onnxruntime.extensions": "0.1.12",
"com.github.asus4.onnxruntime": "0.1.13",
"com.github.asus4.onnxruntime.unity": "0.1.13",
"com.github.asus4.onnxruntime.win-x64-gpu": "0.1.13",
"com.github.asus4.onnxruntime.linux-x64-gpu": "0.1.13",
"com.github.asus4.onnxruntime.extensions": "0.1.13",
... other dependencies
}
```
Expand Down
4 changes: 2 additions & 2 deletions com.github.asus4.onnxruntime.win-x64-gpu/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "com.github.asus4.onnxruntime.win-x64-gpu",
"version": "0.1.12",
"version": "0.1.13",
"displayName": "ONNX Runtime - Windows x64 GPU",
"description": "ONNX Runtime for Unity - Windows x64 GPU Provider",
"keywords": [
Expand All @@ -10,7 +10,7 @@
"unity": "2022.3",
"unityRelease": "0f1",
"dependencies": {
"com.github.asus4.onnxruntime": "0.1.12"
"com.github.asus4.onnxruntime": "0.1.13"
},
"repository": {
"type": "git",
Expand Down
10 changes: 5 additions & 5 deletions com.github.asus4.onnxruntime/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -60,11 +60,11 @@ Pre-built libraries are available on [NPM](https://www.npmjs.com/package/com.git
}
]
"dependencies": {
"com.github.asus4.onnxruntime": "0.1.12",
"com.github.asus4.onnxruntime.unity": "0.1.12",
"com.github.asus4.onnxruntime.win-x64-gpu": "0.1.12",
"com.github.asus4.onnxruntime.linux-x64-gpu": "0.1.12",
"com.github.asus4.onnxruntime.extensions": "0.1.12",
"com.github.asus4.onnxruntime": "0.1.13",
"com.github.asus4.onnxruntime.unity": "0.1.13",
"com.github.asus4.onnxruntime.win-x64-gpu": "0.1.13",
"com.github.asus4.onnxruntime.linux-x64-gpu": "0.1.13",
"com.github.asus4.onnxruntime.extensions": "0.1.13",
... other dependencies
}
```
Expand Down
2 changes: 1 addition & 1 deletion com.github.asus4.onnxruntime/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "com.github.asus4.onnxruntime",
"version": "0.1.12",
"version": "0.1.13",
"displayName": "ONNX Runtime",
"description": "ONNX Runtime Plugin for Unity",
"keywords": [
Expand Down
2 changes: 1 addition & 1 deletion scripts/download-onnx-extensions-libs.sh
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ function download_package() {

function download_github_releases() {
# TODO: consider location of build libraries
download_package $1 https://github.com/asus4/onnxruntime-unity/releases/download/v0.1.8/
download_package $1 https://github.com/asus4/onnxruntime-unity/releases/download/v0.1.12/
}

#--------------------------------------
Expand Down

0 comments on commit bd27d2e

Please sign in to comment.