diff --git a/VERSION_NUMBER b/VERSION_NUMBER index ad2191947f7b1..5ff8c4f5d2ad2 100644 --- a/VERSION_NUMBER +++ b/VERSION_NUMBER @@ -1 +1 @@ -1.25.0 +1.26.0 diff --git a/csharp/src/Microsoft.ML.OnnxRuntime/Training/NativeTrainingMethods.shared.cs b/csharp/src/Microsoft.ML.OnnxRuntime/Training/NativeTrainingMethods.shared.cs index 593798bc3b37b..7756250608ff9 100644 --- a/csharp/src/Microsoft.ML.OnnxRuntime/Training/NativeTrainingMethods.shared.cs +++ b/csharp/src/Microsoft.ML.OnnxRuntime/Training/NativeTrainingMethods.shared.cs @@ -76,7 +76,7 @@ static NativeTrainingMethods() DOrtGetApi OrtGetApi = (DOrtGetApi)Marshal.GetDelegateForFunctionPointer(NativeMethods.OrtGetApiBase().GetApi, typeof(DOrtGetApi)); #endif - const uint ORT_API_VERSION = 23; + const uint ORT_API_VERSION = 26; #if NETSTANDARD2_0 IntPtr ortApiPtr = OrtGetApi(ORT_API_VERSION); api_ = (OrtApi)Marshal.PtrToStructure(ortApiPtr, typeof(OrtApi)); diff --git a/docs/Versioning.md b/docs/Versioning.md index 904e4f777561e..9e3984db5ba89 100644 --- a/docs/Versioning.md +++ b/docs/Versioning.md @@ -61,7 +61,7 @@ npm --version # Should be v8.0 or newer The script does **not** update the value of `ORT_API_VERSION` in [include/onnxruntime/core/session/onnxruntime_c_api.h](../include/onnxruntime/core/session/onnxruntime_c_api.h). - The value should be set to the second component of the version string. E.g., `25` for version `1.25.0`. + The value should be set to the second component of the version string. E.g., `26` for version `1.26.0`. 5. **Review all changes** diff --git a/docs/python/README.rst b/docs/python/README.rst index b733bf3198329..0e03575236613 100644 --- a/docs/python/README.rst +++ b/docs/python/README.rst @@ -8,6 +8,11 @@ For more information on ONNX Runtime, please see `aka.ms/onnxruntime = 1 && version <= ORT_API_VERSION) - return &ort_api_1_to_25; + return &ort_api_1_to_26; fprintf(stderr, "The requested API version [%u] is not available, only API versions [1, %u] are supported in this build." diff --git a/samples/cxx/README.md b/samples/cxx/README.md index 1904c082cef7a..ce1f11a753f41 100644 --- a/samples/cxx/README.md +++ b/samples/cxx/README.md @@ -28,10 +28,10 @@ samples/cxx/ Download and extract an ONNX Runtime release archive. For example: ``` -tar -xf onnxruntime-win-x64-1.25.0.zip +tar -xf onnxruntime-win-x64-1.26.0.zip ``` -This creates a directory like `onnxruntime-win-x64-1.25.0/` containing `include/` and `lib/` subdirectories. +This creates a directory like `onnxruntime-win-x64-1.26.0/` containing `include/` and `lib/` subdirectories. ### 2. [Optional] Generate the ONNX model @@ -50,16 +50,16 @@ From the `samples/cxx` directory: **Windows:** ``` cmake -S . -B build ^ - -DORT_HEADER_DIR:PATH=path\to\onnxruntime-win-x64-1.25.0\include ^ - -DORT_LIBRARY_DIR:PATH=path\to\onnxruntime-win-x64-1.25.0\lib + -DORT_HEADER_DIR:PATH=path\to\onnxruntime-win-x64-1.26.0\include ^ + -DORT_LIBRARY_DIR:PATH=path\to\onnxruntime-win-x64-1.26.0\lib cmake --build build --config Release ``` **Linux / macOS:** ``` cmake -S . -B build \ - -DORT_HEADER_DIR:PATH=path/to/onnxruntime-linux-x64-1.25.0/include \ - -DORT_LIBRARY_DIR:PATH=path/to/onnxruntime-linux-x64-1.25.0/lib + -DORT_HEADER_DIR:PATH=path/to/onnxruntime-linux-x64-1.26.0/include \ + -DORT_LIBRARY_DIR:PATH=path/to/onnxruntime-linux-x64-1.26.0/lib cmake --build build --config Release ```