com.github.asus4.onnxruntime.win-x64-gpu 0.1.7 → 0.1.9

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.
Files changed (2) hide show
  1. package/README.md +78 -0
  2. package/package.json +2 -2
package/README.md ADDED
@@ -0,0 +1,78 @@
1
+ # ONNX Runtime Plugin for Unity
2
+
3
+ [![npm](https://img.shields.io/npm/v/com.github.asus4.onnxruntime?label=npm)](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
+
18
+ ### Execution Providers & Extensions
19
+
20
+ #### [Execution Providers](https://onnxruntime.ai/docs/execution-providers/)
21
+
22
+ Execution Providers are hardware acceleration libraries for each platform. See [official docs](https://onnxruntime.ai/docs/execution-providers/) for more details.
23
+
24
+ | Platform | CPU | CoreML | NNAPI | CUDA | TensorRT | DirectML | XNNPACK |
25
+ | --- | --- | --- | --- | --- | --- | --- | --- |
26
+ | macOS | :white_check_mark: | :white_check_mark: | | | | | |
27
+ | iOS | :white_check_mark: | :white_check_mark: | | | | | :construction: |
28
+ | Android | :white_check_mark: | | :white_check_mark: | | | | :construction: |
29
+ | Windows | :white_check_mark: | | | :construction: | :construction: | :white_check_mark: | |
30
+ | Linux | :white_check_mark: | | | :construction: | :construction: | | |
31
+
32
+ #### [ONNX Runtime Extensions](https://github.com/microsoft/onnxruntime-extensions)
33
+
34
+ ONNX Runtime Extensions are a set of pre/post processing.
35
+
36
+ | Platform | Extensions |
37
+ | --- | --- |
38
+ | macOS | :construction: |
39
+ | iOS | :construction: |
40
+ | Android | :construction: |
41
+ | Windows | :construction: |
42
+ | Linux | :construction: |
43
+
44
+ :white_check_mark: : Supported in Unity Core library
45
+ :construction: : Experimental Preview
46
+
47
+ ## How to Install
48
+
49
+ 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`.
50
+
51
+ ```json
52
+ "scopedRegistries": [
53
+ {
54
+ "name": "NPM",
55
+ "url": "https://registry.npmjs.com",
56
+ "scopes": [
57
+ "com.github.asus4"
58
+ ]
59
+ }
60
+ ]
61
+ "dependencies": {
62
+ "com.github.asus4.onnxruntime": "0.1.9",
63
+ "com.github.asus4.onnxruntime.unity": "0.1.9",
64
+ "com.github.asus4.onnxruntime.win-x64-gpu": "0.1.9",
65
+ "com.github.asus4.onnxruntime.linux-x64-gpu": "0.1.9",
66
+ ... other dependencies
67
+ }
68
+ ```
69
+
70
+ ### What is included in each package
71
+
72
+ - `com.github.asus4.onnxruntime` : Core library
73
+ - CPU provider for all platforms
74
+ - GPU provider for iOS, Android, macOS and Windows(only DirectML)
75
+ - `com.github.asus4.onnxruntime.unity` : (Optional) Utilities for Unity
76
+ - `com.github.asus4.onnxruntime.win-x64-gpu` : (Optional) GPU provider for Windows
77
+ - `com.github.asus4.onnxruntime.linux-x64-gpu` : (Optional) GPU provider for Linux
78
+ - `com.github.asus4.onnxruntime.extensions` : (Optional) ONNX Runtime Extensions
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "com.github.asus4.onnxruntime.win-x64-gpu",
3
- "version": "0.1.7",
3
+ "version": "0.1.9",
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.7"
13
+ "com.github.asus4.onnxruntime": "0.1.9"
14
14
  },
15
15
  "repository": {
16
16
  "type": "git",