Skip to content

Fix Memcpy transformer when dealing multiple EPs - #22413

Merged
fs-eire merged 4 commits into
mainfrom
skottmckay/MemcpyTransformerFix
Oct 16, 2024
Merged

Fix Memcpy transformer when dealing multiple EPs#22413
fs-eire merged 4 commits into
mainfrom
skottmckay/MemcpyTransformerFix

Conversation

@fs-eire

@fs-eire fs-eire commented Oct 11, 2024

Copy link
Copy Markdown
Contributor

Description

Fix Memcpy transformer when dealing multiple EPs.

We use provider_ when adding memcpy nodes so a check on node_provider_type isn't meaningful.
Add WebGPU to list of GPU EPs in `else if`
Check memcpy kernel is found.
@fs-eire fs-eire closed this Oct 11, 2024
@fs-eire fs-eire reopened this Oct 11, 2024
@fs-eire fs-eire mentioned this pull request Oct 11, 2024
7 tasks
Comment thread onnxruntime/core/optimizer/transformer_memcpy.cc
Comment thread onnxruntime/core/optimizer/transformer_memcpy.cc Outdated
Co-authored-by: Scott McKay <skottmckay@gmail.com>
@fs-eire
fs-eire merged commit c3a94c6 into main Oct 16, 2024
@fs-eire
fs-eire deleted the skottmckay/MemcpyTransformerFix branch October 16, 2024 20:38
guschmue pushed a commit that referenced this pull request Oct 18, 2024
### Description

Fix Memcpy transformer when dealing multiple EPs.

---------

Co-authored-by: Scott McKay <Scott.McKay@microsoft.com>
Co-authored-by: Scott McKay <skottmckay@gmail.com>
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.

3 participants