Skip to content

[Feature Request] [Compile API] Support compling directly from OrtModel #27181

@shiyi9801

Description

@shiyi9801

Describe the feature request

In WebNN, we construct the graph in-memory as an OrtModel using the Model Editor API, but OrtCompileApi currently only supports setting the input model via a file path or buffer (ModelCompilationOptions_SetInputModelPath ModelCompilationOptions_SetInputModelFromBuffer).

Describe scenario use case

This feature is needed for WebNN model cache implementation.

Metadata

Metadata

Assignees

No one assigned

    Labels

    ep:WebNNWebNN execution providerfeature requestrequest for unsupported feature or enhancement

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions