Skip to content

Commit

Permalink
Remove empty dataset test
Browse files Browse the repository at this point in the history
  • Loading branch information
dyastremsky committed Dec 10, 2024
1 parent f1135a6 commit cdcede0
Showing 1 changed file with 0 additions and 14 deletions.
14 changes: 0 additions & 14 deletions genai-perf/tests/test_triton_generate_converter.py
Original file line number Diff line number Diff line change
Expand Up @@ -173,17 +173,3 @@ def mock_sample_bounded_normal(mean, stddev, lower):
}

assert result == expected_result

def test_convert_empty_dataset(self):
generic_dataset = GenericDataset(files_data={})

config = InputsConfig(
extra_inputs={},
tokenizer=get_empty_tokenizer(),
)

converter = TritonGenerateConverter()
result = converter.convert(generic_dataset, config)

expected_result = {"data": []}
assert result == expected_result

0 comments on commit cdcede0

Please sign in to comment.