Skip to content

Commit

Permalink
Update version number to 1.17.2 (#19701)
Browse files Browse the repository at this point in the history
### Description
<!-- Describe your changes. -->

As title. Follow up pr for source code release 1.17.2


### Motivation and Context
<!-- - Why is this change required? What problem does it solve?
- If it fixes an open issue, please link to the issue here. -->

---------

Co-authored-by: rachguo <[email protected]>
Co-authored-by: Changming Sun <[email protected]>
  • Loading branch information
3 people authored Mar 1, 2024
1 parent 3a45997 commit 6bc6adc
Show file tree
Hide file tree
Showing 21 changed files with 32 additions and 30 deletions.
2 changes: 1 addition & 1 deletion VERSION_NUMBER
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.17.1
1.17.2
6 changes: 6 additions & 0 deletions docs/python/README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,12 @@ For more information on ONNX Runtime, please see `aka.ms/onnxruntime <https://ak
Changes
-------

1.17.2
^^^^^^

Release Notes : https://github.com/Microsoft/onnxruntime/releases/tag/v1.17.2
-------

1.17.1
^^^^^^

Expand Down
2 changes: 1 addition & 1 deletion js/common/lib/version.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@
// This file is generated by /js/scripts/update-version.ts
// Do not modify file content manually.

export const version = '1.17.1';
export const version = '1.17.2';
4 changes: 2 additions & 2 deletions js/common/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion js/common/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"license": "MIT",
"type": "module",
"name": "onnxruntime-common",
"version": "1.17.1",
"version": "1.17.2",
"repository": {
"url": "https://github.com/Microsoft/onnxruntime.git",
"type": "git"
Expand Down
2 changes: 1 addition & 1 deletion js/node/lib/version.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@
// This file is generated by /js/scripts/update-version.ts
// Do not modify file content manually.

export const version = '1.17.1';
export const version = '1.17.2';
4 changes: 2 additions & 2 deletions js/node/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion js/node/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
3
]
},
"version": "1.17.1",
"version": "1.17.2",
"dependencies": {
"onnxruntime-common": "file:../common"
},
Expand Down
2 changes: 1 addition & 1 deletion js/react_native/lib/version.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@
// This file is generated by /js/scripts/update-version.ts
// Do not modify file content manually.

export const version = '1.17.1';
export const version = '1.17.2';
2 changes: 1 addition & 1 deletion js/react_native/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
"registry": "https://registry.npmjs.org/"
},
"source": "lib/index",
"version": "1.17.1",
"version": "1.17.2",
"main": "dist/commonjs/index",
"homepage": "https://github.com/microsoft/onnxruntime/blob/main/js/react_native/README.md",
"files": [
Expand Down
2 changes: 1 addition & 1 deletion js/react_native/yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -5254,7 +5254,7 @@ onetime@^5.1.0, onetime@^5.1.2:
mimic-fn "^2.1.0"

"onnxruntime-common@file:../common":
version "1.17.1"
version "1.17.2"

open@^6.2.0:
version "6.4.0"
Expand Down
2 changes: 1 addition & 1 deletion js/web/lib/version.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@
// This file is generated by /js/scripts/update-version.ts
// Do not modify file content manually.

export const version = '1.17.1';
export const version = '1.17.2';
4 changes: 2 additions & 2 deletions js/web/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion js/web/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"type": "git"
},
"author": "fs-eire",
"version": "1.17.1",
"version": "1.17.2",
"jsdelivr": "dist/ort.min.js",
"dependencies": {
"flatbuffers": "^1.12.0",
Expand Down
2 changes: 1 addition & 1 deletion onnxruntime/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
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.17.1"
__version__ = "1.17.2"
__author__ = "Microsoft"

# we need to do device version validation (for example to check Cuda version for an onnxruntime-training package).
Expand Down
2 changes: 1 addition & 1 deletion onnxruntime/core/session/onnxruntime_c_api.cc
Original file line number Diff line number Diff line change
Expand Up @@ -2756,7 +2756,7 @@ static_assert(offsetof(OrtApi, KernelContext_GetResource) / sizeof(void*) == 265
static_assert(offsetof(OrtApi, SetUserLoggingFunction) / sizeof(void*) == 266, "Size of version 17 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.17.1",
static_assert(std::string_view(ORT_VERSION) == "1.17.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_17 above:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ stages:
Codeql.Enabled: false
jobs:
- job: Build_CPU_EP
pool: onnxruntime-Linux-CPU-For-Android-CI
pool: onnxruntime-Ubuntu2204-AMD-CPU
workspace:
clean: all
timeoutInMinutes: 30
Expand Down Expand Up @@ -140,7 +140,7 @@ stages:

jobs:
- job: Build_NNAPI_EP
pool: onnxruntime-Linux-CPU-For-Android-CI
pool: onnxruntime-Ubuntu2204-AMD-CPU
timeoutInMinutes: ${{ variables.JobsTimeout }}
workspace:
clean: all
Expand Down Expand Up @@ -456,7 +456,7 @@ stages:
variables:
- name: skipComponentGovernanceDetection
value: true
pool: 'onnxruntime-Linux-CPU-For-Android-CI'
pool: 'onnxruntime-Ubuntu2204-AMD-CPU'
condition: and(succeeded(), in(variables['Build.Reason'], 'IndividualCI', 'BatchedCI'))
dependsOn:
- NNAPI_EP_MASTER
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ jobs:
timeoutInMinutes: 120
workspace:
clean: all
pool: onnxruntime-Linux-CPU-For-Android-CI
pool: onnxruntime-Ubuntu2204-AMD-CPU
variables:
ORT_CACHE_DIR: $(Pipeline.Workspace)/ort_ccache
TODAY: $[format('{0:dd}{0:MM}{0:yyyy}', pipeline.startTime)]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -61,4 +61,4 @@ stages:
parameters:
NpmPackagingMode: ${{ variables.NpmPackagingMode }}
BuildConfig: 'Release'
PoolName: 'onnxruntime-Linux-CPU-For-Android-CI'
PoolName: 'onnxruntime-Ubuntu2204-AMD-CPU'
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ stages:
timeoutInMinutes: 60
workspace:
clean: all
pool: onnxruntime-Linux-CPU-For-Android-CI
pool: onnxruntime-Ubuntu2204-AMD-CPU
steps:
- checkout: self
clean: true
Expand All @@ -49,6 +49,7 @@ stages:
- task: PythonScript@0
displayName: 'Set variables from config file "${{ parameters.BuildConfigFile }}"'
inputs:
pythonInterpreter: /usr/bin/python3
scriptSource: inline
script: |
import json
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -155,12 +155,7 @@ jobs:
path: $(Build.SourcesDirectory)/js/test/
cacheHitVar: CACHE_RESTORED
displayName: 'Cache ONNX node test data'
- task: Bash@3
inputs:
targetType: 'inline'
script: find "$(Build.SourcesDirectory)/js/test/" -type f
condition: and(not(canceled()), eq(variables.CACHE_RESTORED, 'true'))
displayName: 'List ONNX node test data'

- task: PowerShell@2
inputs:
filePath: '$(Build.SourcesDirectory)\tools\ci_build\github\js\pack-npm-packages.ps1'
Expand Down

0 comments on commit 6bc6adc

Please sign in to comment.