mirror of
https://github.com/saymrwulf/onnxruntime.git
synced 2026-07-29 20:14:01 +00:00
Update unsupported ORT format version error message to link to doc on rel-1.13.0 branch. (#13187)
This commit is contained in:
parent
054464dce2
commit
a86b8329d9
1 changed files with 1 additions and 2 deletions
|
|
@ -1037,10 +1037,9 @@ Status InferenceSession::LoadOrtModelWithLoader(std::function<Status()> 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(),
|
||||
|
|
|
|||
Loading…
Reference in a new issue