Skip to content

Document external initializer and EP context path interaction - #32441

Open
Jambay Kinley (jambayk) wants to merge 1 commit into
gh-pagesfrom
jambayk/external-cb-docs
Open

Document external initializer and EP context path interaction#32441
Jambay Kinley (jambayk) wants to merge 1 commit into
gh-pagesfrom
jambayk/external-cb-docs

Conversation

@jambayk

Copy link
Copy Markdown
Contributor

Description

  • Document that session.model_external_initializers_file_folder_path applies to file-path and memory-buffer model loads.
  • Recommend specifying ep.context_file_path whenever the external-initializer folder option is used in EPContext workflows.
  • Distinguish that recommendation from the cases where ep.context_file_path is strictly required.
  • Clarify the difference between ONNX external initializer data and an external EP context binary.
  • Add file-path guidance and correct the memory-buffer example path.

Motivation

The external-initializer option changes the model directory used internally. When an EPContext model uses a separate context binary, explicitly setting ep.context_file_path keeps the EPContext model location available and avoids resolving the binary from the initializer directory.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

Copilot-Session: 76e0b1ed-6661-452c-b1a2-7505883de415
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant