Skip to content

Commit

Permalink
Fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
dagardner-nv committed Oct 31, 2024
1 parent 7b5f54a commit 9fb9983
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions tests/examples/log_parsing/test_postprocessing.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,10 +38,11 @@ def fixture_model_config_file():

def build_post_proc_message(dataset_cudf: DatasetManager, log_test_data_dir: str):
input_file = os.path.join(TEST_DIRS.validation_data_dir, 'log-parsing-validation-data-input.csv')
input_df = dataset_cudf[input_file]
meta = MessageMeta(input_df)

# we have tensor data for the first five rows
input_df = dataset_cudf[input_file][:5]
meta = MessageMeta(input_df)

count = 5
tensors = {}
for tensor_name in ['confidences', 'input_ids', 'labels']:
Expand Down

0 comments on commit 9fb9983

Please sign in to comment.