From 70bd575cdda5783fd5edae935645610dd6995eec Mon Sep 17 00:00:00 2001 From: Hariharan Seshadri Date: Mon, 6 Dec 2021 22:47:53 -0800 Subject: [PATCH] Remove redundant doc lines (#9946) --- docs/performance/tune-performance.md | 4 ---- 1 file changed, 4 deletions(-) diff --git a/docs/performance/tune-performance.md b/docs/performance/tune-performance.md index 16a96ad30b..1dd581dc15 100644 --- a/docs/performance/tune-performance.md +++ b/docs/performance/tune-performance.md @@ -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.