Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
chilo-ms committed Nov 10, 2023
1 parent f9206f3 commit 0bd5b8c
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions onnxruntime/test/python/onnxruntime_test_engine_wrapper.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,9 @@ class TestInferenceSessionWithCtxNode(unittest.TestCase):

# This test is only for TRT EP to test EPContext node with TRT engine
@unittest.skipIf(
"TensorrtExecutionProvider" not in ort.get_available_providers(),
"TensorrtExecutionProvider" not in onnxrt.get_available_providers(),
reason="Test TRT EP only",
)

def create_ctx_node(self, ctx_embed_mode=0, cache_path=""):
if ctx_embed_mode:
# Get engine buffer from engine cache
Expand Down

0 comments on commit 0bd5b8c

Please sign in to comment.