Fix typing error (#9316)

This commit is contained in:
Jiaxu Dong 2021-10-10 05:39:11 +08:00 committed by GitHub
parent 79e736ed25
commit 03276527b3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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"):