onnxruntime
1541784f - [python api] align api with other language bindings' treatment of explicit provider registrations. enforce use of providers param in python InferenceSession when execution providers other than default CPU are enabled. (#9712)

Commit
4 years ago
[python api] align api with other language bindings' treatment of explicit provider registrations. enforce use of providers param in python InferenceSession when execution providers other than default CPU are enabled. (#9712) * remove default python ep registration. raise exception if providers are not explicitly set if there are available providers * temporarily disable exception * fix python tests * explicitly set CUDAProvider for python iobinding tests * explicitly set providers param for InferenceSession()) * onnxrt * raise ValueError if not explicitly set providers when creating InferenceSession * add required providers param * explicitly set providers * typo
Author
Parents
Loading