onnxruntime-node 1.17.3-rev.1 → 1.18.0-dev.20240430-204f1f59b9
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/__commit.txt +1 -0
- package/bin/napi-v3/darwin/arm64/{libonnxruntime.1.17.3.dylib → libonnxruntime.1.18.0.dylib} +0 -0
- package/bin/napi-v3/darwin/arm64/onnxruntime_binding.node +0 -0
- package/bin/napi-v3/darwin/x64/{libonnxruntime.1.17.3.dylib → libonnxruntime.1.18.0.dylib} +0 -0
- package/bin/napi-v3/darwin/x64/onnxruntime_binding.node +0 -0
- package/bin/napi-v3/linux/arm64/{libonnxruntime.so.1.17.3 → libonnxruntime.so.1.18.0} +0 -0
- package/bin/napi-v3/linux/arm64/onnxruntime_binding.node +0 -0
- package/bin/napi-v3/linux/x64/{libonnxruntime.so.1.17.3 → libonnxruntime.so.1.18.0} +0 -0
- package/bin/napi-v3/linux/x64/onnxruntime_binding.node +0 -0
- package/bin/napi-v3/win32/arm64/DirectML.dll +0 -0
- package/bin/napi-v3/win32/arm64/onnxruntime.dll +0 -0
- package/bin/napi-v3/win32/arm64/onnxruntime_binding.node +0 -0
- package/bin/napi-v3/win32/x64/DirectML.dll +0 -0
- package/bin/napi-v3/win32/x64/onnxruntime.dll +0 -0
- package/bin/napi-v3/win32/x64/onnxruntime_binding.node +0 -0
- package/dist/version.js +1 -1
- package/dist/version.js.map +1 -1
- package/lib/version.ts +1 -1
- package/package.json +2 -2
- package/script/build.js +5 -0
- package/script/build.ts +5 -0
- package/script/install.js +1 -1
package/__commit.txt
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
204f1f59b9b351954a1106def4ce6ad9e840fa9f
|
package/bin/napi-v3/darwin/arm64/{libonnxruntime.1.17.3.dylib → libonnxruntime.1.18.0.dylib}
RENAMED
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
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.
|
|
8
|
+
exports.version = '1.18.0-dev.20240430-204f1f59b9';
|
|
9
9
|
//# sourceMappingURL=version.js.map
|
package/dist/version.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"version.js","sourceRoot":"","sources":["../lib/version.ts"],"names":[],"mappings":";AAAA,4DAA4D;AAC5D,kCAAkC;;;AAElC,0DAA0D;AAC1D,uCAAuC;AAE1B,QAAA,OAAO,GAAG,
|
|
1
|
+
{"version":3,"file":"version.js","sourceRoot":"","sources":["../lib/version.ts"],"names":[],"mappings":";AAAA,4DAA4D;AAC5D,kCAAkC;;;AAElC,0DAA0D;AAC1D,uCAAuC;AAE1B,QAAA,OAAO,GAAG,gCAAgC,CAAC"}
|
package/lib/version.ts
CHANGED
package/package.json
CHANGED
package/script/build.js
CHANGED
|
@@ -47,6 +47,8 @@ if (ARCH !== 'x64' && ARCH !== 'ia32' && ARCH !== 'arm64' && ARCH !== 'arm') {
|
|
|
47
47
|
}
|
|
48
48
|
// --onnxruntime-build-dir=
|
|
49
49
|
const ONNXRUNTIME_BUILD_DIR = buildArgs['onnxruntime-build-dir'];
|
|
50
|
+
// --onnxruntime-generator=
|
|
51
|
+
const ONNXRUNTIME_GENERATOR = buildArgs['onnxruntime-generator'];
|
|
50
52
|
// --rebuild
|
|
51
53
|
const REBUILD = !!buildArgs.rebuild;
|
|
52
54
|
// --use_dml
|
|
@@ -76,6 +78,9 @@ const args = [
|
|
|
76
78
|
if (ONNXRUNTIME_BUILD_DIR && typeof ONNXRUNTIME_BUILD_DIR === 'string') {
|
|
77
79
|
args.push(`--CDONNXRUNTIME_BUILD_DIR=${ONNXRUNTIME_BUILD_DIR}`);
|
|
78
80
|
}
|
|
81
|
+
if (ONNXRUNTIME_GENERATOR && typeof ONNXRUNTIME_GENERATOR === 'string') {
|
|
82
|
+
args.push(`--CDONNXRUNTIME_GENERATOR=${ONNXRUNTIME_GENERATOR}`);
|
|
83
|
+
}
|
|
79
84
|
if (USE_DML) {
|
|
80
85
|
args.push('--CDUSE_DML=ON');
|
|
81
86
|
}
|
package/script/build.ts
CHANGED
|
@@ -23,6 +23,8 @@ if (ARCH !== 'x64' && ARCH !== 'ia32' && ARCH !== 'arm64' && ARCH !== 'arm') {
|
|
|
23
23
|
}
|
|
24
24
|
// --onnxruntime-build-dir=
|
|
25
25
|
const ONNXRUNTIME_BUILD_DIR = buildArgs['onnxruntime-build-dir'];
|
|
26
|
+
// --onnxruntime-generator=
|
|
27
|
+
const ONNXRUNTIME_GENERATOR = buildArgs['onnxruntime-generator'];
|
|
26
28
|
// --rebuild
|
|
27
29
|
const REBUILD = !!buildArgs.rebuild;
|
|
28
30
|
// --use_dml
|
|
@@ -55,6 +57,9 @@ const args = [
|
|
|
55
57
|
if (ONNXRUNTIME_BUILD_DIR && typeof ONNXRUNTIME_BUILD_DIR === 'string') {
|
|
56
58
|
args.push(`--CDONNXRUNTIME_BUILD_DIR=${ONNXRUNTIME_BUILD_DIR}`);
|
|
57
59
|
}
|
|
60
|
+
if (ONNXRUNTIME_GENERATOR && typeof ONNXRUNTIME_GENERATOR === 'string') {
|
|
61
|
+
args.push(`--CDONNXRUNTIME_GENERATOR=${ONNXRUNTIME_GENERATOR}`);
|
|
62
|
+
}
|
|
58
63
|
if (USE_DML) {
|
|
59
64
|
args.push('--CDUSE_DML=ON');
|
|
60
65
|
}
|
package/script/install.js
CHANGED
|
@@ -44,7 +44,7 @@ const IS_LINUX_X64 = os.platform() === 'linux' && os.arch() === 'x64';
|
|
|
44
44
|
const BIN_FOLDER = path.join(__dirname, '..', 'bin/napi-v3/linux/x64');
|
|
45
45
|
const BIN_FOLDER_EXISTS = fs.existsSync(BIN_FOLDER);
|
|
46
46
|
const CUDA_DLL_EXISTS = fs.existsSync(path.join(BIN_FOLDER, 'libonnxruntime_providers_cuda.so'));
|
|
47
|
-
const ORT_VERSION = '
|
|
47
|
+
const ORT_VERSION = require('../package.json').version;
|
|
48
48
|
|
|
49
49
|
const npm_config_local_prefix = process.env.npm_config_local_prefix;
|
|
50
50
|
const npm_package_json = process.env.npm_package_json;
|