Skip to content

Commit

Permalink
fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
dbogunowicz committed Mar 4, 2024
1 parent 021fb13 commit b12d326
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/deepsparse/evaluation/test_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -62,10 +62,10 @@ def pipeline_target():


def test_initialize_model_from_target_pipeline_onnx(pipeline_target):
model = create_pipeline(pipeline_target, "onnxruntime")
model, _ = create_pipeline(pipeline_target, "onnxruntime")
assert model.ops.get("single_engine")._engine_type == "onnxruntime"


def test_initialize_model_from_target_pipeline_with_kwargs(pipeline_target):
model = create_pipeline(pipeline_target, "deepsparse", sequence_length=64)
model, _ = create_pipeline(pipeline_target, "deepsparse", sequence_length=64)
assert model.ops.get("process_input").sequence_length == 64

0 comments on commit b12d326

Please sign in to comment.