com.github.asus4.onnxruntime.win-x64-gpu 0.1.8 → 0.1.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +80 -0
- package/README.md.meta +7 -0
- package/package.json +2 -2
package/README.md
ADDED
|
@@ -0,0 +1,80 @@
|
|
|
1
|
+
# ONNX Runtime Plugin for Unity
|
|
2
|
+
|
|
3
|
+
[](https://www.npmjs.com/package/com.github.asus4.onnxruntime)
|
|
4
|
+
|
|
5
|
+
Pre-built ONNX Runtime libraries for Unity.
|
|
6
|
+
|
|
7
|
+
## [See Examples](https://github.com/asus4/onnxruntime-unity-examples)
|
|
8
|
+
|
|
9
|
+
[https://github.com/asus4/onnxruntime-unity-examples](https://github.com/asus4/onnxruntime-unity-examples)
|
|
10
|
+
|
|
11
|
+
<https://github.com/asus4/onnxruntime-unity-examples/assets/357497/96ed9913-41b7-401d-a634-f0e2de4fc3c7>
|
|
12
|
+
|
|
13
|
+
## Tested environment
|
|
14
|
+
|
|
15
|
+
- Unity: 2022.3.16f1 (LTS)
|
|
16
|
+
- ONNX Runtime: 1.16.3
|
|
17
|
+
- ONNX Runtime Extensions: 0.9.0
|
|
18
|
+
|
|
19
|
+
### Execution Providers & Extensions
|
|
20
|
+
|
|
21
|
+
#### [Execution Providers](https://onnxruntime.ai/docs/execution-providers/)
|
|
22
|
+
|
|
23
|
+
Execution Providers are hardware acceleration libraries for each platform. See [official docs](https://onnxruntime.ai/docs/execution-providers/) for more details.
|
|
24
|
+
|
|
25
|
+
| Platform | CPU | CoreML | NNAPI | CUDA | TensorRT | DirectML | XNNPACK |
|
|
26
|
+
| --- | --- | --- | --- | --- | --- | --- | --- |
|
|
27
|
+
| macOS | :white_check_mark: | :white_check_mark: | | | | | |
|
|
28
|
+
| iOS | :white_check_mark: | :white_check_mark: | | | | | :construction: |
|
|
29
|
+
| Android | :white_check_mark: | | :white_check_mark: | | | | :construction: |
|
|
30
|
+
| Windows | :white_check_mark: | | | :construction: | :construction: | :white_check_mark: | |
|
|
31
|
+
| Linux | :white_check_mark: | | | :construction: | :construction: | | |
|
|
32
|
+
|
|
33
|
+
#### [ONNX Runtime Extensions](https://github.com/microsoft/onnxruntime-extensions)
|
|
34
|
+
|
|
35
|
+
ONNX Runtime Extensions are a set of pre/post-processing.
|
|
36
|
+
|
|
37
|
+
| Platform | Extensions |
|
|
38
|
+
| --- | --- |
|
|
39
|
+
| macOS | :construction: |
|
|
40
|
+
| iOS | :construction: |
|
|
41
|
+
| Android | :construction: |
|
|
42
|
+
| Windows | :construction: |
|
|
43
|
+
| Linux | :construction: |
|
|
44
|
+
|
|
45
|
+
:white_check_mark: : Supported in Unity Core library
|
|
46
|
+
:construction: : Experimental Preview
|
|
47
|
+
|
|
48
|
+
## How to Install
|
|
49
|
+
|
|
50
|
+
Pre-built libraries are available on [NPM](https://www.npmjs.com/package/com.github.asus4.onnxruntime). Add the following `scopedRegistries` and `dependencies` in `Packages/manifest.json`.
|
|
51
|
+
|
|
52
|
+
```json
|
|
53
|
+
"scopedRegistries": [
|
|
54
|
+
{
|
|
55
|
+
"name": "NPM",
|
|
56
|
+
"url": "https://registry.npmjs.com",
|
|
57
|
+
"scopes": [
|
|
58
|
+
"com.github.asus4"
|
|
59
|
+
]
|
|
60
|
+
}
|
|
61
|
+
]
|
|
62
|
+
"dependencies": {
|
|
63
|
+
"com.github.asus4.onnxruntime": "0.1.10",
|
|
64
|
+
"com.github.asus4.onnxruntime.unity": "0.1.10",
|
|
65
|
+
"com.github.asus4.onnxruntime.win-x64-gpu": "0.1.10",
|
|
66
|
+
"com.github.asus4.onnxruntime.linux-x64-gpu": "0.1.10",
|
|
67
|
+
"com.github.asus4.onnxruntime.extensions": "0.1.10",
|
|
68
|
+
... other dependencies
|
|
69
|
+
}
|
|
70
|
+
```
|
|
71
|
+
|
|
72
|
+
### What is included in each package
|
|
73
|
+
|
|
74
|
+
- `com.github.asus4.onnxruntime` : Core library
|
|
75
|
+
- CPU provider for all platforms
|
|
76
|
+
- GPU provider for iOS, Android, macOS and Windows(only DirectML)
|
|
77
|
+
- `com.github.asus4.onnxruntime.unity` : (Optional) Utilities for Unity
|
|
78
|
+
- `com.github.asus4.onnxruntime.win-x64-gpu` : (Optional) GPU provider for Windows
|
|
79
|
+
- `com.github.asus4.onnxruntime.linux-x64-gpu` : (Optional) GPU provider for Linux
|
|
80
|
+
- `com.github.asus4.onnxruntime.extensions` : (Optional) ONNX Runtime Extensions
|
package/README.md.meta
ADDED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "com.github.asus4.onnxruntime.win-x64-gpu",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.10",
|
|
4
4
|
"displayName": "ONNX Runtime - Windows x64 GPU",
|
|
5
5
|
"description": "ONNX Runtime for Unity - Windows x64 GPU Provider",
|
|
6
6
|
"keywords": [
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
"unity": "2022.3",
|
|
11
11
|
"unityRelease": "0f1",
|
|
12
12
|
"dependencies": {
|
|
13
|
-
"com.github.asus4.onnxruntime": "0.1.
|
|
13
|
+
"com.github.asus4.onnxruntime": "0.1.10"
|
|
14
14
|
},
|
|
15
15
|
"repository": {
|
|
16
16
|
"type": "git",
|