Skip to content

Commit ec48353

Browse files
authored
Merge pull request #58 from tharapalanivel/extend_encoders
Extend encoder tests for additional models
2 parents fed4a67 + e31e811 commit ec48353

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

tests/models/test_encoders.py

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -86,10 +86,7 @@ def reset_compiler():
8686
else:
8787
os.environ['HF_HOME'] = ORIGINAL_HF_HOME
8888

89-
encoder_paths = ["deepset/roberta-base-squad2"]
90-
common_encoder_shapes = list(itertools.product(encoder_paths, common_batch_sizes, common_seq_lengths))
91-
92-
@pytest.mark.parametrize("model_path,batch_size,seq_length", common_encoder_shapes)
89+
@pytest.mark.parametrize("model_path,batch_size,seq_length", common_shapes)
9390
def test_common_shapes(model_path, batch_size, seq_length):
9491
os.environ["COMPILATION_MODE"] = "offline"
9592

0 commit comments

Comments
 (0)