From f4c0e081d72abba433d2590bdfdda5e01cc328de Mon Sep 17 00:00:00 2001 From: Whitney Tsang <54643204+whitneywhtsang@users.noreply.github.com> Date: Thu, 19 May 2022 16:33:30 -0400 Subject: [PATCH] Move onnx-mlir version to 0.3.0 (#1438) Move `onnx-mlir` version to `0.3.0` from `0.2.0`. `1.0.0` was a mistake. Signed-off-by: Whitney Tsang --- CHANGELOG.md | 5 +++++ docs/docker-example/.vscode/launch.json | 2 +- src/Compiler/CompilerUtils.cpp | 2 +- test/mlir/driver/llvm.ident.mlir | 2 +- 4 files changed, 8 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 6dcd3a06b0..71a8e0f6ad 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -11,6 +11,11 @@ Releases are extensively tested, including the following steps. # Current releases +## Prerelease 0.3.0 + +This prerelease was cut on May 20th, 2022. +There are no security issues that we know of. + ## Prerelease 0.2.0 This prerelease was cut on September 7th, 2021. diff --git a/docs/docker-example/.vscode/launch.json b/docs/docker-example/.vscode/launch.json index 72489203e8..5b79bb614e 100644 --- a/docs/docker-example/.vscode/launch.json +++ b/docs/docker-example/.vscode/launch.json @@ -2,7 +2,7 @@ // Use IntelliSense to learn about possible attributes. // Hover to view descriptions of existing attributes. // For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387 - "version": "0.2.0", + "version": "0.3.0", "configurations": [ { "name": "Debug onnx-mlir", diff --git a/src/Compiler/CompilerUtils.cpp b/src/Compiler/CompilerUtils.cpp index 0d5b530230..3559d4f133 100644 --- a/src/Compiler/CompilerUtils.cpp +++ b/src/Compiler/CompilerUtils.cpp @@ -154,7 +154,7 @@ static std::string getToolPath(std::string tool) { } static std::string getOnnxMlirFullVersion() { - const std::string OnnxMlirVersion = "onnx-mlir version 1.0.0"; + const std::string OnnxMlirVersion = "onnx-mlir version 0.3.0"; return #ifdef ONNX_MLIR_VENDOR ONNX_MLIR_VENDOR ", " + OnnxMlirVersion; diff --git a/test/mlir/driver/llvm.ident.mlir b/test/mlir/driver/llvm.ident.mlir index 12e48fc5cb..e8ffca5e49 100644 --- a/test/mlir/driver/llvm.ident.mlir +++ b/test/mlir/driver/llvm.ident.mlir @@ -4,7 +4,7 @@ // XFAIL: onnx-mlir-vendor // CHECK: !llvm.ident = !{![[MD:[0-9]*]]} -// CHECK: ![[MD]] = !{!"onnx-mlir version 1.0.0 ({{.*}}/onnx-mlir{{.*}} {{[a-zA-Z0-9]+}}, {{.*}}/llvm-project{{.*}} {{[a-zA-Z0-9]+}})"} +// CHECK: ![[MD]] = !{!"onnx-mlir version 0.3.0 ({{.*}}/onnx-mlir{{.*}} {{[a-zA-Z0-9]+}}, {{.*}}/llvm-project{{.*}} {{[a-zA-Z0-9]+}})"} module { func @main_graph(%arg0: tensor<1x1xf32>, %arg1: tensor<1x1xf32>) -> tensor<1x1xf32> { %0 = "onnx.MatMul"(%arg0, %arg1) : (tensor<1x1xf32>, tensor<1x1xf32>) -> tensor<1x1xf32>