Skip to content

Commit

Permalink
bump ORT version to 1.8.1 (#8050)
Browse files Browse the repository at this point in the history
* bump ORT version to 1.8.1

* Change CMAKE_CUDA_STANDARD to C++17 for Windows GPU build (#7883)

Co-authored-by: Changming Sun <chasun@microsoft.com>
  • Loading branch information
harshithapv and snnn authored Jun 15, 2021
1 parent d4106de commit 92621cb
Show file tree
Hide file tree
Showing 15 changed files with 27 additions and 18 deletions.
2 changes: 1 addition & 1 deletion VERSION_NUMBER
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.8.0
1.8.1
7 changes: 5 additions & 2 deletions cmake/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -1391,8 +1391,11 @@ if (onnxruntime_USE_CUDA)
endif()
enable_language(CUDA)
message( STATUS "CMAKE_CUDA_COMPILER_VERSION: ${CMAKE_CUDA_COMPILER_VERSION}")

set(CMAKE_CUDA_STANDARD 14)
if (WIN32)
set(CMAKE_CUDA_STANDARD 17)
else()
set(CMAKE_CUDA_STANDARD 14)
endif()
file(TO_CMAKE_PATH ${onnxruntime_CUDNN_HOME} onnxruntime_CUDNN_HOME)
set(ONNXRUNTIME_CUDA_LIBRARIES ${CUDA_LIBRARIES})

Expand Down
1 change: 1 addition & 0 deletions docs/Versioning.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.8.1 | **1.8** down to 1.2 | 13 | 2 | 7 | Windows AI 1.8+ |
| 1.8.0 | **1.8** down to 1.2 | 13 | 2 | 7 | Windows AI 1.8+ |
| 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+ |
Expand Down
5 changes: 5 additions & 0 deletions docs/python/README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,11 @@ For more information on ONNX Runtime, please see `aka.ms/onnxruntime <https://ak
Changes
-------

1.8.1
^^^^^

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

1.8.0
^^^^^

Expand Down
2 changes: 1 addition & 1 deletion 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 @@ -7,7 +7,7 @@
"type": "git"
},
"author": "fs-eire",
"version": "1.8.0",
"version": "1.8.1",
"keywords": [
"ONNX",
"ONNXRuntime",
Expand Down
2 changes: 1 addition & 1 deletion 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 @@ -7,7 +7,7 @@
"type": "git"
},
"author": "fs-eire",
"version": "1.8.0",
"version": "1.8.1",
"keywords": [
"ONNX",
"ONNXRuntime",
Expand Down
4 changes: 2 additions & 2 deletions js/react_native/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "onnxruntime-react-native",
"version": "1.8.0",
"version": "1.8.1",
"description": "Onnxruntime bridge for react native",
"main": "dist/commonjs/index",
"module": "dist/module/index",
Expand Down Expand Up @@ -112,4 +112,4 @@
"buffer": "^6.0.3",
"onnxruntime-common": "file:../common"
}
}
}
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.

4 changes: 2 additions & 2 deletions js/web/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"type": "git"
},
"author": "fs-eire",
"version": "1.8.0",
"version": "1.8.1",
"keywords": [
"ONNX",
"ONNXRuntime",
Expand Down Expand Up @@ -75,4 +75,4 @@
"unpkg": "dist/ort.min.js",
"module": "./lib/index.js",
"browser": "dist/ort-web.min.js"
}
}
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.8.0"
__version__ = "1.8.1"
__author__ = "Microsoft"

# we need to do device version validation (for example to check Cuda version for an onnxruntime-training package).
Expand Down
4 changes: 2 additions & 2 deletions onnxruntime/core/providers/cpu/tensor/upsample.h
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@ constexpr const char* UpsampleModeCubic = "cubic";
// is a 4x4 matrix
const size_t CubicModeGridLength = 4;

using GetNearestPixelFunc = std::function<int64_t(float, bool)>;
using GetOriginalCoordinateFunc = std::function<float(float, float, float, float, float, float)>;
using GetNearestPixelFunc = int64_t(*)(float, bool);
using GetOriginalCoordinateFunc = float (*)(float, float, float, float, float, float);

enum UpsampleMode {
NN = 0, // nearest neighbour
Expand Down
2 changes: 1 addition & 1 deletion onnxruntime/core/providers/cuda/cuda_execution_provider.h
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ class CUDAExecutionProvider : public IExecutionProvider {
p.reset();
});
}
std::shared_ptr<PerThreadContextMap> p{std::make_shared<PerThreadContextMap>()};
std::shared_ptr<PerThreadContextMap> p = std::make_shared<PerThreadContextMap>();
};

static const std::shared_ptr<PerThreadContextMap>& PerThreadContextCache() {
Expand Down
2 changes: 1 addition & 1 deletion package/rpm/onnxruntime.spec
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
Name: onnxruntime
Version: 1.8.0
Version: 1.8.1
Release: 1%{?dist}
Summary: onnxruntime

Expand Down

0 comments on commit 92621cb

Please sign in to comment.