From 03276527b3b77db97f8a73fbce449ca0e0bcee50 Mon Sep 17 00:00:00 2001 From: Jiaxu Dong Date: Sun, 10 Oct 2021 05:39:11 +0800 Subject: [PATCH] Fix typing error (#9316) --- .../tools/transformers/longformer/benchmark_longformer.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/onnxruntime/python/tools/transformers/longformer/benchmark_longformer.py b/onnxruntime/python/tools/transformers/longformer/benchmark_longformer.py index e877e55872..76431ee82e 100644 --- a/onnxruntime/python/tools/transformers/longformer/benchmark_longformer.py +++ b/onnxruntime/python/tools/transformers/longformer/benchmark_longformer.py @@ -276,7 +276,7 @@ def test_ort(args, device): enable_all_optimization=True, num_threads=num_threads) if session is None: - raise RuntimeError(f"Failed to create ORT sesssion from ONNX file {onnx_model_path}") + raise RuntimeError(f"Failed to create ORT session from ONNX file {onnx_model_path}") description = onnx_model_path if (os.environ.get('ORT_LONGFORMER_COMPACT_MEMORY', '0') == "1"):