Skip to content
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

Set cuda device before create cuda stream for IOBinding case #18583

Merged
merged 6 commits into from
Dec 5, 2023

Conversation

jslhcl
Copy link
Contributor

@jslhcl jslhcl commented Nov 25, 2023

Description

Set cuda device before create cuda stream for IOBinding case

Motivation and Context

This is to fix the issue #18432 , which the inference will fail for IOBinding case when there are multiple cuda devices. The reason is that the cuda device is not set properly before the cuda stream is created

@jslhcl jslhcl merged commit 07aabcc into main Dec 5, 2023
92 checks passed
@jslhcl jslhcl deleted the leca/IOBindingSetDevice branch December 5, 2023 18:02
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