Skip to content

Windows::AI::MachineLearning::LearningModel support model IR version: 10 #5706

@shelllet

Description

@shelllet

Describe the bug

\core\graph\model.cc:180 onnxruntime::Model::Model Unsupported model IR version: 10, max supported IR version: 9

Steps to reproduce the bug

Windows::AI::MachineLearning::LearningModel model = Windows::AI::MachineLearning::LearningModel::LoadFromFilePath(L"ir10.onnx");

auto modelSession = Windows::AI::MachineLearning::LearningModelSession(model, Windows::AI::MachineLearning::LearningModelDevice(Windows::AI::MachineLearning::LearningModelDeviceKind::Default)); // crash here

Expected behavior

support IR version 10

Screenshots

Image

NuGet package version

WindowsAppSDK 1.7.250606001

Packaging type

self-contained application

Windows version

windows 11 24H2

IDE

visual studio 2022

Additional context

Image

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions