mirror of
https://github.com/saymrwulf/onnxruntime.git
synced 2026-07-20 19:12:24 +00:00
Remove redundant doc lines (#9946)
This commit is contained in:
parent
fe3e672400
commit
70bd575cdd
1 changed files with 0 additions and 4 deletions
|
|
@ -288,10 +288,6 @@ ORT leverages CuDNN for convolution operations and the first step in this proces
|
|||
providers = [("CUDAExecutionProvider", {"cudnn_conv_use_max_workspace": '1'})]
|
||||
sess_options = ort.SessionOptions()
|
||||
sess = ort.InferenceSession("my_conv_heavy_fp16_model.onnx", sess_options = sess_options, providers=providers)
|
||||
options = sess.get_provider_options()
|
||||
cuda_options = options['CUDAExecutionProvider']
|
||||
cuda_options['cudnn_conv_use_max_workspace'] = '1'
|
||||
sess.set_providers(['CUDAExecutionProvider'], [cuda_options])
|
||||
```
|
||||
* C/C++
|
||||
Support for this provider option will be added in upcoming releases.
|
||||
|
|
|
|||
Loading…
Reference in a new issue