onnxruntime-node 1.18.0 → 1.19.0

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.
Binary file
package/dist/version.js CHANGED
@@ -5,5 +5,5 @@ Object.defineProperty(exports, "__esModule", { value: true });
5
5
  exports.version = void 0;
6
6
  // This file is generated by /js/scripts/update-version.ts
7
7
  // Do not modify file content manually.
8
- exports.version = '1.18.0';
8
+ exports.version = '1.19.0';
9
9
  //# sourceMappingURL=version.js.map
package/lib/version.ts CHANGED
@@ -4,4 +4,4 @@
4
4
  // This file is generated by /js/scripts/update-version.ts
5
5
  // Do not modify file content manually.
6
6
 
7
- export const version = '1.18.0';
7
+ export const version = '1.19.0';
package/package.json CHANGED
@@ -13,9 +13,9 @@
13
13
  3
14
14
  ]
15
15
  },
16
- "version": "1.18.0",
16
+ "version": "1.19.0",
17
17
  "dependencies": {
18
- "onnxruntime-common": "1.18.0",
18
+ "onnxruntime-common": "1.19.0",
19
19
  "tar": "^7.0.1"
20
20
  },
21
21
  "scripts": {
package/script/build.js CHANGED
@@ -59,6 +59,8 @@ const USE_CUDA = !!buildArgs.use_cuda;
59
59
  const USE_TENSORRT = !!buildArgs.use_tensorrt;
60
60
  // --use_coreml
61
61
  const USE_COREML = !!buildArgs.use_coreml;
62
+ // --use_qnn
63
+ const USE_QNN = !!buildArgs.use_qnn;
62
64
  // build path
63
65
  const ROOT_FOLDER = path.join(__dirname, '..');
64
66
  const BIN_FOLDER = path.join(ROOT_FOLDER, 'bin');
@@ -93,6 +95,9 @@ if (USE_TENSORRT) {
93
95
  if (USE_COREML) {
94
96
  args.push('--CDUSE_COREML=ON');
95
97
  }
98
+ if (USE_QNN) {
99
+ args.push('--CDUSE_QNN=ON');
100
+ }
96
101
  // set CMAKE_OSX_ARCHITECTURES for macOS build
97
102
  if (os.platform() === 'darwin') {
98
103
  if (ARCH === 'x64') {
package/script/build.ts CHANGED
@@ -35,6 +35,8 @@ const USE_CUDA = !!buildArgs.use_cuda;
35
35
  const USE_TENSORRT = !!buildArgs.use_tensorrt;
36
36
  // --use_coreml
37
37
  const USE_COREML = !!buildArgs.use_coreml;
38
+ // --use_qnn
39
+ const USE_QNN = !!buildArgs.use_qnn;
38
40
 
39
41
  // build path
40
42
  const ROOT_FOLDER = path.join(__dirname, '..');
@@ -72,6 +74,9 @@ if (USE_TENSORRT) {
72
74
  if (USE_COREML) {
73
75
  args.push('--CDUSE_COREML=ON');
74
76
  }
77
+ if (USE_QNN) {
78
+ args.push('--CDUSE_QNN=ON');
79
+ }
75
80
 
76
81
  // set CMAKE_OSX_ARCHITECTURES for macOS build
77
82
  if (os.platform() === 'darwin') {