Skip to content

Commit

Permalink
reflect change in WebGpuProviderFactoryCreator::Create signature (#21971
Browse files Browse the repository at this point in the history
)

reflect change in WebGpuProviderFactoryCreator::Create signature
  • Loading branch information
guschmue authored Sep 3, 2024
1 parent 0b7ce77 commit 33726b1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion onnxruntime/python/onnxruntime_pybind_state.cc
Original file line number Diff line number Diff line change
Expand Up @@ -1210,7 +1210,7 @@ std::unique_ptr<IExecutionProvider> CreateExecutionProviderInstance(
#endif
} else if (type == kWebGpuExecutionProvider) {
#if defined(USE_WEBGPU)
return onnxruntime::WebGpuProviderFactoryCreator::Create(&session_options)->CreateProvider();
return onnxruntime::WebGpuProviderFactoryCreator::Create(session_options.config_options)->CreateProvider();
#endif
} else if (type == kCannExecutionProvider) {
#ifdef USE_CANN
Expand Down

0 comments on commit 33726b1

Please sign in to comment.