mirror of
https://github.com/saymrwulf/onnxruntime.git
synced 2026-07-09 17:28:58 +00:00
Increase version number for preparing the 1.16.2 release (#18070)
1. Increase version number for preparing the 1.16.2 release (#18070) 2. cherry-pick 18034
This commit is contained in:
parent
2a1fd2586f
commit
c829550180
18 changed files with 28 additions and 142 deletions
|
|
@ -1 +1 @@
|
|||
1.16.1
|
||||
1.16.2
|
||||
|
|
|
|||
|
|
@ -8,6 +8,11 @@ For more information on ONNX Runtime, please see `aka.ms/onnxruntime <https://ak
|
|||
Changes
|
||||
-------
|
||||
|
||||
1.16.2
|
||||
^^^^^^
|
||||
|
||||
Release Notes : https://github.com/Microsoft/onnxruntime/releases/tag/v1.16.2
|
||||
|
||||
1.16.1
|
||||
^^^^^^
|
||||
|
||||
|
|
|
|||
|
|
@ -4,4 +4,4 @@
|
|||
// This file is generated by /js/scripts/update-version.ts
|
||||
// Do not modify file content manually.
|
||||
|
||||
export const version = '1.16.1';
|
||||
export const version = '1.16.2';
|
||||
|
|
|
|||
4
js/common/package-lock.json
generated
4
js/common/package-lock.json
generated
|
|
@ -1,12 +1,12 @@
|
|||
{
|
||||
"name": "onnxruntime-common",
|
||||
"version": "1.16.1",
|
||||
"version": "1.16.2",
|
||||
"lockfileVersion": 2,
|
||||
"requires": true,
|
||||
"packages": {
|
||||
"": {
|
||||
"name": "onnxruntime-common",
|
||||
"version": "1.16.1",
|
||||
"version": "1.16.2",
|
||||
"license": "MIT",
|
||||
"devDependencies": {
|
||||
"typedoc": "^0.23.22"
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
"license": "MIT",
|
||||
"type": "module",
|
||||
"name": "onnxruntime-common",
|
||||
"version": "1.16.1",
|
||||
"version": "1.16.2",
|
||||
"repository": {
|
||||
"url": "https://github.com/Microsoft/onnxruntime.git",
|
||||
"type": "git"
|
||||
|
|
|
|||
|
|
@ -4,4 +4,4 @@
|
|||
// This file is generated by /js/scripts/update-version.ts
|
||||
// Do not modify file content manually.
|
||||
|
||||
export const version = '1.16.1';
|
||||
export const version = '1.16.2';
|
||||
|
|
|
|||
6
js/node/package-lock.json
generated
6
js/node/package-lock.json
generated
|
|
@ -1,12 +1,12 @@
|
|||
{
|
||||
"name": "onnxruntime-node",
|
||||
"version": "1.16.1",
|
||||
"version": "1.16.2",
|
||||
"lockfileVersion": 2,
|
||||
"requires": true,
|
||||
"packages": {
|
||||
"": {
|
||||
"name": "onnxruntime-node",
|
||||
"version": "1.16.1",
|
||||
"version": "1.16.2",
|
||||
"license": "MIT",
|
||||
"os": [
|
||||
"win32",
|
||||
|
|
@ -27,7 +27,7 @@
|
|||
},
|
||||
"../common": {
|
||||
"name": "onnxruntime-common",
|
||||
"version": "1.16.1",
|
||||
"version": "1.16.2",
|
||||
"license": "MIT",
|
||||
"devDependencies": {
|
||||
"typedoc": "^0.23.22"
|
||||
|
|
|
|||
|
|
@ -13,7 +13,7 @@
|
|||
3
|
||||
]
|
||||
},
|
||||
"version": "1.16.1",
|
||||
"version": "1.16.2",
|
||||
"dependencies": {
|
||||
"onnxruntime-common": "file:../common"
|
||||
},
|
||||
|
|
|
|||
|
|
@ -4,4 +4,4 @@
|
|||
// This file is generated by /js/scripts/update-version.ts
|
||||
// Do not modify file content manually.
|
||||
|
||||
export const version = '1.16.1';
|
||||
export const version = '1.16.2';
|
||||
|
|
|
|||
|
|
@ -36,7 +36,7 @@
|
|||
"registry": "https://registry.npmjs.org/"
|
||||
},
|
||||
"source": "lib/index",
|
||||
"version": "1.16.1",
|
||||
"version": "1.16.2",
|
||||
"main": "dist/commonjs/index",
|
||||
"homepage": "https://github.com/microsoft/onnxruntime/blob/main/js/react_native/README.md",
|
||||
"files": [
|
||||
|
|
|
|||
|
|
@ -5188,7 +5188,7 @@ onetime@^5.1.0, onetime@^5.1.2:
|
|||
mimic-fn "^2.1.0"
|
||||
|
||||
"onnxruntime-common@file:../common":
|
||||
version "1.16.1"
|
||||
version "1.16.2"
|
||||
|
||||
open@^6.2.0:
|
||||
version "6.4.0"
|
||||
|
|
|
|||
|
|
@ -4,4 +4,4 @@
|
|||
// This file is generated by /js/scripts/update-version.ts
|
||||
// Do not modify file content manually.
|
||||
|
||||
export const version = '1.16.1';
|
||||
export const version = '1.16.2';
|
||||
|
|
|
|||
6
js/web/package-lock.json
generated
6
js/web/package-lock.json
generated
|
|
@ -1,12 +1,12 @@
|
|||
{
|
||||
"name": "onnxruntime-web",
|
||||
"version": "1.16.1",
|
||||
"version": "1.16.2",
|
||||
"lockfileVersion": 2,
|
||||
"requires": true,
|
||||
"packages": {
|
||||
"": {
|
||||
"name": "onnxruntime-web",
|
||||
"version": "1.16.1",
|
||||
"version": "1.16.2",
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
"flatbuffers": "^1.12.0",
|
||||
|
|
@ -49,7 +49,7 @@
|
|||
},
|
||||
"../common": {
|
||||
"name": "onnxruntime-common",
|
||||
"version": "1.16.1",
|
||||
"version": "1.16.2",
|
||||
"license": "MIT",
|
||||
"devDependencies": {
|
||||
"typedoc": "^0.23.22"
|
||||
|
|
|
|||
|
|
@ -8,7 +8,7 @@
|
|||
"type": "git"
|
||||
},
|
||||
"author": "fs-eire",
|
||||
"version": "1.16.1",
|
||||
"version": "1.16.2",
|
||||
"jsdelivr": "dist/ort.min.js",
|
||||
"dependencies": {
|
||||
"flatbuffers": "^1.12.0",
|
||||
|
|
|
|||
|
|
@ -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.16.1"
|
||||
__version__ = "1.16.2"
|
||||
__author__ = "Microsoft"
|
||||
|
||||
# we need to do device version validation (for example to check Cuda version for an onnxruntime-training package).
|
||||
|
|
|
|||
|
|
@ -2744,7 +2744,7 @@ static_assert(offsetof(OrtApi, GetBuildInfoString) / sizeof(void*) == 254, "Size
|
|||
static_assert(offsetof(OrtApi, KernelContext_GetResource) / sizeof(void*) == 265, "Size of version 16 API cannot change");
|
||||
|
||||
// So that nobody forgets to finish an API version, this check will serve as a reminder:
|
||||
static_assert(std::string_view(ORT_VERSION) == "1.16.1",
|
||||
static_assert(std::string_view(ORT_VERSION) == "1.16.2",
|
||||
"ORT_Version change detected, please follow below steps to ensure OrtApi is updated properly");
|
||||
// 1. Update the hardcoded version string in above static_assert to silence it
|
||||
// 2. If there were any APIs added to ort_api_1_to_16 above:
|
||||
|
|
|
|||
|
|
@ -74,6 +74,7 @@ stages:
|
|||
--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 \
|
||||
--volume $(ORT_CACHE_DIR):/cache \
|
||||
-e ALLOW_RELEASED_ONNX_OPSET_ONLY=0 \
|
||||
|
|
@ -92,116 +93,13 @@ stages:
|
|||
--parallel \
|
||||
--build_wheel \
|
||||
--build_csharp \
|
||||
--enable_onnx_tests \
|
||||
--enable_transformers_tool_test \
|
||||
--enable_onnx_tests --enable_symbolic_shape_infer_tests \
|
||||
--use_cache \
|
||||
--build_java --build_nodejs --update --build --cmake_extra_defines onnxruntime_BUILD_BENCHMARKS=ON; \
|
||||
--build_java --build_nodejs --cmake_extra_defines onnxruntime_BUILD_BENCHMARKS=ON; \
|
||||
ccache -sv; \
|
||||
ccache -z"
|
||||
workingDirectory: $(Build.SourcesDirectory)
|
||||
|
||||
- script: |
|
||||
ln -s /data/models $(Build.BinariesDirectory)/models
|
||||
displayName: link model dir
|
||||
|
||||
- bash: |
|
||||
mkdir -p $HOME/.onnx
|
||||
docker run --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 ALLOW_RELEASED_ONNX_OPSET_ONLY=0 \
|
||||
-e NIGHTLY_BUILD \
|
||||
-e BUILD_BUILDNUMBER \
|
||||
onnxruntimecpubuild \
|
||||
/bin/bash -c "
|
||||
set -ex; \
|
||||
pushd /onnxruntime_src/csharp; \
|
||||
dotnet restore /onnxruntime_src/csharp/OnnxRuntime.DesktopOnly.CSharp.sln; \
|
||||
dotnet build /onnxruntime_src/csharp/OnnxRuntime.DesktopOnly.CSharp.sln; \
|
||||
dotnet test /onnxruntime_src/csharp/OnnxRuntime.DesktopOnly.CSharp.sln -f net6.0 --no-build -l \"console;verbosity=normal\"; \
|
||||
popd
|
||||
"
|
||||
displayName: 'Dotnet build C# sln and Test'
|
||||
|
||||
- task: CmdLine@2
|
||||
displayName: 'Install python deps and run java tests'
|
||||
inputs:
|
||||
script: |
|
||||
set -e -x
|
||||
python3 -m pip uninstall -y ort-nightly-gpu ort-nightly onnxruntime onnxruntime-gpu onnxruntime-training onnxruntime-directml ort-nightly-directml onnx -qq
|
||||
cp $(Build.SourcesDirectory)/tools/ci_build/github/linux/docker/scripts/manylinux/requirements.txt $(Build.BinariesDirectory)/requirements.txt
|
||||
# Test ORT with the latest ONNX release.
|
||||
sed -i "s/git+http:\/\/github\.com\/onnx\/onnx.*/onnx/" $(Build.BinariesDirectory)/requirements.txt
|
||||
python3 -m pip install -r $(Build.BinariesDirectory)/requirements.txt
|
||||
mkdir $(Build.BinariesDirectory)/requirements_torch_cpu/
|
||||
cp $(Build.SourcesDirectory)/tools/ci_build/github/linux/docker/scripts/training/ortmodule/stage1/requirements_torch_cpu/requirements.txt $(Build.BinariesDirectory)/requirements_torch_cpu/requirements.txt
|
||||
python3 -m pip install -r $(Build.BinariesDirectory)/requirements_torch_cpu/requirements.txt
|
||||
cd $(Build.SourcesDirectory)/java
|
||||
$(Build.SourcesDirectory)/java/gradlew "cmakeCheck" "-DcmakeBuildDir=$(Build.BinariesDirectory)/Release"
|
||||
|
||||
- task: CmdLine@2
|
||||
displayName: 'Install Release python package'
|
||||
inputs:
|
||||
script: |
|
||||
rm -rf $(Build.BinariesDirectory)/Release/onnxruntime $(Build.BinariesDirectory)/Release/pybind11
|
||||
python3 -m pip install $(Build.BinariesDirectory)/Release/dist/*.whl
|
||||
|
||||
- task: PythonScript@0
|
||||
displayName: 'Run Release unit tests'
|
||||
inputs:
|
||||
scriptPath: $(Build.SourcesDirectory)/tools/ci_build/build.py
|
||||
workingDirectory: $(Build.BinariesDirectory)/Release
|
||||
arguments: >-
|
||||
--build_dir $(Build.BinariesDirectory)
|
||||
--cmake_generator Ninja
|
||||
--config Release
|
||||
--test
|
||||
--skip_submodule_sync
|
||||
--build_shared_lib
|
||||
--parallel
|
||||
--build_wheel
|
||||
--enable_onnx_tests
|
||||
--enable_transformers_tool_test
|
||||
--build_nodejs
|
||||
--ctest_path ""
|
||||
|
||||
- task: CmdLine@2
|
||||
displayName: 'Install Debug python package'
|
||||
inputs:
|
||||
script: |
|
||||
set -e -x
|
||||
rm -rf $(Build.BinariesDirectory)/Debug/onnxruntime $(Build.BinariesDirectory)/Debug/pybind11
|
||||
python3 -m pip uninstall -y ort-nightly-gpu ort-nightly onnxruntime onnxruntime-gpu onnxruntime-training onnxruntime-directml ort-nightly-directml -qq
|
||||
python3 -m pip install $(Build.BinariesDirectory)/Debug/dist/*.whl
|
||||
|
||||
- task: PythonScript@0
|
||||
displayName: 'Run Debug unit tests'
|
||||
inputs:
|
||||
scriptPath: $(Build.SourcesDirectory)/tools/ci_build/build.py
|
||||
workingDirectory: $(Build.BinariesDirectory)/Debug
|
||||
arguments: >-
|
||||
--build_dir $(Build.BinariesDirectory)
|
||||
--cmake_generator Ninja
|
||||
--config Debug
|
||||
--test
|
||||
--skip_submodule_sync
|
||||
--build_shared_lib
|
||||
--parallel
|
||||
--build_wheel
|
||||
--enable_onnx_tests
|
||||
--enable_transformers_tool_test
|
||||
--build_nodejs
|
||||
--ctest_path ""
|
||||
|
||||
- task: PythonScript@0
|
||||
displayName: 'Symbolic shape infer'
|
||||
inputs:
|
||||
scriptPath: $(Build.BinariesDirectory)/Release/onnxruntime_test_python_symbolic_shape_infer.py
|
||||
workingDirectory: $(Build.BinariesDirectory)/Release
|
||||
|
||||
- task: PublishTestResults@2
|
||||
displayName: 'Publish unit test results'
|
||||
inputs:
|
||||
|
|
|
|||
|
|
@ -72,23 +72,6 @@ stages:
|
|||
MachinePool: onnxruntime-Win2022-GPU-T4
|
||||
isTraining: true
|
||||
|
||||
- stage: dml
|
||||
dependsOn: []
|
||||
jobs:
|
||||
- template: templates/jobs/win-ci-vs-2022-job.yml
|
||||
parameters:
|
||||
BuildConfig: 'RelWithDebInfo'
|
||||
EnvSetupScript: setup_env.bat
|
||||
buildArch: x64
|
||||
additionalBuildFlags: --enable_pybind --use_dml --enable_wcos --use_winml
|
||||
msbuildPlatform: x64
|
||||
isX86: false
|
||||
job_name_suffix: x64_RelWithDebInfo
|
||||
RunOnnxRuntimeTests: ${{ parameters.RunOnnxRuntimeTests }}
|
||||
ORT_EP_NAME: DML
|
||||
WITH_CACHE: true
|
||||
MachinePool: onnxruntime-Win2022-GPU-dml-A10
|
||||
|
||||
- stage: kernelDocumentation
|
||||
dependsOn: []
|
||||
jobs:
|
||||
|
|
|
|||
Loading…
Reference in a new issue