mirror of
https://github.com/saymrwulf/onnxruntime.git
synced 2026-07-29 20:14:01 +00:00
Patch release: 1.7.1
Adjust the build flags for the Nuget GPU and C API/Java GPU pipeline to remove debug symbols for Linux.
This commit is contained in:
parent
40b092961c
commit
711a31e2ea
9 changed files with 5910 additions and 5904 deletions
|
|
@ -1 +1 @@
|
|||
1.7.0
|
||||
1.7.1
|
||||
|
|
|
|||
|
|
@ -26,6 +26,7 @@ For more details on ONNX Release versions, see [this page](https://github.com/on
|
|||
|
||||
| ONNX Runtime release version | ONNX release version | ONNX opset version | ONNX ML opset version | Supported ONNX IR version | [Windows ML Availability](https://docs.microsoft.com/en-us/windows/ai/windows-ml/release-notes/)|
|
||||
|------------------------------|--------------------|--------------------|----------------------|------------------|------------------|
|
||||
| 1.7.1 | **1.8** down to 1.2 | 13 | 2 | 7 | Windows AI 1.7+ |
|
||||
| 1.7.0 | **1.8** down to 1.2 | 13 | 2 | 7 | Windows AI 1.7+ |
|
||||
| 1.6.0 | **1.8** down to 1.2 | 13 | 2 | 7 | Windows AI 1.6+ |
|
||||
| 1.5.3 | **1.7** down to 1.2 | 12 | 2 | 7 | Windows AI 1.5+ |
|
||||
|
|
|
|||
|
|
@ -8,6 +8,11 @@ For more information on ONNX Runtime, please see `aka.ms/onnxruntime <https://ak
|
|||
Changes
|
||||
-------
|
||||
|
||||
1.7.1
|
||||
^^^^^
|
||||
|
||||
Release Notes : https://github.com/Microsoft/onnxruntime/releases/tag/v1.7.1
|
||||
|
||||
1.7.0
|
||||
^^^^^
|
||||
|
||||
|
|
|
|||
11692
nodejs/package-lock.json
generated
11692
nodejs/package-lock.json
generated
File diff suppressed because it is too large
Load diff
|
|
@ -1,72 +1,72 @@
|
|||
{
|
||||
"binary": {
|
||||
"module_path": "./bin",
|
||||
"host": "https://onnxruntimetestdata.blob.core.windows.net/onnxruntime-node-prebuild/",
|
||||
"module_path": "./bin",
|
||||
"host": "https://onnxruntimetestdata.blob.core.windows.net/onnxruntime-node-prebuild/",
|
||||
"napi_versions": [
|
||||
3
|
||||
]
|
||||
},
|
||||
"license": "MIT",
|
||||
"name": "onnxruntime",
|
||||
},
|
||||
"license": "MIT",
|
||||
"name": "onnxruntime",
|
||||
"repository": {
|
||||
"url": "https://github.com/Microsoft/onnxruntime.git",
|
||||
"url": "https://github.com/Microsoft/onnxruntime.git",
|
||||
"type": "git"
|
||||
},
|
||||
"author": "fs-eire",
|
||||
"version": "1.7.0",
|
||||
},
|
||||
"author": "fs-eire",
|
||||
"version": "1.7.1",
|
||||
"dependencies": {
|
||||
"prebuild-install": "^6.0.0"
|
||||
},
|
||||
},
|
||||
"scripts": {
|
||||
"lint": "eslint . --ext .ts",
|
||||
"buildr": "tsc && node ./script/build --config=RelWithDebInfo",
|
||||
"format": "clang-format --glob=\"{{lib,test,script}/**/*.ts,src/**/*.{cc,h}}\" --style=file -i",
|
||||
"rebuild": "tsc && node ./script/build --rebuild",
|
||||
"rebuildd": "tsc && node ./script/build --rebuild --config=Debug",
|
||||
"buildd": "tsc && node ./script/build --config=Debug",
|
||||
"build": "tsc && node ./script/build",
|
||||
"install": "prebuild-install -r napi || (tsc && node ./script/build)",
|
||||
"test": "mocha ./test/test-main",
|
||||
"prepack": "node ./script/pack-prebuild",
|
||||
"lint": "eslint . --ext .ts",
|
||||
"buildr": "tsc && node ./script/build --config=RelWithDebInfo",
|
||||
"format": "clang-format --glob=\"{{lib,test,script}/**/*.ts,src/**/*.{cc,h}}\" --style=file -i",
|
||||
"rebuild": "tsc && node ./script/build --rebuild",
|
||||
"rebuildd": "tsc && node ./script/build --rebuild --config=Debug",
|
||||
"buildd": "tsc && node ./script/build --config=Debug",
|
||||
"build": "tsc && node ./script/build",
|
||||
"install": "prebuild-install -r napi || (tsc && node ./script/build)",
|
||||
"test": "mocha ./test/test-main",
|
||||
"prepack": "node ./script/pack-prebuild",
|
||||
"rebuildr": "tsc && node ./script/build --rebuild --config=RelWithDebInfo"
|
||||
},
|
||||
},
|
||||
"keywords": [
|
||||
"ONNX",
|
||||
"ONNX",
|
||||
"ONNX Runtime"
|
||||
],
|
||||
],
|
||||
"devDependencies": {
|
||||
"typedoc": "^0.20.25",
|
||||
"mocha": "^8.2.1",
|
||||
"@types/fs-extra": "^9.0.6",
|
||||
"@types/tar-stream": "^2.2.0",
|
||||
"klaw-sync": "^6.0.0",
|
||||
"minimist": "^1.2.5",
|
||||
"@typescript-eslint/parser": "^4.14.2",
|
||||
"clang-format": "^1.5.0",
|
||||
"@types/klaw-sync": "^6.0.0",
|
||||
"node-addon-api": "^3.1.0",
|
||||
"cmake-js": "^6.1.0",
|
||||
"eslint-plugin-prefer-arrow": "^1.2.3",
|
||||
"typescript": "^4.1.3",
|
||||
"jsonc": "^2.0.0",
|
||||
"@types/mocha": "^8.2.0",
|
||||
"node-pre-gyp-github": "^1.4.3",
|
||||
"@typescript-eslint/eslint-plugin": "^4.14.2",
|
||||
"eslint-plugin-jsdoc": "^31.6.0",
|
||||
"onnx-proto": "^4.0.4",
|
||||
"globby": "^11.0.2",
|
||||
"fs-extra": "^9.1.0",
|
||||
"eslint": "^7.19.0",
|
||||
"tar-stream": "^2.2.0",
|
||||
"@types/minimist": "1.2.1",
|
||||
"typedoc": "^0.20.25",
|
||||
"mocha": "^8.2.1",
|
||||
"@types/fs-extra": "^9.0.6",
|
||||
"@types/tar-stream": "^2.2.0",
|
||||
"klaw-sync": "^6.0.0",
|
||||
"minimist": "^1.2.5",
|
||||
"@typescript-eslint/parser": "^4.14.2",
|
||||
"clang-format": "^1.5.0",
|
||||
"@types/klaw-sync": "^6.0.0",
|
||||
"node-addon-api": "^3.1.0",
|
||||
"cmake-js": "^6.1.0",
|
||||
"eslint-plugin-prefer-arrow": "^1.2.3",
|
||||
"typescript": "^4.1.3",
|
||||
"jsonc": "^2.0.0",
|
||||
"@types/mocha": "^8.2.0",
|
||||
"node-pre-gyp-github": "^1.4.3",
|
||||
"@typescript-eslint/eslint-plugin": "^4.14.2",
|
||||
"eslint-plugin-jsdoc": "^31.6.0",
|
||||
"onnx-proto": "^4.0.4",
|
||||
"globby": "^11.0.2",
|
||||
"fs-extra": "^9.1.0",
|
||||
"eslint": "^7.19.0",
|
||||
"tar-stream": "^2.2.0",
|
||||
"@types/minimist": "1.2.1",
|
||||
"eslint-plugin-import": "^2.22.1"
|
||||
},
|
||||
"main": "./lib/index.js",
|
||||
},
|
||||
"main": "./lib/index.js",
|
||||
"os": [
|
||||
"win32",
|
||||
"darwin",
|
||||
"win32",
|
||||
"darwin",
|
||||
"linux"
|
||||
],
|
||||
"types": "./types/lib/index.d.ts",
|
||||
],
|
||||
"types": "./types/lib/index.d.ts",
|
||||
"description": "Node.js binding of ONNXRuntime"
|
||||
}
|
||||
|
|
@ -7,7 +7,7 @@ ONNX Runtime is a performance-focused scoring engine for Open Neural Network Exc
|
|||
For more information on ONNX Runtime, please see `aka.ms/onnxruntime <https://aka.ms/onnxruntime/>`_
|
||||
or the `Github project <https://github.com/microsoft/onnxruntime/>`_.
|
||||
"""
|
||||
__version__ = "1.7.0"
|
||||
__version__ = "1.7.1"
|
||||
__author__ = "Microsoft"
|
||||
|
||||
import os
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
Name: onnxruntime
|
||||
Version: 1.7.0
|
||||
Version: 1.7.1
|
||||
Release: 1%{?dist}
|
||||
Summary: onnxruntime
|
||||
|
||||
|
|
|
|||
|
|
@ -53,7 +53,7 @@ jobs:
|
|||
inputs:
|
||||
script: |
|
||||
mkdir -p $HOME/.onnx
|
||||
docker run --gpus all -e CC=/opt/rh/devtoolset-8/root/usr/bin/cc -e CXX=/opt/rh/devtoolset-8/root/usr/bin/c++ -e CFLAGS="-g -O3" -e CXXFLAGS="-g -O3" -e NVIDIA_VISIBLE_DEVICES=all --rm --volume /data/onnx:/data/onnx:ro --volume $(Build.SourcesDirectory):/onnxruntime_src --volume $(Build.BinariesDirectory):/build \
|
||||
docker run --gpus all -e CC=/opt/rh/devtoolset-8/root/usr/bin/cc -e CXX=/opt/rh/devtoolset-8/root/usr/bin/c++ -e CFLAGS="-Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -fstack-clash-protection -fcf-protection -O3 -Wl,--strip-all" -e CXXFLAGS="-Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -fstack-clash-protection -fcf-protection -O3 -Wl,--strip-all" -e NVIDIA_VISIBLE_DEVICES=all --rm --volume /data/onnx:/data/onnx:ro --volume $(Build.SourcesDirectory):/onnxruntime_src --volume $(Build.BinariesDirectory):/build \
|
||||
--volume /data/models:/build/models:ro --volume $HOME/.onnx:/home/onnxruntimedev/.onnx -e NIGHTLY_BUILD onnxruntimecuda11build \
|
||||
/opt/python/cp37-cp37m/bin/python3 /onnxruntime_src/tools/ci_build/build.py --build_java --build_dir /build --config Release \
|
||||
--skip_submodule_sync --parallel --build_shared_lib --use_cuda --cuda_version=$(CUDA_VERSION) --cuda_home=/usr/local/cuda-$(CUDA_VERSION) --cudnn_home=/usr/local/cuda-$(CUDA_VERSION) --cmake_extra_defines CMAKE_CUDA_HOST_COMPILER=/opt/rh/devtoolset-8/root/usr/bin/cc
|
||||
|
|
|
|||
|
|
@ -88,7 +88,7 @@ jobs:
|
|||
inputs:
|
||||
script: |
|
||||
mkdir -p $HOME/.onnx
|
||||
docker run --gpus all -e CC=/opt/rh/devtoolset-8/root/usr/bin/cc -e CXX=/opt/rh/devtoolset-8/root/usr/bin/c++ -e CFLAGS="-g -O3" -e CXXFLAGS="-g -O3" -e NVIDIA_VISIBLE_DEVICES=all --rm --volume /data/onnx:/data/onnx:ro --volume $(Build.SourcesDirectory):/onnxruntime_src --volume $(Build.BinariesDirectory):/build --volume /data/models:/build/models:ro --volume $HOME/.onnx:/home/onnxruntimedev/.onnx -e NIGHTLY_BUILD onnxruntimecuda11build \
|
||||
docker run --gpus all -e CC=/opt/rh/devtoolset-8/root/usr/bin/cc -e CXX=/opt/rh/devtoolset-8/root/usr/bin/c++ -e CFLAGS="-Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -fstack-clash-protection -fcf-protection -O3 -Wl,--strip-all" -e CXXFLAGS="-Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -fstack-clash-protection -fcf-protection -O3 -Wl,--strip-all" -e NVIDIA_VISIBLE_DEVICES=all --rm --volume /data/onnx:/data/onnx:ro --volume $(Build.SourcesDirectory):/onnxruntime_src --volume $(Build.BinariesDirectory):/build --volume /data/models:/build/models:ro --volume $HOME/.onnx:/home/onnxruntimedev/.onnx -e NIGHTLY_BUILD onnxruntimecuda11build \
|
||||
/bin/bash -c "/opt/python/cp37-cp37m/bin/python3 /onnxruntime_src/tools/ci_build/build.py --build_dir /build --config Release --skip_submodule_sync --parallel --build_shared_lib --use_cuda --cuda_version=11.0 --cuda_home=/usr/local/cuda-11.0 --cudnn_home=/usr/local/cuda-11.0 --enable_onnx_tests --cmake_extra_defines CMAKE_CUDA_HOST_COMPILER=/opt/rh/devtoolset-8/root/usr/bin/cc && cd /build/Release && make install DESTDIR=/build/linux-x64"
|
||||
- script: |
|
||||
set -e -x
|
||||
|
|
|
|||
Loading…
Reference in a new issue