Skip to content

Conversation

@hariharans29
Copy link
Member

Description: Performance tuning of convolution heavy models with the CUDA EP

Motivation and Context
Takeaway from #9162

@hariharans29 hariharans29 requested review from faxu and natke December 2, 2021 20:44
so.graph_optimization_level = rt.GraphOptimizationLevel.ORT_ENABLE_ALL
session = rt.InferenceSession(model, sess_options=so)
session.set_providers(['CUDAExecutionProvider'])
session = rt.InferenceSession(model, sess_options=so, providers=['CUDAExecutionProvider'])
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Starting 1.10, providers needs to be explicitly provided at session construction time

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