From a86b8329d9689ca30f0cb9a3a1768195406ac5bb Mon Sep 17 00:00:00 2001 From: Edward Chen <18449977+edgchen1@users.noreply.github.com> Date: Fri, 30 Sep 2022 17:13:52 -0700 Subject: [PATCH] Update unsupported ORT format version error message to link to doc on rel-1.13.0 branch. (#13187) --- onnxruntime/core/session/inference_session.cc | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/onnxruntime/core/session/inference_session.cc b/onnxruntime/core/session/inference_session.cc index 73e59d5074..38cac2a11f 100644 --- a/onnxruntime/core/session/inference_session.cc +++ b/onnxruntime/core/session/inference_session.cc @@ -1037,10 +1037,9 @@ Status InferenceSession::LoadOrtModelWithLoader(std::function load_ort // Note about the ORT format version 5 breaking change. // TODO This change was introduced in 1.13. Remove this note a few releases later, e.g., 1.15. - // TODO(edgchen1) update link to point to 1.13 release branch constexpr auto* kOrtFormatVersion5BreakingChangeNote = "This build doesn't support ORT format models older than version 5. " - "See: https://github.com/microsoft/onnxruntime/blob/main/docs/ORT_Format_Update_in_1.13.md"; + "See: https://github.com/microsoft/onnxruntime/blob/rel-1.13.0/docs/ORT_Format_Update_in_1.13.md"; ORT_RETURN_IF_NOT(IsOrtModelVersionSupported(fbs_ort_model_version->string_view()), "The ORT format model version [", fbs_ort_model_version->string_view(),