Skip to content

[Feature Request] Python support for AddExternalInitializersFromFilesInMemory #25873

@ardiloot

Description

@ardiloot

Describe the feature request

There is AddExternalInitializersFromFilesInMemory method for loading external initializers from memory instead of a file on a disk in C/C++ api (docs).

However, this functionality seems to be not available from Python. When looking onnxruntime_pybind_state.cc, then there is add_external_initializers binding, but no add_external_initializers_from_files_in_memory.

Describe scenario use case

Adding add_external_initializers_from_files_in_memory allows loading models with external data directly from memory.

Metadata

Metadata

Assignees

No one assigned

    Labels

    feature 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