Skip to content

Initial pieces for plugin EP Stream support. #25254

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft
wants to merge 8 commits into
base: main
Choose a base branch
from

Conversation

skottmckay
Copy link
Contributor

Description

Initial pieces for plugin EP Stream support.

TODO: Flesh out for usage on ORT API boundary for model inputs/outputs including usage involving interop.

Motivation and Context

TODO: Flesh out for usage on ORT API boundary for model inputs/outputs including usage involving interop.
@skottmckay skottmckay requested review from adrianlizarraga and edgchen1 and removed request for adrianlizarraga July 2, 2025 08:37
@skottmckay
Copy link
Contributor Author

@gedoensmax
@gaugarg-nv

@bil-ash
Copy link

bil-ash commented Jul 7, 2025

Will this PR allow streaming the models from disk, thereby reducing device memory usage?
Or is it between CPU and GPU only?
If it is between CPU/GPU and disk, please add support for WebGPU or WASM also.

Can be used with CopyTensors with the cudaStream_t from the OrtSyncStream being passed in via provider options (existing setup).
Updated CopyTensors to take a single stream. User can make multiple calls if they need to use multiple streams.
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.

2 participants